deployv1

package
v0.19.770 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_deploy_v1_basic_proto protoreflect.FileDescriptor
View Source
var File_deploy_v1_config_proto protoreflect.FileDescriptor
View Source
var File_deploy_v1_helm_chart_proto protoreflect.FileDescriptor
View Source
var File_deploy_v1_helm_repo_proto protoreflect.FileDescriptor
View Source
var File_deploy_v1_job_proto protoreflect.FileDescriptor
View Source
var File_deploy_v1_noop_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (BasicConfigValidationError) Error

Error satisfies the builtin error interface

func (BasicConfigValidationError) ErrorName

func (e BasicConfigValidationError) ErrorName() string

ErrorName returns error name.

func (BasicConfigValidationError) Field

Field function returns field value.

func (BasicConfigValidationError) Key

Key function returns key value.

func (BasicConfigValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBasic

func (x *Config) GetBasic() *BasicConfig

func (*Config) GetCfg

func (x *Config) GetCfg() isConfig_Cfg

func (*Config) GetHelmChart

func (x *Config) GetHelmChart() *HelmChartConfig

func (*Config) GetHelmRepo

func (x *Config) GetHelmRepo() *HelmRepoConfig

func (*Config) GetJob

func (x *Config) GetJob() *JobConfig

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

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) Validate

func (m *Config) Validate() error

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

func (m *Config) ValidateAll() error

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

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

Cause function returns cause value.

func (HelmChartConfigValidationError) Error

Error satisfies the builtin error interface

func (HelmChartConfigValidationError) ErrorName

func (e HelmChartConfigValidationError) ErrorName() string

ErrorName returns error name.

func (HelmChartConfigValidationError) Field

Field function returns field value.

func (HelmChartConfigValidationError) Key

Key function returns key value.

func (HelmChartConfigValidationError) Reason

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

Cause function returns cause value.

func (HelmRepoConfigValidationError) Error

Error satisfies the builtin error interface

func (HelmRepoConfigValidationError) ErrorName

func (e HelmRepoConfigValidationError) ErrorName() string

ErrorName returns error name.

func (HelmRepoConfigValidationError) Field

Field function returns field value.

func (HelmRepoConfigValidationError) Key

Key function returns key value.

func (HelmRepoConfigValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use JobConfig.ProtoReflect.Descriptor instead.

func (*JobConfig) GetArgs

func (x *JobConfig) GetArgs() []string

func (*JobConfig) GetCmd

func (x *JobConfig) GetCmd() []string

func (*JobConfig) GetEnvVars

func (x *JobConfig) GetEnvVars() *v1.EnvVars

func (*JobConfig) GetImageUrl

func (x *JobConfig) GetImageUrl() string

func (*JobConfig) GetTag

func (x *JobConfig) GetTag() string

func (*JobConfig) ProtoMessage

func (*JobConfig) ProtoMessage()

func (*JobConfig) ProtoReflect

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

func (*JobConfig) Reset

func (x *JobConfig) Reset()

func (*JobConfig) String

func (x *JobConfig) String() string

func (*JobConfig) Validate

func (m *JobConfig) Validate() error

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

func (m *JobConfig) ValidateAll() error

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

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

Cause function returns cause value.

func (ListenerConfigValidationError) Error

Error satisfies the builtin error interface

func (ListenerConfigValidationError) ErrorName

func (e ListenerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerConfigValidationError) Field

Field function returns field value.

func (ListenerConfigValidationError) Key

Key function returns key value.

func (ListenerConfigValidationError) Reason

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

Error satisfies the builtin error interface

func (NoopConfigValidationError) ErrorName

func (e NoopConfigValidationError) ErrorName() string

ErrorName returns error name.

func (NoopConfigValidationError) Field

Field function returns field value.

func (NoopConfigValidationError) Key

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 (*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

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

Cause function returns cause value.

func (TerraformModuleConfigValidationError) Error

Error satisfies the builtin error interface

func (TerraformModuleConfigValidationError) ErrorName

ErrorName returns error name.

func (TerraformModuleConfigValidationError) Field

Field function returns field value.

func (TerraformModuleConfigValidationError) Key

Key function returns key value.

func (TerraformModuleConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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