Documentation
¶
Index ¶
- Variables
- type EnvVar
- func (*EnvVar) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVar) GetName() string
- func (x *EnvVar) GetSensitive() bool
- func (x *EnvVar) GetValue() string
- func (*EnvVar) ProtoMessage()
- func (x *EnvVar) ProtoReflect() protoreflect.Message
- func (x *EnvVar) Reset()
- func (e *EnvVar) SetValue(val string)
- func (x *EnvVar) String() string
- func (m *EnvVar) Validate() error
- func (m *EnvVar) ValidateAll() error
- type EnvVarMultiError
- type EnvVarValidationError
- type EnvVars
- func (*EnvVars) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVars) GetEnv() []*EnvVar
- func (*EnvVars) ProtoMessage()
- func (x *EnvVars) ProtoReflect() protoreflect.Message
- func (x *EnvVars) Reset()
- func (x *EnvVars) String() string
- func (e *EnvVars) ToMap() map[string]string
- func (e *EnvVars) ToVariables() []*Variable
- func (m *EnvVars) Validate() error
- func (m *EnvVars) ValidateAll() error
- type EnvVarsMultiError
- type EnvVarsValidationError
- type HelmValue
- func (*HelmValue) Descriptor() ([]byte, []int)deprecated
- func (x *HelmValue) GetName() string
- func (x *HelmValue) GetSensitive() bool
- func (x *HelmValue) GetValue() string
- func (*HelmValue) ProtoMessage()
- func (x *HelmValue) ProtoReflect() protoreflect.Message
- func (x *HelmValue) Reset()
- func (e *HelmValue) SetValue(val string)
- func (x *HelmValue) String() string
- func (m *HelmValue) Validate() error
- func (m *HelmValue) ValidateAll() error
- type HelmValueMultiError
- type HelmValueValidationError
- type HelmValues
- func (*HelmValues) Descriptor() ([]byte, []int)deprecated
- func (x *HelmValues) GetValues() []*HelmValue
- func (*HelmValues) ProtoMessage()
- func (x *HelmValues) ProtoReflect() protoreflect.Message
- func (x *HelmValues) Reset()
- func (x *HelmValues) String() string
- func (e *HelmValues) ToMap() map[string]string
- func (e *HelmValues) ToVariables() []*Variable
- func (m *HelmValues) Validate() error
- func (m *HelmValues) ValidateAll() error
- type HelmValuesMap
- func (*HelmValuesMap) Descriptor() ([]byte, []int)deprecated
- func (x *HelmValuesMap) GetValues() *structpb.Struct
- func (*HelmValuesMap) ProtoMessage()
- func (x *HelmValuesMap) ProtoReflect() protoreflect.Message
- func (x *HelmValuesMap) Reset()
- func (x *HelmValuesMap) String() string
- func (m *HelmValuesMap) Validate() error
- func (m *HelmValuesMap) ValidateAll() error
- type HelmValuesMapMultiError
- type HelmValuesMapValidationError
- func (e HelmValuesMapValidationError) Cause() error
- func (e HelmValuesMapValidationError) Error() string
- func (e HelmValuesMapValidationError) ErrorName() string
- func (e HelmValuesMapValidationError) Field() string
- func (e HelmValuesMapValidationError) Key() bool
- func (e HelmValuesMapValidationError) Reason() string
- type HelmValuesMultiError
- type HelmValuesValidationError
- type InstallInput
- func (*InstallInput) Descriptor() ([]byte, []int)deprecated
- func (x *InstallInput) GetName() string
- func (x *InstallInput) GetValue() string
- func (*InstallInput) ProtoMessage()
- func (x *InstallInput) ProtoReflect() protoreflect.Message
- func (x *InstallInput) Reset()
- func (x *InstallInput) String() string
- func (m *InstallInput) Validate() error
- func (m *InstallInput) ValidateAll() error
- type InstallInputMultiError
- type InstallInputValidationError
- func (e InstallInputValidationError) Cause() error
- func (e InstallInputValidationError) Error() string
- func (e InstallInputValidationError) ErrorName() string
- func (e InstallInputValidationError) Field() string
- func (e InstallInputValidationError) Key() bool
- func (e InstallInputValidationError) Reason() string
- type InstallInputs
- func (*InstallInputs) Descriptor() ([]byte, []int)deprecated
- func (x *InstallInputs) GetInstallInputs() []*InstallInput
- func (*InstallInputs) ProtoMessage()
- func (x *InstallInputs) ProtoReflect() protoreflect.Message
- func (x *InstallInputs) Reset()
- func (x *InstallInputs) String() string
- func (t *InstallInputs) ToMap() map[string]string
- func (m *InstallInputs) Validate() error
- func (m *InstallInputs) ValidateAll() error
- type InstallInputsMultiError
- type InstallInputsValidationError
- func (e InstallInputsValidationError) Cause() error
- func (e InstallInputsValidationError) Error() string
- func (e InstallInputsValidationError) ErrorName() string
- func (e InstallInputsValidationError) Field() string
- func (e InstallInputsValidationError) Key() bool
- func (e InstallInputsValidationError) Reason() string
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetName() string
- func (x *Secret) GetValue() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- func (m *Secret) Validate() error
- func (m *Secret) ValidateAll() error
- type SecretMultiError
- type SecretValidationError
- type Secrets
- func (*Secrets) Descriptor() ([]byte, []int)deprecated
- func (x *Secrets) GetSecrets() []*Secret
- func (*Secrets) ProtoMessage()
- func (x *Secrets) ProtoReflect() protoreflect.Message
- func (x *Secrets) Reset()
- func (x *Secrets) String() string
- func (t *Secrets) ToMap() map[string]string
- func (m *Secrets) Validate() error
- func (m *Secrets) ValidateAll() error
- type SecretsMultiError
- type SecretsValidationError
- type TerraformVariable
- func (*TerraformVariable) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformVariable) GetName() string
- func (x *TerraformVariable) GetSensitive() bool
- func (x *TerraformVariable) GetValue() string
- func (*TerraformVariable) ProtoMessage()
- func (x *TerraformVariable) ProtoReflect() protoreflect.Message
- func (x *TerraformVariable) Reset()
- func (t *TerraformVariable) SetValue(val string)
- func (x *TerraformVariable) String() string
- func (m *TerraformVariable) Validate() error
- func (m *TerraformVariable) ValidateAll() error
- type TerraformVariableMultiError
- type TerraformVariableValidationError
- func (e TerraformVariableValidationError) Cause() error
- func (e TerraformVariableValidationError) Error() string
- func (e TerraformVariableValidationError) ErrorName() string
- func (e TerraformVariableValidationError) Field() string
- func (e TerraformVariableValidationError) Key() bool
- func (e TerraformVariableValidationError) Reason() string
- type TerraformVariables
- func (*TerraformVariables) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformVariables) GetVariables() []*TerraformVariable
- func (*TerraformVariables) ProtoMessage()
- func (x *TerraformVariables) ProtoReflect() protoreflect.Message
- func (x *TerraformVariables) Reset()
- func (x *TerraformVariables) String() string
- func (t *TerraformVariables) ToMap() map[string]string
- func (e *TerraformVariables) ToVariables() []*Variable
- func (m *TerraformVariables) Validate() error
- func (m *TerraformVariables) ValidateAll() error
- type TerraformVariablesMultiError
- type TerraformVariablesValidationError
- func (e TerraformVariablesValidationError) Cause() error
- func (e TerraformVariablesValidationError) Error() string
- func (e TerraformVariablesValidationError) ErrorName() string
- func (e TerraformVariablesValidationError) Field() string
- func (e TerraformVariablesValidationError) Key() bool
- func (e TerraformVariablesValidationError) Reason() string
- type Variable
- func (*Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Variable) GetActual() isVariable_Actual
- func (x *Variable) GetEnvVar() *EnvVar
- func (x *Variable) GetHelmValue() *HelmValue
- func (x *Variable) GetHelmValuesMap() *HelmValuesMap
- func (x *Variable) GetTerraformVariable() *TerraformVariable
- func (v *Variable) GetVariable() variable
- func (x *Variable) GetWaypointVariable() *WaypointVariable
- func (*Variable) ProtoMessage()
- func (x *Variable) ProtoReflect() protoreflect.Message
- func (x *Variable) Reset()
- func (x *Variable) String() string
- func (m *Variable) Validate() error
- func (m *Variable) ValidateAll() error
- type VariableMultiError
- type VariableValidationError
- type Variable_EnvVar
- type Variable_HelmValue
- type Variable_HelmValuesMap
- type Variable_TerraformVariable
- type Variable_WaypointVariable
- type Variables
- func (*Variables) Descriptor() ([]byte, []int)deprecated
- func (c *Variables) EnvVars() *EnvVars
- func (x *Variables) GetInputs() []*Variable
- func (x *Variables) GetIntermediateData() *structpb.Struct
- func (x *Variables) GetVariables() []*Variable
- func (c *Variables) HelmValueMaps() []*HelmValuesMap
- func (c *Variables) HelmValues() *HelmValues
- func (*Variables) ProtoMessage()
- func (x *Variables) ProtoReflect() protoreflect.Message
- func (x *Variables) Reset()
- func (x *Variables) String() string
- func (c *Variables) TerraformVariables() *TerraformVariables
- func (m *Variables) Validate() error
- func (m *Variables) ValidateAll() error
- func (c *Variables) WaypointVariables() *WaypointVariables
- type VariablesMultiError
- type VariablesValidationError
- type WaypointVariable
- func (*WaypointVariable) Descriptor() ([]byte, []int)deprecated
- func (x *WaypointVariable) GetName() string
- func (x *WaypointVariable) GetValue() string
- func (*WaypointVariable) ProtoMessage()
- func (x *WaypointVariable) ProtoReflect() protoreflect.Message
- func (x *WaypointVariable) Reset()
- func (w *WaypointVariable) SetValue(val string)
- func (x *WaypointVariable) String() string
- func (m *WaypointVariable) Validate() error
- func (m *WaypointVariable) ValidateAll() error
- type WaypointVariableMultiError
- type WaypointVariableValidationError
- func (e WaypointVariableValidationError) Cause() error
- func (e WaypointVariableValidationError) Error() string
- func (e WaypointVariableValidationError) ErrorName() string
- func (e WaypointVariableValidationError) Field() string
- func (e WaypointVariableValidationError) Key() bool
- func (e WaypointVariableValidationError) Reason() string
- type WaypointVariables
- func (*WaypointVariables) Descriptor() ([]byte, []int)deprecated
- func (x *WaypointVariables) GetVariables() []*WaypointVariable
- func (*WaypointVariables) ProtoMessage()
- func (x *WaypointVariables) ProtoReflect() protoreflect.Message
- func (x *WaypointVariables) Reset()
- func (x *WaypointVariables) String() string
- func (w *WaypointVariables) ToMap() map[string]string
- func (e *WaypointVariables) ToVariables() []*Variable
- func (m *WaypointVariables) Validate() error
- func (m *WaypointVariables) ValidateAll() error
- type WaypointVariablesMultiError
- type WaypointVariablesValidationError
- func (e WaypointVariablesValidationError) Cause() error
- func (e WaypointVariablesValidationError) Error() string
- func (e WaypointVariablesValidationError) ErrorName() string
- func (e WaypointVariablesValidationError) Field() string
- func (e WaypointVariablesValidationError) Key() bool
- func (e WaypointVariablesValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_variables_v1_env_proto protoreflect.FileDescriptor
var File_variables_v1_helm_proto protoreflect.FileDescriptor
var File_variables_v1_install_inputs_proto protoreflect.FileDescriptor
var File_variables_v1_secrets_proto protoreflect.FileDescriptor
var File_variables_v1_terraform_proto protoreflect.FileDescriptor
var File_variables_v1_variable_proto protoreflect.FileDescriptor
var File_variables_v1_variables_proto protoreflect.FileDescriptor
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) GetSensitive ¶
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶
func (x *EnvVar) ProtoReflect() protoreflect.Message
func (*EnvVar) Validate ¶
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 ¶
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) ProtoMessage ¶
func (*EnvVars) ProtoMessage()
func (*EnvVars) ProtoReflect ¶
func (x *EnvVars) ProtoReflect() protoreflect.Message
func (*EnvVars) ToVariables ¶
ToVariables converts a list env vars into a variables array
func (*EnvVars) Validate ¶
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 ¶
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) GetSensitive ¶
func (*HelmValue) ProtoMessage ¶
func (*HelmValue) ProtoMessage()
func (*HelmValue) ProtoReflect ¶
func (x *HelmValue) ProtoReflect() protoreflect.Message
func (*HelmValue) Validate ¶
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 ¶
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 ¶
func (e HelmValueValidationError) Key() bool
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 ¶
func (e HelmValuesMapValidationError) Cause() error
Cause function returns cause value.
func (HelmValuesMapValidationError) Error ¶
func (e HelmValuesMapValidationError) Error() string
Error satisfies the builtin error interface
func (HelmValuesMapValidationError) ErrorName ¶
func (e HelmValuesMapValidationError) ErrorName() string
ErrorName returns error name.
func (HelmValuesMapValidationError) Field ¶
func (e HelmValuesMapValidationError) Field() string
Field function returns field value.
func (HelmValuesMapValidationError) Key ¶
func (e HelmValuesMapValidationError) Key() bool
Key function returns key value.
func (HelmValuesMapValidationError) Reason ¶
func (e HelmValuesMapValidationError) Reason() string
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 ¶
func (e HelmValuesValidationError) Error() string
Error satisfies the builtin error interface
func (HelmValuesValidationError) ErrorName ¶
func (e HelmValuesValidationError) ErrorName() string
ErrorName returns error name.
func (HelmValuesValidationError) Field ¶
func (e HelmValuesValidationError) Field() string
Field function returns field value.
func (HelmValuesValidationError) Key ¶
func (e HelmValuesValidationError) Key() bool
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 ¶
func (e InstallInputValidationError) Cause() error
Cause function returns cause value.
func (InstallInputValidationError) Error ¶
func (e InstallInputValidationError) Error() string
Error satisfies the builtin error interface
func (InstallInputValidationError) ErrorName ¶
func (e InstallInputValidationError) ErrorName() string
ErrorName returns error name.
func (InstallInputValidationError) Field ¶
func (e InstallInputValidationError) Field() string
Field function returns field value.
func (InstallInputValidationError) Key ¶
func (e InstallInputValidationError) Key() bool
Key function returns key value.
func (InstallInputValidationError) Reason ¶
func (e InstallInputValidationError) Reason() string
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 ¶
func (e InstallInputsValidationError) Cause() error
Cause function returns cause value.
func (InstallInputsValidationError) Error ¶
func (e InstallInputsValidationError) Error() string
Error satisfies the builtin error interface
func (InstallInputsValidationError) ErrorName ¶
func (e InstallInputsValidationError) ErrorName() string
ErrorName returns error name.
func (InstallInputsValidationError) Field ¶
func (e InstallInputsValidationError) Field() string
Field function returns field value.
func (InstallInputsValidationError) Key ¶
func (e InstallInputsValidationError) Key() bool
Key function returns key value.
func (InstallInputsValidationError) Reason ¶
func (e InstallInputsValidationError) Reason() string
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) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
func (*Secret) Validate ¶
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 ¶
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) GetSecrets ¶
func (*Secrets) ProtoMessage ¶
func (*Secrets) ProtoMessage()
func (*Secrets) ProtoReflect ¶
func (x *Secrets) ProtoReflect() protoreflect.Message
func (*Secrets) Validate ¶
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 ¶
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 ¶
func (m TerraformVariableMultiError) Error() string
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 ¶
func (e TerraformVariableValidationError) Cause() error
Cause function returns cause value.
func (TerraformVariableValidationError) Error ¶
func (e TerraformVariableValidationError) Error() string
Error satisfies the builtin error interface
func (TerraformVariableValidationError) ErrorName ¶
func (e TerraformVariableValidationError) ErrorName() string
ErrorName returns error name.
func (TerraformVariableValidationError) Field ¶
func (e TerraformVariableValidationError) Field() string
Field function returns field value.
func (TerraformVariableValidationError) Key ¶
func (e TerraformVariableValidationError) Key() bool
Key function returns key value.
func (TerraformVariableValidationError) Reason ¶
func (e TerraformVariableValidationError) Reason() string
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 ¶
func (m TerraformVariablesMultiError) Error() string
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 ¶
func (e TerraformVariablesValidationError) Cause() error
Cause function returns cause value.
func (TerraformVariablesValidationError) Error ¶
func (e TerraformVariablesValidationError) Error() string
Error satisfies the builtin error interface
func (TerraformVariablesValidationError) ErrorName ¶
func (e TerraformVariablesValidationError) ErrorName() string
ErrorName returns error name.
func (TerraformVariablesValidationError) Field ¶
func (e TerraformVariablesValidationError) Field() string
Field function returns field value.
func (TerraformVariablesValidationError) Key ¶
func (e TerraformVariablesValidationError) Key() bool
Key function returns key value.
func (TerraformVariablesValidationError) Reason ¶
func (e TerraformVariablesValidationError) Reason() string
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) GetHelmValue ¶
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) Validate ¶
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 ¶
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) GetIntermediateData ¶
func (*Variables) GetVariables ¶
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) TerraformVariables ¶
func (c *Variables) TerraformVariables() *TerraformVariables
func (*Variables) Validate ¶
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 ¶
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 ¶
func (e VariablesValidationError) Key() bool
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 ¶
func (m WaypointVariableMultiError) Error() string
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 ¶
func (e WaypointVariableValidationError) Cause() error
Cause function returns cause value.
func (WaypointVariableValidationError) Error ¶
func (e WaypointVariableValidationError) Error() string
Error satisfies the builtin error interface
func (WaypointVariableValidationError) ErrorName ¶
func (e WaypointVariableValidationError) ErrorName() string
ErrorName returns error name.
func (WaypointVariableValidationError) Field ¶
func (e WaypointVariableValidationError) Field() string
Field function returns field value.
func (WaypointVariableValidationError) Key ¶
func (e WaypointVariableValidationError) Key() bool
Key function returns key value.
func (WaypointVariableValidationError) Reason ¶
func (e WaypointVariableValidationError) Reason() string
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 ¶
func (m WaypointVariablesMultiError) Error() string
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 ¶
func (e WaypointVariablesValidationError) Cause() error
Cause function returns cause value.
func (WaypointVariablesValidationError) Error ¶
func (e WaypointVariablesValidationError) Error() string
Error satisfies the builtin error interface
func (WaypointVariablesValidationError) ErrorName ¶
func (e WaypointVariablesValidationError) ErrorName() string
ErrorName returns error name.
func (WaypointVariablesValidationError) Field ¶
func (e WaypointVariablesValidationError) Field() string
Field function returns field value.
func (WaypointVariablesValidationError) Key ¶
func (e WaypointVariablesValidationError) Key() bool
Key function returns key value.
func (WaypointVariablesValidationError) Reason ¶
func (e WaypointVariablesValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- env.go
- env.pb.go
- env.pb.validate.go
- fakes.go
- helm.go
- helm.pb.go
- helm.pb.validate.go
- init.go
- install_inputs.go
- install_inputs.pb.go
- install_inputs.pb.validate.go
- interfaces.go
- secrets.go
- secrets.pb.go
- secrets.pb.validate.go
- terraform.go
- terraform.pb.go
- terraform.pb.validate.go
- variable.go
- variable.pb.go
- variable.pb.validate.go
- variables.go
- variables.pb.go
- variables.pb.validate.go
- waypoint.go
- waypoint.pb.go
- waypoint.pb.validate.go