You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

273 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/containeranalysis/v1beta1/deployment/deployment.proto
  3. package deployment // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Types of platforms.
  18. type Deployment_Platform int32
  19. const (
  20. // Unknown.
  21. Deployment_PLATFORM_UNSPECIFIED Deployment_Platform = 0
  22. // Google Container Engine.
  23. Deployment_GKE Deployment_Platform = 1
  24. // Google App Engine: Flexible Environment.
  25. Deployment_FLEX Deployment_Platform = 2
  26. // Custom user-defined platform.
  27. Deployment_CUSTOM Deployment_Platform = 3
  28. )
  29. var Deployment_Platform_name = map[int32]string{
  30. 0: "PLATFORM_UNSPECIFIED",
  31. 1: "GKE",
  32. 2: "FLEX",
  33. 3: "CUSTOM",
  34. }
  35. var Deployment_Platform_value = map[string]int32{
  36. "PLATFORM_UNSPECIFIED": 0,
  37. "GKE": 1,
  38. "FLEX": 2,
  39. "CUSTOM": 3,
  40. }
  41. func (x Deployment_Platform) String() string {
  42. return proto.EnumName(Deployment_Platform_name, int32(x))
  43. }
  44. func (Deployment_Platform) EnumDescriptor() ([]byte, []int) {
  45. return fileDescriptor_deployment_4f8deb633d747a34, []int{2, 0}
  46. }
  47. // An artifact that can be deployed in some runtime.
  48. type Deployable struct {
  49. // Resource URI for the artifact being deployed.
  50. ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
  51. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  52. XXX_unrecognized []byte `json:"-"`
  53. XXX_sizecache int32 `json:"-"`
  54. }
  55. func (m *Deployable) Reset() { *m = Deployable{} }
  56. func (m *Deployable) String() string { return proto.CompactTextString(m) }
  57. func (*Deployable) ProtoMessage() {}
  58. func (*Deployable) Descriptor() ([]byte, []int) {
  59. return fileDescriptor_deployment_4f8deb633d747a34, []int{0}
  60. }
  61. func (m *Deployable) XXX_Unmarshal(b []byte) error {
  62. return xxx_messageInfo_Deployable.Unmarshal(m, b)
  63. }
  64. func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  65. return xxx_messageInfo_Deployable.Marshal(b, m, deterministic)
  66. }
  67. func (dst *Deployable) XXX_Merge(src proto.Message) {
  68. xxx_messageInfo_Deployable.Merge(dst, src)
  69. }
  70. func (m *Deployable) XXX_Size() int {
  71. return xxx_messageInfo_Deployable.Size(m)
  72. }
  73. func (m *Deployable) XXX_DiscardUnknown() {
  74. xxx_messageInfo_Deployable.DiscardUnknown(m)
  75. }
  76. var xxx_messageInfo_Deployable proto.InternalMessageInfo
  77. func (m *Deployable) GetResourceUri() []string {
  78. if m != nil {
  79. return m.ResourceUri
  80. }
  81. return nil
  82. }
  83. // Details of a deployment occurrence.
  84. type Details struct {
  85. // Deployment history for the resource.
  86. Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
  87. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  88. XXX_unrecognized []byte `json:"-"`
  89. XXX_sizecache int32 `json:"-"`
  90. }
  91. func (m *Details) Reset() { *m = Details{} }
  92. func (m *Details) String() string { return proto.CompactTextString(m) }
  93. func (*Details) ProtoMessage() {}
  94. func (*Details) Descriptor() ([]byte, []int) {
  95. return fileDescriptor_deployment_4f8deb633d747a34, []int{1}
  96. }
  97. func (m *Details) XXX_Unmarshal(b []byte) error {
  98. return xxx_messageInfo_Details.Unmarshal(m, b)
  99. }
  100. func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  101. return xxx_messageInfo_Details.Marshal(b, m, deterministic)
  102. }
  103. func (dst *Details) XXX_Merge(src proto.Message) {
  104. xxx_messageInfo_Details.Merge(dst, src)
  105. }
  106. func (m *Details) XXX_Size() int {
  107. return xxx_messageInfo_Details.Size(m)
  108. }
  109. func (m *Details) XXX_DiscardUnknown() {
  110. xxx_messageInfo_Details.DiscardUnknown(m)
  111. }
  112. var xxx_messageInfo_Details proto.InternalMessageInfo
  113. func (m *Details) GetDeployment() *Deployment {
  114. if m != nil {
  115. return m.Deployment
  116. }
  117. return nil
  118. }
  119. // The period during which some deployable was active in a runtime.
  120. type Deployment struct {
  121. // Identity of the user that triggered this deployment.
  122. UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
  123. // Beginning of the lifetime of this deployment.
  124. DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
  125. // End of the lifetime of this deployment.
  126. UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"`
  127. // Configuration used to create this deployment.
  128. Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
  129. // Address of the runtime element hosting this deployment.
  130. Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
  131. // Output only. Resource URI for the artifact being deployed taken from
  132. // the deployable field with the same name.
  133. ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
  134. // Platform hosting this deployment.
  135. Platform Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1beta1.deployment.Deployment_Platform" json:"platform,omitempty"`
  136. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  137. XXX_unrecognized []byte `json:"-"`
  138. XXX_sizecache int32 `json:"-"`
  139. }
  140. func (m *Deployment) Reset() { *m = Deployment{} }
  141. func (m *Deployment) String() string { return proto.CompactTextString(m) }
  142. func (*Deployment) ProtoMessage() {}
  143. func (*Deployment) Descriptor() ([]byte, []int) {
  144. return fileDescriptor_deployment_4f8deb633d747a34, []int{2}
  145. }
  146. func (m *Deployment) XXX_Unmarshal(b []byte) error {
  147. return xxx_messageInfo_Deployment.Unmarshal(m, b)
  148. }
  149. func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  150. return xxx_messageInfo_Deployment.Marshal(b, m, deterministic)
  151. }
  152. func (dst *Deployment) XXX_Merge(src proto.Message) {
  153. xxx_messageInfo_Deployment.Merge(dst, src)
  154. }
  155. func (m *Deployment) XXX_Size() int {
  156. return xxx_messageInfo_Deployment.Size(m)
  157. }
  158. func (m *Deployment) XXX_DiscardUnknown() {
  159. xxx_messageInfo_Deployment.DiscardUnknown(m)
  160. }
  161. var xxx_messageInfo_Deployment proto.InternalMessageInfo
  162. func (m *Deployment) GetUserEmail() string {
  163. if m != nil {
  164. return m.UserEmail
  165. }
  166. return ""
  167. }
  168. func (m *Deployment) GetDeployTime() *timestamp.Timestamp {
  169. if m != nil {
  170. return m.DeployTime
  171. }
  172. return nil
  173. }
  174. func (m *Deployment) GetUndeployTime() *timestamp.Timestamp {
  175. if m != nil {
  176. return m.UndeployTime
  177. }
  178. return nil
  179. }
  180. func (m *Deployment) GetConfig() string {
  181. if m != nil {
  182. return m.Config
  183. }
  184. return ""
  185. }
  186. func (m *Deployment) GetAddress() string {
  187. if m != nil {
  188. return m.Address
  189. }
  190. return ""
  191. }
  192. func (m *Deployment) GetResourceUri() []string {
  193. if m != nil {
  194. return m.ResourceUri
  195. }
  196. return nil
  197. }
  198. func (m *Deployment) GetPlatform() Deployment_Platform {
  199. if m != nil {
  200. return m.Platform
  201. }
  202. return Deployment_PLATFORM_UNSPECIFIED
  203. }
  204. func init() {
  205. proto.RegisterType((*Deployable)(nil), "grafeas.v1beta1.deployment.Deployable")
  206. proto.RegisterType((*Details)(nil), "grafeas.v1beta1.deployment.Details")
  207. proto.RegisterType((*Deployment)(nil), "grafeas.v1beta1.deployment.Deployment")
  208. proto.RegisterEnum("grafeas.v1beta1.deployment.Deployment_Platform", Deployment_Platform_name, Deployment_Platform_value)
  209. }
  210. func init() {
  211. proto.RegisterFile("google/devtools/containeranalysis/v1beta1/deployment/deployment.proto", fileDescriptor_deployment_4f8deb633d747a34)
  212. }
  213. var fileDescriptor_deployment_4f8deb633d747a34 = []byte{
  214. // 434 bytes of a gzipped FileDescriptorProto
  215. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4d, 0x6b, 0xdb, 0x40,
  216. 0x10, 0xad, 0xac, 0xd4, 0x1f, 0xe3, 0xb4, 0x98, 0xa5, 0x14, 0x61, 0x08, 0x75, 0x7d, 0x28, 0x3e,
  217. 0xed, 0x92, 0xf4, 0x98, 0x43, 0x49, 0x6d, 0x39, 0x84, 0x24, 0x8d, 0xab, 0xd8, 0x50, 0x7a, 0xa8,
  218. 0x59, 0xdb, 0x63, 0xb1, 0xb0, 0xd2, 0x8a, 0xdd, 0x55, 0x20, 0xbf, 0xa0, 0xd7, 0xfe, 0x86, 0xfe,
  219. 0xd2, 0xa2, 0x95, 0x14, 0x1b, 0x4c, 0xbf, 0x6e, 0x33, 0x6f, 0xe7, 0xcd, 0xbc, 0xf7, 0x58, 0x08,
  220. 0x63, 0xa5, 0x62, 0x89, 0x6c, 0x83, 0x0f, 0x56, 0x29, 0x69, 0xd8, 0x5a, 0xa5, 0x96, 0x8b, 0x14,
  221. 0x35, 0x4f, 0xb9, 0x7c, 0x34, 0xc2, 0xb0, 0x87, 0xd3, 0x15, 0x5a, 0x7e, 0xca, 0x36, 0x98, 0x49,
  222. 0xf5, 0x98, 0x60, 0x6a, 0xf7, 0x4a, 0x9a, 0x69, 0x65, 0x15, 0xe9, 0xc7, 0x9a, 0x6f, 0x91, 0x1b,
  223. 0x5a, 0x0d, 0xd3, 0xdd, 0x44, 0xff, 0x4d, 0x75, 0xc2, 0x4d, 0xae, 0xf2, 0x2d, 0xb3, 0x22, 0x41,
  224. 0x63, 0x79, 0x92, 0x95, 0xe4, 0x21, 0x03, 0x98, 0xb8, 0x71, 0xbe, 0x92, 0x48, 0xde, 0xc2, 0xb1,
  225. 0x46, 0xa3, 0x72, 0xbd, 0xc6, 0x65, 0xae, 0x45, 0xe0, 0x0d, 0xfc, 0x51, 0x27, 0xea, 0xd6, 0xd8,
  226. 0x42, 0x8b, 0xe1, 0x67, 0x68, 0x4d, 0xd0, 0x72, 0x21, 0x0d, 0x99, 0x02, 0xec, 0x4e, 0x05, 0xde,
  227. 0xc0, 0x1b, 0x75, 0xcf, 0xde, 0xd1, 0xdf, 0xab, 0xa1, 0x93, 0xa7, 0x32, 0xda, 0x63, 0x0e, 0x7f,
  228. 0xf8, 0xb5, 0x88, 0xa2, 0x25, 0x27, 0x00, 0xb9, 0x41, 0xbd, 0xc4, 0x84, 0x0b, 0xe9, 0xd6, 0x76,
  229. 0xa2, 0x4e, 0x81, 0x84, 0x05, 0x40, 0xce, 0xa1, 0x5b, 0x72, 0x97, 0x85, 0x97, 0xa0, 0xe1, 0xce,
  230. 0xf6, 0x69, 0x69, 0x94, 0xd6, 0x46, 0xe9, 0xbc, 0x36, 0x5a, 0x9f, 0x2a, 0x00, 0xf2, 0x01, 0x5e,
  231. 0xe4, 0xe9, 0x3e, 0xdd, 0xff, 0x2b, 0xfd, 0xb8, 0x26, 0xb8, 0x05, 0xaf, 0xa1, 0xb9, 0x56, 0xe9,
  232. 0x56, 0xc4, 0xc1, 0x91, 0x13, 0x56, 0x75, 0x24, 0x80, 0x16, 0xdf, 0x6c, 0x34, 0x1a, 0x13, 0x3c,
  233. 0x77, 0x0f, 0x75, 0x7b, 0x90, 0x69, 0xf3, 0x20, 0x53, 0x72, 0x0d, 0xed, 0x4c, 0x72, 0xbb, 0x55,
  234. 0x3a, 0x09, 0x5a, 0x03, 0x6f, 0xf4, 0xf2, 0x8c, 0xfd, 0x5b, 0x8c, 0x74, 0x56, 0xd1, 0xa2, 0xa7,
  235. 0x05, 0xc3, 0x31, 0xb4, 0x6b, 0x94, 0x04, 0xf0, 0x6a, 0x76, 0x73, 0x31, 0x9f, 0xde, 0x45, 0xb7,
  236. 0xcb, 0xc5, 0xa7, 0xfb, 0x59, 0x38, 0xbe, 0x9a, 0x5e, 0x85, 0x93, 0xde, 0x33, 0xd2, 0x02, 0xff,
  237. 0xf2, 0x3a, 0xec, 0x79, 0xa4, 0x0d, 0x47, 0xd3, 0x9b, 0xf0, 0x4b, 0xaf, 0x41, 0x00, 0x9a, 0xe3,
  238. 0xc5, 0xfd, 0xfc, 0xee, 0xb6, 0xe7, 0x7f, 0xfc, 0xee, 0xc1, 0x89, 0x50, 0x7f, 0x10, 0x31, 0xf3,
  239. 0xbe, 0x7e, 0xab, 0x32, 0x8b, 0x95, 0xe4, 0x69, 0x4c, 0x95, 0x8e, 0x59, 0x8c, 0xa9, 0x4b, 0x90,
  240. 0x95, 0x4f, 0x3c, 0x13, 0xe6, 0xff, 0x7e, 0xf7, 0xf9, 0xae, 0xfc, 0xd9, 0xf0, 0x2f, 0xa3, 0x8b,
  241. 0x55, 0xd3, 0x2d, 0x7c, 0xff, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x59, 0xd5, 0x23, 0x2d, 0x03,
  242. 0x00, 0x00,
  243. }