184 lines
7.7 KiB
Go
184 lines
7.7 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: google/appengine/v1/deploy.proto
|
|
// DO NOT EDIT!
|
|
|
|
package appengine
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// Code and application artifacts used to deploy a version to App Engine.
|
|
type Deployment struct {
|
|
// Manifest of the files stored in Google Cloud Storage that are included
|
|
// as part of this version. All files must be readable using the
|
|
// credentials supplied with this call.
|
|
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// A Docker image that App Engine uses to run the version.
|
|
// Only applicable for instances in App Engine flexible environment.
|
|
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container" json:"container,omitempty"`
|
|
// The zip file for this deployment, if this is a zip deployment.
|
|
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip" json:"zip,omitempty"`
|
|
}
|
|
|
|
func (m *Deployment) Reset() { *m = Deployment{} }
|
|
func (m *Deployment) String() string { return proto.CompactTextString(m) }
|
|
func (*Deployment) ProtoMessage() {}
|
|
func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
|
|
|
func (m *Deployment) GetFiles() map[string]*FileInfo {
|
|
if m != nil {
|
|
return m.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Deployment) GetContainer() *ContainerInfo {
|
|
if m != nil {
|
|
return m.Container
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Deployment) GetZip() *ZipInfo {
|
|
if m != nil {
|
|
return m.Zip
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Single source file that is part of the version to be deployed. Each source
|
|
// file that is deployed must be specified separately.
|
|
type FileInfo struct {
|
|
// URL source to use to fetch this file. Must be a URL to a resource in
|
|
// Google Cloud Storage in the form
|
|
// 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
|
|
SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
|
|
// The SHA1 hash of the file, in hex.
|
|
Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum" json:"sha1_sum,omitempty"`
|
|
// The MIME type of the file.
|
|
//
|
|
// Defaults to the value from Google Cloud Storage.
|
|
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
|
}
|
|
|
|
func (m *FileInfo) Reset() { *m = FileInfo{} }
|
|
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*FileInfo) ProtoMessage() {}
|
|
func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
|
|
|
func (m *FileInfo) GetSourceUrl() string {
|
|
if m != nil {
|
|
return m.SourceUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FileInfo) GetSha1Sum() string {
|
|
if m != nil {
|
|
return m.Sha1Sum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FileInfo) GetMimeType() string {
|
|
if m != nil {
|
|
return m.MimeType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Docker image that is used to start a VM container for the version you
|
|
// deploy.
|
|
type ContainerInfo struct {
|
|
// URI to the hosted container image in a Docker repository. The URI must be
|
|
// fully qualified and include a tag or digest.
|
|
// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
|
|
Image string `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
|
|
}
|
|
|
|
func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
|
|
func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*ContainerInfo) ProtoMessage() {}
|
|
func (*ContainerInfo) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
|
|
|
|
func (m *ContainerInfo) GetImage() string {
|
|
if m != nil {
|
|
return m.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ZipInfo struct {
|
|
// URL of the zip file to deploy from. Must be a URL to a resource in
|
|
// Google Cloud Storage in the form
|
|
// 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
|
|
SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
|
|
// An estimate of the number of files in a zip for a zip deployment.
|
|
// If set, must be greater than or equal to the actual number of files.
|
|
// Used for optimizing performance; if not provided, deployment may be slow.
|
|
FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount" json:"files_count,omitempty"`
|
|
}
|
|
|
|
func (m *ZipInfo) Reset() { *m = ZipInfo{} }
|
|
func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*ZipInfo) ProtoMessage() {}
|
|
func (*ZipInfo) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{3} }
|
|
|
|
func (m *ZipInfo) GetSourceUrl() string {
|
|
if m != nil {
|
|
return m.SourceUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ZipInfo) GetFilesCount() int32 {
|
|
if m != nil {
|
|
return m.FilesCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Deployment)(nil), "google.appengine.v1.Deployment")
|
|
proto.RegisterType((*FileInfo)(nil), "google.appengine.v1.FileInfo")
|
|
proto.RegisterType((*ContainerInfo)(nil), "google.appengine.v1.ContainerInfo")
|
|
proto.RegisterType((*ZipInfo)(nil), "google.appengine.v1.ZipInfo")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor3) }
|
|
|
|
var fileDescriptor3 = []byte{
|
|
// 394 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00,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