1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
|
// Code generated by protoc-gen-go.
// source: google.golang.org/genproto/googleapis/appengine/v1/deploy.proto
// DO NOT EDIT!
package google_appengine_v1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
// 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.golang.org/genproto/googleapis/appengine/v1/deploy.proto", fileDescriptor3)
}
var fileDescriptor3 = []byte{
// 396 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x8b, 0xd5, 0x30,
0x14, 0xc5, 0xe9, 0xab, 0x75, 0x5e, 0x6f, 0x11, 0x24, 0x0a, 0xd6, 0xd1, 0xc1, 0x52, 0x10, 0x8a,
0x8b, 0x94, 0x37, 0xb3, 0x11, 0x37, 0x0e, 0x33, 0x2a, 0xbc, 0xdd, 0x50, 0x15, 0xc1, 0x4d, 0x89,
0xf5, 0xbe, 0x18, 0x6c, 0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