deployment

package
v0.0.0-...-0e82294 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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",
}
View Source
var Deployment_Platform_value = map[string]int32{
	"PLATFORM_UNSPECIFIED": 0,
	"GKE":                  1,
	"FLEX":                 2,
	"CUSTOM":               3,
}

Functions

This section is empty.

Types

type Deployable

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:"-"`
}

An artifact that can be deployed in some runtime.

func (*Deployable) Descriptor

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

func (*Deployable) GetResourceUri

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

func (*Deployable) ProtoMessage

func (*Deployable) ProtoMessage()

func (*Deployable) Reset

func (m *Deployable) Reset()

func (*Deployable) String

func (m *Deployable) String() string

func (*Deployable) XXX_DiscardUnknown

func (m *Deployable) XXX_DiscardUnknown()

func (*Deployable) XXX_Marshal

func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deployable) XXX_Merge

func (m *Deployable) XXX_Merge(src proto.Message)

func (*Deployable) XXX_Size

func (m *Deployable) XXX_Size() int

func (*Deployable) XXX_Unmarshal

func (m *Deployable) XXX_Unmarshal(b []byte) error

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"`
	// 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:"-"`
}

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

func (*Deployment) Descriptor

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

func (*Deployment) GetAddress

func (m *Deployment) GetAddress() string

func (*Deployment) GetConfig

func (m *Deployment) GetConfig() string

func (*Deployment) GetDeployTime

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

func (*Deployment) GetPlatform

func (m *Deployment) GetPlatform() Deployment_Platform

func (*Deployment) GetResourceUri

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

func (*Deployment) GetUndeployTime

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

func (*Deployment) GetUserEmail

func (m *Deployment) GetUserEmail() string

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) String

func (m *Deployment) String() string

func (*Deployment) XXX_DiscardUnknown

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal

func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deployment) XXX_Merge

func (m *Deployment) XXX_Merge(src proto.Message)

func (*Deployment) XXX_Size

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal

func (m *Deployment) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Deployment_Platform) String

func (x Deployment_Platform) String() string

type Details

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:"-"`
}

Details of a deployment occurrence.

func (*Details) Descriptor

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

func (*Details) GetDeployment

func (m *Details) GetDeployment() *Deployment

func (*Details) ProtoMessage

func (*Details) ProtoMessage()

func (*Details) Reset

func (m *Details) Reset()

func (*Details) String

func (m *Details) String() string

func (*Details) XXX_DiscardUnknown

func (m *Details) XXX_DiscardUnknown()

func (*Details) XXX_Marshal

func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Details) XXX_Merge

func (m *Details) XXX_Merge(src proto.Message)

func (*Details) XXX_Size

func (m *Details) XXX_Size() int

func (*Details) XXX_Unmarshal

func (m *Details) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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