deploy

package
v0.0.0-...-678bb0e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package deploy is a generated protocol buffer package.

It is generated from these files:

github.com/luci/luci-go/deploytool/api/deploy/checkout.proto
github.com/luci/luci-go/deploytool/api/deploy/component.proto
github.com/luci/luci-go/deploytool/api/deploy/config.proto
github.com/luci/luci-go/deploytool/api/deploy/internal.proto
github.com/luci/luci-go/deploytool/api/deploy/userconfig.proto

It has these top-level messages:

SourceLayout
SourceInitResult
GoPath
Component
BuildPath
Duration
AppEngineModule
AppEngineResources
ContainerEnginePod
KubernetesPod
Layout
Source
Application
Deployment
FrozenLayout
UserConfig

Package deploy contains protobuf source and generated protobuf data for the LUCI deployment tool.

The package name here must match the protobuf package name, as the generated files will reside in the same directory.

Index

Constants

This section is empty.

Variables

View Source
var AppEngineModule_ClassicParams_InstanceClass_name = map[int32]string{
	0: "IC_DEFAULT",
	1: "IC_1",
	2: "IC_2",
	3: "IC_4",
	4: "IC_4_1G",
	5: "IC_8",
}
View Source
var AppEngineModule_ClassicParams_InstanceClass_value = map[string]int32{
	"IC_DEFAULT": 0,
	"IC_1":       1,
	"IC_2":       2,
	"IC_4":       3,
	"IC_4_1G":    4,
	"IC_8":       5,
}
View Source
var AppEngineModule_Handler_LoginOption_name = map[int32]string{
	0: "LOGIN_OPTIONAL",
	1: "LOGIN_REQUIRED",
	2: "LOGIN_ADMIN",
}
View Source
var AppEngineModule_Handler_LoginOption_value = map[string]int32{
	"LOGIN_OPTIONAL": 0,
	"LOGIN_REQUIRED": 1,
	"LOGIN_ADMIN":    2,
}
View Source
var AppEngineModule_Handler_SecureOption_name = map[int32]string{
	0: "SECURE_ALWAYS",
	1: "SECURE_OPTIONAL",
	2: "SECURE_NEVER",
}
View Source
var AppEngineModule_Handler_SecureOption_value = map[string]int32{
	"SECURE_ALWAYS":   0,
	"SECURE_OPTIONAL": 1,
	"SECURE_NEVER":    2,
}
View Source
var AppEngineResources_Index_Direction_name = map[int32]string{
	0: "ASCENDING",
	1: "DESCENDING",
}
View Source
var AppEngineResources_Index_Direction_value = map[string]int32{
	"ASCENDING":  0,
	"DESCENDING": 1,
}
View Source
var Deployment_CloudProject_VersionScheme_name = map[int32]string{
	0: "DEFAULT",
}
View Source
var Deployment_CloudProject_VersionScheme_value = map[string]int32{
	"DEFAULT": 0,
}
View Source
var Duration_Unit_name = map[int32]string{
	0: "MILLISECONDS",
	1: "SECONDS",
	2: "MINUTES",
	3: "HOURS",
	4: "DAYS",
}
View Source
var Duration_Unit_value = map[string]int32{
	"MILLISECONDS": 0,
	"SECONDS":      1,
	"MINUTES":      2,
	"HOURS":        3,
	"DAYS":         4,
}
View Source
var KubernetesPod_Container_ContainerPort_Protocol_name = map[int32]string{
	0: "TCP",
	1: "UDP",
}
View Source
var KubernetesPod_Container_ContainerPort_Protocol_value = map[string]int32{
	"TCP": 0,
	"UDP": 1,
}
View Source
var KubernetesPod_Container_Resources_Unit_name = map[int32]string{
	0:  "BYTE",
	1:  "KILOBYTE",
	2:  "MEGABYTE",
	3:  "GIGABYTE",
	4:  "TERABYTE",
	5:  "PETABYTE",
	6:  "EXABYTE",
	7:  "KIBIBYTE",
	8:  "MEBIBYTE",
	9:  "GIBIBYTE",
	10: "TEBIBYTE",
	11: "PEBIBYTE",
	12: "EXBIBYTE",
}
View Source
var KubernetesPod_Container_Resources_Unit_value = map[string]int32{
	"BYTE":     0,
	"KILOBYTE": 1,
	"MEGABYTE": 2,
	"GIGABYTE": 3,
	"TERABYTE": 4,
	"PETABYTE": 5,
	"EXABYTE":  6,
	"KIBIBYTE": 7,
	"MEBIBYTE": 8,
	"GIBIBYTE": 9,
	"TEBIBYTE": 10,
	"PEBIBYTE": 11,
	"EXBIBYTE": 12,
}
View Source
var KubernetesPod_Container_Type_name = map[int32]string{
	0: "GO",
}
View Source
var KubernetesPod_Container_Type_value = map[string]int32{
	"GO": 0,
}
View Source
var KubernetesPod_RestartPolicy_name = map[int32]string{
	0: "RESTART_ALWAYS",
	1: "RESTART_ON_FAILURE",
	2: "RESTART_NEVER",
}
View Source
var KubernetesPod_RestartPolicy_value = map[string]int32{
	"RESTART_ALWAYS":     0,
	"RESTART_ON_FAILURE": 1,
	"RESTART_NEVER":      2,
}

Functions

This section is empty.

Types

type AppEngineModule

type AppEngineModule struct {
	// * The name of the module. Leave blank for default module.
	ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName" json:"module_name,omitempty"`
	// * The module's runtime.
	//
	// Types that are valid to be assigned to Runtime:
	//	*AppEngineModule_GoModule_
	//	*AppEngineModule_StaticModule_
	Runtime isAppEngineModule_Runtime `protobuf_oneof:"runtime"`
	// Types that are valid to be assigned to Params:
	//	*AppEngineModule_Classic
	//	*AppEngineModule_ManagedVm
	Params isAppEngineModule_Params `protobuf_oneof:"params"`
	// * Module handlers.
	Handlers *AppEngineModule_HandlerSet `protobuf:"bytes,20,opt,name=handlers" json:"handlers,omitempty"`
	// * Source-relative paths to HandlerSet protobufs to include.
	HandlerPath []string `protobuf:"bytes,21,rep,name=handler_path,json=handlerPath" json:"handler_path,omitempty"`
	// *
	// Module resources.
	//
	// All resources defined by this module are automatically configured to be
	// handled by this module without explicit "handle_*" directives.
	Resources *AppEngineResources `protobuf:"bytes,22,opt,name=resources" json:"resources,omitempty"`
	// *
	// Source-relative path of additional AppEngineResources text protobuf files
	// to load and associate with this module.
	//
	// Resources imported here are treated the same as if they were declared in
	// the "resources" field.
	//
	// Resource paths may include deployment parameters.
	ResourcePath []string `protobuf:"bytes,23,rep,name=resource_path,json=resourcePath" json:"resource_path,omitempty"`
	// *
	// The source-relative path to an "index.yaml" file that can be imported.
	//
	// This is specifically useful since GAE development instances are capable
	// of generating their own index data after observing module behavior. A user
	// may want to use this behavior directly ratehr rather than translate it
	// ininto an AppEngineResources protobuf.
	//
	// If this is not empty, an "index.yaml" file will be loaded from this path
	// and appended to any other defined indexes.
	IndexYamlPath string `protobuf:"bytes,24,opt,name=index_yaml_path,json=indexYamlPath" json:"index_yaml_path,omitempty"`
}

* Describes an AppEngine module.

func (*AppEngineModule) Descriptor

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

func (*AppEngineModule) GetClassic

func (*AppEngineModule) GetGoModule

func (m *AppEngineModule) GetGoModule() *AppEngineModule_GoModule

func (*AppEngineModule) GetHandlerPath

func (m *AppEngineModule) GetHandlerPath() []string

func (*AppEngineModule) GetHandlers

func (m *AppEngineModule) GetHandlers() *AppEngineModule_HandlerSet

func (*AppEngineModule) GetIndexYamlPath

func (m *AppEngineModule) GetIndexYamlPath() string

func (*AppEngineModule) GetManagedVm

func (*AppEngineModule) GetModuleName

func (m *AppEngineModule) GetModuleName() string

func (*AppEngineModule) GetParams

func (m *AppEngineModule) GetParams() isAppEngineModule_Params

func (*AppEngineModule) GetResourcePath

func (m *AppEngineModule) GetResourcePath() []string

func (*AppEngineModule) GetResources

func (m *AppEngineModule) GetResources() *AppEngineResources

func (*AppEngineModule) GetRuntime

func (m *AppEngineModule) GetRuntime() isAppEngineModule_Runtime

func (*AppEngineModule) GetStaticModule

func (m *AppEngineModule) GetStaticModule() *AppEngineModule_StaticModule

func (*AppEngineModule) ProtoMessage

func (*AppEngineModule) ProtoMessage()

func (*AppEngineModule) Reset

func (m *AppEngineModule) Reset()

func (*AppEngineModule) String

func (m *AppEngineModule) String() string

func (*AppEngineModule) XXX_OneofFuncs

func (*AppEngineModule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AppEngineModule_Classic

type AppEngineModule_Classic struct {
	Classic *AppEngineModule_ClassicParams `protobuf:"bytes,10,opt,name=classic,oneof"`
}

type AppEngineModule_ClassicParams

type AppEngineModule_ClassicParams struct {
	InstanceClass AppEngineModule_ClassicParams_InstanceClass `` /* 150-byte string literal not displayed */
	// * Instance scaling type.
	//
	// Types that are valid to be assigned to Scaling:
	//	*AppEngineModule_ClassicParams_AutomaticScaling_
	//	*AppEngineModule_ClassicParams_BasicScaling_
	//	*AppEngineModule_ClassicParams_ManualScaling_
	Scaling isAppEngineModule_ClassicParams_Scaling `protobuf_oneof:"scaling"`
}

* Parameters for a classic AppEngine instance.

func (*AppEngineModule_ClassicParams) Descriptor

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

func (*AppEngineModule_ClassicParams) GetAutomaticScaling

func (*AppEngineModule_ClassicParams) GetBasicScaling

func (*AppEngineModule_ClassicParams) GetInstanceClass

func (*AppEngineModule_ClassicParams) GetManualScaling

func (*AppEngineModule_ClassicParams) GetScaling

func (m *AppEngineModule_ClassicParams) GetScaling() isAppEngineModule_ClassicParams_Scaling

func (*AppEngineModule_ClassicParams) ProtoMessage

func (*AppEngineModule_ClassicParams) ProtoMessage()

func (*AppEngineModule_ClassicParams) Reset

func (m *AppEngineModule_ClassicParams) Reset()

func (*AppEngineModule_ClassicParams) String

func (*AppEngineModule_ClassicParams) XXX_OneofFuncs

func (*AppEngineModule_ClassicParams) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AppEngineModule_ClassicParams_AutomaticScaling

type AppEngineModule_ClassicParams_AutomaticScaling struct {
	// * Minimum number of idle instances.
	MinIdleInstances uint32 `protobuf:"varint,1,opt,name=min_idle_instances,json=minIdleInstances" json:"min_idle_instances,omitempty"`
	// * Maximum number of idle instances. 0 is automatic (default).
	MaxIdleInstances uint32 `protobuf:"varint,2,opt,name=max_idle_instances,json=maxIdleInstances" json:"max_idle_instances,omitempty"`
	// * Minimum pending latency.
	MinPendingLatency *Duration `protobuf:"bytes,3,opt,name=min_pending_latency,json=minPendingLatency" json:"min_pending_latency,omitempty"`
	// * Maximum pending latency. 0 is automatic (default).
	MaxPendingLatency *Duration `protobuf:"bytes,4,opt,name=max_pending_latency,json=maxPendingLatency" json:"max_pending_latency,omitempty"`
	// * Number of concurrent requests before respawning a new instance.
	MaxConcurrentRequests uint32 `protobuf:"varint,5,opt,name=max_concurrent_requests,json=maxConcurrentRequests" json:"max_concurrent_requests,omitempty"`
}

* Describes automatic scaling parameters.

func (*AppEngineModule_ClassicParams_AutomaticScaling) Descriptor

func (*AppEngineModule_ClassicParams_AutomaticScaling) GetMaxConcurrentRequests

func (m *AppEngineModule_ClassicParams_AutomaticScaling) GetMaxConcurrentRequests() uint32

func (*AppEngineModule_ClassicParams_AutomaticScaling) GetMaxIdleInstances

func (m *AppEngineModule_ClassicParams_AutomaticScaling) GetMaxIdleInstances() uint32

func (*AppEngineModule_ClassicParams_AutomaticScaling) GetMaxPendingLatency

func (m *AppEngineModule_ClassicParams_AutomaticScaling) GetMaxPendingLatency() *Duration

func (*AppEngineModule_ClassicParams_AutomaticScaling) GetMinIdleInstances

func (m *AppEngineModule_ClassicParams_AutomaticScaling) GetMinIdleInstances() uint32

func (*AppEngineModule_ClassicParams_AutomaticScaling) GetMinPendingLatency

func (m *AppEngineModule_ClassicParams_AutomaticScaling) GetMinPendingLatency() *Duration

func (*AppEngineModule_ClassicParams_AutomaticScaling) ProtoMessage

func (*AppEngineModule_ClassicParams_AutomaticScaling) Reset

func (*AppEngineModule_ClassicParams_AutomaticScaling) String

type AppEngineModule_ClassicParams_AutomaticScaling_

type AppEngineModule_ClassicParams_AutomaticScaling_ struct {
	AutomaticScaling *AppEngineModule_ClassicParams_AutomaticScaling `protobuf:"bytes,10,opt,name=automatic_scaling,json=automaticScaling,oneof"`
}

type AppEngineModule_ClassicParams_BasicScaling

type AppEngineModule_ClassicParams_BasicScaling struct {
	// Time after last request when instance will be shut down.
	IdleTimeout *Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout" json:"idle_timeout,omitempty"`
	// *
	// The maximum number of instances to creaet for this version (required).
	MaxInstances uint32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances" json:"max_instances,omitempty"`
}

* Describes basic scaling parameters.

func (*AppEngineModule_ClassicParams_BasicScaling) Descriptor

func (*AppEngineModule_ClassicParams_BasicScaling) GetIdleTimeout

func (*AppEngineModule_ClassicParams_BasicScaling) GetMaxInstances

func (*AppEngineModule_ClassicParams_BasicScaling) ProtoMessage

func (*AppEngineModule_ClassicParams_BasicScaling) Reset

func (*AppEngineModule_ClassicParams_BasicScaling) String

type AppEngineModule_ClassicParams_BasicScaling_

type AppEngineModule_ClassicParams_BasicScaling_ struct {
	BasicScaling *AppEngineModule_ClassicParams_BasicScaling `protobuf:"bytes,11,opt,name=basic_scaling,json=basicScaling,oneof"`
}

type AppEngineModule_ClassicParams_InstanceClass

type AppEngineModule_ClassicParams_InstanceClass int32

* Generic instance class types.

const (
	// * Default for this scaling type.
	AppEngineModule_ClassicParams_IC_DEFAULT AppEngineModule_ClassicParams_InstanceClass = 0
	// 1-core
	AppEngineModule_ClassicParams_IC_1 AppEngineModule_ClassicParams_InstanceClass = 1
	// 2-core
	AppEngineModule_ClassicParams_IC_2 AppEngineModule_ClassicParams_InstanceClass = 2
	// 4-core
	AppEngineModule_ClassicParams_IC_4 AppEngineModule_ClassicParams_InstanceClass = 3
	// 4-core, 1G memory
	AppEngineModule_ClassicParams_IC_4_1G AppEngineModule_ClassicParams_InstanceClass = 4
	// 8-core instance class. Only available with basic/manual scaling.
	AppEngineModule_ClassicParams_IC_8 AppEngineModule_ClassicParams_InstanceClass = 5
)

func (AppEngineModule_ClassicParams_InstanceClass) AppYAMLString

AppYAMLString returns the "app.yaml" string for this instance class.

The supplied prefix is prepended to the instance class string. This prefix will differ based on the type of AppEngine module that the instance class is describing (e.g., for "F_1", the prefix is "F_").

func (AppEngineModule_ClassicParams_InstanceClass) EnumDescriptor

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

func (AppEngineModule_ClassicParams_InstanceClass) String

type AppEngineModule_ClassicParams_ManualScaling

type AppEngineModule_ClassicParams_ManualScaling struct {
	// * The number of instances to assign.
	Instances uint32 `protobuf:"varint,1,opt,name=instances" json:"instances,omitempty"`
}

* Describes manual scaling parameters.

func (*AppEngineModule_ClassicParams_ManualScaling) Descriptor

func (*AppEngineModule_ClassicParams_ManualScaling) GetInstances

func (*AppEngineModule_ClassicParams_ManualScaling) ProtoMessage

func (*AppEngineModule_ClassicParams_ManualScaling) Reset

func (*AppEngineModule_ClassicParams_ManualScaling) String

type AppEngineModule_ClassicParams_ManualScaling_

type AppEngineModule_ClassicParams_ManualScaling_ struct {
	ManualScaling *AppEngineModule_ClassicParams_ManualScaling `protobuf:"bytes,12,opt,name=manual_scaling,json=manualScaling,oneof"`
}

type AppEngineModule_GoModule

type AppEngineModule_GoModule struct {
	// * The Go package path of the module's entry package.
	EntryPackage string `protobuf:"bytes,1,opt,name=entry_package,json=entryPackage" json:"entry_package,omitempty"`
}

* A Go AppEngine module.

The entry point must be declared here.

func (*AppEngineModule_GoModule) Descriptor

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

func (*AppEngineModule_GoModule) GetEntryPackage

func (m *AppEngineModule_GoModule) GetEntryPackage() string

func (*AppEngineModule_GoModule) ProtoMessage

func (*AppEngineModule_GoModule) ProtoMessage()

func (*AppEngineModule_GoModule) Reset

func (m *AppEngineModule_GoModule) Reset()

func (*AppEngineModule_GoModule) String

func (m *AppEngineModule_GoModule) String() string

type AppEngineModule_GoModule_

type AppEngineModule_GoModule_ struct {
	GoModule *AppEngineModule_GoModule `protobuf:"bytes,2,opt,name=go_module,json=goModule,oneof"`
}

type AppEngineModule_Handler

type AppEngineModule_Handler struct {
	// * The handler URL / regexp.
	Url    string                               `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	Login  AppEngineModule_Handler_LoginOption  `protobuf:"varint,2,opt,name=login,enum=deploy.AppEngineModule_Handler_LoginOption" json:"login,omitempty"`
	Secure AppEngineModule_Handler_SecureOption `protobuf:"varint,3,opt,name=secure,enum=deploy.AppEngineModule_Handler_SecureOption" json:"secure,omitempty"`
	// Types that are valid to be assigned to Content:
	//	*AppEngineModule_Handler_Script
	//	*AppEngineModule_Handler_StaticFiles_
	//	*AppEngineModule_Handler_StaticDir
	//	*AppEngineModule_Handler_StaticBuildDir
	Content isAppEngineModule_Handler_Content `protobuf_oneof:"content"`
}

* Handler is the set of handlers.

func (*AppEngineModule_Handler) Descriptor

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

func (*AppEngineModule_Handler) GetContent

func (m *AppEngineModule_Handler) GetContent() isAppEngineModule_Handler_Content

func (*AppEngineModule_Handler) GetLogin

func (*AppEngineModule_Handler) GetScript

func (m *AppEngineModule_Handler) GetScript() string

func (*AppEngineModule_Handler) GetSecure

func (*AppEngineModule_Handler) GetStaticBuildDir

func (m *AppEngineModule_Handler) GetStaticBuildDir() *BuildPath

func (*AppEngineModule_Handler) GetStaticDir

func (m *AppEngineModule_Handler) GetStaticDir() string

func (*AppEngineModule_Handler) GetStaticFiles

func (*AppEngineModule_Handler) GetUrl

func (m *AppEngineModule_Handler) GetUrl() string

func (*AppEngineModule_Handler) ProtoMessage

func (*AppEngineModule_Handler) ProtoMessage()

func (*AppEngineModule_Handler) Reset

func (m *AppEngineModule_Handler) Reset()

func (*AppEngineModule_Handler) String

func (m *AppEngineModule_Handler) String() string

func (*AppEngineModule_Handler) XXX_OneofFuncs

func (*AppEngineModule_Handler) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AppEngineModule_HandlerSet

type AppEngineModule_HandlerSet struct {
	// * The handler messages.
	Handler []*AppEngineModule_Handler `protobuf:"bytes,1,rep,name=handler" json:"handler,omitempty"`
}

* A set of Handler messages.

func (*AppEngineModule_HandlerSet) Descriptor

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

func (*AppEngineModule_HandlerSet) GetHandler

func (*AppEngineModule_HandlerSet) ProtoMessage

func (*AppEngineModule_HandlerSet) ProtoMessage()

func (*AppEngineModule_HandlerSet) Reset

func (m *AppEngineModule_HandlerSet) Reset()

func (*AppEngineModule_HandlerSet) String

func (m *AppEngineModule_HandlerSet) String() string

type AppEngineModule_Handler_LoginOption

type AppEngineModule_Handler_LoginOption int32

* Option for "login" handler field.

const (
	AppEngineModule_Handler_LOGIN_OPTIONAL AppEngineModule_Handler_LoginOption = 0
	AppEngineModule_Handler_LOGIN_REQUIRED AppEngineModule_Handler_LoginOption = 1
	AppEngineModule_Handler_LOGIN_ADMIN    AppEngineModule_Handler_LoginOption = 2
)

func (AppEngineModule_Handler_LoginOption) AppYAMLString

func (v AppEngineModule_Handler_LoginOption) AppYAMLString() string

AppYAMLString returns the "app.yaml" string for this option.

func (AppEngineModule_Handler_LoginOption) EnumDescriptor

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

func (AppEngineModule_Handler_LoginOption) String

type AppEngineModule_Handler_Script

type AppEngineModule_Handler_Script struct {
	Script string `protobuf:"bytes,4,opt,name=script,oneof"`
}

type AppEngineModule_Handler_SecureOption

type AppEngineModule_Handler_SecureOption int32

* Option for "secure" handler field.

const (
	AppEngineModule_Handler_SECURE_ALWAYS   AppEngineModule_Handler_SecureOption = 0
	AppEngineModule_Handler_SECURE_OPTIONAL AppEngineModule_Handler_SecureOption = 1
	AppEngineModule_Handler_SECURE_NEVER    AppEngineModule_Handler_SecureOption = 2
)

func (AppEngineModule_Handler_SecureOption) AppYAMLString

func (v AppEngineModule_Handler_SecureOption) AppYAMLString() string

AppYAMLString returns the "app.yaml" string for this option.

func (AppEngineModule_Handler_SecureOption) EnumDescriptor

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

func (AppEngineModule_Handler_SecureOption) String

type AppEngineModule_Handler_StaticBuildDir

type AppEngineModule_Handler_StaticBuildDir struct {
	StaticBuildDir *BuildPath `protobuf:"bytes,7,opt,name=static_build_dir,json=staticBuildDir,oneof"`
}

type AppEngineModule_Handler_StaticDir

type AppEngineModule_Handler_StaticDir struct {
	StaticDir string `protobuf:"bytes,6,opt,name=static_dir,json=staticDir,oneof"`
}

type AppEngineModule_Handler_StaticFiles

type AppEngineModule_Handler_StaticFiles struct {
	// * The base directory where the content is located.
	//
	// Types that are valid to be assigned to BaseDir:
	//	*AppEngineModule_Handler_StaticFiles_Path
	//	*AppEngineModule_Handler_StaticFiles_Build
	BaseDir isAppEngineModule_Handler_StaticFiles_BaseDir `protobuf_oneof:"base_dir"`
	// * Regexp pattern within "base_dir" to upload files.
	Upload string `protobuf:"bytes,3,opt,name=upload" json:"upload,omitempty"`
	// *
	// URL to file mapping substitution regexp. This should not include the
	// "base_dir" component.
	UrlMap string `protobuf:"bytes,4,opt,name=url_map,json=urlMap" json:"url_map,omitempty"`
}

* Script is the name of the script to invoke.

For Go runtime VMs, this will default to "_go_app".

func (*AppEngineModule_Handler_StaticFiles) Descriptor

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

func (*AppEngineModule_Handler_StaticFiles) GetBaseDir

func (m *AppEngineModule_Handler_StaticFiles) GetBaseDir() isAppEngineModule_Handler_StaticFiles_BaseDir

func (*AppEngineModule_Handler_StaticFiles) GetBuild

func (*AppEngineModule_Handler_StaticFiles) GetPath

func (*AppEngineModule_Handler_StaticFiles) GetUpload

func (*AppEngineModule_Handler_StaticFiles) GetUrlMap

func (*AppEngineModule_Handler_StaticFiles) ProtoMessage

func (*AppEngineModule_Handler_StaticFiles) ProtoMessage()

func (*AppEngineModule_Handler_StaticFiles) Reset

func (*AppEngineModule_Handler_StaticFiles) String

func (*AppEngineModule_Handler_StaticFiles) XXX_OneofFuncs

func (*AppEngineModule_Handler_StaticFiles) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AppEngineModule_Handler_StaticFiles_

type AppEngineModule_Handler_StaticFiles_ struct {
	StaticFiles *AppEngineModule_Handler_StaticFiles `protobuf:"bytes,5,opt,name=static_files,json=staticFiles,oneof"`
}

type AppEngineModule_Handler_StaticFiles_Build

type AppEngineModule_Handler_StaticFiles_Build struct {
	Build *BuildPath `protobuf:"bytes,2,opt,name=build,oneof"`
}

type AppEngineModule_Handler_StaticFiles_Path

type AppEngineModule_Handler_StaticFiles_Path struct {
	Path string `protobuf:"bytes,1,opt,name=path,oneof"`
}

type AppEngineModule_ManagedVm

type AppEngineModule_ManagedVm struct {
	ManagedVm *AppEngineModule_ManagedVmParams `protobuf:"bytes,11,opt,name=managed_vm,json=managedVm,oneof"`
}

type AppEngineModule_ManagedVmParams

type AppEngineModule_ManagedVmParams struct {
	// * Scopes are additional service account scopes to include.
	Scopes []string `protobuf:"bytes,1,rep,name=scopes" json:"scopes,omitempty"`
}

* Parameters for Managed VM

func (*AppEngineModule_ManagedVmParams) Descriptor

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

func (*AppEngineModule_ManagedVmParams) GetScopes

func (m *AppEngineModule_ManagedVmParams) GetScopes() []string

func (*AppEngineModule_ManagedVmParams) ProtoMessage

func (*AppEngineModule_ManagedVmParams) ProtoMessage()

func (*AppEngineModule_ManagedVmParams) Reset

func (*AppEngineModule_ManagedVmParams) String

type AppEngineModule_StaticModule

type AppEngineModule_StaticModule struct {
}

* A module that is really hosting static content via handlers and uploads.

func (*AppEngineModule_StaticModule) Descriptor

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

func (*AppEngineModule_StaticModule) ProtoMessage

func (*AppEngineModule_StaticModule) ProtoMessage()

func (*AppEngineModule_StaticModule) Reset

func (m *AppEngineModule_StaticModule) Reset()

func (*AppEngineModule_StaticModule) String

type AppEngineModule_StaticModule_

type AppEngineModule_StaticModule_ struct {
	StaticModule *AppEngineModule_StaticModule `protobuf:"bytes,3,opt,name=static_module,json=staticModule,oneof"`
}

type AppEngineResources

type AppEngineResources struct {
	// * The index messages.
	Index []*AppEngineResources_Index `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"`
	// *
	// Defines a dispatch directive.
	//
	// This dispatch entry will redirect requests to the module in which it is
	// declared.
	Dispatch []string `protobuf:"bytes,2,rep,name=dispatch" json:"dispatch,omitempty"`
	// * Task queues.
	TaskQueue []*AppEngineResources_TaskQueue `protobuf:"bytes,3,rep,name=task_queue,json=taskQueue" json:"task_queue,omitempty"`
	// * The cron message.
	Cron []*AppEngineResources_Cron `protobuf:"bytes,4,rep,name=cron" json:"cron,omitempty"`
}

* Defines a set of AppEngine-wide resources.

These are aggregated between all registered AppEngine modules within a project.

func (*AppEngineResources) Descriptor

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

func (*AppEngineResources) GetCron

func (*AppEngineResources) GetDispatch

func (m *AppEngineResources) GetDispatch() []string

func (*AppEngineResources) GetIndex

func (*AppEngineResources) GetTaskQueue

func (m *AppEngineResources) GetTaskQueue() []*AppEngineResources_TaskQueue

func (*AppEngineResources) ProtoMessage

func (*AppEngineResources) ProtoMessage()

func (*AppEngineResources) Reset

func (m *AppEngineResources) Reset()

func (*AppEngineResources) String

func (m *AppEngineResources) String() string

type AppEngineResources_Cron

type AppEngineResources_Cron struct {
	// The URL.
	Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// The description.
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	// The cron's schedule string.
	Schedule string `protobuf:"bytes,3,opt,name=schedule" json:"schedule,omitempty"`
}

* Defines a cron entry.

This cron will send requests to the module in which it is declared.

func (*AppEngineResources_Cron) Descriptor

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

func (*AppEngineResources_Cron) GetDescription

func (m *AppEngineResources_Cron) GetDescription() string

func (*AppEngineResources_Cron) GetSchedule

func (m *AppEngineResources_Cron) GetSchedule() string

func (*AppEngineResources_Cron) GetUrl

func (m *AppEngineResources_Cron) GetUrl() string

func (*AppEngineResources_Cron) ProtoMessage

func (*AppEngineResources_Cron) ProtoMessage()

func (*AppEngineResources_Cron) Reset

func (m *AppEngineResources_Cron) Reset()

func (*AppEngineResources_Cron) String

func (m *AppEngineResources_Cron) String() string

type AppEngineResources_Index

type AppEngineResources_Index struct {
	// The entity Kind for the index.
	Kind string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
	// The list of properties in the index (ordered).
	Property []*AppEngineResources_Index_Property `protobuf:"bytes,2,rep,name=property" json:"property,omitempty"`
	// True if this will be used by an ancestor query.
	Ancestor bool `protobuf:"varint,4,opt,name=ancestor" json:"ancestor,omitempty"`
}

Defines an index.

func (*AppEngineResources_Index) Descriptor

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

func (*AppEngineResources_Index) GetAncestor

func (m *AppEngineResources_Index) GetAncestor() bool

func (*AppEngineResources_Index) GetKind

func (m *AppEngineResources_Index) GetKind() string

func (*AppEngineResources_Index) GetProperty

func (*AppEngineResources_Index) ProtoMessage

func (*AppEngineResources_Index) ProtoMessage()

func (*AppEngineResources_Index) Reset

func (m *AppEngineResources_Index) Reset()

func (*AppEngineResources_Index) String

func (m *AppEngineResources_Index) String() string

type AppEngineResources_Index_Direction

type AppEngineResources_Index_Direction int32

Property sort direction.

const (
	// Ascending order (default).
	AppEngineResources_Index_ASCENDING AppEngineResources_Index_Direction = 0
	// Descending order.
	AppEngineResources_Index_DESCENDING AppEngineResources_Index_Direction = 1
)

func IndexDirectionFromAppYAMLString

func IndexDirectionFromAppYAMLString(v string) (AppEngineResources_Index_Direction, error)

IndexDirectionFromAppYAMLString returns the AppEngineResources_Index_Direction value associated with the given "index.yaml" strnig value.

This is a reverse of the AppEngineResources_Index_Direction's AppYAMLString.

If the direction value is not recognized, an error will be returned.

func (AppEngineResources_Index_Direction) AppYAMLString

func (v AppEngineResources_Index_Direction) AppYAMLString() string

AppYAMLString returns the "index.yaml" string for this option.

func (AppEngineResources_Index_Direction) EnumDescriptor

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

func (AppEngineResources_Index_Direction) String

type AppEngineResources_Index_Property

type AppEngineResources_Index_Property struct {
	Name      string                             `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Direction AppEngineResources_Index_Direction `protobuf:"varint,2,opt,name=direction,enum=deploy.AppEngineResources_Index_Direction" json:"direction,omitempty"`
}

Single property definition.

func (*AppEngineResources_Index_Property) Descriptor

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

func (*AppEngineResources_Index_Property) GetDirection

func (*AppEngineResources_Index_Property) GetName

func (*AppEngineResources_Index_Property) ProtoMessage

func (*AppEngineResources_Index_Property) ProtoMessage()

func (*AppEngineResources_Index_Property) Reset

func (*AppEngineResources_Index_Property) String

type AppEngineResources_TaskQueue

type AppEngineResources_TaskQueue struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*AppEngineResources_TaskQueue_Push_
	Type isAppEngineResources_TaskQueue_Type `protobuf_oneof:"type"`
}

Defines a task queue.

func (*AppEngineResources_TaskQueue) Descriptor

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

func (*AppEngineResources_TaskQueue) GetName

func (m *AppEngineResources_TaskQueue) GetName() string

func (*AppEngineResources_TaskQueue) GetPush

func (*AppEngineResources_TaskQueue) GetType

func (m *AppEngineResources_TaskQueue) GetType() isAppEngineResources_TaskQueue_Type

func (*AppEngineResources_TaskQueue) ProtoMessage

func (*AppEngineResources_TaskQueue) ProtoMessage()

func (*AppEngineResources_TaskQueue) Reset

func (m *AppEngineResources_TaskQueue) Reset()

func (*AppEngineResources_TaskQueue) String

func (*AppEngineResources_TaskQueue) XXX_OneofFuncs

func (*AppEngineResources_TaskQueue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AppEngineResources_TaskQueue_Push

type AppEngineResources_TaskQueue_Push struct {
	Rate                   string `protobuf:"bytes,1,opt,name=rate" json:"rate,omitempty"`
	BucketSize             int32  `protobuf:"varint,2,opt,name=bucket_size,json=bucketSize" json:"bucket_size,omitempty"`
	RetryTaskAgeLimit      string `protobuf:"bytes,3,opt,name=retry_task_age_limit,json=retryTaskAgeLimit" json:"retry_task_age_limit,omitempty"`
	RetryMinBackoffSeconds int32  `protobuf:"varint,4,opt,name=retry_min_backoff_seconds,json=retryMinBackoffSeconds" json:"retry_min_backoff_seconds,omitempty"`
	RetryMaxBackoffSeconds int32  `protobuf:"varint,5,opt,name=retry_max_backoff_seconds,json=retryMaxBackoffSeconds" json:"retry_max_backoff_seconds,omitempty"`
	RetryMaxDoublings      int32  `protobuf:"varint,6,opt,name=retry_max_doublings,json=retryMaxDoublings" json:"retry_max_doublings,omitempty"`
	MaxConcurrentRequests  int32  `protobuf:"varint,7,opt,name=max_concurrent_requests,json=maxConcurrentRequests" json:"max_concurrent_requests,omitempty"`
}

* Defines a push queue.

This queue will push requests to the module in which it is declared.

func (*AppEngineResources_TaskQueue_Push) Descriptor

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

func (*AppEngineResources_TaskQueue_Push) GetBucketSize

func (m *AppEngineResources_TaskQueue_Push) GetBucketSize() int32

func (*AppEngineResources_TaskQueue_Push) GetMaxConcurrentRequests

func (m *AppEngineResources_TaskQueue_Push) GetMaxConcurrentRequests() int32

func (*AppEngineResources_TaskQueue_Push) GetRate

func (*AppEngineResources_TaskQueue_Push) GetRetryMaxBackoffSeconds

func (m *AppEngineResources_TaskQueue_Push) GetRetryMaxBackoffSeconds() int32

func (*AppEngineResources_TaskQueue_Push) GetRetryMaxDoublings

func (m *AppEngineResources_TaskQueue_Push) GetRetryMaxDoublings() int32

func (*AppEngineResources_TaskQueue_Push) GetRetryMinBackoffSeconds

func (m *AppEngineResources_TaskQueue_Push) GetRetryMinBackoffSeconds() int32

func (*AppEngineResources_TaskQueue_Push) GetRetryTaskAgeLimit

func (m *AppEngineResources_TaskQueue_Push) GetRetryTaskAgeLimit() string

func (*AppEngineResources_TaskQueue_Push) ProtoMessage

func (*AppEngineResources_TaskQueue_Push) ProtoMessage()

func (*AppEngineResources_TaskQueue_Push) Reset

func (*AppEngineResources_TaskQueue_Push) String

type AppEngineResources_TaskQueue_Push_

type AppEngineResources_TaskQueue_Push_ struct {
	Push *AppEngineResources_TaskQueue_Push `protobuf:"bytes,2,opt,name=push,oneof"`
}

type Application

type Application struct {
	Component []*Application_Component `protobuf:"bytes,1,rep,name=component" json:"component,omitempty"`
}

* Application represents a single application.

Application configurations are located under the applications directory, and are named "<application-name>.cfg". The internal name for a given application is "<application-name>".

An application is composed of high-level application settings, a set of component configurations loaded from sources, and application-wide settings for those components.

A applications is not bound to any specific source group, so the same application can be applied (via deployments) to multiple source groups. This enables canary configurations to be expressed.

func (*Application) Descriptor

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

func (*Application) GetComponent

func (m *Application) GetComponent() []*Application_Component

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) Reset

func (m *Application) Reset()

func (*Application) String

func (m *Application) String() string

type Application_Component

type Application_Component struct {
	// *
	// Name is the local name of this Component.
	//
	// It can be referenced as <application-name>/<name>.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// * The "<source-name>" of the source where this component is defined.
	Source string `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
	// * The source-relative path to the Component within "<source-name>".
	Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
	// * The names of other sources to pull in to build this Component.
	OtherSource []string `protobuf:"bytes,4,rep,name=other_source,json=otherSource" json:"other_source,omitempty"`
}

* Each Component entry is a application Component that will be pulled in from its Source repository. An application is composed of multiple Components.

A Component is a single, deployable entity. It should be self-contained and able to co-exist with other Components in the Application.

func (*Application_Component) Descriptor

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

func (*Application_Component) GetName

func (m *Application_Component) GetName() string

func (*Application_Component) GetOtherSource

func (m *Application_Component) GetOtherSource() []string

func (*Application_Component) GetPath

func (m *Application_Component) GetPath() string

func (*Application_Component) GetSource

func (m *Application_Component) GetSource() string

func (*Application_Component) ProtoMessage

func (*Application_Component) ProtoMessage()

func (*Application_Component) Reset

func (m *Application_Component) Reset()

func (*Application_Component) String

func (m *Application_Component) String() string

type BuildPath

type BuildPath struct {
	// * The Build `dir_key` to use as a root instead of the source root.
	DirKey string `protobuf:"bytes,1,opt,name=dir_key,json=dirKey" json:"dir_key,omitempty"`
	// *
	// The relative path. If `dir_key` is empty, this is relative to the source
	// root. Otherwise, this is relative to `dir_key`'s directory root.
	Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
}

* A BuildPath is a path that is relative to either a source root or, if specified, a Build `dir_key`.

func (*BuildPath) Descriptor

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

func (*BuildPath) GetDirKey

func (m *BuildPath) GetDirKey() string

func (*BuildPath) GetPath

func (m *BuildPath) GetPath() string

func (*BuildPath) ProtoMessage

func (*BuildPath) ProtoMessage()

func (*BuildPath) Reset

func (m *BuildPath) Reset()

func (*BuildPath) String

func (m *BuildPath) String() string

type Component

type Component struct {
	Build []*Component_Build `protobuf:"bytes,1,rep,name=build" json:"build,omitempty"`
	// *
	// Source-relative path to other Build message files to build with this
	// component.
	BuildPath []string `protobuf:"bytes,2,rep,name=build_path,json=buildPath" json:"build_path,omitempty"`
	// * The Component that this file describes.
	//
	// Types that are valid to be assigned to Component:
	//	*Component_AppengineModule
	//	*Component_GkePod
	Component isComponent_Component `protobuf_oneof:"component"`
}

* Component represents a single deployable component.

Deployment tool projects are composed of Components. Each Component is defined in a project's components directory, and describes a deployment Component that the project offers.

Components are located under a Source's components directory, and are named "<component-name>.cfg". The internal name for a given component is "<component-name>".

Components themselves are source-relative links to actual Component configuration files, which define various component types.

func (*Component) Descriptor

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

func (*Component) GetAppengineModule

func (m *Component) GetAppengineModule() *AppEngineModule

func (*Component) GetBuild

func (m *Component) GetBuild() []*Component_Build

func (*Component) GetBuildPath

func (m *Component) GetBuildPath() []string

func (*Component) GetComponent

func (m *Component) GetComponent() isComponent_Component

func (*Component) GetGkePod

func (m *Component) GetGkePod() *ContainerEnginePod

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) Reset

func (m *Component) Reset()

func (*Component) String

func (m *Component) String() string

func (*Component) XXX_OneofFuncs

func (*Component) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Component_AppengineModule

type Component_AppengineModule struct {
	AppengineModule *AppEngineModule `protobuf:"bytes,10,opt,name=appengine_module,json=appengineModule,oneof"`
}

type Component_Build

type Component_Build struct {
	// *
	// The variable substitution key that the build directory for this directive
	// can be substituted with.
	DirKey string `protobuf:"bytes,1,opt,name=dir_key,json=dirKey" json:"dir_key,omitempty"`
	// Types that are valid to be assigned to Operation:
	//	*Component_Build_PythonScript_
	Operation isComponent_Build_Operation `protobuf_oneof:"operation"`
}

* Build is a single build operation execution. It can be attached to a Component, and will be executed as a precondition to completing that Component.

Any `dir_key` exposed through Build will become available to directory fields in the Component definition.

Note that the source repository's `run_scripts` directive must be enabled.

func (*Component_Build) Descriptor

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

func (*Component_Build) GetDirKey

func (m *Component_Build) GetDirKey() string

func (*Component_Build) GetOperation

func (m *Component_Build) GetOperation() isComponent_Build_Operation

func (*Component_Build) GetPythonScript

func (m *Component_Build) GetPythonScript() *Component_Build_PythonScript

func (*Component_Build) ProtoMessage

func (*Component_Build) ProtoMessage()

func (*Component_Build) Reset

func (m *Component_Build) Reset()

func (*Component_Build) String

func (m *Component_Build) String() string

func (*Component_Build) XXX_OneofFuncs

func (*Component_Build) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Component_Build_PythonScript

type Component_Build_PythonScript struct {
	// * The source-relative path of the Python script.
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// * Additional arguments supplied at the end of the script.
	ExtraArgs []string `protobuf:"bytes,2,rep,name=extra_args,json=extraArgs" json:"extra_args,omitempty"`
}

* A Python build script.

The script will be run out of a directory generated specifically for it during the build phase of a Component. $ PYTHON PATH SOURCE-ROOT BUILD-DIR [EXTRA-ARGS...]

  • PYTHON is the deploy tool-resolved Python interpreter.
  • PATH is the absolute path of the script.
  • SOURCE-ROOT is the root of the source that is being initialized.
  • BUILD-DIR is the build output directory. Each build script invocation will be allocated a temporary output directory for its build artifacts. Note that this will also be the current working directory.
  • EXTRA_ARGS is any additional arguments supplied via the `extra_args` field.

func (*Component_Build_PythonScript) Descriptor

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

func (*Component_Build_PythonScript) GetExtraArgs

func (m *Component_Build_PythonScript) GetExtraArgs() []string

func (*Component_Build_PythonScript) GetPath

func (m *Component_Build_PythonScript) GetPath() string

func (*Component_Build_PythonScript) ProtoMessage

func (*Component_Build_PythonScript) ProtoMessage()

func (*Component_Build_PythonScript) Reset

func (m *Component_Build_PythonScript) Reset()

func (*Component_Build_PythonScript) String

type Component_Build_PythonScript_

type Component_Build_PythonScript_ struct {
	PythonScript *Component_Build_PythonScript `protobuf:"bytes,2,opt,name=python_script,json=pythonScript,oneof"`
}

type Component_GkePod

type Component_GkePod struct {
	GkePod *ContainerEnginePod `protobuf:"bytes,11,opt,name=gke_pod,json=gkePod,oneof"`
}

type ContainerEnginePod

type ContainerEnginePod struct {
	// * The pod definition.
	KubePod *KubernetesPod `protobuf:"bytes,1,opt,name=kube_pod,json=kubePod" json:"kube_pod,omitempty"`
	// * OAuth2 scopes that pods in this cluster require.
	Scopes []string `protobuf:"bytes,2,rep,name=scopes" json:"scopes,omitempty"`
}

* A Google Container Engine deployment.

func (*ContainerEnginePod) Descriptor

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

func (*ContainerEnginePod) GetKubePod

func (m *ContainerEnginePod) GetKubePod() *KubernetesPod

func (*ContainerEnginePod) GetScopes

func (m *ContainerEnginePod) GetScopes() []string

func (*ContainerEnginePod) ProtoMessage

func (*ContainerEnginePod) ProtoMessage()

func (*ContainerEnginePod) Reset

func (m *ContainerEnginePod) Reset()

func (*ContainerEnginePod) String

func (m *ContainerEnginePod) String() string

type Deployment

type Deployment struct {
	// * The name of the source group to use for this deployment.
	SourceGroup string `protobuf:"bytes,1,opt,name=source_group,json=sourceGroup" json:"source_group,omitempty"`
	// * The name of the Application that this Deployment manages.
	Application  string                   `protobuf:"bytes,2,opt,name=application" json:"application,omitempty"`
	CloudProject *Deployment_CloudProject `protobuf:"bytes,3,opt,name=cloud_project,json=cloudProject" json:"cloud_project,omitempty"`
	// *
	// Map of key/value parameters for this Deployment.
	//
	// These will be automatically substituted where parameter substitution is
	// allowed.
	Parameter map[string]string `` /* 138-byte string literal not displayed */
}

* A Deployment represents a single cloud project deployment. It binds a set of Application configurations to a set of Sources and provides deployment-specific details, variables, and parameters.

Deployment configurations are located under the deployments directory, and are named "<deployment-name>.cfg". The internal project name for a given deployment is "<deployment-name>".

Each deployment entry roughly corresponds to a single Cloud Platform project.

func (*Deployment) Descriptor

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

func (*Deployment) GetApplication

func (m *Deployment) GetApplication() string

func (*Deployment) GetCloudProject

func (m *Deployment) GetCloudProject() *Deployment_CloudProject

func (*Deployment) GetParameter

func (m *Deployment) GetParameter() map[string]string

func (*Deployment) GetSourceGroup

func (m *Deployment) GetSourceGroup() string

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) String

func (m *Deployment) String() string

type Deployment_CloudProject

type Deployment_CloudProject struct {
	// * The cloud project name.
	Name          string                                 `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	VersionScheme Deployment_CloudProject_VersionScheme  `` /* 144-byte string literal not displayed */
	ResourceRef   []*Deployment_CloudProject_ResourceRef `protobuf:"bytes,4,rep,name=resource_ref,json=resourceRef" json:"resource_ref,omitempty"`
	GkeCluster    []*Deployment_CloudProject_GKECluster  `protobuf:"bytes,5,rep,name=gke_cluster,json=gkeCluster" json:"gke_cluster,omitempty"`
}

* CloudProject defines the parameters for the deployent's Google Cloud Platform project, if applicable.

func (*Deployment_CloudProject) Descriptor

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

func (*Deployment_CloudProject) GetGkeCluster

func (*Deployment_CloudProject) GetName

func (m *Deployment_CloudProject) GetName() string

func (*Deployment_CloudProject) GetResourceRef

func (*Deployment_CloudProject) GetVersionScheme

func (*Deployment_CloudProject) ProtoMessage

func (*Deployment_CloudProject) ProtoMessage()

func (*Deployment_CloudProject) Reset

func (m *Deployment_CloudProject) Reset()

func (*Deployment_CloudProject) String

func (m *Deployment_CloudProject) String() string

type Deployment_CloudProject_GKECluster

type Deployment_CloudProject_GKECluster struct {
	// * The cluster name.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// * The cluster zone.
	Zone string `protobuf:"bytes,2,opt,name=zone" json:"zone,omitempty"`
	// * The number of nodes in this cluster.
	Nodes int32 `protobuf:"varint,3,opt,name=nodes" json:"nodes,omitempty"`
	// * The size of the disk.
	DiskSizeGb int32 `protobuf:"varint,4,opt,name=disk_size_gb,json=diskSizeGb" json:"disk_size_gb,omitempty"`
	// * The name of the GKE machine type for this cluster.
	MachineType string `protobuf:"bytes,5,opt,name=machine_type,json=machineType" json:"machine_type,omitempty"`
	// * If true, enable GKE's auto-upgrade feature.
	EnableAutoUpgrade bool                                             `protobuf:"varint,6,opt,name=enable_auto_upgrade,json=enableAutoUpgrade" json:"enable_auto_upgrade,omitempty"`
	Pod               []*Deployment_CloudProject_GKECluster_PodBinding `protobuf:"bytes,10,rep,name=pod" json:"pod,omitempty"`
}

* Defines a Google Container Engine (GKE) cluster within this cloud project.

func (*Deployment_CloudProject_GKECluster) Descriptor

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

func (*Deployment_CloudProject_GKECluster) GetDiskSizeGb

func (m *Deployment_CloudProject_GKECluster) GetDiskSizeGb() int32

func (*Deployment_CloudProject_GKECluster) GetEnableAutoUpgrade

func (m *Deployment_CloudProject_GKECluster) GetEnableAutoUpgrade() bool

func (*Deployment_CloudProject_GKECluster) GetMachineType

func (m *Deployment_CloudProject_GKECluster) GetMachineType() string

func (*Deployment_CloudProject_GKECluster) GetName

func (*Deployment_CloudProject_GKECluster) GetNodes

func (*Deployment_CloudProject_GKECluster) GetPod

func (*Deployment_CloudProject_GKECluster) GetZone

func (*Deployment_CloudProject_GKECluster) ProtoMessage

func (*Deployment_CloudProject_GKECluster) ProtoMessage()

func (*Deployment_CloudProject_GKECluster) Reset

func (*Deployment_CloudProject_GKECluster) String

type Deployment_CloudProject_GKECluster_PodBinding

type Deployment_CloudProject_GKECluster_PodBinding struct {
	// *
	// The name of the Component to bind to this cluster. This component
	// must be a ContainerEnginePod Component.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// * The number of pod replicas to host on this cluster.
	Replicas int32 `protobuf:"varint,2,opt,name=replicas" json:"replicas,omitempty"`
}

* Binds a ContainerEnginePod component to this GKE cluster.

func (*Deployment_CloudProject_GKECluster_PodBinding) Descriptor

func (*Deployment_CloudProject_GKECluster_PodBinding) GetName

func (*Deployment_CloudProject_GKECluster_PodBinding) GetReplicas

func (*Deployment_CloudProject_GKECluster_PodBinding) ProtoMessage

func (*Deployment_CloudProject_GKECluster_PodBinding) Reset

func (*Deployment_CloudProject_GKECluster_PodBinding) String

type Deployment_CloudProject_ResourceRef

type Deployment_CloudProject_ResourceRef struct {
	// * The name of the source that this resource resides in
	Source string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// * The source-relative path to the AppEngineResources text protobuf.
	Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
}

func (*Deployment_CloudProject_ResourceRef) Descriptor

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

func (*Deployment_CloudProject_ResourceRef) GetPath

func (*Deployment_CloudProject_ResourceRef) GetSource

func (*Deployment_CloudProject_ResourceRef) ProtoMessage

func (*Deployment_CloudProject_ResourceRef) ProtoMessage()

func (*Deployment_CloudProject_ResourceRef) Reset

func (*Deployment_CloudProject_ResourceRef) String

type Deployment_CloudProject_VersionScheme

type Deployment_CloudProject_VersionScheme int32

* The AppEngine module version scheme to use.

const (
	// The DEFAULT version scheme uses the source group hash
	Deployment_CloudProject_DEFAULT Deployment_CloudProject_VersionScheme = 0
)

func (Deployment_CloudProject_VersionScheme) EnumDescriptor

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

func (Deployment_CloudProject_VersionScheme) String

type Duration

type Duration struct {
	// * The duration value, taken in units of "unit".
	Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// * The unit for this duration value.
	Unit Duration_Unit `protobuf:"varint,2,opt,name=unit,enum=deploy.Duration_Unit" json:"unit,omitempty"`
	// * Additional duration units to append.
	Plus []*Duration `protobuf:"bytes,3,rep,name=plus" json:"plus,omitempty"`
}

* A Duration expression.

This is preferred to google.protobuf.Duration since it is more easily expressed by a human.

func (*Duration) AppYAMLString

func (d *Duration) AppYAMLString() string

AppYAMLString returns the GAE app.yaml string for this Duration.

func (*Duration) Descriptor

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

func (*Duration) Duration

func (d *Duration) Duration() time.Duration

Duration returns the time.Duration that this Duration describes.

func (*Duration) GetPlus

func (m *Duration) GetPlus() []*Duration

func (*Duration) GetUnit

func (m *Duration) GetUnit() Duration_Unit

func (*Duration) GetValue

func (m *Duration) GetValue() uint32

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) Reset

func (m *Duration) Reset()

func (*Duration) String

func (m *Duration) String() string

type Duration_Unit

type Duration_Unit int32
const (
	Duration_MILLISECONDS Duration_Unit = 0
	Duration_SECONDS      Duration_Unit = 1
	Duration_MINUTES      Duration_Unit = 2
	Duration_HOURS        Duration_Unit = 3
	Duration_DAYS         Duration_Unit = 4
)

func (Duration_Unit) EnumDescriptor

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

func (Duration_Unit) String

func (x Duration_Unit) String() string

type FrozenLayout

type FrozenLayout struct {
	SourceGroup map[string]*FrozenLayout_SourceGroup `` /* 161-byte string literal not displayed */
}

* Frozen copy of layout configuration, associated with the current checkout.

The "checkout" command creates this file after reading the current layout configuration. This is then used in subsequent operations to operate on the checkout.

func (*FrozenLayout) Descriptor

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

func (*FrozenLayout) GetSourceGroup

func (m *FrozenLayout) GetSourceGroup() map[string]*FrozenLayout_SourceGroup

func (*FrozenLayout) ProtoMessage

func (*FrozenLayout) ProtoMessage()

func (*FrozenLayout) Reset

func (m *FrozenLayout) Reset()

func (*FrozenLayout) String

func (m *FrozenLayout) String() string

type FrozenLayout_Source

type FrozenLayout_Source struct {
	// * The backing Source entry.
	Source *Source `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// * Relative path to the source's checkout.
	Relpath string `protobuf:"bytes,2,opt,name=relpath" json:"relpath,omitempty"`
	// * Revision.
	Revision string `protobuf:"bytes,3,opt,name=revision" json:"revision,omitempty"`
	// * Major version.
	MajorVersion string `protobuf:"bytes,4,opt,name=major_version,json=majorVersion" json:"major_version,omitempty"`
	// * Minor version.
	MinorVersion string `protobuf:"bytes,5,opt,name=minor_version,json=minorVersion" json:"minor_version,omitempty"`
	// * If source initialization was performed, the result.
	InitResult *SourceInitResult `protobuf:"bytes,6,opt,name=init_result,json=initResult" json:"init_result,omitempty"`
}

* A single Source.

func (*FrozenLayout_Source) Descriptor

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

func (*FrozenLayout_Source) GetInitResult

func (m *FrozenLayout_Source) GetInitResult() *SourceInitResult

func (*FrozenLayout_Source) GetMajorVersion

func (m *FrozenLayout_Source) GetMajorVersion() string

func (*FrozenLayout_Source) GetMinorVersion

func (m *FrozenLayout_Source) GetMinorVersion() string

func (*FrozenLayout_Source) GetRelpath

func (m *FrozenLayout_Source) GetRelpath() string

func (*FrozenLayout_Source) GetRevision

func (m *FrozenLayout_Source) GetRevision() string

func (*FrozenLayout_Source) GetSource

func (m *FrozenLayout_Source) GetSource() *Source

func (*FrozenLayout_Source) ProtoMessage

func (*FrozenLayout_Source) ProtoMessage()

func (*FrozenLayout_Source) Reset

func (m *FrozenLayout_Source) Reset()

func (*FrozenLayout_Source) String

func (m *FrozenLayout_Source) String() string

type FrozenLayout_SourceGroup

type FrozenLayout_SourceGroup struct {
	// * The Sources in this source group.
	Source map[string]*FrozenLayout_Source `` /* 132-byte string literal not displayed */
	// * The calculated revision hash for this source group.
	RevisionHash string `protobuf:"bytes,2,opt,name=revision_hash,json=revisionHash" json:"revision_hash,omitempty"`
	// * Is this source group tained?
	Tainted bool `protobuf:"varint,3,opt,name=tainted" json:"tainted,omitempty"`
}

* A single source group.

func (*FrozenLayout_SourceGroup) Descriptor

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

func (*FrozenLayout_SourceGroup) GetRevisionHash

func (m *FrozenLayout_SourceGroup) GetRevisionHash() string

func (*FrozenLayout_SourceGroup) GetSource

func (*FrozenLayout_SourceGroup) GetTainted

func (m *FrozenLayout_SourceGroup) GetTainted() bool

func (*FrozenLayout_SourceGroup) ProtoMessage

func (*FrozenLayout_SourceGroup) ProtoMessage()

func (*FrozenLayout_SourceGroup) Reset

func (m *FrozenLayout_SourceGroup) Reset()

func (*FrozenLayout_SourceGroup) String

func (m *FrozenLayout_SourceGroup) String() string

type GoPath

type GoPath struct {
	// *
	// The source-relative path to add to GOPATH. If empty, this is the source
	// root.
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// *
	// The name of the Go package to bind to "path".
	//
	// For example, given checkout:
	//   path: gosrc/my/thing
	//   go_package: github.com/example/mything
	//
	// This will add a GOPATH entry:
	// src/github.com/example/mything => <root>/gosrc/my/thing
	GoPackage string `protobuf:"bytes,2,opt,name=go_package,json=goPackage" json:"go_package,omitempty"`
}

* Describes how to link a source-relative directory into the generated GOPATH.

func (*GoPath) Descriptor

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

func (*GoPath) GetGoPackage

func (m *GoPath) GetGoPackage() string

func (*GoPath) GetPath

func (m *GoPath) GetPath() string

func (*GoPath) ProtoMessage

func (*GoPath) ProtoMessage()

func (*GoPath) Reset

func (m *GoPath) Reset()

func (*GoPath) String

func (m *GoPath) String() string

type KubernetesPod

type KubernetesPod struct {
	// *
	// The name of this pod. It must be unique within its deployment.
	//
	// If empty, Kubernetes will automatically generate one.
	Name          string                      `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	RestartPolicy KubernetesPod_RestartPolicy `` /* 134-byte string literal not displayed */
	// *
	// The termination grace period. This will be truncated to seconds.
	//
	// If not specified, the Kubernetes default will be used (currently 30
	// seconds).
	TerminationGracePeriod *google_protobuf.Duration `protobuf:"bytes,3,opt,name=termination_grace_period,json=terminationGracePeriod" json:"termination_grace_period,omitempty"`
	// *
	// The activation deadline. This will be truncated to seconds.
	//
	// If not specified, the Kubernetes default will be used.
	ActiveDeadline *google_protobuf.Duration `protobuf:"bytes,4,opt,name=active_deadline,json=activeDeadline" json:"active_deadline,omitempty"`
	// * Containers in this Deployment.
	Container []*KubernetesPod_Container `protobuf:"bytes,10,rep,name=container" json:"container,omitempty"`
	// * Labels to apply to this pod.
	Labels map[string]string `` /* 133-byte string literal not displayed */
	// *
	// Deployment configuration value for amount of non-crashing time before this
	// pod is available.
	MinReady *google_protobuf.Duration `protobuf:"bytes,12,opt,name=min_ready,json=minReady" json:"min_ready,omitempty"`
}

* Describes a Kubernetes deployment, which is a collecton of Kubernetes pods.

Currently built from: http://kubernetes.io/docs/api-reference/extensions/v1beta1/definitions

Modelled after: - [v1.PodSpec] - [v1.PodTemplateSpec]

func (*KubernetesPod) Descriptor

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

func (*KubernetesPod) GetActiveDeadline

func (m *KubernetesPod) GetActiveDeadline() *google_protobuf.Duration

func (*KubernetesPod) GetContainer

func (m *KubernetesPod) GetContainer() []*KubernetesPod_Container

func (*KubernetesPod) GetLabels

func (m *KubernetesPod) GetLabels() map[string]string

func (*KubernetesPod) GetMinReady

func (m *KubernetesPod) GetMinReady() *google_protobuf.Duration

func (*KubernetesPod) GetName

func (m *KubernetesPod) GetName() string

func (*KubernetesPod) GetRestartPolicy

func (m *KubernetesPod) GetRestartPolicy() KubernetesPod_RestartPolicy

func (*KubernetesPod) GetTerminationGracePeriod

func (m *KubernetesPod) GetTerminationGracePeriod() *google_protobuf.Duration

func (*KubernetesPod) ProtoMessage

func (*KubernetesPod) ProtoMessage()

func (*KubernetesPod) Reset

func (m *KubernetesPod) Reset()

func (*KubernetesPod) String

func (m *KubernetesPod) String() string

type KubernetesPod_Container

type KubernetesPod_Container struct {
	// *
	// The name of this container. It must be unique within the deployment.
	//
	// If empty, Kubernetes will automatically generate one.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// * The Dockerfile that builds this pod.
	//
	// Types that are valid to be assigned to Dockerfile:
	//	*KubernetesPod_Container_Path
	//	*KubernetesPod_Container_Build
	Dockerfile isKubernetesPod_Container_Dockerfile `protobuf_oneof:"dockerfile"`
	Type       KubernetesPod_Container_Type         `protobuf:"varint,4,opt,name=type,enum=deploy.KubernetesPod_Container_Type" json:"type,omitempty"`
	// *
	// The entrypoint command array. If not specified, the Docker image's
	// ENTRYPOINT will be used.
	Command []string `protobuf:"bytes,10,rep,name=command" json:"command,omitempty"`
	// *
	// Entrypoint arguments. If not specified, the docker image's CMD will be
	// used.
	Args []string `protobuf:"bytes,11,rep,name=args" json:"args,omitempty"`
	// *
	// The container's working directory. If not specified, the runtime's
	// default working directory will be used.
	WorkingDir string `protobuf:"bytes,12,opt,name=working_dir,json=workingDir" json:"working_dir,omitempty"`
	// * Container port forwarding setup.
	Ports []*KubernetesPod_Container_ContainerPort `protobuf:"bytes,6,rep,name=ports" json:"ports,omitempty"`
	// * Environment variables to set for the container.
	Env map[string]string `` /* 127-byte string literal not displayed */
	// * The maximum amount of resources to use.
	Limits *KubernetesPod_Container_Resources `protobuf:"bytes,14,opt,name=limits" json:"limits,omitempty"`
	// * The requested amount of resources to use.
	Requested *KubernetesPod_Container_Resources `protobuf:"bytes,15,opt,name=requested" json:"requested,omitempty"`
	// * A periodic Probe for container liveness.
	LivenessProbe *KubernetesPod_Container_Probe `protobuf:"bytes,16,opt,name=liveness_probe,json=livenessProbe" json:"liveness_probe,omitempty"`
	// * A periodic Probe for container readiness.
	ReadinessProbe *KubernetesPod_Container_Probe `protobuf:"bytes,17,opt,name=readiness_probe,json=readinessProbe" json:"readiness_probe,omitempty"`
	// * Handler to execute immediately after the container has started.
	PostStart *KubernetesPod_Container_Handler `protobuf:"bytes,18,opt,name=post_start,json=postStart" json:"post_start,omitempty"`
	// * Handler to execute immediately before a container is terminated.
	PreStop *KubernetesPod_Container_Handler `protobuf:"bytes,19,opt,name=pre_stop,json=preStop" json:"pre_stop,omitempty"`
}

* Describes a single Kubernetes container.

Modelled after: - [v1.beta1.DeploymentSpec] - [v1.Container] - [v1.ObjectMeta]

func (*KubernetesPod_Container) Descriptor

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

func (*KubernetesPod_Container) GetArgs

func (m *KubernetesPod_Container) GetArgs() []string

func (*KubernetesPod_Container) GetBuild

func (m *KubernetesPod_Container) GetBuild() *BuildPath

func (*KubernetesPod_Container) GetCommand

func (m *KubernetesPod_Container) GetCommand() []string

func (*KubernetesPod_Container) GetDockerfile

func (m *KubernetesPod_Container) GetDockerfile() isKubernetesPod_Container_Dockerfile

func (*KubernetesPod_Container) GetEnv

func (m *KubernetesPod_Container) GetEnv() map[string]string

func (*KubernetesPod_Container) GetLimits

func (*KubernetesPod_Container) GetLivenessProbe

func (*KubernetesPod_Container) GetName

func (m *KubernetesPod_Container) GetName() string

func (*KubernetesPod_Container) GetPath

func (m *KubernetesPod_Container) GetPath() string

func (*KubernetesPod_Container) GetPorts

func (*KubernetesPod_Container) GetPostStart

func (*KubernetesPod_Container) GetPreStop

func (*KubernetesPod_Container) GetReadinessProbe

func (*KubernetesPod_Container) GetRequested

func (*KubernetesPod_Container) GetType

func (*KubernetesPod_Container) GetWorkingDir

func (m *KubernetesPod_Container) GetWorkingDir() string

func (*KubernetesPod_Container) ProtoMessage

func (*KubernetesPod_Container) ProtoMessage()

func (*KubernetesPod_Container) Reset

func (m *KubernetesPod_Container) Reset()

func (*KubernetesPod_Container) String

func (m *KubernetesPod_Container) String() string

func (*KubernetesPod_Container) XXX_OneofFuncs

func (*KubernetesPod_Container) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type KubernetesPod_Container_Build

type KubernetesPod_Container_Build struct {
	Build *BuildPath `protobuf:"bytes,3,opt,name=build,oneof"`
}

type KubernetesPod_Container_ContainerPort

type KubernetesPod_Container_ContainerPort struct {
	// *
	// Optional container port name. If supplied, must be unique within
	// deployment.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// * The container port.
	ContainerPort int32 `protobuf:"varint,2,opt,name=container_port,json=containerPort" json:"container_port,omitempty"`
	// * The protocol to forward.
	Protocol KubernetesPod_Container_ContainerPort_Protocol `protobuf:"varint,4,opt,name=protocol,enum=deploy.KubernetesPod_Container_ContainerPort_Protocol" json:"protocol,omitempty"`
}

func (*KubernetesPod_Container_ContainerPort) Descriptor

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

func (*KubernetesPod_Container_ContainerPort) GetContainerPort

func (m *KubernetesPod_Container_ContainerPort) GetContainerPort() int32

func (*KubernetesPod_Container_ContainerPort) GetName

func (*KubernetesPod_Container_ContainerPort) GetProtocol

func (*KubernetesPod_Container_ContainerPort) ProtoMessage

func (*KubernetesPod_Container_ContainerPort) ProtoMessage()

func (*KubernetesPod_Container_ContainerPort) Reset

func (*KubernetesPod_Container_ContainerPort) String

type KubernetesPod_Container_ContainerPort_Protocol

type KubernetesPod_Container_ContainerPort_Protocol int32
const (
	KubernetesPod_Container_ContainerPort_TCP KubernetesPod_Container_ContainerPort_Protocol = 0
	KubernetesPod_Container_ContainerPort_UDP KubernetesPod_Container_ContainerPort_Protocol = 1
)

func (KubernetesPod_Container_ContainerPort_Protocol) EnumDescriptor

func (KubernetesPod_Container_ContainerPort_Protocol) String

type KubernetesPod_Container_Handler

type KubernetesPod_Container_Handler struct {
	// * Command to execute inside the container.
	ExecCommand []string `protobuf:"bytes,1,rep,name=exec_command,json=execCommand" json:"exec_command,omitempty"`
	// * Handler defines an HTTP Get action.
	HttpGet *KubernetesPod_Container_HttpGet `protobuf:"bytes,2,opt,name=http_get,json=httpGet" json:"http_get,omitempty"`
}

* A handler.

Modelled after [v1.Handler].

func (*KubernetesPod_Container_Handler) Descriptor

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

func (*KubernetesPod_Container_Handler) GetExecCommand

func (m *KubernetesPod_Container_Handler) GetExecCommand() []string

func (*KubernetesPod_Container_Handler) GetHttpGet

func (*KubernetesPod_Container_Handler) ProtoMessage

func (*KubernetesPod_Container_Handler) ProtoMessage()

func (*KubernetesPod_Container_Handler) Reset

func (*KubernetesPod_Container_Handler) String

type KubernetesPod_Container_HttpGet

type KubernetesPod_Container_HttpGet struct {
	// * The HTTP path to access.
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// * The port to GET from.
	Port int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	// * The hostname to connect to. Defaults to pod IP.
	Host string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"`
	// * Scheme to use. Defaults to HTTP.
	Scheme  string                                    `protobuf:"bytes,4,opt,name=scheme" json:"scheme,omitempty"`
	Headers []*KubernetesPod_Container_HttpGet_Header `protobuf:"bytes,5,rep,name=headers" json:"headers,omitempty"`
}

* HTTP Get specification.

Modelled after [v1.HTTPGetAction].

func (*KubernetesPod_Container_HttpGet) Descriptor

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

func (*KubernetesPod_Container_HttpGet) GetHeaders

func (*KubernetesPod_Container_HttpGet) GetHost

func (*KubernetesPod_Container_HttpGet) GetPath

func (*KubernetesPod_Container_HttpGet) GetPort

func (*KubernetesPod_Container_HttpGet) GetScheme

func (m *KubernetesPod_Container_HttpGet) GetScheme() string

func (*KubernetesPod_Container_HttpGet) ProtoMessage

func (*KubernetesPod_Container_HttpGet) ProtoMessage()

func (*KubernetesPod_Container_HttpGet) Reset

func (*KubernetesPod_Container_HttpGet) String

type KubernetesPod_Container_HttpGet_Header

type KubernetesPod_Container_HttpGet_Header struct {
	// * The HTTP header name.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// * The HTTP header value.
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

* Custom HTTP headers. Repeated headers are allowed.

Modelled after [v1.HTTPHeader].

func (*KubernetesPod_Container_HttpGet_Header) Descriptor

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

func (*KubernetesPod_Container_HttpGet_Header) GetName

func (*KubernetesPod_Container_HttpGet_Header) GetValue

func (*KubernetesPod_Container_HttpGet_Header) ProtoMessage

func (*KubernetesPod_Container_HttpGet_Header) Reset

func (*KubernetesPod_Container_HttpGet_Header) String

type KubernetesPod_Container_Path

type KubernetesPod_Container_Path struct {
	Path string `protobuf:"bytes,2,opt,name=path,oneof"`
}

type KubernetesPod_Container_Probe

type KubernetesPod_Container_Probe struct {
	// * Command to execute, exit status 0 is healthy, non-zero is not.
	Exec []string `protobuf:"bytes,1,rep,name=exec" json:"exec,omitempty"`
	// * Get status from HTTP.
	HttpGet      *KubernetesPod_Container_HttpGet `protobuf:"bytes,2,opt,name=http_get,json=httpGet" json:"http_get,omitempty"`
	InitialDelay *google_protobuf.Duration        `protobuf:"bytes,3,opt,name=initial_delay,json=initialDelay" json:"initial_delay,omitempty"`
	Timeout      *google_protobuf.Duration        `protobuf:"bytes,4,opt,name=timeout" json:"timeout,omitempty"`
	Period       *google_protobuf.Duration        `protobuf:"bytes,5,opt,name=period" json:"period,omitempty"`
	// * Minimum number of consecutive successes to count as success.
	SuccessThreshold int32 `protobuf:"varint,6,opt,name=success_threshold,json=successThreshold" json:"success_threshold,omitempty"`
	// * Minimum number of consecutive failures to count as failure.
	FailureThreshold int32 `protobuf:"varint,7,opt,name=failure_threshold,json=failureThreshold" json:"failure_threshold,omitempty"`
}

* Probe defines a Kubernetes probe type.

Modelled after [v1.Probe].

func (*KubernetesPod_Container_Probe) Descriptor

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

func (*KubernetesPod_Container_Probe) GetExec

func (m *KubernetesPod_Container_Probe) GetExec() []string

func (*KubernetesPod_Container_Probe) GetFailureThreshold

func (m *KubernetesPod_Container_Probe) GetFailureThreshold() int32

func (*KubernetesPod_Container_Probe) GetHttpGet

func (*KubernetesPod_Container_Probe) GetInitialDelay

func (*KubernetesPod_Container_Probe) GetPeriod

func (*KubernetesPod_Container_Probe) GetSuccessThreshold

func (m *KubernetesPod_Container_Probe) GetSuccessThreshold() int32

func (*KubernetesPod_Container_Probe) GetTimeout

func (*KubernetesPod_Container_Probe) ProtoMessage

func (*KubernetesPod_Container_Probe) ProtoMessage()

func (*KubernetesPod_Container_Probe) Reset

func (m *KubernetesPod_Container_Probe) Reset()

func (*KubernetesPod_Container_Probe) String

type KubernetesPod_Container_Resources

type KubernetesPod_Container_Resources struct {
	// * CPU resource requirements, between [0.0 and 100.0].
	Cpu    float32                                   `protobuf:"fixed32,1,opt,name=cpu" json:"cpu,omitempty"`
	Memory *KubernetesPod_Container_Resources_Memory `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"`
}

* Resources is a resource requirements specification.

func (*KubernetesPod_Container_Resources) Descriptor

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

func (*KubernetesPod_Container_Resources) GetCpu

func (*KubernetesPod_Container_Resources) GetMemory

func (*KubernetesPod_Container_Resources) ProtoMessage

func (*KubernetesPod_Container_Resources) ProtoMessage()

func (*KubernetesPod_Container_Resources) Reset

func (*KubernetesPod_Container_Resources) String

type KubernetesPod_Container_Resources_Memory

type KubernetesPod_Container_Resources_Memory struct {
	// * The unit of memory to specify.
	Unit KubernetesPod_Container_Resources_Unit `protobuf:"varint,1,opt,name=unit,enum=deploy.KubernetesPod_Container_Resources_Unit" json:"unit,omitempty"`
	// * The number of units.
	Amount int32 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}

* Memory spec.

func (*KubernetesPod_Container_Resources_Memory) Descriptor

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

func (*KubernetesPod_Container_Resources_Memory) GetAmount

func (*KubernetesPod_Container_Resources_Memory) GetUnit

func (*KubernetesPod_Container_Resources_Memory) ProtoMessage

func (*KubernetesPod_Container_Resources_Memory) Reset

func (*KubernetesPod_Container_Resources_Memory) String

type KubernetesPod_Container_Resources_Unit

type KubernetesPod_Container_Resources_Unit int32

* Resource unit granularity.

const (
	KubernetesPod_Container_Resources_BYTE KubernetesPod_Container_Resources_Unit = 0
	// * 1000
	KubernetesPod_Container_Resources_KILOBYTE KubernetesPod_Container_Resources_Unit = 1
	// * 1000^2
	KubernetesPod_Container_Resources_MEGABYTE KubernetesPod_Container_Resources_Unit = 2
	// * 1000^3
	KubernetesPod_Container_Resources_GIGABYTE KubernetesPod_Container_Resources_Unit = 3
	// * 1000^4
	KubernetesPod_Container_Resources_TERABYTE KubernetesPod_Container_Resources_Unit = 4
	// * 1000^5
	KubernetesPod_Container_Resources_PETABYTE KubernetesPod_Container_Resources_Unit = 5
	// * 1000^6
	KubernetesPod_Container_Resources_EXABYTE KubernetesPod_Container_Resources_Unit = 6
	// * 1024
	KubernetesPod_Container_Resources_KIBIBYTE KubernetesPod_Container_Resources_Unit = 7
	// * 1024^2
	KubernetesPod_Container_Resources_MEBIBYTE KubernetesPod_Container_Resources_Unit = 8
	// * 1024^3
	KubernetesPod_Container_Resources_GIBIBYTE KubernetesPod_Container_Resources_Unit = 9
	// * 1024^4
	KubernetesPod_Container_Resources_TEBIBYTE KubernetesPod_Container_Resources_Unit = 10
	// * 1024^5
	KubernetesPod_Container_Resources_PEBIBYTE KubernetesPod_Container_Resources_Unit = 11
	// * 1024^6
	KubernetesPod_Container_Resources_EXBIBYTE KubernetesPod_Container_Resources_Unit = 12
)

func (KubernetesPod_Container_Resources_Unit) EnumDescriptor

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

func (KubernetesPod_Container_Resources_Unit) KubeSuffix

KubeSuffix returns the Kubernetes configuration unit suffix for a given resource unit.

func (KubernetesPod_Container_Resources_Unit) String

type KubernetesPod_Container_Type

type KubernetesPod_Container_Type int32
const (
	// *
	// A Go container.
	//
	// The image for this container will be built in a
	// directory containing all of the immediate contents of "path" and
	// the contents of GOPATH at "_gopath/src".
	KubernetesPod_Container_GO KubernetesPod_Container_Type = 0
)

func (KubernetesPod_Container_Type) EnumDescriptor

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

func (KubernetesPod_Container_Type) String

type KubernetesPod_RestartPolicy

type KubernetesPod_RestartPolicy int32
const (
	KubernetesPod_RESTART_ALWAYS     KubernetesPod_RestartPolicy = 0
	KubernetesPod_RESTART_ON_FAILURE KubernetesPod_RestartPolicy = 1
	KubernetesPod_RESTART_NEVER      KubernetesPod_RestartPolicy = 2
)

func (KubernetesPod_RestartPolicy) EnumDescriptor

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

func (KubernetesPod_RestartPolicy) KubeString

func (v KubernetesPod_RestartPolicy) KubeString() string

KubeString returns the Kubernetes "restartPolicy" field string for the enumeration value.

func (KubernetesPod_RestartPolicy) String

type Layout

type Layout struct {
	// *
	// If specified, the relative path to the sources configuration directory. If
	// empty, this will default to "sources".
	SourcesPath string `protobuf:"bytes,1,opt,name=sources_path,json=sourcesPath" json:"sources_path,omitempty"`
	// *
	// If specified, the relative path to the applications configuration
	// directory. If empty, this will default to "applications".
	ApplicationsPath string `protobuf:"bytes,2,opt,name=applications_path,json=applicationsPath" json:"applications_path,omitempty"`
	// *
	// If specified, the relative path to the deployments configuration directory.
	// If empty, this will default to "deployments".
	DeploymentsPath string `protobuf:"bytes,3,opt,name=deployments_path,json=deploymentsPath" json:"deployments_path,omitempty"`
	// *
	// If specified, the working directory to use.
	WorkingPath string `protobuf:"bytes,5,opt,name=working_path,json=workingPath" json:"working_path,omitempty"`
}

* Layout defines the root directory of a deployment configuration.

Each layout field has a default value, so an empty layout protobuf file is a valid layout. Each field may be overridden to suit your repository's structure, if needed.

func (*Layout) Descriptor

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

func (*Layout) GetApplicationsPath

func (m *Layout) GetApplicationsPath() string

func (*Layout) GetDeploymentsPath

func (m *Layout) GetDeploymentsPath() string

func (*Layout) GetSourcesPath

func (m *Layout) GetSourcesPath() string

func (*Layout) GetWorkingPath

func (m *Layout) GetWorkingPath() string

func (*Layout) ProtoMessage

func (*Layout) ProtoMessage()

func (*Layout) Reset

func (m *Layout) Reset()

func (*Layout) String

func (m *Layout) String() string

type Source

type Source struct {
	// Types that are valid to be assigned to Source:
	//	*Source_Git
	Source isSource_Source `protobuf_oneof:"source"`
	// *
	// Go Paths to add to this repository.
	//
	// This will be prepended to the GOPATH that the repository exports during its
	// configuration/initialization.
	GoPath []*GoPath `protobuf:"bytes,10,rep,name=go_path,json=goPath" json:"go_path,omitempty"`
	// *
	// If true, this repository is allowed to run scripts:
	// - At source initialization time, the initialization scripts defined in
	//   "/luci-deploy.cfg" will be executed.
	// - At build time, build scripts associated with a Component will
	//   be executed. Note that if the a Component declares a build script and `run_scripts` is not true,
	//   the build will fail.
	//
	// It is important that this repository is trusted if this is set to true,
	// since this script will be run on the deployment system under the
	// deployment user account.
	RunScripts bool `protobuf:"varint,11,opt,name=run_scripts,json=runScripts" json:"run_scripts,omitempty"`
	// * If true, mark this as a tained source.
	Tainted bool `protobuf:"varint,12,opt,name=tainted" json:"tainted,omitempty"`
}

* Source represents a single source configuration file.

It contains definitions for the set of source repositories that make up this Source.

Each source is defined within a source group directory, and is named "<source-name>.cfg". The source can be referenced internally by its full source path, "<source-group-name>/<source-name>".

If the source root contains a "luci-deploy.cfg" file, it will be read and interepreted as a "SourceLayout" message.

func (*Source) Descriptor

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

func (*Source) GetGit

func (m *Source) GetGit() *Source_GitRepo

func (*Source) GetGoPath

func (m *Source) GetGoPath() []*GoPath

func (*Source) GetRunScripts

func (m *Source) GetRunScripts() bool

func (*Source) GetSource

func (m *Source) GetSource() isSource_Source

func (*Source) GetTainted

func (m *Source) GetTainted() bool

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

func (*Source) XXX_OneofFuncs

func (*Source) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SourceInitResult

type SourceInitResult struct {
	// * Source-relative entries to add to GOPATH.
	GoPath []*GoPath `protobuf:"bytes,1,rep,name=go_path,json=goPath" json:"go_path,omitempty"`
}

* SourceInitResult is a protobuf that can be emitted from a SourceInit Script to describe how to link the results of that initialization into the deployment layout.

func (*SourceInitResult) Descriptor

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

func (*SourceInitResult) GetGoPath

func (m *SourceInitResult) GetGoPath() []*GoPath

func (*SourceInitResult) ProtoMessage

func (*SourceInitResult) ProtoMessage()

func (*SourceInitResult) Reset

func (m *SourceInitResult) Reset()

func (*SourceInitResult) String

func (m *SourceInitResult) String() string

type SourceLayout

type SourceLayout struct {
	// * The source initialization operations to execute, in order.
	Init []*SourceLayout_Init `protobuf:"bytes,1,rep,name=init" json:"init,omitempty"`
	// * Go Paths to add to this repository.
	GoPath []*GoPath `protobuf:"bytes,10,rep,name=go_path,json=goPath" json:"go_path,omitempty"`
}

* Source layout configuration file.

Each Source checkout may include a textproto layout file named "luci-deploy.cfg". If present, this file will be loaded and used to integrate the source into the deployment.

Uncooperative repositories, or those not owned by the author, may have the same effect by specifying the SourceLayout in the Source's layout definition.

func (*SourceLayout) Descriptor

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

func (*SourceLayout) GetGoPath

func (m *SourceLayout) GetGoPath() []*GoPath

func (*SourceLayout) GetInit

func (m *SourceLayout) GetInit() []*SourceLayout_Init

func (*SourceLayout) ProtoMessage

func (*SourceLayout) ProtoMessage()

func (*SourceLayout) Reset

func (m *SourceLayout) Reset()

func (*SourceLayout) String

func (m *SourceLayout) String() string

type SourceLayout_Init

type SourceLayout_Init struct {
	// Types that are valid to be assigned to Operation:
	//	*SourceLayout_Init_PythonScript_
	Operation isSourceLayout_Init_Operation `protobuf_oneof:"operation"`
}

* Init is a single initialization operation execution.

func (*SourceLayout_Init) Descriptor

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

func (*SourceLayout_Init) GetOperation

func (m *SourceLayout_Init) GetOperation() isSourceLayout_Init_Operation

func (*SourceLayout_Init) GetPythonScript

func (m *SourceLayout_Init) GetPythonScript() *SourceLayout_Init_PythonScript

func (*SourceLayout_Init) ProtoMessage

func (*SourceLayout_Init) ProtoMessage()

func (*SourceLayout_Init) Reset

func (m *SourceLayout_Init) Reset()

func (*SourceLayout_Init) String

func (m *SourceLayout_Init) String() string

func (*SourceLayout_Init) XXX_OneofFuncs

func (*SourceLayout_Init) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SourceLayout_Init_PythonScript

type SourceLayout_Init_PythonScript struct {
	// * The source-relative path of the Python script.
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}

* A Python initialization script.

The script will be run as follows: $ PYTHON PATH SOURCE-ROOT RESULT-PATH

  • PYTHON is the deploy tool-resolved Python interpreter.
  • PATH is the absolute path of the script.
  • SOURCE-ROOT is the root of the source that is being initialized.
  • RESULT-PATH is the path where, optionally, a SourceInitResult protobuf may be written. If the file is present, it will be read and linked into the deployment runtime.

func (*SourceLayout_Init_PythonScript) Descriptor

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

func (*SourceLayout_Init_PythonScript) GetPath

func (*SourceLayout_Init_PythonScript) ProtoMessage

func (*SourceLayout_Init_PythonScript) ProtoMessage()

func (*SourceLayout_Init_PythonScript) Reset

func (m *SourceLayout_Init_PythonScript) Reset()

func (*SourceLayout_Init_PythonScript) String

type SourceLayout_Init_PythonScript_

type SourceLayout_Init_PythonScript_ struct {
	PythonScript *SourceLayout_Init_PythonScript `protobuf:"bytes,1,opt,name=python_script,json=pythonScript,oneof"`
}

type Source_Git

type Source_Git struct {
	Git *Source_GitRepo `protobuf:"bytes,1,opt,name=git,oneof"`
}

type Source_GitRepo

type Source_GitRepo struct {
	// *
	// URL is the base URL of the repository.
	//
	// If this is a "file://" URL, the local file path will be used as the
	// repository source.
	Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// *
	// Ref is the name of the Git ref to check out.
	//
	// If empty, the unpinned "refs/heads/master" will be used if this is a
	// remote repository, and the current checkout will be used if this is a
	// local (file://...) repository.
	Ref string `protobuf:"bytes,2,opt,name=ref" json:"ref,omitempty"`
}

* GitRepo is a named Git repository.

func (*Source_GitRepo) Descriptor

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

func (*Source_GitRepo) GetRef

func (m *Source_GitRepo) GetRef() string

func (*Source_GitRepo) GetUrl

func (m *Source_GitRepo) GetUrl() string

func (*Source_GitRepo) ProtoMessage

func (*Source_GitRepo) ProtoMessage()

func (*Source_GitRepo) Reset

func (m *Source_GitRepo) Reset()

func (*Source_GitRepo) String

func (m *Source_GitRepo) String() string

type UserConfig

type UserConfig struct {
	// *
	// Defines a local path override to a repository URL.
	//
	// When checkout is run with the "--local" flag, repositories whose URLs match
	// the key, the value URL will be used instead.
	//
	// The key is the repository URL to override, and the value is the override
	// URL, typically "file:///...".
	SourceOverride map[string]*Source `` /* 170-byte string literal not displayed */
}

* User configuration file.

This is where user preferences will be written. Currently, no user preferences are defined.

func (*UserConfig) Descriptor

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

func (*UserConfig) GetSourceOverride

func (m *UserConfig) GetSourceOverride() map[string]*Source

func (*UserConfig) ProtoMessage

func (*UserConfig) ProtoMessage()

func (*UserConfig) Reset

func (m *UserConfig) Reset()

func (*UserConfig) String

func (m *UserConfig) String() string

Jump to

Keyboard shortcuts

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