genproto: google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment Index | Files

package deployment

import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment"

Index

Package Files

deployment.pb.go

Variables

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.

var File_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto protoreflect.FileDescriptor

type Deployable Uses

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 Uses

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

Deprecated: Use Deployable.ProtoReflect.Descriptor instead.

func (*Deployable) GetResourceUri Uses

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

func (*Deployable) ProtoMessage Uses

func (*Deployable) ProtoMessage()

func (*Deployable) ProtoReflect Uses

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

func (*Deployable) Reset Uses

func (x *Deployable) Reset()

func (*Deployable) String Uses

func (x *Deployable) String() string

type Deployment Uses

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 *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"`
    // contains filtered or unexported fields
}

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

func (*Deployment) Descriptor Uses

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetAddress Uses

func (x *Deployment) GetAddress() string

func (*Deployment) GetConfig Uses

func (x *Deployment) GetConfig() string

func (*Deployment) GetDeployTime Uses

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

func (*Deployment) GetPlatform Uses

func (x *Deployment) GetPlatform() Deployment_Platform

func (*Deployment) GetResourceUri Uses

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

func (*Deployment) GetUndeployTime Uses

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

func (*Deployment) GetUserEmail Uses

func (x *Deployment) GetUserEmail() string

func (*Deployment) ProtoMessage Uses

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect Uses

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

func (*Deployment) Reset Uses

func (x *Deployment) Reset()

func (*Deployment) String Uses

func (x *Deployment) String() string

type Deployment_Platform Uses

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 Uses

func (Deployment_Platform) Descriptor() protoreflect.EnumDescriptor

func (Deployment_Platform) Enum Uses

func (x Deployment_Platform) Enum() *Deployment_Platform

func (Deployment_Platform) EnumDescriptor Uses

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

Deprecated: Use Deployment_Platform.Descriptor instead.

func (Deployment_Platform) Number Uses

func (x Deployment_Platform) Number() protoreflect.EnumNumber

func (Deployment_Platform) String Uses

func (x Deployment_Platform) String() string

func (Deployment_Platform) Type Uses

func (Deployment_Platform) Type() protoreflect.EnumType

type Details Uses

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 Uses

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

Deprecated: Use Details.ProtoReflect.Descriptor instead.

func (*Details) GetDeployment Uses

func (x *Details) GetDeployment() *Deployment

func (*Details) ProtoMessage Uses

func (*Details) ProtoMessage()

func (*Details) ProtoReflect Uses

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

func (*Details) Reset Uses

func (x *Details) Reset()

func (*Details) String Uses

func (x *Details) String() string

Package deployment imports 6 packages (graph) and is imported by 1 packages. Updated 2020-08-13. Refresh now. Tools for package owners.