variablesv1

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_variables_v1_env_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_helm_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_install_inputs_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_secrets_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_terraform_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_variable_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_variables_proto protoreflect.FileDescriptor
View Source
var File_variables_v1_waypoint_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnvVar

type EnvVar struct {
	Sensitive bool   `protobuf:"varint,2,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Value     string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

EnvVar represents an env var that is injected into a live container

func (*EnvVar) Descriptor deprecated

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

Deprecated: Use EnvVar.ProtoReflect.Descriptor instead.

func (*EnvVar) GetName

func (x *EnvVar) GetName() string

func (*EnvVar) GetSensitive

func (x *EnvVar) GetSensitive() bool

func (*EnvVar) GetValue

func (x *EnvVar) GetValue() string

func (*EnvVar) ProtoMessage

func (*EnvVar) ProtoMessage()

func (*EnvVar) ProtoReflect

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

func (*EnvVar) Reset

func (x *EnvVar) Reset()

func (*EnvVar) SetValue

func (e *EnvVar) SetValue(val string)

func (*EnvVar) String

func (x *EnvVar) String() string

func (*EnvVar) Validate

func (m *EnvVar) Validate() error

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

func (m *EnvVar) ValidateAll() error

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

type EnvVarMultiError

type EnvVarMultiError []error

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

func (EnvVarMultiError) AllErrors

func (m EnvVarMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnvVarMultiError) Error

func (m EnvVarMultiError) Error() string

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

type EnvVarValidationError

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

EnvVarValidationError is the validation error returned by EnvVar.Validate if the designated constraints aren't met.

func (EnvVarValidationError) Cause

func (e EnvVarValidationError) Cause() error

Cause function returns cause value.

func (EnvVarValidationError) Error

func (e EnvVarValidationError) Error() string

Error satisfies the builtin error interface

func (EnvVarValidationError) ErrorName

func (e EnvVarValidationError) ErrorName() string

ErrorName returns error name.

func (EnvVarValidationError) Field

func (e EnvVarValidationError) Field() string

Field function returns field value.

func (EnvVarValidationError) Key

func (e EnvVarValidationError) Key() bool

Key function returns key value.

func (EnvVarValidationError) Reason

func (e EnvVarValidationError) Reason() string

Reason function returns reason value.

type EnvVars

type EnvVars struct {
	Env []*EnvVar `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty" faker:"envVars"`
	// contains filtered or unexported fields
}

EnvVars is a list of env vars, and exposes methods to convert to maps etc.

func (*EnvVars) Descriptor deprecated

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

Deprecated: Use EnvVars.ProtoReflect.Descriptor instead.

func (*EnvVars) GetEnv

func (x *EnvVars) GetEnv() []*EnvVar

func (*EnvVars) ProtoMessage

func (*EnvVars) ProtoMessage()

func (*EnvVars) ProtoReflect

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

func (*EnvVars) Reset

func (x *EnvVars) Reset()

func (*EnvVars) String

func (x *EnvVars) String() string

func (*EnvVars) ToMap

func (e *EnvVars) ToMap() map[string]string

func (*EnvVars) ToVariables

func (e *EnvVars) ToVariables() []*Variable

ToVariables converts a list env vars into a variables array

func (*EnvVars) Validate

func (m *EnvVars) Validate() error

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

func (m *EnvVars) ValidateAll() error

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

type EnvVarsMultiError

type EnvVarsMultiError []error

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

func (EnvVarsMultiError) AllErrors

func (m EnvVarsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnvVarsMultiError) Error

func (m EnvVarsMultiError) Error() string

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

type EnvVarsValidationError

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

EnvVarsValidationError is the validation error returned by EnvVars.Validate if the designated constraints aren't met.

func (EnvVarsValidationError) Cause

func (e EnvVarsValidationError) Cause() error

Cause function returns cause value.

func (EnvVarsValidationError) Error

func (e EnvVarsValidationError) Error() string

Error satisfies the builtin error interface

func (EnvVarsValidationError) ErrorName

func (e EnvVarsValidationError) ErrorName() string

ErrorName returns error name.

func (EnvVarsValidationError) Field

func (e EnvVarsValidationError) Field() string

Field function returns field value.

func (EnvVarsValidationError) Key

func (e EnvVarsValidationError) Key() bool

Key function returns key value.

func (EnvVarsValidationError) Reason

func (e EnvVarsValidationError) Reason() string

Reason function returns reason value.

type HelmValue

type HelmValue struct {
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Sensitive bool   `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	Value     string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

HelmValue is a user provided helm value that comes from secrets

func (*HelmValue) Descriptor deprecated

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

Deprecated: Use HelmValue.ProtoReflect.Descriptor instead.

func (*HelmValue) GetName

func (x *HelmValue) GetName() string

func (*HelmValue) GetSensitive

func (x *HelmValue) GetSensitive() bool

func (*HelmValue) GetValue

func (x *HelmValue) GetValue() string

func (*HelmValue) ProtoMessage

func (*HelmValue) ProtoMessage()

func (*HelmValue) ProtoReflect

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

func (*HelmValue) Reset

func (x *HelmValue) Reset()

func (*HelmValue) SetValue

func (e *HelmValue) SetValue(val string)

func (*HelmValue) String

func (x *HelmValue) String() string

func (*HelmValue) Validate

func (m *HelmValue) Validate() error

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

func (m *HelmValue) ValidateAll() error

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

type HelmValueMultiError

type HelmValueMultiError []error

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

func (HelmValueMultiError) AllErrors

func (m HelmValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HelmValueMultiError) Error

func (m HelmValueMultiError) Error() string

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

type HelmValueValidationError

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

HelmValueValidationError is the validation error returned by HelmValue.Validate if the designated constraints aren't met.

func (HelmValueValidationError) Cause

func (e HelmValueValidationError) Cause() error

Cause function returns cause value.

func (HelmValueValidationError) Error

func (e HelmValueValidationError) Error() string

Error satisfies the builtin error interface

func (HelmValueValidationError) ErrorName

func (e HelmValueValidationError) ErrorName() string

ErrorName returns error name.

func (HelmValueValidationError) Field

func (e HelmValueValidationError) Field() string

Field function returns field value.

func (HelmValueValidationError) Key

Key function returns key value.

func (HelmValueValidationError) Reason

func (e HelmValueValidationError) Reason() string

Reason function returns reason value.

type HelmValues

type HelmValues struct {
	Values []*HelmValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" faker:"helmValues"`
	// contains filtered or unexported fields
}

HelmValues is a list of waypoint vars, and exposes methods to convert to maps etc.

func (*HelmValues) Descriptor deprecated

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

Deprecated: Use HelmValues.ProtoReflect.Descriptor instead.

func (*HelmValues) GetValues

func (x *HelmValues) GetValues() []*HelmValue

func (*HelmValues) ProtoMessage

func (*HelmValues) ProtoMessage()

func (*HelmValues) ProtoReflect

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

func (*HelmValues) Reset

func (x *HelmValues) Reset()

func (*HelmValues) String

func (x *HelmValues) String() string

func (*HelmValues) ToMap

func (e *HelmValues) ToMap() map[string]string

func (*HelmValues) ToVariables

func (e *HelmValues) ToVariables() []*Variable

ToVariables converts a list env vars into a variables array

func (*HelmValues) Validate

func (m *HelmValues) Validate() error

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

func (m *HelmValues) ValidateAll() error

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

type HelmValuesMap

type HelmValuesMap struct {
	Values *structpb.Struct `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty" faker:"helmValuesMap"`
	// contains filtered or unexported fields
}

HelmValues are a map of helm values, like you would encode from yaml.

func (*HelmValuesMap) Descriptor deprecated

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

Deprecated: Use HelmValuesMap.ProtoReflect.Descriptor instead.

func (*HelmValuesMap) GetValues

func (x *HelmValuesMap) GetValues() *structpb.Struct

func (*HelmValuesMap) ProtoMessage

func (*HelmValuesMap) ProtoMessage()

func (*HelmValuesMap) ProtoReflect

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

func (*HelmValuesMap) Reset

func (x *HelmValuesMap) Reset()

func (*HelmValuesMap) String

func (x *HelmValuesMap) String() string

func (*HelmValuesMap) Validate

func (m *HelmValuesMap) Validate() error

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

func (m *HelmValuesMap) ValidateAll() error

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

type HelmValuesMapMultiError

type HelmValuesMapMultiError []error

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

func (HelmValuesMapMultiError) AllErrors

func (m HelmValuesMapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HelmValuesMapMultiError) Error

func (m HelmValuesMapMultiError) Error() string

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

type HelmValuesMapValidationError

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

HelmValuesMapValidationError is the validation error returned by HelmValuesMap.Validate if the designated constraints aren't met.

func (HelmValuesMapValidationError) Cause

Cause function returns cause value.

func (HelmValuesMapValidationError) Error

Error satisfies the builtin error interface

func (HelmValuesMapValidationError) ErrorName

func (e HelmValuesMapValidationError) ErrorName() string

ErrorName returns error name.

func (HelmValuesMapValidationError) Field

Field function returns field value.

func (HelmValuesMapValidationError) Key

Key function returns key value.

func (HelmValuesMapValidationError) Reason

Reason function returns reason value.

type HelmValuesMultiError

type HelmValuesMultiError []error

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

func (HelmValuesMultiError) AllErrors

func (m HelmValuesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HelmValuesMultiError) Error

func (m HelmValuesMultiError) Error() string

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

type HelmValuesValidationError

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

HelmValuesValidationError is the validation error returned by HelmValues.Validate if the designated constraints aren't met.

func (HelmValuesValidationError) Cause

func (e HelmValuesValidationError) Cause() error

Cause function returns cause value.

func (HelmValuesValidationError) Error

Error satisfies the builtin error interface

func (HelmValuesValidationError) ErrorName

func (e HelmValuesValidationError) ErrorName() string

ErrorName returns error name.

func (HelmValuesValidationError) Field

Field function returns field value.

func (HelmValuesValidationError) Key

Key function returns key value.

func (HelmValuesValidationError) Reason

func (e HelmValuesValidationError) Reason() string

Reason function returns reason value.

type InstallInput

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

InstallInputs represent a customer provided input

func (*InstallInput) Descriptor deprecated

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

Deprecated: Use InstallInput.ProtoReflect.Descriptor instead.

func (*InstallInput) GetName

func (x *InstallInput) GetName() string

func (*InstallInput) GetValue

func (x *InstallInput) GetValue() string

func (*InstallInput) ProtoMessage

func (*InstallInput) ProtoMessage()

func (*InstallInput) ProtoReflect

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

func (*InstallInput) Reset

func (x *InstallInput) Reset()

func (*InstallInput) String

func (x *InstallInput) String() string

func (*InstallInput) Validate

func (m *InstallInput) Validate() error

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

func (m *InstallInput) ValidateAll() error

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

type InstallInputMultiError

type InstallInputMultiError []error

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

func (InstallInputMultiError) AllErrors

func (m InstallInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstallInputMultiError) Error

func (m InstallInputMultiError) Error() string

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

type InstallInputValidationError

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

InstallInputValidationError is the validation error returned by InstallInput.Validate if the designated constraints aren't met.

func (InstallInputValidationError) Cause

Cause function returns cause value.

func (InstallInputValidationError) Error

Error satisfies the builtin error interface

func (InstallInputValidationError) ErrorName

func (e InstallInputValidationError) ErrorName() string

ErrorName returns error name.

func (InstallInputValidationError) Field

Field function returns field value.

func (InstallInputValidationError) Key

Key function returns key value.

func (InstallInputValidationError) Reason

Reason function returns reason value.

type InstallInputs

type InstallInputs struct {
	InstallInputs []*InstallInput `protobuf:"bytes,1,rep,name=install_inputs,json=installInputs,proto3" json:"install_inputs,omitempty" faker:"installInputs"`
	// contains filtered or unexported fields
}

InstallInputss is a list of env vars, and exposes methods to convert to maps etc.

func (*InstallInputs) Descriptor deprecated

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

Deprecated: Use InstallInputs.ProtoReflect.Descriptor instead.

func (*InstallInputs) GetInstallInputs

func (x *InstallInputs) GetInstallInputs() []*InstallInput

func (*InstallInputs) ProtoMessage

func (*InstallInputs) ProtoMessage()

func (*InstallInputs) ProtoReflect

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

func (*InstallInputs) Reset

func (x *InstallInputs) Reset()

func (*InstallInputs) String

func (x *InstallInputs) String() string

func (*InstallInputs) ToMap

func (t *InstallInputs) ToMap() map[string]string

ToMap converts a map of terraform variables into a mapping

func (*InstallInputs) Validate

func (m *InstallInputs) Validate() error

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

func (m *InstallInputs) ValidateAll() error

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

type InstallInputsMultiError

type InstallInputsMultiError []error

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

func (InstallInputsMultiError) AllErrors

func (m InstallInputsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstallInputsMultiError) Error

func (m InstallInputsMultiError) Error() string

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

type InstallInputsValidationError

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

InstallInputsValidationError is the validation error returned by InstallInputs.Validate if the designated constraints aren't met.

func (InstallInputsValidationError) Cause

Cause function returns cause value.

func (InstallInputsValidationError) Error

Error satisfies the builtin error interface

func (InstallInputsValidationError) ErrorName

func (e InstallInputsValidationError) ErrorName() string

ErrorName returns error name.

func (InstallInputsValidationError) Field

Field function returns field value.

func (InstallInputsValidationError) Key

Key function returns key value.

func (InstallInputsValidationError) Reason

Reason function returns reason value.

type Secret

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

Secret represent a secret value

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetName

func (x *Secret) GetName() string

func (*Secret) GetValue

func (x *Secret) GetValue() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

func (*Secret) Validate

func (m *Secret) Validate() error

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

func (m *Secret) ValidateAll() error

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

type SecretMultiError

type SecretMultiError []error

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

func (SecretMultiError) AllErrors

func (m SecretMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SecretMultiError) Error

func (m SecretMultiError) Error() string

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

type SecretValidationError

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

SecretValidationError is the validation error returned by Secret.Validate if the designated constraints aren't met.

func (SecretValidationError) Cause

func (e SecretValidationError) Cause() error

Cause function returns cause value.

func (SecretValidationError) Error

func (e SecretValidationError) Error() string

Error satisfies the builtin error interface

func (SecretValidationError) ErrorName

func (e SecretValidationError) ErrorName() string

ErrorName returns error name.

func (SecretValidationError) Field

func (e SecretValidationError) Field() string

Field function returns field value.

func (SecretValidationError) Key

func (e SecretValidationError) Key() bool

Key function returns key value.

func (SecretValidationError) Reason

func (e SecretValidationError) Reason() string

Reason function returns reason value.

type Secrets

type Secrets struct {
	Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty" faker:"secrets"`
	// contains filtered or unexported fields
}

Secrets is a list of secrets

func (*Secrets) Descriptor deprecated

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

Deprecated: Use Secrets.ProtoReflect.Descriptor instead.

func (*Secrets) GetSecrets

func (x *Secrets) GetSecrets() []*Secret

func (*Secrets) ProtoMessage

func (*Secrets) ProtoMessage()

func (*Secrets) ProtoReflect

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

func (*Secrets) Reset

func (x *Secrets) Reset()

func (*Secrets) String

func (x *Secrets) String() string

func (*Secrets) ToMap

func (t *Secrets) ToMap() map[string]string

ToMap converts a map of terraform variables into a mapping

func (*Secrets) Validate

func (m *Secrets) Validate() error

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

func (m *Secrets) ValidateAll() error

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

type SecretsMultiError

type SecretsMultiError []error

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

func (SecretsMultiError) AllErrors

func (m SecretsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SecretsMultiError) Error

func (m SecretsMultiError) Error() string

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

type SecretsValidationError

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

SecretsValidationError is the validation error returned by Secrets.Validate if the designated constraints aren't met.

func (SecretsValidationError) Cause

func (e SecretsValidationError) Cause() error

Cause function returns cause value.

func (SecretsValidationError) Error

func (e SecretsValidationError) Error() string

Error satisfies the builtin error interface

func (SecretsValidationError) ErrorName

func (e SecretsValidationError) ErrorName() string

ErrorName returns error name.

func (SecretsValidationError) Field

func (e SecretsValidationError) Field() string

Field function returns field value.

func (SecretsValidationError) Key

func (e SecretsValidationError) Key() bool

Key function returns key value.

func (SecretsValidationError) Reason

func (e SecretsValidationError) Reason() string

Reason function returns reason value.

type TerraformVariable

type TerraformVariable struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value     string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Sensitive bool   `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	// contains filtered or unexported fields
}

TerraformVariables are variables that are passed into a terraform file

func (*TerraformVariable) Descriptor deprecated

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

Deprecated: Use TerraformVariable.ProtoReflect.Descriptor instead.

func (*TerraformVariable) GetName

func (x *TerraformVariable) GetName() string

func (*TerraformVariable) GetSensitive

func (x *TerraformVariable) GetSensitive() bool

func (*TerraformVariable) GetValue

func (x *TerraformVariable) GetValue() string

func (*TerraformVariable) ProtoMessage

func (*TerraformVariable) ProtoMessage()

func (*TerraformVariable) ProtoReflect

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

func (*TerraformVariable) Reset

func (x *TerraformVariable) Reset()

func (*TerraformVariable) SetValue

func (t *TerraformVariable) SetValue(val string)

func (*TerraformVariable) String

func (x *TerraformVariable) String() string

func (*TerraformVariable) Validate

func (m *TerraformVariable) Validate() error

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

func (m *TerraformVariable) ValidateAll() error

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

type TerraformVariableMultiError

type TerraformVariableMultiError []error

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

func (TerraformVariableMultiError) AllErrors

func (m TerraformVariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TerraformVariableMultiError) Error

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

type TerraformVariableValidationError

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

TerraformVariableValidationError is the validation error returned by TerraformVariable.Validate if the designated constraints aren't met.

func (TerraformVariableValidationError) Cause

Cause function returns cause value.

func (TerraformVariableValidationError) Error

Error satisfies the builtin error interface

func (TerraformVariableValidationError) ErrorName

ErrorName returns error name.

func (TerraformVariableValidationError) Field

Field function returns field value.

func (TerraformVariableValidationError) Key

Key function returns key value.

func (TerraformVariableValidationError) Reason

Reason function returns reason value.

type TerraformVariables

type TerraformVariables struct {
	Variables []*TerraformVariable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" faker:"terraformVariables"`
	// contains filtered or unexported fields
}

TerraforVariables is a list of terraform vars, and exposes methods to convert to maps etc.

func (*TerraformVariables) Descriptor deprecated

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

Deprecated: Use TerraformVariables.ProtoReflect.Descriptor instead.

func (*TerraformVariables) GetVariables

func (x *TerraformVariables) GetVariables() []*TerraformVariable

func (*TerraformVariables) ProtoMessage

func (*TerraformVariables) ProtoMessage()

func (*TerraformVariables) ProtoReflect

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

func (*TerraformVariables) Reset

func (x *TerraformVariables) Reset()

func (*TerraformVariables) String

func (x *TerraformVariables) String() string

func (*TerraformVariables) ToMap

func (t *TerraformVariables) ToMap() map[string]string

ToMap converts a map of terraform variables into a mapping

func (*TerraformVariables) ToVariables

func (e *TerraformVariables) ToVariables() []*Variable

func (*TerraformVariables) Validate

func (m *TerraformVariables) Validate() error

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

func (m *TerraformVariables) ValidateAll() error

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

type TerraformVariablesMultiError

type TerraformVariablesMultiError []error

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

func (TerraformVariablesMultiError) AllErrors

func (m TerraformVariablesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TerraformVariablesMultiError) Error

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

type TerraformVariablesValidationError

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

TerraformVariablesValidationError is the validation error returned by TerraformVariables.Validate if the designated constraints aren't met.

func (TerraformVariablesValidationError) Cause

Cause function returns cause value.

func (TerraformVariablesValidationError) Error

Error satisfies the builtin error interface

func (TerraformVariablesValidationError) ErrorName

ErrorName returns error name.

func (TerraformVariablesValidationError) Field

Field function returns field value.

func (TerraformVariablesValidationError) Key

Key function returns key value.

func (TerraformVariablesValidationError) Reason

Reason function returns reason value.

type Variable

type Variable struct {

	// Types that are valid to be assigned to Actual:
	//
	//	*Variable_EnvVar
	//	*Variable_HelmValue
	//	*Variable_HelmValuesMap
	//	*Variable_WaypointVariable
	//	*Variable_TerraformVariable
	Actual isVariable_Actual `protobuf_oneof:"actual"`
	// contains filtered or unexported fields
}

Variable represents a single variable

func (*Variable) Descriptor deprecated

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

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetActual

func (x *Variable) GetActual() isVariable_Actual

func (*Variable) GetEnvVar

func (x *Variable) GetEnvVar() *EnvVar

func (*Variable) GetHelmValue

func (x *Variable) GetHelmValue() *HelmValue

func (*Variable) GetHelmValuesMap

func (x *Variable) GetHelmValuesMap() *HelmValuesMap

func (*Variable) GetTerraformVariable

func (x *Variable) GetTerraformVariable() *TerraformVariable

func (*Variable) GetVariable

func (v *Variable) GetVariable() variable

func (*Variable) GetWaypointVariable

func (x *Variable) GetWaypointVariable() *WaypointVariable

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect

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

func (*Variable) Reset

func (x *Variable) Reset()

func (*Variable) String

func (x *Variable) String() string

func (*Variable) Validate

func (m *Variable) Validate() error

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

func (m *Variable) ValidateAll() error

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

type VariableMultiError

type VariableMultiError []error

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

func (VariableMultiError) AllErrors

func (m VariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VariableMultiError) Error

func (m VariableMultiError) Error() string

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

type VariableValidationError

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

VariableValidationError is the validation error returned by Variable.Validate if the designated constraints aren't met.

func (VariableValidationError) Cause

func (e VariableValidationError) Cause() error

Cause function returns cause value.

func (VariableValidationError) Error

func (e VariableValidationError) Error() string

Error satisfies the builtin error interface

func (VariableValidationError) ErrorName

func (e VariableValidationError) ErrorName() string

ErrorName returns error name.

func (VariableValidationError) Field

func (e VariableValidationError) Field() string

Field function returns field value.

func (VariableValidationError) Key

func (e VariableValidationError) Key() bool

Key function returns key value.

func (VariableValidationError) Reason

func (e VariableValidationError) Reason() string

Reason function returns reason value.

type Variable_EnvVar

type Variable_EnvVar struct {
	EnvVar *EnvVar `protobuf:"bytes,1,opt,name=env_var,json=envVar,proto3,oneof"`
}

type Variable_HelmValue

type Variable_HelmValue struct {
	HelmValue *HelmValue `protobuf:"bytes,2,opt,name=helm_value,json=helmValue,proto3,oneof"`
}

type Variable_HelmValuesMap

type Variable_HelmValuesMap struct {
	HelmValuesMap *HelmValuesMap `protobuf:"bytes,3,opt,name=helm_values_map,json=helmValuesMap,proto3,oneof"`
}

type Variable_TerraformVariable

type Variable_TerraformVariable struct {
	TerraformVariable *TerraformVariable `protobuf:"bytes,5,opt,name=terraform_variable,json=terraformVariable,proto3,oneof"`
}

type Variable_WaypointVariable

type Variable_WaypointVariable struct {
	WaypointVariable *WaypointVariable `protobuf:"bytes,4,opt,name=waypoint_variable,json=waypointVariable,proto3,oneof"`
}

type Variables

type Variables struct {
	Variables []*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" faker:"variables"`
	// the following fields are for debugging purposes only.
	Inputs           []*Variable      `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty" faker:"variables"`
	IntermediateData *structpb.Struct `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Variables represents a set of vars that will be used as inputs into deploys, builds etc.

func (*Variables) Descriptor deprecated

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

Deprecated: Use Variables.ProtoReflect.Descriptor instead.

func (*Variables) EnvVars

func (c *Variables) EnvVars() *EnvVars

func (*Variables) GetInputs

func (x *Variables) GetInputs() []*Variable

func (*Variables) GetIntermediateData

func (x *Variables) GetIntermediateData() *structpb.Struct

func (*Variables) GetVariables

func (x *Variables) GetVariables() []*Variable

func (*Variables) HelmValueMaps

func (c *Variables) HelmValueMaps() []*HelmValuesMap

func (*Variables) HelmValues

func (c *Variables) HelmValues() *HelmValues

func (*Variables) ProtoMessage

func (*Variables) ProtoMessage()

func (*Variables) ProtoReflect

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

func (*Variables) Reset

func (x *Variables) Reset()

func (*Variables) String

func (x *Variables) String() string

func (*Variables) TerraformVariables

func (c *Variables) TerraformVariables() *TerraformVariables

func (*Variables) Validate

func (m *Variables) Validate() error

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

func (m *Variables) ValidateAll() error

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

func (*Variables) WaypointVariables

func (c *Variables) WaypointVariables() *WaypointVariables

type VariablesMultiError

type VariablesMultiError []error

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

func (VariablesMultiError) AllErrors

func (m VariablesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VariablesMultiError) Error

func (m VariablesMultiError) Error() string

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

type VariablesValidationError

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

VariablesValidationError is the validation error returned by Variables.Validate if the designated constraints aren't met.

func (VariablesValidationError) Cause

func (e VariablesValidationError) Cause() error

Cause function returns cause value.

func (VariablesValidationError) Error

func (e VariablesValidationError) Error() string

Error satisfies the builtin error interface

func (VariablesValidationError) ErrorName

func (e VariablesValidationError) ErrorName() string

ErrorName returns error name.

func (VariablesValidationError) Field

func (e VariablesValidationError) Field() string

Field function returns field value.

func (VariablesValidationError) Key

Key function returns key value.

func (VariablesValidationError) Reason

func (e VariablesValidationError) Reason() string

Reason function returns reason value.

type WaypointVariable

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

WaypointVariables are used to set waypoint job variables, for things like interpolating a config, etc.

func (*WaypointVariable) Descriptor deprecated

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

Deprecated: Use WaypointVariable.ProtoReflect.Descriptor instead.

func (*WaypointVariable) GetName

func (x *WaypointVariable) GetName() string

func (*WaypointVariable) GetValue

func (x *WaypointVariable) GetValue() string

func (*WaypointVariable) ProtoMessage

func (*WaypointVariable) ProtoMessage()

func (*WaypointVariable) ProtoReflect

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

func (*WaypointVariable) Reset

func (x *WaypointVariable) Reset()

func (*WaypointVariable) SetValue

func (w *WaypointVariable) SetValue(val string)

func (*WaypointVariable) String

func (x *WaypointVariable) String() string

func (*WaypointVariable) Validate

func (m *WaypointVariable) Validate() error

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

func (m *WaypointVariable) ValidateAll() error

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

type WaypointVariableMultiError

type WaypointVariableMultiError []error

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

func (WaypointVariableMultiError) AllErrors

func (m WaypointVariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WaypointVariableMultiError) Error

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

type WaypointVariableValidationError

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

WaypointVariableValidationError is the validation error returned by WaypointVariable.Validate if the designated constraints aren't met.

func (WaypointVariableValidationError) Cause

Cause function returns cause value.

func (WaypointVariableValidationError) Error

Error satisfies the builtin error interface

func (WaypointVariableValidationError) ErrorName

ErrorName returns error name.

func (WaypointVariableValidationError) Field

Field function returns field value.

func (WaypointVariableValidationError) Key

Key function returns key value.

func (WaypointVariableValidationError) Reason

Reason function returns reason value.

type WaypointVariables

type WaypointVariables struct {
	Variables []*WaypointVariable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" faker:"waypointVariables"`
	// contains filtered or unexported fields
}

WaypointVariables

func (*WaypointVariables) Descriptor deprecated

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

Deprecated: Use WaypointVariables.ProtoReflect.Descriptor instead.

func (*WaypointVariables) GetVariables

func (x *WaypointVariables) GetVariables() []*WaypointVariable

func (*WaypointVariables) ProtoMessage

func (*WaypointVariables) ProtoMessage()

func (*WaypointVariables) ProtoReflect

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

func (*WaypointVariables) Reset

func (x *WaypointVariables) Reset()

func (*WaypointVariables) String

func (x *WaypointVariables) String() string

func (*WaypointVariables) ToMap

func (w *WaypointVariables) ToMap() map[string]string

ToMap converts a map of waypoint variables into a mapping

func (*WaypointVariables) ToVariables

func (e *WaypointVariables) ToVariables() []*Variable

func (*WaypointVariables) Validate

func (m *WaypointVariables) Validate() error

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

func (m *WaypointVariables) ValidateAll() error

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

type WaypointVariablesMultiError

type WaypointVariablesMultiError []error

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

func (WaypointVariablesMultiError) AllErrors

func (m WaypointVariablesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WaypointVariablesMultiError) Error

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

type WaypointVariablesValidationError

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

WaypointVariablesValidationError is the validation error returned by WaypointVariables.Validate if the designated constraints aren't met.

func (WaypointVariablesValidationError) Cause

Cause function returns cause value.

func (WaypointVariablesValidationError) Error

Error satisfies the builtin error interface

func (WaypointVariablesValidationError) ErrorName

ErrorName returns error name.

func (WaypointVariablesValidationError) Field

Field function returns field value.

func (WaypointVariablesValidationError) Key

Key function returns key value.

func (WaypointVariablesValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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