Enum value maps for Deployment_Platform.
var ( Deployment_Platform_name = map[int32]string{ 0: "PLATFORM_UNSPECIFIED", 1: "GKE", 2: "FLEX", 3: "CUSTOM", } Deployment_Platform_value = map[string]int32{ "PLATFORM_UNSPECIFIED": 0, "GKE": 1, "FLEX": 2, "CUSTOM": 3, } )
var File_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto protoreflect.FileDescriptor
An artifact that can be deployed in some runtime.
type Deployable struct { // Required. Resource URI for the artifact being deployed. ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` // contains filtered or unexported fields }
func (*Deployable) Descriptor() ([]byte, []int)
Deprecated: Use Deployable.ProtoReflect.Descriptor instead.
func (x *Deployable) GetResourceUri() []string
func (*Deployable) ProtoMessage()
func (x *Deployable) ProtoReflect() protoreflect.Message
func (x *Deployable) Reset()
func (x *Deployable) String() string
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"` // Required. Beginning of the lifetime of this deployment. DeployTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` // End of the lifetime of this deployment. UndeployTime *timestamppb.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"` // contains filtered or unexported fields }
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (x *Deployment) GetAddress() string
func (x *Deployment) GetConfig() string
func (x *Deployment) GetDeployTime() *timestamppb.Timestamp
func (x *Deployment) GetPlatform() Deployment_Platform
func (x *Deployment) GetResourceUri() []string
func (x *Deployment) GetUndeployTime() *timestamppb.Timestamp
func (x *Deployment) GetUserEmail() string
func (*Deployment) ProtoMessage()
func (x *Deployment) ProtoReflect() protoreflect.Message
func (x *Deployment) Reset()
func (x *Deployment) String() string
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 )
func (Deployment_Platform) Descriptor() protoreflect.EnumDescriptor
func (x Deployment_Platform) Enum() *Deployment_Platform
func (Deployment_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use Deployment_Platform.Descriptor instead.
func (x Deployment_Platform) Number() protoreflect.EnumNumber
func (x Deployment_Platform) String() string
func (Deployment_Platform) Type() protoreflect.EnumType
Details of a deployment occurrence.
type Details struct { // Required. Deployment history for the resource. Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
func (*Details) Descriptor() ([]byte, []int)
Deprecated: Use Details.ProtoReflect.Descriptor instead.
func (x *Details) GetDeployment() *Deployment
func (*Details) ProtoMessage()
func (x *Details) ProtoReflect() protoreflect.Message
func (x *Details) Reset()
func (x *Details) String() string