Documentation
¶
Index ¶
- Variables
- type BasicConfig
- func (*BasicConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BasicConfig) GetArgs() []string
- func (x *BasicConfig) GetCpuLimit() string
- func (x *BasicConfig) GetCpuRequest() string
- func (x *BasicConfig) GetEnvVars() *v1.EnvVars
- func (x *BasicConfig) GetInstanceCount() int32
- func (x *BasicConfig) GetListenerCfg() *ListenerConfig
- func (x *BasicConfig) GetMemLimit() string
- func (x *BasicConfig) GetMemRequest() string
- func (*BasicConfig) ProtoMessage()
- func (x *BasicConfig) ProtoReflect() protoreflect.Message
- func (x *BasicConfig) Reset()
- func (x *BasicConfig) String() string
- func (m *BasicConfig) Validate() error
- func (m *BasicConfig) ValidateAll() error
- type BasicConfigMultiError
- type BasicConfigValidationError
- func (e BasicConfigValidationError) Cause() error
- func (e BasicConfigValidationError) Error() string
- func (e BasicConfigValidationError) ErrorName() string
- func (e BasicConfigValidationError) Field() string
- func (e BasicConfigValidationError) Key() bool
- func (e BasicConfigValidationError) Reason() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBasic() *BasicConfig
- func (x *Config) GetCfg() isConfig_Cfg
- func (x *Config) GetHelmChart() *HelmChartConfig
- func (x *Config) GetHelmRepo() *HelmRepoConfig
- func (x *Config) GetJob() *JobConfig
- func (x *Config) GetNoop() *NoopConfig
- func (x *Config) GetTerraformModuleConfig() *TerraformModuleConfig
- func (x *Config) GetTimeout() *durationpb.Duration
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- func (m *Config) Validate() error
- func (m *Config) ValidateAll() error
- type ConfigMultiError
- type ConfigValidationError
- type Config_Basic
- type Config_HelmChart
- type Config_HelmRepo
- type Config_Job
- type Config_Noop
- type Config_TerraformModuleConfig
- type HelmChartConfig
- func (*HelmChartConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HelmChartConfig) GetValues() *v1.HelmValues
- func (x *HelmChartConfig) GetValuesFiles() []string
- func (*HelmChartConfig) ProtoMessage()
- func (x *HelmChartConfig) ProtoReflect() protoreflect.Message
- func (x *HelmChartConfig) Reset()
- func (x *HelmChartConfig) String() string
- func (m *HelmChartConfig) Validate() error
- func (m *HelmChartConfig) ValidateAll() error
- type HelmChartConfigMultiError
- type HelmChartConfigValidationError
- func (e HelmChartConfigValidationError) Cause() error
- func (e HelmChartConfigValidationError) Error() string
- func (e HelmChartConfigValidationError) ErrorName() string
- func (e HelmChartConfigValidationError) Field() string
- func (e HelmChartConfigValidationError) Key() bool
- func (e HelmChartConfigValidationError) Reason() string
- type HelmRepoConfig
- func (*HelmRepoConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HelmRepoConfig) GetChartName() string
- func (x *HelmRepoConfig) GetChartRepo() string
- func (x *HelmRepoConfig) GetChartVersion() string
- func (x *HelmRepoConfig) GetImageRepoValuesKey() string
- func (x *HelmRepoConfig) GetImageTagValuesKey() string
- func (*HelmRepoConfig) ProtoMessage()
- func (x *HelmRepoConfig) ProtoReflect() protoreflect.Message
- func (x *HelmRepoConfig) Reset()
- func (x *HelmRepoConfig) String() string
- func (m *HelmRepoConfig) Validate() error
- func (m *HelmRepoConfig) ValidateAll() error
- type HelmRepoConfigMultiError
- type HelmRepoConfigValidationError
- func (e HelmRepoConfigValidationError) Cause() error
- func (e HelmRepoConfigValidationError) Error() string
- func (e HelmRepoConfigValidationError) ErrorName() string
- func (e HelmRepoConfigValidationError) Field() string
- func (e HelmRepoConfigValidationError) Key() bool
- func (e HelmRepoConfigValidationError) Reason() string
- type JobConfig
- func (*JobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *JobConfig) GetArgs() []string
- func (x *JobConfig) GetCmd() []string
- func (x *JobConfig) GetEnvVars() *v1.EnvVars
- func (x *JobConfig) GetImageUrl() string
- func (x *JobConfig) GetTag() string
- func (*JobConfig) ProtoMessage()
- func (x *JobConfig) ProtoReflect() protoreflect.Message
- func (x *JobConfig) Reset()
- func (x *JobConfig) String() string
- func (m *JobConfig) Validate() error
- func (m *JobConfig) ValidateAll() error
- type JobConfigMultiError
- type JobConfigValidationError
- type ListenerConfig
- func (*ListenerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ListenerConfig) GetHealthCheckPath() string
- func (x *ListenerConfig) GetListenPort() int32
- func (*ListenerConfig) ProtoMessage()
- func (x *ListenerConfig) ProtoReflect() protoreflect.Message
- func (x *ListenerConfig) Reset()
- func (x *ListenerConfig) String() string
- func (m *ListenerConfig) Validate() error
- func (m *ListenerConfig) ValidateAll() error
- type ListenerConfigMultiError
- type ListenerConfigValidationError
- func (e ListenerConfigValidationError) Cause() error
- func (e ListenerConfigValidationError) Error() string
- func (e ListenerConfigValidationError) ErrorName() string
- func (e ListenerConfigValidationError) Field() string
- func (e ListenerConfigValidationError) Key() bool
- func (e ListenerConfigValidationError) Reason() string
- type NoopConfig
- type NoopConfigMultiError
- type NoopConfigValidationError
- type TerraformModuleConfig
- func (*TerraformModuleConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformModuleConfig) GetEnvVars() *v1.EnvVars
- func (x *TerraformModuleConfig) GetTerraformVersion() string
- func (x *TerraformModuleConfig) GetVars() *v1.TerraformVariables
- func (*TerraformModuleConfig) ProtoMessage()
- func (x *TerraformModuleConfig) ProtoReflect() protoreflect.Message
- func (x *TerraformModuleConfig) Reset()
- func (x *TerraformModuleConfig) String() string
- func (m *TerraformModuleConfig) Validate() error
- func (m *TerraformModuleConfig) ValidateAll() error
- type TerraformModuleConfigMultiError
- type TerraformModuleConfigValidationError
- func (e TerraformModuleConfigValidationError) Cause() error
- func (e TerraformModuleConfigValidationError) Error() string
- func (e TerraformModuleConfigValidationError) ErrorName() string
- func (e TerraformModuleConfigValidationError) Field() string
- func (e TerraformModuleConfigValidationError) Key() bool
- func (e TerraformModuleConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_deploy_v1_basic_proto protoreflect.FileDescriptor
var File_deploy_v1_config_proto protoreflect.FileDescriptor
var File_deploy_v1_helm_chart_proto protoreflect.FileDescriptor
var File_deploy_v1_helm_repo_proto protoreflect.FileDescriptor
var File_deploy_v1_job_proto protoreflect.FileDescriptor
var File_deploy_v1_noop_proto protoreflect.FileDescriptor
var File_deploy_v1_terraform_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BasicConfig ¶
type BasicConfig struct {
// listen_port is optional, and controls whether a url gets exposed for the container. When we follow up with actual
// url support (and custom domains) this will probably change and be in it's own config etc.
InstanceCount int32 `protobuf:"varint,1,opt,name=instance_count,json=instanceCount,proto3" json:"instance_count,omitempty"`
ListenerCfg *ListenerConfig `protobuf:"bytes,2,opt,name=listener_cfg,json=listenerCfg,proto3,oneof" json:"listener_cfg,omitempty"`
// args are container args
Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
// mem / cpu requests
CpuRequest *string `protobuf:"bytes,6,opt,name=cpu_request,json=cpuRequest,proto3,oneof" json:"cpu_request,omitempty"`
CpuLimit *string `protobuf:"bytes,7,opt,name=cpu_limit,json=cpuLimit,proto3,oneof" json:"cpu_limit,omitempty"`
MemRequest *string `protobuf:"bytes,8,opt,name=mem_request,json=memRequest,proto3,oneof" json:"mem_request,omitempty"`
MemLimit *string `protobuf:"bytes,9,opt,name=mem_limit,json=memLimit,proto3,oneof" json:"mem_limit,omitempty"`
EnvVars *v1.EnvVars `protobuf:"bytes,11,opt,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
// contains filtered or unexported fields
}
ContainerConfig is a first pass at exposing how we'd like to be able to run a container for a user. It leverages the yaml-less config from waypoint https://developer.hashicorp.com/waypoint/docs/kubernetes/kubectl-deploy
it's worth mentioning that while this container should work for basic use cases (such as a basic server/worker etc), we shouldn't try to boil the ocean here. If a customer has custom needs they should use a helm chart or k8s directory for configuration
func (*BasicConfig) Descriptor
deprecated
func (*BasicConfig) Descriptor() ([]byte, []int)
Deprecated: Use BasicConfig.ProtoReflect.Descriptor instead.
func (*BasicConfig) GetArgs ¶
func (x *BasicConfig) GetArgs() []string
func (*BasicConfig) GetCpuLimit ¶
func (x *BasicConfig) GetCpuLimit() string
func (*BasicConfig) GetCpuRequest ¶
func (x *BasicConfig) GetCpuRequest() string
func (*BasicConfig) GetEnvVars ¶
func (x *BasicConfig) GetEnvVars() *v1.EnvVars
func (*BasicConfig) GetInstanceCount ¶
func (x *BasicConfig) GetInstanceCount() int32
func (*BasicConfig) GetListenerCfg ¶
func (x *BasicConfig) GetListenerCfg() *ListenerConfig
func (*BasicConfig) GetMemLimit ¶
func (x *BasicConfig) GetMemLimit() string
func (*BasicConfig) GetMemRequest ¶
func (x *BasicConfig) GetMemRequest() string
func (*BasicConfig) ProtoMessage ¶
func (*BasicConfig) ProtoMessage()
func (*BasicConfig) ProtoReflect ¶
func (x *BasicConfig) ProtoReflect() protoreflect.Message
func (*BasicConfig) Reset ¶
func (x *BasicConfig) Reset()
func (*BasicConfig) String ¶
func (x *BasicConfig) String() string
func (*BasicConfig) Validate ¶
func (m *BasicConfig) Validate() error
Validate checks the field values on BasicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BasicConfig) ValidateAll ¶
func (m *BasicConfig) ValidateAll() error
ValidateAll checks the field values on BasicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BasicConfigMultiError, or nil if none found.
type BasicConfigMultiError ¶
type BasicConfigMultiError []error
BasicConfigMultiError is an error wrapping multiple validation errors returned by BasicConfig.ValidateAll() if the designated constraints aren't met.
func (BasicConfigMultiError) AllErrors ¶
func (m BasicConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BasicConfigMultiError) Error ¶
func (m BasicConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BasicConfigValidationError ¶
type BasicConfigValidationError struct {
// contains filtered or unexported fields
}
BasicConfigValidationError is the validation error returned by BasicConfig.Validate if the designated constraints aren't met.
func (BasicConfigValidationError) Cause ¶
func (e BasicConfigValidationError) Cause() error
Cause function returns cause value.
func (BasicConfigValidationError) Error ¶
func (e BasicConfigValidationError) Error() string
Error satisfies the builtin error interface
func (BasicConfigValidationError) ErrorName ¶
func (e BasicConfigValidationError) ErrorName() string
ErrorName returns error name.
func (BasicConfigValidationError) Field ¶
func (e BasicConfigValidationError) Field() string
Field function returns field value.
func (BasicConfigValidationError) Key ¶
func (e BasicConfigValidationError) Key() bool
Key function returns key value.
func (BasicConfigValidationError) Reason ¶
func (e BasicConfigValidationError) Reason() string
Reason function returns reason value.
type Config ¶
type Config struct {
// name maps to the waypoint application in the customer install
Timeout *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
// Types that are valid to be assigned to Cfg:
//
// *Config_Basic
// *Config_HelmRepo
// *Config_TerraformModuleConfig
// *Config_HelmChart
// *Config_Noop
// *Config_Job
Cfg isConfig_Cfg `protobuf_oneof:"cfg"`
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) GetBasic ¶
func (x *Config) GetBasic() *BasicConfig
func (*Config) GetHelmChart ¶
func (x *Config) GetHelmChart() *HelmChartConfig
func (*Config) GetHelmRepo ¶
func (x *Config) GetHelmRepo() *HelmRepoConfig
func (*Config) GetNoop ¶
func (x *Config) GetNoop() *NoopConfig
func (*Config) GetTerraformModuleConfig ¶
func (x *Config) GetTerraformModuleConfig() *TerraformModuleConfig
func (*Config) GetTimeout ¶
func (x *Config) GetTimeout() *durationpb.Duration
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) Validate ¶
Validate checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Config) ValidateAll ¶
ValidateAll checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigMultiError, or nil if none found.
type ConfigMultiError ¶
type ConfigMultiError []error
ConfigMultiError is an error wrapping multiple validation errors returned by Config.ValidateAll() if the designated constraints aren't met.
func (ConfigMultiError) AllErrors ¶
func (m ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigMultiError) Error ¶
func (m ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigValidationError ¶
type ConfigValidationError struct {
// contains filtered or unexported fields
}
ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.
func (ConfigValidationError) Cause ¶
func (e ConfigValidationError) Cause() error
Cause function returns cause value.
func (ConfigValidationError) Error ¶
func (e ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigValidationError) ErrorName ¶
func (e ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigValidationError) Field ¶
func (e ConfigValidationError) Field() string
Field function returns field value.
func (ConfigValidationError) Key ¶
func (e ConfigValidationError) Key() bool
Key function returns key value.
func (ConfigValidationError) Reason ¶
func (e ConfigValidationError) Reason() string
Reason function returns reason value.
type Config_Basic ¶
type Config_Basic struct {
Basic *BasicConfig `protobuf:"bytes,2,opt,name=basic,proto3,oneof"`
}
type Config_HelmChart ¶
type Config_HelmChart struct {
HelmChart *HelmChartConfig `protobuf:"bytes,5,opt,name=helm_chart,json=helmChart,proto3,oneof"`
}
type Config_HelmRepo ¶
type Config_HelmRepo struct {
HelmRepo *HelmRepoConfig `protobuf:"bytes,3,opt,name=helm_repo,json=helmRepo,proto3,oneof"`
}
type Config_Job ¶
type Config_Job struct {
Job *JobConfig `protobuf:"bytes,7,opt,name=job,proto3,oneof"`
}
type Config_Noop ¶
type Config_Noop struct {
Noop *NoopConfig `protobuf:"bytes,6,opt,name=noop,proto3,oneof"`
}
type Config_TerraformModuleConfig ¶
type Config_TerraformModuleConfig struct {
TerraformModuleConfig *TerraformModuleConfig `protobuf:"bytes,4,opt,name=terraform_module_config,json=terraformModuleConfig,proto3,oneof"`
}
type HelmChartConfig ¶
type HelmChartConfig struct {
Values *v1.HelmValues `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty"`
ValuesFiles []string `protobuf:"bytes,2,rep,name=values_files,json=valuesFiles,proto3" json:"values_files,omitempty"`
// contains filtered or unexported fields
}
HelmChartConfig enables a customer to install a helm chart from a repository.
func (*HelmChartConfig) Descriptor
deprecated
func (*HelmChartConfig) Descriptor() ([]byte, []int)
Deprecated: Use HelmChartConfig.ProtoReflect.Descriptor instead.
func (*HelmChartConfig) GetValues ¶
func (x *HelmChartConfig) GetValues() *v1.HelmValues
func (*HelmChartConfig) GetValuesFiles ¶
func (x *HelmChartConfig) GetValuesFiles() []string
func (*HelmChartConfig) ProtoMessage ¶
func (*HelmChartConfig) ProtoMessage()
func (*HelmChartConfig) ProtoReflect ¶
func (x *HelmChartConfig) ProtoReflect() protoreflect.Message
func (*HelmChartConfig) Reset ¶
func (x *HelmChartConfig) Reset()
func (*HelmChartConfig) String ¶
func (x *HelmChartConfig) String() string
func (*HelmChartConfig) Validate ¶
func (m *HelmChartConfig) Validate() error
Validate checks the field values on HelmChartConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HelmChartConfig) ValidateAll ¶
func (m *HelmChartConfig) ValidateAll() error
ValidateAll checks the field values on HelmChartConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HelmChartConfigMultiError, or nil if none found.
type HelmChartConfigMultiError ¶
type HelmChartConfigMultiError []error
HelmChartConfigMultiError is an error wrapping multiple validation errors returned by HelmChartConfig.ValidateAll() if the designated constraints aren't met.
func (HelmChartConfigMultiError) AllErrors ¶
func (m HelmChartConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HelmChartConfigMultiError) Error ¶
func (m HelmChartConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HelmChartConfigValidationError ¶
type HelmChartConfigValidationError struct {
// contains filtered or unexported fields
}
HelmChartConfigValidationError is the validation error returned by HelmChartConfig.Validate if the designated constraints aren't met.
func (HelmChartConfigValidationError) Cause ¶
func (e HelmChartConfigValidationError) Cause() error
Cause function returns cause value.
func (HelmChartConfigValidationError) Error ¶
func (e HelmChartConfigValidationError) Error() string
Error satisfies the builtin error interface
func (HelmChartConfigValidationError) ErrorName ¶
func (e HelmChartConfigValidationError) ErrorName() string
ErrorName returns error name.
func (HelmChartConfigValidationError) Field ¶
func (e HelmChartConfigValidationError) Field() string
Field function returns field value.
func (HelmChartConfigValidationError) Key ¶
func (e HelmChartConfigValidationError) Key() bool
Key function returns key value.
func (HelmChartConfigValidationError) Reason ¶
func (e HelmChartConfigValidationError) Reason() string
Reason function returns reason value.
type HelmRepoConfig ¶
type HelmRepoConfig struct {
ChartRepo string `protobuf:"bytes,1,opt,name=chart_repo,json=chartRepo,proto3" json:"chart_repo,omitempty"`
ChartName string `protobuf:"bytes,2,opt,name=chart_name,json=chartName,proto3" json:"chart_name,omitempty"`
ChartVersion string `protobuf:"bytes,3,opt,name=chart_version,json=chartVersion,proto3" json:"chart_version,omitempty"`
// the following values are for injecting configurations into a helm chart, from artifats.
// TODO(jm): this should be a separate type
ImageRepoValuesKey *string `protobuf:"bytes,4,opt,name=image_repo_values_key,json=imageRepoValuesKey,proto3,oneof" json:"image_repo_values_key,omitempty"`
ImageTagValuesKey *string `protobuf:"bytes,5,opt,name=image_tag_values_key,json=imageTagValuesKey,proto3,oneof" json:"image_tag_values_key,omitempty"`
// contains filtered or unexported fields
}
NOTE: HelmRepoConfig is deprecated, and will be removed in a future iteration. HelmRepoConfig enables a customer to install a helm repository
func (*HelmRepoConfig) Descriptor
deprecated
func (*HelmRepoConfig) Descriptor() ([]byte, []int)
Deprecated: Use HelmRepoConfig.ProtoReflect.Descriptor instead.
func (*HelmRepoConfig) GetChartName ¶
func (x *HelmRepoConfig) GetChartName() string
func (*HelmRepoConfig) GetChartRepo ¶
func (x *HelmRepoConfig) GetChartRepo() string
func (*HelmRepoConfig) GetChartVersion ¶
func (x *HelmRepoConfig) GetChartVersion() string
func (*HelmRepoConfig) GetImageRepoValuesKey ¶
func (x *HelmRepoConfig) GetImageRepoValuesKey() string
func (*HelmRepoConfig) GetImageTagValuesKey ¶
func (x *HelmRepoConfig) GetImageTagValuesKey() string
func (*HelmRepoConfig) ProtoMessage ¶
func (*HelmRepoConfig) ProtoMessage()
func (*HelmRepoConfig) ProtoReflect ¶
func (x *HelmRepoConfig) ProtoReflect() protoreflect.Message
func (*HelmRepoConfig) Reset ¶
func (x *HelmRepoConfig) Reset()
func (*HelmRepoConfig) String ¶
func (x *HelmRepoConfig) String() string
func (*HelmRepoConfig) Validate ¶
func (m *HelmRepoConfig) Validate() error
Validate checks the field values on HelmRepoConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HelmRepoConfig) ValidateAll ¶
func (m *HelmRepoConfig) ValidateAll() error
ValidateAll checks the field values on HelmRepoConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HelmRepoConfigMultiError, or nil if none found.
type HelmRepoConfigMultiError ¶
type HelmRepoConfigMultiError []error
HelmRepoConfigMultiError is an error wrapping multiple validation errors returned by HelmRepoConfig.ValidateAll() if the designated constraints aren't met.
func (HelmRepoConfigMultiError) AllErrors ¶
func (m HelmRepoConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HelmRepoConfigMultiError) Error ¶
func (m HelmRepoConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HelmRepoConfigValidationError ¶
type HelmRepoConfigValidationError struct {
// contains filtered or unexported fields
}
HelmRepoConfigValidationError is the validation error returned by HelmRepoConfig.Validate if the designated constraints aren't met.
func (HelmRepoConfigValidationError) Cause ¶
func (e HelmRepoConfigValidationError) Cause() error
Cause function returns cause value.
func (HelmRepoConfigValidationError) Error ¶
func (e HelmRepoConfigValidationError) Error() string
Error satisfies the builtin error interface
func (HelmRepoConfigValidationError) ErrorName ¶
func (e HelmRepoConfigValidationError) ErrorName() string
ErrorName returns error name.
func (HelmRepoConfigValidationError) Field ¶
func (e HelmRepoConfigValidationError) Field() string
Field function returns field value.
func (HelmRepoConfigValidationError) Key ¶
func (e HelmRepoConfigValidationError) Key() bool
Key function returns key value.
func (HelmRepoConfigValidationError) Reason ¶
func (e HelmRepoConfigValidationError) Reason() string
Reason function returns reason value.
type JobConfig ¶
type JobConfig struct {
ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
Cmd []string `protobuf:"bytes,3,rep,name=cmd,proto3" json:"cmd,omitempty"`
EnvVars *v1.EnvVars `protobuf:"bytes,4,opt,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
func (*JobConfig) Descriptor
deprecated
func (*JobConfig) GetEnvVars ¶
func (*JobConfig) GetImageUrl ¶
func (*JobConfig) ProtoMessage ¶
func (*JobConfig) ProtoMessage()
func (*JobConfig) ProtoReflect ¶
func (x *JobConfig) ProtoReflect() protoreflect.Message
func (*JobConfig) Validate ¶
Validate checks the field values on JobConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JobConfig) ValidateAll ¶
ValidateAll checks the field values on JobConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JobConfigMultiError, or nil if none found.
type JobConfigMultiError ¶
type JobConfigMultiError []error
JobConfigMultiError is an error wrapping multiple validation errors returned by JobConfig.ValidateAll() if the designated constraints aren't met.
func (JobConfigMultiError) AllErrors ¶
func (m JobConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobConfigMultiError) Error ¶
func (m JobConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobConfigValidationError ¶
type JobConfigValidationError struct {
// contains filtered or unexported fields
}
JobConfigValidationError is the validation error returned by JobConfig.Validate if the designated constraints aren't met.
func (JobConfigValidationError) Cause ¶
func (e JobConfigValidationError) Cause() error
Cause function returns cause value.
func (JobConfigValidationError) Error ¶
func (e JobConfigValidationError) Error() string
Error satisfies the builtin error interface
func (JobConfigValidationError) ErrorName ¶
func (e JobConfigValidationError) ErrorName() string
ErrorName returns error name.
func (JobConfigValidationError) Field ¶
func (e JobConfigValidationError) Field() string
Field function returns field value.
func (JobConfigValidationError) Key ¶
func (e JobConfigValidationError) Key() bool
Key function returns key value.
func (JobConfigValidationError) Reason ¶
func (e JobConfigValidationError) Reason() string
Reason function returns reason value.
type ListenerConfig ¶
type ListenerConfig struct {
// NOTE: this should default to port 8080
ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
HealthCheckPath string `protobuf:"bytes,3,opt,name=health_check_path,json=healthCheckPath,proto3" json:"health_check_path,omitempty"`
// contains filtered or unexported fields
}
func (*ListenerConfig) Descriptor
deprecated
func (*ListenerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ListenerConfig.ProtoReflect.Descriptor instead.
func (*ListenerConfig) GetHealthCheckPath ¶
func (x *ListenerConfig) GetHealthCheckPath() string
func (*ListenerConfig) GetListenPort ¶
func (x *ListenerConfig) GetListenPort() int32
func (*ListenerConfig) ProtoMessage ¶
func (*ListenerConfig) ProtoMessage()
func (*ListenerConfig) ProtoReflect ¶
func (x *ListenerConfig) ProtoReflect() protoreflect.Message
func (*ListenerConfig) Reset ¶
func (x *ListenerConfig) Reset()
func (*ListenerConfig) String ¶
func (x *ListenerConfig) String() string
func (*ListenerConfig) Validate ¶
func (m *ListenerConfig) Validate() error
Validate checks the field values on ListenerConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListenerConfig) ValidateAll ¶
func (m *ListenerConfig) ValidateAll() error
ValidateAll checks the field values on ListenerConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListenerConfigMultiError, or nil if none found.
type ListenerConfigMultiError ¶
type ListenerConfigMultiError []error
ListenerConfigMultiError is an error wrapping multiple validation errors returned by ListenerConfig.ValidateAll() if the designated constraints aren't met.
func (ListenerConfigMultiError) AllErrors ¶
func (m ListenerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListenerConfigMultiError) Error ¶
func (m ListenerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListenerConfigValidationError ¶
type ListenerConfigValidationError struct {
// contains filtered or unexported fields
}
ListenerConfigValidationError is the validation error returned by ListenerConfig.Validate if the designated constraints aren't met.
func (ListenerConfigValidationError) Cause ¶
func (e ListenerConfigValidationError) Cause() error
Cause function returns cause value.
func (ListenerConfigValidationError) Error ¶
func (e ListenerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerConfigValidationError) ErrorName ¶
func (e ListenerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerConfigValidationError) Field ¶
func (e ListenerConfigValidationError) Field() string
Field function returns field value.
func (ListenerConfigValidationError) Key ¶
func (e ListenerConfigValidationError) Key() bool
Key function returns key value.
func (ListenerConfigValidationError) Reason ¶
func (e ListenerConfigValidationError) Reason() string
Reason function returns reason value.
type NoopConfig ¶
type NoopConfig struct {
// contains filtered or unexported fields
}
func (*NoopConfig) Descriptor
deprecated
func (*NoopConfig) Descriptor() ([]byte, []int)
Deprecated: Use NoopConfig.ProtoReflect.Descriptor instead.
func (*NoopConfig) ProtoMessage ¶
func (*NoopConfig) ProtoMessage()
func (*NoopConfig) ProtoReflect ¶
func (x *NoopConfig) ProtoReflect() protoreflect.Message
func (*NoopConfig) Reset ¶
func (x *NoopConfig) Reset()
func (*NoopConfig) String ¶
func (x *NoopConfig) String() string
func (*NoopConfig) Validate ¶
func (m *NoopConfig) Validate() error
Validate checks the field values on NoopConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NoopConfig) ValidateAll ¶
func (m *NoopConfig) ValidateAll() error
ValidateAll checks the field values on NoopConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NoopConfigMultiError, or nil if none found.
type NoopConfigMultiError ¶
type NoopConfigMultiError []error
NoopConfigMultiError is an error wrapping multiple validation errors returned by NoopConfig.ValidateAll() if the designated constraints aren't met.
func (NoopConfigMultiError) AllErrors ¶
func (m NoopConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NoopConfigMultiError) Error ¶
func (m NoopConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NoopConfigValidationError ¶
type NoopConfigValidationError struct {
// contains filtered or unexported fields
}
NoopConfigValidationError is the validation error returned by NoopConfig.Validate if the designated constraints aren't met.
func (NoopConfigValidationError) Cause ¶
func (e NoopConfigValidationError) Cause() error
Cause function returns cause value.
func (NoopConfigValidationError) Error ¶
func (e NoopConfigValidationError) Error() string
Error satisfies the builtin error interface
func (NoopConfigValidationError) ErrorName ¶
func (e NoopConfigValidationError) ErrorName() string
ErrorName returns error name.
func (NoopConfigValidationError) Field ¶
func (e NoopConfigValidationError) Field() string
Field function returns field value.
func (NoopConfigValidationError) Key ¶
func (e NoopConfigValidationError) Key() bool
Key function returns key value.
func (NoopConfigValidationError) Reason ¶
func (e NoopConfigValidationError) Reason() string
Reason function returns reason value.
type TerraformModuleConfig ¶
type TerraformModuleConfig struct {
TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"`
Vars *v1.TerraformVariables `protobuf:"bytes,3,opt,name=vars,proto3" json:"vars,omitempty"`
EnvVars *v1.EnvVars `protobuf:"bytes,4,opt,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
// contains filtered or unexported fields
}
TerraformModuleConfig enables a customer to provision a terraform module in their customer's cloud account
func (*TerraformModuleConfig) Descriptor
deprecated
func (*TerraformModuleConfig) Descriptor() ([]byte, []int)
Deprecated: Use TerraformModuleConfig.ProtoReflect.Descriptor instead.
func (*TerraformModuleConfig) GetEnvVars ¶
func (x *TerraformModuleConfig) GetEnvVars() *v1.EnvVars
func (*TerraformModuleConfig) GetTerraformVersion ¶
func (x *TerraformModuleConfig) GetTerraformVersion() string
func (*TerraformModuleConfig) GetVars ¶
func (x *TerraformModuleConfig) GetVars() *v1.TerraformVariables
func (*TerraformModuleConfig) ProtoMessage ¶
func (*TerraformModuleConfig) ProtoMessage()
func (*TerraformModuleConfig) ProtoReflect ¶
func (x *TerraformModuleConfig) ProtoReflect() protoreflect.Message
func (*TerraformModuleConfig) Reset ¶
func (x *TerraformModuleConfig) Reset()
func (*TerraformModuleConfig) String ¶
func (x *TerraformModuleConfig) String() string
func (*TerraformModuleConfig) Validate ¶
func (m *TerraformModuleConfig) Validate() error
Validate checks the field values on TerraformModuleConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TerraformModuleConfig) ValidateAll ¶
func (m *TerraformModuleConfig) ValidateAll() error
ValidateAll checks the field values on TerraformModuleConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TerraformModuleConfigMultiError, or nil if none found.
type TerraformModuleConfigMultiError ¶
type TerraformModuleConfigMultiError []error
TerraformModuleConfigMultiError is an error wrapping multiple validation errors returned by TerraformModuleConfig.ValidateAll() if the designated constraints aren't met.
func (TerraformModuleConfigMultiError) AllErrors ¶
func (m TerraformModuleConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TerraformModuleConfigMultiError) Error ¶
func (m TerraformModuleConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TerraformModuleConfigValidationError ¶
type TerraformModuleConfigValidationError struct {
// contains filtered or unexported fields
}
TerraformModuleConfigValidationError is the validation error returned by TerraformModuleConfig.Validate if the designated constraints aren't met.
func (TerraformModuleConfigValidationError) Cause ¶
func (e TerraformModuleConfigValidationError) Cause() error
Cause function returns cause value.
func (TerraformModuleConfigValidationError) Error ¶
func (e TerraformModuleConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TerraformModuleConfigValidationError) ErrorName ¶
func (e TerraformModuleConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TerraformModuleConfigValidationError) Field ¶
func (e TerraformModuleConfigValidationError) Field() string
Field function returns field value.
func (TerraformModuleConfigValidationError) Key ¶
func (e TerraformModuleConfigValidationError) Key() bool
Key function returns key value.
func (TerraformModuleConfigValidationError) Reason ¶
func (e TerraformModuleConfigValidationError) Reason() string
Reason function returns reason value.