deployment

package
v0.0.0-...-8af14fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
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,
	}
)

Enum value maps for Deployment_Platform.

View Source
var File_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Deployable

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
}

An artifact that can be deployed in some runtime.

func (*Deployable) Descriptor deprecated

func (*Deployable) Descriptor() ([]byte, []int)

Deprecated: Use Deployable.ProtoReflect.Descriptor instead.

func (*Deployable) GetResourceUri

func (x *Deployable) GetResourceUri() []string

func (*Deployable) ProtoMessage

func (*Deployable) ProtoMessage()

func (*Deployable) ProtoReflect

func (x *Deployable) ProtoReflect() protoreflect.Message

func (*Deployable) Reset

func (x *Deployable) Reset()

func (*Deployable) String

func (x *Deployable) String() string

type Deployment

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
}

The period during which some deployable was active in a runtime.

func (*Deployment) Descriptor deprecated

func (*Deployment) Descriptor() ([]byte, []int)

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetAddress

func (x *Deployment) GetAddress() string

func (*Deployment) GetConfig

func (x *Deployment) GetConfig() string

func (*Deployment) GetDeployTime

func (x *Deployment) GetDeployTime() *timestamppb.Timestamp

func (*Deployment) GetPlatform

func (x *Deployment) GetPlatform() Deployment_Platform

func (*Deployment) GetResourceUri

func (x *Deployment) GetResourceUri() []string

func (*Deployment) GetUndeployTime

func (x *Deployment) GetUndeployTime() *timestamppb.Timestamp

func (*Deployment) GetUserEmail

func (x *Deployment) GetUserEmail() string

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

func (x *Deployment) ProtoReflect() protoreflect.Message

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type Deployment_Platform

type Deployment_Platform int32

Types of platforms.

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

func (Deployment_Platform) Enum

func (Deployment_Platform) EnumDescriptor deprecated

func (Deployment_Platform) EnumDescriptor() ([]byte, []int)

Deprecated: Use Deployment_Platform.Descriptor instead.

func (Deployment_Platform) Number

func (Deployment_Platform) String

func (x Deployment_Platform) String() string

func (Deployment_Platform) Type

type Details

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
}

Details of a deployment occurrence.

func (*Details) Descriptor deprecated

func (*Details) Descriptor() ([]byte, []int)

Deprecated: Use Details.ProtoReflect.Descriptor instead.

func (*Details) GetDeployment

func (x *Details) GetDeployment() *Deployment

func (*Details) ProtoMessage

func (*Details) ProtoMessage()

func (*Details) ProtoReflect

func (x *Details) ProtoReflect() protoreflect.Message

func (*Details) Reset

func (x *Details) Reset()

func (*Details) String

func (x *Details) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL