buildv1

package
v0.19.786 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_build_v1_build_proto protoreflect.FileDescriptor
View Source
var File_build_v1_docker_proto protoreflect.FileDescriptor
View Source
var File_build_v1_external_image_proto protoreflect.FileDescriptor
View Source
var File_build_v1_helm_chart_proto protoreflect.FileDescriptor
View Source
var File_build_v1_job_proto protoreflect.FileDescriptor
View Source
var File_build_v1_noop_proto protoreflect.FileDescriptor
View Source
var File_build_v1_terraform_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSIAMAuthCfg

type AWSIAMAuthCfg struct {

	// vendor provided iamRoleARN that we must be able to assume from ODRs for an org
	IamRoleArn string `protobuf:"bytes,1,opt,name=iam_role_arn,json=iamRoleArn,proto3" json:"iam_role_arn,omitempty"`
	// NOTE: we might not need this
	AwsRegion string `protobuf:"bytes,2,opt,name=aws_region,json=awsRegion,proto3" json:"aws_region,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSIAMAuthCfg) Descriptor deprecated

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

Deprecated: Use AWSIAMAuthCfg.ProtoReflect.Descriptor instead.

func (*AWSIAMAuthCfg) GetAwsRegion

func (x *AWSIAMAuthCfg) GetAwsRegion() string

func (*AWSIAMAuthCfg) GetIamRoleArn

func (x *AWSIAMAuthCfg) GetIamRoleArn() string

func (*AWSIAMAuthCfg) ProtoMessage

func (*AWSIAMAuthCfg) ProtoMessage()

func (*AWSIAMAuthCfg) ProtoReflect

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

func (*AWSIAMAuthCfg) Reset

func (x *AWSIAMAuthCfg) Reset()

func (*AWSIAMAuthCfg) String

func (x *AWSIAMAuthCfg) String() string

func (*AWSIAMAuthCfg) Validate

func (m *AWSIAMAuthCfg) Validate() error

Validate checks the field values on AWSIAMAuthCfg 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 (*AWSIAMAuthCfg) ValidateAll

func (m *AWSIAMAuthCfg) ValidateAll() error

ValidateAll checks the field values on AWSIAMAuthCfg 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 AWSIAMAuthCfgMultiError, or nil if none found.

type AWSIAMAuthCfgMultiError

type AWSIAMAuthCfgMultiError []error

AWSIAMAuthCfgMultiError is an error wrapping multiple validation errors returned by AWSIAMAuthCfg.ValidateAll() if the designated constraints aren't met.

func (AWSIAMAuthCfgMultiError) AllErrors

func (m AWSIAMAuthCfgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AWSIAMAuthCfgMultiError) Error

func (m AWSIAMAuthCfgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AWSIAMAuthCfgValidationError

type AWSIAMAuthCfgValidationError struct {
	// contains filtered or unexported fields
}

AWSIAMAuthCfgValidationError is the validation error returned by AWSIAMAuthCfg.Validate if the designated constraints aren't met.

func (AWSIAMAuthCfgValidationError) Cause

Cause function returns cause value.

func (AWSIAMAuthCfgValidationError) Error

Error satisfies the builtin error interface

func (AWSIAMAuthCfgValidationError) ErrorName

func (e AWSIAMAuthCfgValidationError) ErrorName() string

ErrorName returns error name.

func (AWSIAMAuthCfgValidationError) Field

Field function returns field value.

func (AWSIAMAuthCfgValidationError) Key

Key function returns key value.

func (AWSIAMAuthCfgValidationError) Reason

Reason function returns reason value.

type Config

type Config struct {
	Timeout *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Types that are valid to be assigned to Cfg:
	//
	//	*Config_DockerCfg
	//	*Config_ExternalImageCfg
	//	*Config_Noop
	//	*Config_TerraformModuleCfg
	//	*Config_HelmChartCfg
	//	*Config_JobConfig
	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) GetCfg

func (x *Config) GetCfg() isConfig_Cfg

func (*Config) GetDockerCfg

func (x *Config) GetDockerCfg() *DockerConfig

func (*Config) GetExternalImageCfg

func (x *Config) GetExternalImageCfg() *ExternalImageConfig

func (*Config) GetHelmChartCfg

func (x *Config) GetHelmChartCfg() *HelmChartConfig

func (*Config) GetJobConfig

func (x *Config) GetJobConfig() *JobConfig

func (*Config) GetNoop

func (x *Config) GetNoop() *NoopConfig

func (*Config) GetTerraformModuleCfg

func (x *Config) GetTerraformModuleCfg() *TerraformModuleConfig

func (*Config) GetTimeout

func (x *Config) GetTimeout() *durationpb.Duration

func (*Config) GetVcsCfg

func (c *Config) GetVcsCfg() *vcsv1.Config

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_DockerCfg

type Config_DockerCfg struct {
	DockerCfg *DockerConfig `protobuf:"bytes,2,opt,name=docker_cfg,json=dockerCfg,proto3,oneof"`
}

type Config_ExternalImageCfg

type Config_ExternalImageCfg struct {
	ExternalImageCfg *ExternalImageConfig `protobuf:"bytes,3,opt,name=external_image_cfg,json=externalImageCfg,proto3,oneof"`
}

type Config_HelmChartCfg

type Config_HelmChartCfg struct {
	HelmChartCfg *HelmChartConfig `protobuf:"bytes,6,opt,name=helm_chart_cfg,json=helmChartCfg,proto3,oneof"`
}

type Config_JobConfig

type Config_JobConfig struct {
	JobConfig *JobConfig `protobuf:"bytes,7,opt,name=job_config,json=jobConfig,proto3,oneof"`
}

type Config_Noop

type Config_Noop struct {
	Noop *NoopConfig `protobuf:"bytes,4,opt,name=noop,proto3,oneof"`
}

type Config_TerraformModuleCfg

type Config_TerraformModuleCfg struct {
	TerraformModuleCfg *TerraformModuleConfig `protobuf:"bytes,5,opt,name=terraform_module_cfg,json=terraformModuleCfg,proto3,oneof"`
}

type DockerBuildArg

type DockerBuildArg struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DockerBuildArg) Descriptor deprecated

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

Deprecated: Use DockerBuildArg.ProtoReflect.Descriptor instead.

func (*DockerBuildArg) GetKey

func (x *DockerBuildArg) GetKey() string

func (*DockerBuildArg) GetValue

func (x *DockerBuildArg) GetValue() string

func (*DockerBuildArg) ProtoMessage

func (*DockerBuildArg) ProtoMessage()

func (*DockerBuildArg) ProtoReflect

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

func (*DockerBuildArg) Reset

func (x *DockerBuildArg) Reset()

func (*DockerBuildArg) String

func (x *DockerBuildArg) String() string

func (*DockerBuildArg) Validate

func (m *DockerBuildArg) Validate() error

Validate checks the field values on DockerBuildArg 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 (*DockerBuildArg) ValidateAll

func (m *DockerBuildArg) ValidateAll() error

ValidateAll checks the field values on DockerBuildArg 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 DockerBuildArgMultiError, or nil if none found.

type DockerBuildArgMultiError

type DockerBuildArgMultiError []error

DockerBuildArgMultiError is an error wrapping multiple validation errors returned by DockerBuildArg.ValidateAll() if the designated constraints aren't met.

func (DockerBuildArgMultiError) AllErrors

func (m DockerBuildArgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DockerBuildArgMultiError) Error

func (m DockerBuildArgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DockerBuildArgValidationError

type DockerBuildArgValidationError struct {
	// contains filtered or unexported fields
}

DockerBuildArgValidationError is the validation error returned by DockerBuildArg.Validate if the designated constraints aren't met.

func (DockerBuildArgValidationError) Cause

Cause function returns cause value.

func (DockerBuildArgValidationError) Error

Error satisfies the builtin error interface

func (DockerBuildArgValidationError) ErrorName

func (e DockerBuildArgValidationError) ErrorName() string

ErrorName returns error name.

func (DockerBuildArgValidationError) Field

Field function returns field value.

func (DockerBuildArgValidationError) Key

Key function returns key value.

func (DockerBuildArgValidationError) Reason

Reason function returns reason value.

type DockerConfig

type DockerConfig struct {

	// dockerfile path, should default to Dockerfile but eventually be customizable
	Dockerfile string `protobuf:"bytes,2,opt,name=dockerfile,proto3" json:"dockerfile,omitempty"`
	// buildArgs represent additional arguments to the docker build command
	BuildArgs []*DockerBuildArg `protobuf:"bytes,3,rep,name=build_args,json=buildArgs,proto3" json:"build_args,omitempty"`
	// docker target, should default to empty unless the customer has a multi stage build
	Target  string       `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	VcsCfg  *v1.Config   `protobuf:"bytes,5,opt,name=vcs_cfg,json=vcsCfg,proto3" json:"vcs_cfg,omitempty" faker:"-"`
	EnvVars *v11.EnvVars `protobuf:"bytes,7,opt,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
	// contains filtered or unexported fields
}

Docker config uses the waypoint build

func (*DockerConfig) Descriptor deprecated

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

Deprecated: Use DockerConfig.ProtoReflect.Descriptor instead.

func (*DockerConfig) GetBuildArgs

func (x *DockerConfig) GetBuildArgs() []*DockerBuildArg

func (*DockerConfig) GetDockerfile

func (x *DockerConfig) GetDockerfile() string

func (*DockerConfig) GetEnvVars

func (x *DockerConfig) GetEnvVars() *v11.EnvVars

func (*DockerConfig) GetTarget

func (x *DockerConfig) GetTarget() string

func (*DockerConfig) GetVcsCfg

func (x *DockerConfig) GetVcsCfg() *v1.Config

func (*DockerConfig) ProtoMessage

func (*DockerConfig) ProtoMessage()

func (*DockerConfig) ProtoReflect

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

func (*DockerConfig) Reset

func (x *DockerConfig) Reset()

func (*DockerConfig) String

func (x *DockerConfig) String() string

func (*DockerConfig) Validate

func (m *DockerConfig) Validate() error

Validate checks the field values on DockerConfig 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 (*DockerConfig) ValidateAll

func (m *DockerConfig) ValidateAll() error

ValidateAll checks the field values on DockerConfig 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 DockerConfigMultiError, or nil if none found.

type DockerConfigMultiError

type DockerConfigMultiError []error

DockerConfigMultiError is an error wrapping multiple validation errors returned by DockerConfig.ValidateAll() if the designated constraints aren't met.

func (DockerConfigMultiError) AllErrors

func (m DockerConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DockerConfigMultiError) Error

func (m DockerConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DockerConfigValidationError

type DockerConfigValidationError struct {
	// contains filtered or unexported fields
}

DockerConfigValidationError is the validation error returned by DockerConfig.Validate if the designated constraints aren't met.

func (DockerConfigValidationError) Cause

Cause function returns cause value.

func (DockerConfigValidationError) Error

Error satisfies the builtin error interface

func (DockerConfigValidationError) ErrorName

func (e DockerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DockerConfigValidationError) Field

Field function returns field value.

func (DockerConfigValidationError) Key

Key function returns key value.

func (DockerConfigValidationError) Reason

Reason function returns reason value.

type ExternalImageAuthConfig

type ExternalImageAuthConfig struct {

	// Types that are valid to be assigned to Cfg:
	//
	//	*ExternalImageAuthConfig_AwsIamAuthCfg
	//	*ExternalImageAuthConfig_PublicAuthCfg
	Cfg isExternalImageAuthConfig_Cfg `protobuf_oneof:"cfg"`
	// contains filtered or unexported fields
}

func (*ExternalImageAuthConfig) Descriptor deprecated

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

Deprecated: Use ExternalImageAuthConfig.ProtoReflect.Descriptor instead.

func (*ExternalImageAuthConfig) GetAwsIamAuthCfg

func (x *ExternalImageAuthConfig) GetAwsIamAuthCfg() *AWSIAMAuthCfg

func (*ExternalImageAuthConfig) GetCfg

func (x *ExternalImageAuthConfig) GetCfg() isExternalImageAuthConfig_Cfg

func (*ExternalImageAuthConfig) GetPublicAuthCfg

func (x *ExternalImageAuthConfig) GetPublicAuthCfg() *PublicAuthCfg

func (*ExternalImageAuthConfig) ProtoMessage

func (*ExternalImageAuthConfig) ProtoMessage()

func (*ExternalImageAuthConfig) ProtoReflect

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

func (*ExternalImageAuthConfig) Reset

func (x *ExternalImageAuthConfig) Reset()

func (*ExternalImageAuthConfig) String

func (x *ExternalImageAuthConfig) String() string

func (*ExternalImageAuthConfig) Validate

func (m *ExternalImageAuthConfig) Validate() error

Validate checks the field values on ExternalImageAuthConfig 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 (*ExternalImageAuthConfig) ValidateAll

func (m *ExternalImageAuthConfig) ValidateAll() error

ValidateAll checks the field values on ExternalImageAuthConfig 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 ExternalImageAuthConfigMultiError, or nil if none found.

type ExternalImageAuthConfigMultiError

type ExternalImageAuthConfigMultiError []error

ExternalImageAuthConfigMultiError is an error wrapping multiple validation errors returned by ExternalImageAuthConfig.ValidateAll() if the designated constraints aren't met.

func (ExternalImageAuthConfigMultiError) AllErrors

func (m ExternalImageAuthConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExternalImageAuthConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExternalImageAuthConfigValidationError

type ExternalImageAuthConfigValidationError struct {
	// contains filtered or unexported fields
}

ExternalImageAuthConfigValidationError is the validation error returned by ExternalImageAuthConfig.Validate if the designated constraints aren't met.

func (ExternalImageAuthConfigValidationError) Cause

Cause function returns cause value.

func (ExternalImageAuthConfigValidationError) Error

Error satisfies the builtin error interface

func (ExternalImageAuthConfigValidationError) ErrorName

ErrorName returns error name.

func (ExternalImageAuthConfigValidationError) Field

Field function returns field value.

func (ExternalImageAuthConfigValidationError) Key

Key function returns key value.

func (ExternalImageAuthConfigValidationError) Reason

Reason function returns reason value.

type ExternalImageAuthConfig_AwsIamAuthCfg

type ExternalImageAuthConfig_AwsIamAuthCfg struct {
	AwsIamAuthCfg *AWSIAMAuthCfg `protobuf:"bytes,4,opt,name=aws_iam_auth_cfg,json=awsIamAuthCfg,proto3,oneof"`
}

type ExternalImageAuthConfig_PublicAuthCfg

type ExternalImageAuthConfig_PublicAuthCfg struct {
	PublicAuthCfg *PublicAuthCfg `protobuf:"bytes,5,opt,name=public_auth_cfg,json=publicAuthCfg,proto3,oneof"`
}

type ExternalImageConfig

type ExternalImageConfig struct {

	// repository URL represents the full repository URL, such as:
	// 766121324316.dkr.ecr.us-west-2.amazonaws.com/0dmv2b6m9d7fg2n2nt65q6di30/2nka2e2pmku5i26o6vhjmp7dgm
	OciImageUrl string                   `protobuf:"bytes,2,opt,name=oci_image_url,json=ociImageUrl,proto3" json:"oci_image_url,omitempty"`
	Tag         string                   `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	AuthCfg     *ExternalImageAuthConfig `protobuf:"bytes,4,opt,name=auth_cfg,json=authCfg,proto3" json:"auth_cfg,omitempty"`
	// contains filtered or unexported fields
}

ecr image config represents an image that lives in a customer's ECR repository. The vendor will have to manually grant us access to `docker pull` it by setting up a cross account IAM role that grants access to our `orgs-stage` and `orgs-prod` account (or we could have vendors grant external and then allow the ODRs to assume roles in that account?)

func (*ExternalImageConfig) Descriptor deprecated

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

Deprecated: Use ExternalImageConfig.ProtoReflect.Descriptor instead.

func (*ExternalImageConfig) GetAuthCfg

func (*ExternalImageConfig) GetOciImageUrl

func (x *ExternalImageConfig) GetOciImageUrl() string

func (*ExternalImageConfig) GetTag

func (x *ExternalImageConfig) GetTag() string

func (*ExternalImageConfig) ProtoMessage

func (*ExternalImageConfig) ProtoMessage()

func (*ExternalImageConfig) ProtoReflect

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

func (*ExternalImageConfig) Reset

func (x *ExternalImageConfig) Reset()

func (*ExternalImageConfig) String

func (x *ExternalImageConfig) String() string

func (*ExternalImageConfig) Validate

func (m *ExternalImageConfig) Validate() error

Validate checks the field values on ExternalImageConfig 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 (*ExternalImageConfig) ValidateAll

func (m *ExternalImageConfig) ValidateAll() error

ValidateAll checks the field values on ExternalImageConfig 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 ExternalImageConfigMultiError, or nil if none found.

type ExternalImageConfigMultiError

type ExternalImageConfigMultiError []error

ExternalImageConfigMultiError is an error wrapping multiple validation errors returned by ExternalImageConfig.ValidateAll() if the designated constraints aren't met.

func (ExternalImageConfigMultiError) AllErrors

func (m ExternalImageConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExternalImageConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExternalImageConfigValidationError

type ExternalImageConfigValidationError struct {
	// contains filtered or unexported fields
}

ExternalImageConfigValidationError is the validation error returned by ExternalImageConfig.Validate if the designated constraints aren't met.

func (ExternalImageConfigValidationError) Cause

Cause function returns cause value.

func (ExternalImageConfigValidationError) Error

Error satisfies the builtin error interface

func (ExternalImageConfigValidationError) ErrorName

ErrorName returns error name.

func (ExternalImageConfigValidationError) Field

Field function returns field value.

func (ExternalImageConfigValidationError) Key

Key function returns key value.

func (ExternalImageConfigValidationError) Reason

Reason function returns reason value.

type HelmChartConfig

type HelmChartConfig struct {
	VcsCfg    *v1.Config `protobuf:"bytes,1,opt,name=vcs_cfg,json=vcsCfg,proto3" json:"vcs_cfg,omitempty" faker:"-"`
	ChartName string     `protobuf:"bytes,2,opt,name=chart_name,json=chartName,proto3" json:"chart_name,omitempty"`
	// contains filtered or unexported fields
}

HelmChart config uses the waypoint build to create an artifact for a helm chart in a connected repository

func (*HelmChartConfig) Descriptor deprecated

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

Deprecated: Use HelmChartConfig.ProtoReflect.Descriptor instead.

func (*HelmChartConfig) GetChartName

func (x *HelmChartConfig) GetChartName() string

func (*HelmChartConfig) GetVcsCfg

func (x *HelmChartConfig) GetVcsCfg() *v1.Config

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 JobConfig

type JobConfig struct {

	// Deprecated: Marked as deprecated in build/v1/job.proto.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	// Deprecated: Marked as deprecated in build/v1/job.proto.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// Deprecated: Marked as deprecated in build/v1/job.proto.
	Cmd string `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"`
	// Deprecated: Marked as deprecated in build/v1/job.proto.
	EnvVars *v1.EnvVars `protobuf:"bytes,4,opt,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
	// contains filtered or unexported fields
}

Since job builds use noop, we don't need anything in the build config. But, removing these causes ctl-api to panic, so deprecating them instead.

func (*JobConfig) Descriptor deprecated

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

Deprecated: Use JobConfig.ProtoReflect.Descriptor instead.

func (*JobConfig) GetCmd deprecated

func (x *JobConfig) GetCmd() string

Deprecated: Marked as deprecated in build/v1/job.proto.

func (*JobConfig) GetEnvVars deprecated

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

Deprecated: Marked as deprecated in build/v1/job.proto.

func (*JobConfig) GetImageUrl deprecated

func (x *JobConfig) GetImageUrl() string

Deprecated: Marked as deprecated in build/v1/job.proto.

func (*JobConfig) GetTag deprecated

func (x *JobConfig) GetTag() string

Deprecated: Marked as deprecated in build/v1/job.proto.

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 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 PublicAuthCfg

type PublicAuthCfg struct {
	// contains filtered or unexported fields
}

func (*PublicAuthCfg) Descriptor deprecated

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

Deprecated: Use PublicAuthCfg.ProtoReflect.Descriptor instead.

func (*PublicAuthCfg) ProtoMessage

func (*PublicAuthCfg) ProtoMessage()

func (*PublicAuthCfg) ProtoReflect

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

func (*PublicAuthCfg) Reset

func (x *PublicAuthCfg) Reset()

func (*PublicAuthCfg) String

func (x *PublicAuthCfg) String() string

func (*PublicAuthCfg) Validate

func (m *PublicAuthCfg) Validate() error

Validate checks the field values on PublicAuthCfg 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 (*PublicAuthCfg) ValidateAll

func (m *PublicAuthCfg) ValidateAll() error

ValidateAll checks the field values on PublicAuthCfg 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 PublicAuthCfgMultiError, or nil if none found.

type PublicAuthCfgMultiError

type PublicAuthCfgMultiError []error

PublicAuthCfgMultiError is an error wrapping multiple validation errors returned by PublicAuthCfg.ValidateAll() if the designated constraints aren't met.

func (PublicAuthCfgMultiError) AllErrors

func (m PublicAuthCfgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublicAuthCfgMultiError) Error

func (m PublicAuthCfgMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PublicAuthCfgValidationError

type PublicAuthCfgValidationError struct {
	// contains filtered or unexported fields
}

PublicAuthCfgValidationError is the validation error returned by PublicAuthCfg.Validate if the designated constraints aren't met.

func (PublicAuthCfgValidationError) Cause

Cause function returns cause value.

func (PublicAuthCfgValidationError) Error

Error satisfies the builtin error interface

func (PublicAuthCfgValidationError) ErrorName

func (e PublicAuthCfgValidationError) ErrorName() string

ErrorName returns error name.

func (PublicAuthCfgValidationError) Field

Field function returns field value.

func (PublicAuthCfgValidationError) Key

Key function returns key value.

func (PublicAuthCfgValidationError) Reason

Reason function returns reason value.

type TerraformModuleConfig

type TerraformModuleConfig struct {
	VcsCfg *v1.Config `protobuf:"bytes,1,opt,name=vcs_cfg,json=vcsCfg,proto3" json:"vcs_cfg,omitempty" faker:"-"`
	// contains filtered or unexported fields
}

TerraformModule config uses the waypoint build to create an artifact for a terraform module

func (*TerraformModuleConfig) Descriptor deprecated

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

Deprecated: Use TerraformModuleConfig.ProtoReflect.Descriptor instead.

func (*TerraformModuleConfig) GetVcsCfg

func (x *TerraformModuleConfig) GetVcsCfg() *v1.Config

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