blob: 28b8befb89b910cde04470cd9a29e316fe4d961f [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/containeranalysis/v1beta1/deployment/deployment.proto
package deployment // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Types of platforms.
type Deployment_Platform int32
const (
// Unknown.
Deployment_PLATFORM_UNSPECIFIED Deployment_Platform = 0
// Google Container Engine.
Deployment_GKE Deployment_Platform = 1
// Google App Engine: Flexible Environment.
Deployment_FLEX Deployment_Platform = 2
// Custom user-defined platform.
Deployment_CUSTOM Deployment_Platform = 3
)
var Deployment_Platform_name = map[int32]string{
0: "PLATFORM_UNSPECIFIED",
1: "GKE",
2: "FLEX",
3: "CUSTOM",
}
var Deployment_Platform_value = map[string]int32{
"PLATFORM_UNSPECIFIED": 0,
"GKE": 1,
"FLEX": 2,
"CUSTOM": 3,
}
func (x Deployment_Platform) String() string {
return proto.EnumName(Deployment_Platform_name, int32(x))
}
func (Deployment_Platform) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_deployment_6b1a45811f125482, []int{2, 0}
}
// An artifact that can be deployed in some runtime.
type Deployable struct {
// Resource URI for the artifact being deployed.
ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Deployable) Reset() { *m = Deployable{} }
func (m *Deployable) String() string { return proto.CompactTextString(m) }
func (*Deployable) ProtoMessage() {}
func (*Deployable) Descriptor() ([]byte, []int) {
return fileDescriptor_deployment_6b1a45811f125482, []int{0}
}
func (m *Deployable) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Deployable.Unmarshal(m, b)
}
func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Deployable.Marshal(b, m, deterministic)
}
func (dst *Deployable) XXX_Merge(src proto.Message) {
xxx_messageInfo_Deployable.Merge(dst, src)
}
func (m *Deployable) XXX_Size() int {
return xxx_messageInfo_Deployable.Size(m)
}
func (m *Deployable) XXX_DiscardUnknown() {
xxx_messageInfo_Deployable.DiscardUnknown(m)
}
var xxx_messageInfo_Deployable proto.InternalMessageInfo
func (m *Deployable) GetResourceUri() []string {
if m != nil {
return m.ResourceUri
}
return nil
}
// Details of a deployment occurrence.
type Details struct {
// Deployment history for the resource.
Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Details) Reset() { *m = Details{} }
func (m *Details) String() string { return proto.CompactTextString(m) }
func (*Details) ProtoMessage() {}
func (*Details) Descriptor() ([]byte, []int) {
return fileDescriptor_deployment_6b1a45811f125482, []int{1}
}
func (m *Details) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Details.Unmarshal(m, b)
}
func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Details.Marshal(b, m, deterministic)
}
func (dst *Details) XXX_Merge(src proto.Message) {
xxx_messageInfo_Details.Merge(dst, src)
}
func (m *Details) XXX_Size() int {
return xxx_messageInfo_Details.Size(m)
}
func (m *Details) XXX_DiscardUnknown() {
xxx_messageInfo_Details.DiscardUnknown(m)
}
var xxx_messageInfo_Details proto.InternalMessageInfo
func (m *Details) GetDeployment() *Deployment {
if m != nil {
return m.Deployment
}
return nil
}
// The period during which some deployable was active in a runtime.
type Deployment struct {
// Identity of the user that triggered this deployment.
UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
// Beginning of the lifetime of this deployment.
DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
// End of the lifetime of this deployment.
UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"`
// Configuration used to create this deployment.
Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
// Address of the runtime element hosting this deployment.
Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
// Output only. Resource URI for the artifact being deployed taken from
// the deployable field with the same name.
ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// Platform hosting this deployment.
Platform Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1beta1.deployment.Deployment_Platform" json:"platform,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Deployment) Reset() { *m = Deployment{} }
func (m *Deployment) String() string { return proto.CompactTextString(m) }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) {
return fileDescriptor_deployment_6b1a45811f125482, []int{2}
}
func (m *Deployment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Deployment.Unmarshal(m, b)
}
func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Deployment.Marshal(b, m, deterministic)
}
func (dst *Deployment) XXX_Merge(src proto.Message) {
xxx_messageInfo_Deployment.Merge(dst, src)
}
func (m *Deployment) XXX_Size() int {
return xxx_messageInfo_Deployment.Size(m)
}
func (m *Deployment) XXX_DiscardUnknown() {
xxx_messageInfo_Deployment.DiscardUnknown(m)
}
var xxx_messageInfo_Deployment proto.InternalMessageInfo
func (m *Deployment) GetUserEmail() string {
if m != nil {
return m.UserEmail
}
return ""
}
func (m *Deployment) GetDeployTime() *timestamp.Timestamp {
if m != nil {
return m.DeployTime
}
return nil
}
func (m *Deployment) GetUndeployTime() *timestamp.Timestamp {
if m != nil {
return m.UndeployTime
}
return nil
}
func (m *Deployment) GetConfig() string {
if m != nil {
return m.Config
}
return ""
}
func (m *Deployment) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *Deployment) GetResourceUri() []string {
if m != nil {
return m.ResourceUri
}
return nil
}
func (m *Deployment) GetPlatform() Deployment_Platform {
if m != nil {
return m.Platform
}
return Deployment_PLATFORM_UNSPECIFIED
}
func init() {
proto.RegisterType((*Deployable)(nil), "grafeas.v1beta1.deployment.Deployable")
proto.RegisterType((*Details)(nil), "grafeas.v1beta1.deployment.Details")
proto.RegisterType((*Deployment)(nil), "grafeas.v1beta1.deployment.Deployment")
proto.RegisterEnum("grafeas.v1beta1.deployment.Deployment_Platform", Deployment_Platform_name, Deployment_Platform_value)
}
func init() {
proto.RegisterFile("google/devtools/containeranalysis/v1beta1/deployment/deployment.proto", fileDescriptor_deployment_6b1a45811f125482)
}
var fileDescriptor_deployment_6b1a45811f125482 = []byte{
// 434 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4d, 0x6b, 0xdb, 0x40,
0x10, 0xad, 0xac, 0xd4, 0x1f, 0xe3, 0xb4, 0x98, 0xa5, 0x14, 0x61, 0x08, 0x75, 0x7d, 0x28, 0x3e,
0xed, 0x92, 0xf4, 0x98, 0x43, 0x49, 0x6d, 0x39, 0x84, 0x24, 0x8d, 0xab, 0xd8, 0x50, 0x7a, 0xa8,
0x59, 0xdb, 0x63, 0xb1, 0xb0, 0xd2, 0x8a, 0xdd, 0x55, 0x20, 0xbf, 0xa0, 0x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