Documentation ¶
Index ¶
- Variables
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetApiVersion() string
- func (x *Application) GetKind() string
- func (x *Application) GetMetadata() *Metadata
- func (x *Application) GetSpec() *ApplicationSpec
- func (x *Application) GetStatus() *ApplicationStatus
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- func (m *Application) Validate() error
- func (m *Application) ValidateAll() error
- type ApplicationComponent
- func (*ApplicationComponent) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationComponent) GetDependsOn() []string
- func (x *ApplicationComponent) GetExternalRevision() string
- func (x *ApplicationComponent) GetImages() []string
- func (x *ApplicationComponent) GetInputs() []*InputItem
- func (x *ApplicationComponent) GetName() string
- func (x *ApplicationComponent) GetOutputs() []*OutputItem
- func (x *ApplicationComponent) GetProperties() *structpb.Struct
- func (x *ApplicationComponent) GetScopes() map[string]string
- func (x *ApplicationComponent) GetTraits() []*ApplicationTrait
- func (x *ApplicationComponent) GetType() string
- func (*ApplicationComponent) ProtoMessage()
- func (x *ApplicationComponent) ProtoReflect() protoreflect.Message
- func (x *ApplicationComponent) Reset()
- func (x *ApplicationComponent) String() string
- func (m *ApplicationComponent) Validate() error
- func (m *ApplicationComponent) ValidateAll() error
- type ApplicationComponentMultiError
- type ApplicationComponentStatus
- func (*ApplicationComponentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationComponentStatus) GetHealthy() bool
- func (x *ApplicationComponentStatus) GetMessage() string
- func (x *ApplicationComponentStatus) GetName() string
- func (x *ApplicationComponentStatus) GetTraits() []*ApplicationTraitStatus
- func (*ApplicationComponentStatus) ProtoMessage()
- func (x *ApplicationComponentStatus) ProtoReflect() protoreflect.Message
- func (x *ApplicationComponentStatus) Reset()
- func (x *ApplicationComponentStatus) String() string
- func (m *ApplicationComponentStatus) Validate() error
- func (m *ApplicationComponentStatus) ValidateAll() error
- type ApplicationComponentStatusMultiError
- type ApplicationComponentStatusValidationError
- func (e ApplicationComponentStatusValidationError) Cause() error
- func (e ApplicationComponentStatusValidationError) Error() string
- func (e ApplicationComponentStatusValidationError) ErrorName() string
- func (e ApplicationComponentStatusValidationError) Field() string
- func (e ApplicationComponentStatusValidationError) Key() bool
- func (e ApplicationComponentStatusValidationError) Reason() string
- type ApplicationComponentValidationError
- func (e ApplicationComponentValidationError) Cause() error
- func (e ApplicationComponentValidationError) Error() string
- func (e ApplicationComponentValidationError) ErrorName() string
- func (e ApplicationComponentValidationError) Field() string
- func (e ApplicationComponentValidationError) Key() bool
- func (e ApplicationComponentValidationError) Reason() string
- type ApplicationMultiError
- type ApplicationPolicy
- func (*ApplicationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationPolicy) GetName() string
- func (x *ApplicationPolicy) GetProperties() *structpb.Struct
- func (x *ApplicationPolicy) GetType() string
- func (*ApplicationPolicy) ProtoMessage()
- func (x *ApplicationPolicy) ProtoReflect() protoreflect.Message
- func (x *ApplicationPolicy) Reset()
- func (x *ApplicationPolicy) String() string
- func (m *ApplicationPolicy) Validate() error
- func (m *ApplicationPolicy) ValidateAll() error
- type ApplicationPolicyMultiError
- type ApplicationPolicyValidationError
- func (e ApplicationPolicyValidationError) Cause() error
- func (e ApplicationPolicyValidationError) Error() string
- func (e ApplicationPolicyValidationError) ErrorName() string
- func (e ApplicationPolicyValidationError) Field() string
- func (e ApplicationPolicyValidationError) Key() bool
- func (e ApplicationPolicyValidationError) Reason() string
- type ApplicationSpec
- func (*ApplicationSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationSpec) GetComponents() []*ApplicationComponent
- func (x *ApplicationSpec) GetPolicies() []*ApplicationPolicy
- func (x *ApplicationSpec) GetWorkflow() *ApplicationWorkflow
- func (*ApplicationSpec) ProtoMessage()
- func (x *ApplicationSpec) ProtoReflect() protoreflect.Message
- func (x *ApplicationSpec) Reset()
- func (x *ApplicationSpec) String() string
- func (m *ApplicationSpec) Validate() error
- func (m *ApplicationSpec) ValidateAll() error
- type ApplicationSpecMultiError
- type ApplicationSpecValidationError
- func (e ApplicationSpecValidationError) Cause() error
- func (e ApplicationSpecValidationError) Error() string
- func (e ApplicationSpecValidationError) ErrorName() string
- func (e ApplicationSpecValidationError) Field() string
- func (e ApplicationSpecValidationError) Key() bool
- func (e ApplicationSpecValidationError) Reason() string
- type ApplicationStatus
- func (*ApplicationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationStatus) GetConditions() []*Condition
- func (x *ApplicationStatus) GetServices() []*ApplicationComponentStatus
- func (x *ApplicationStatus) GetStatus() string
- func (x *ApplicationStatus) GetWorkflow() *WorkflowStatus
- func (*ApplicationStatus) ProtoMessage()
- func (x *ApplicationStatus) ProtoReflect() protoreflect.Message
- func (x *ApplicationStatus) Reset()
- func (x *ApplicationStatus) String() string
- func (m *ApplicationStatus) Validate() error
- func (m *ApplicationStatus) ValidateAll() error
- type ApplicationStatusMultiError
- type ApplicationStatusValidationError
- func (e ApplicationStatusValidationError) Cause() error
- func (e ApplicationStatusValidationError) Error() string
- func (e ApplicationStatusValidationError) ErrorName() string
- func (e ApplicationStatusValidationError) Field() string
- func (e ApplicationStatusValidationError) Key() bool
- func (e ApplicationStatusValidationError) Reason() string
- type ApplicationTrait
- func (*ApplicationTrait) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationTrait) GetProperties() *structpb.Struct
- func (x *ApplicationTrait) GetType() string
- func (*ApplicationTrait) ProtoMessage()
- func (x *ApplicationTrait) ProtoReflect() protoreflect.Message
- func (x *ApplicationTrait) Reset()
- func (x *ApplicationTrait) String() string
- func (m *ApplicationTrait) Validate() error
- func (m *ApplicationTrait) ValidateAll() error
- type ApplicationTraitMultiError
- type ApplicationTraitStatus
- func (*ApplicationTraitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationTraitStatus) GetHealthy() bool
- func (x *ApplicationTraitStatus) GetMessage() string
- func (x *ApplicationTraitStatus) GetType() string
- func (*ApplicationTraitStatus) ProtoMessage()
- func (x *ApplicationTraitStatus) ProtoReflect() protoreflect.Message
- func (x *ApplicationTraitStatus) Reset()
- func (x *ApplicationTraitStatus) String() string
- func (m *ApplicationTraitStatus) Validate() error
- func (m *ApplicationTraitStatus) ValidateAll() error
- type ApplicationTraitStatusMultiError
- type ApplicationTraitStatusValidationError
- func (e ApplicationTraitStatusValidationError) Cause() error
- func (e ApplicationTraitStatusValidationError) Error() string
- func (e ApplicationTraitStatusValidationError) ErrorName() string
- func (e ApplicationTraitStatusValidationError) Field() string
- func (e ApplicationTraitStatusValidationError) Key() bool
- func (e ApplicationTraitStatusValidationError) Reason() string
- type ApplicationTraitValidationError
- func (e ApplicationTraitValidationError) Cause() error
- func (e ApplicationTraitValidationError) Error() string
- func (e ApplicationTraitValidationError) ErrorName() string
- func (e ApplicationTraitValidationError) Field() string
- func (e ApplicationTraitValidationError) Key() bool
- func (e ApplicationTraitValidationError) Reason() string
- type ApplicationValidationError
- func (e ApplicationValidationError) Cause() error
- func (e ApplicationValidationError) Error() string
- func (e ApplicationValidationError) ErrorName() string
- func (e ApplicationValidationError) Field() string
- func (e ApplicationValidationError) Key() bool
- func (e ApplicationValidationError) Reason() string
- type ApplicationWorkflow
- func (*ApplicationWorkflow) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationWorkflow) GetSteps() []*WorkflowStep
- func (*ApplicationWorkflow) ProtoMessage()
- func (x *ApplicationWorkflow) ProtoReflect() protoreflect.Message
- func (x *ApplicationWorkflow) Reset()
- func (x *ApplicationWorkflow) String() string
- func (m *ApplicationWorkflow) Validate() error
- func (m *ApplicationWorkflow) ValidateAll() error
- type ApplicationWorkflowMultiError
- type ApplicationWorkflowValidationError
- func (e ApplicationWorkflowValidationError) Cause() error
- func (e ApplicationWorkflowValidationError) Error() string
- func (e ApplicationWorkflowValidationError) ErrorName() string
- func (e ApplicationWorkflowValidationError) Field() string
- func (e ApplicationWorkflowValidationError) Key() bool
- func (e ApplicationWorkflowValidationError) Reason() string
- type CUE
- type CUEMultiError
- type CUEValidationError
- type ChildResourceKind
- func (*ChildResourceKind) Descriptor() ([]byte, []int)deprecated
- func (x *ChildResourceKind) GetApiVersion() string
- func (x *ChildResourceKind) GetKind() string
- func (x *ChildResourceKind) GetSelector() map[string]string
- func (*ChildResourceKind) ProtoMessage()
- func (x *ChildResourceKind) ProtoReflect() protoreflect.Message
- func (x *ChildResourceKind) Reset()
- func (x *ChildResourceKind) String() string
- func (m *ChildResourceKind) Validate() error
- func (m *ChildResourceKind) ValidateAll() error
- type ChildResourceKindMultiError
- type ChildResourceKindValidationError
- func (e ChildResourceKindValidationError) Cause() error
- func (e ChildResourceKindValidationError) Error() string
- func (e ChildResourceKindValidationError) ErrorName() string
- func (e ChildResourceKindValidationError) Field() string
- func (e ChildResourceKindValidationError) Key() bool
- func (e ChildResourceKindValidationError) Reason() string
- type ComponentDefinition
- func (*ComponentDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentDefinition) GetApiVersion() string
- func (x *ComponentDefinition) GetKind() string
- func (x *ComponentDefinition) GetMetadata() *Metadata
- func (x *ComponentDefinition) GetSpec() *ComponentDefinitionSpec
- func (*ComponentDefinition) ProtoMessage()
- func (x *ComponentDefinition) ProtoReflect() protoreflect.Message
- func (x *ComponentDefinition) Reset()
- func (x *ComponentDefinition) String() string
- func (m *ComponentDefinition) Validate() error
- func (m *ComponentDefinition) ValidateAll() error
- type ComponentDefinitionMultiError
- type ComponentDefinitionSpec
- func (*ComponentDefinitionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentDefinitionSpec) GetChildResourceKinds() []*ChildResourceKind
- func (x *ComponentDefinitionSpec) GetPodSpecPath() string
- func (x *ComponentDefinitionSpec) GetRevisionLabel() string
- func (x *ComponentDefinitionSpec) GetSchematic() *Schematic
- func (x *ComponentDefinitionSpec) GetStatus() *Status
- func (x *ComponentDefinitionSpec) GetWorkload() *WorkloadTypeDescriptor
- func (*ComponentDefinitionSpec) ProtoMessage()
- func (x *ComponentDefinitionSpec) ProtoReflect() protoreflect.Message
- func (x *ComponentDefinitionSpec) Reset()
- func (x *ComponentDefinitionSpec) String() string
- func (m *ComponentDefinitionSpec) Validate() error
- func (m *ComponentDefinitionSpec) ValidateAll() error
- type ComponentDefinitionSpecMultiError
- type ComponentDefinitionSpecValidationError
- func (e ComponentDefinitionSpecValidationError) Cause() error
- func (e ComponentDefinitionSpecValidationError) Error() string
- func (e ComponentDefinitionSpecValidationError) ErrorName() string
- func (e ComponentDefinitionSpecValidationError) Field() string
- func (e ComponentDefinitionSpecValidationError) Key() bool
- func (e ComponentDefinitionSpecValidationError) Reason() string
- type ComponentDefinitionValidationError
- func (e ComponentDefinitionValidationError) Cause() error
- func (e ComponentDefinitionValidationError) Error() string
- func (e ComponentDefinitionValidationError) ErrorName() string
- func (e ComponentDefinitionValidationError) Field() string
- func (e ComponentDefinitionValidationError) Key() bool
- func (e ComponentDefinitionValidationError) Reason() string
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetLastTransitionTime() string
- func (x *Condition) GetMessage() string
- func (x *Condition) GetReason() string
- func (x *Condition) GetStatus() string
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- func (m *Condition) Validate() error
- func (m *Condition) ValidateAll() error
- type ConditionMultiError
- type ConditionValidationError
- type HELM
- func (*HELM) Descriptor() ([]byte, []int)deprecated
- func (x *HELM) GetRelease() *structpb.Struct
- func (x *HELM) GetRepository() *structpb.Struct
- func (*HELM) ProtoMessage()
- func (x *HELM) ProtoReflect() protoreflect.Message
- func (x *HELM) Reset()
- func (x *HELM) String() string
- func (m *HELM) Validate() error
- func (m *HELM) ValidateAll() error
- type HELMMultiError
- type HELMValidationError
- type InputItem
- func (*InputItem) Descriptor() ([]byte, []int)deprecated
- func (x *InputItem) GetFrom() string
- func (x *InputItem) GetParameterKey() string
- func (*InputItem) ProtoMessage()
- func (x *InputItem) ProtoReflect() protoreflect.Message
- func (x *InputItem) Reset()
- func (x *InputItem) String() string
- func (m *InputItem) Validate() error
- func (m *InputItem) ValidateAll() error
- type InputItemMultiError
- type InputItemValidationError
- type Kube
- func (*Kube) Descriptor() ([]byte, []int)deprecated
- func (x *Kube) GetParameters() []*KubeParameter
- func (x *Kube) GetTemplate() *structpb.Struct
- func (*Kube) ProtoMessage()
- func (x *Kube) ProtoReflect() protoreflect.Message
- func (x *Kube) Reset()
- func (x *Kube) String() string
- func (m *Kube) Validate() error
- func (m *Kube) ValidateAll() error
- type KubeMultiError
- type KubeParameter
- func (*KubeParameter) Descriptor() ([]byte, []int)deprecated
- func (x *KubeParameter) GetDescription() string
- func (x *KubeParameter) GetFieldPaths() []string
- func (x *KubeParameter) GetName() string
- func (x *KubeParameter) GetRequired() bool
- func (x *KubeParameter) GetType() string
- func (*KubeParameter) ProtoMessage()
- func (x *KubeParameter) ProtoReflect() protoreflect.Message
- func (x *KubeParameter) Reset()
- func (x *KubeParameter) String() string
- func (m *KubeParameter) Validate() error
- func (m *KubeParameter) ValidateAll() error
- type KubeParameterMultiError
- type KubeParameterValidationError
- func (e KubeParameterValidationError) Cause() error
- func (e KubeParameterValidationError) Error() string
- func (e KubeParameterValidationError) ErrorName() string
- func (e KubeParameterValidationError) Field() string
- func (e KubeParameterValidationError) Key() bool
- func (e KubeParameterValidationError) Reason() string
- type KubeValidationError
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAnnotations() map[string]string
- func (x *Metadata) GetCreationTimestamp() string
- func (x *Metadata) GetLabels() map[string]string
- func (x *Metadata) GetName() string
- func (x *Metadata) GetUid() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type OutputItem
- func (*OutputItem) Descriptor() ([]byte, []int)deprecated
- func (x *OutputItem) GetName() string
- func (x *OutputItem) GetValueFrom() string
- func (*OutputItem) ProtoMessage()
- func (x *OutputItem) ProtoReflect() protoreflect.Message
- func (x *OutputItem) Reset()
- func (x *OutputItem) String() string
- func (m *OutputItem) Validate() error
- func (m *OutputItem) ValidateAll() error
- type OutputItemMultiError
- type OutputItemValidationError
- type PolicyDefinition
- func (*PolicyDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyDefinition) GetApiVersion() string
- func (x *PolicyDefinition) GetKind() string
- func (x *PolicyDefinition) GetMetadata() *Metadata
- func (x *PolicyDefinition) GetSpec() *PolicyDefinitionSpec
- func (*PolicyDefinition) ProtoMessage()
- func (x *PolicyDefinition) ProtoReflect() protoreflect.Message
- func (x *PolicyDefinition) Reset()
- func (x *PolicyDefinition) String() string
- func (m *PolicyDefinition) Validate() error
- func (m *PolicyDefinition) ValidateAll() error
- type PolicyDefinitionMultiError
- type PolicyDefinitionSpec
- func (*PolicyDefinitionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyDefinitionSpec) GetDefinitionRef() *Reference
- func (x *PolicyDefinitionSpec) GetSchematic() *Schematic
- func (*PolicyDefinitionSpec) ProtoMessage()
- func (x *PolicyDefinitionSpec) ProtoReflect() protoreflect.Message
- func (x *PolicyDefinitionSpec) Reset()
- func (x *PolicyDefinitionSpec) String() string
- func (m *PolicyDefinitionSpec) Validate() error
- func (m *PolicyDefinitionSpec) ValidateAll() error
- type PolicyDefinitionSpecMultiError
- type PolicyDefinitionSpecValidationError
- func (e PolicyDefinitionSpecValidationError) Cause() error
- func (e PolicyDefinitionSpecValidationError) Error() string
- func (e PolicyDefinitionSpecValidationError) ErrorName() string
- func (e PolicyDefinitionSpecValidationError) Field() string
- func (e PolicyDefinitionSpecValidationError) Key() bool
- func (e PolicyDefinitionSpecValidationError) Reason() string
- type PolicyDefinitionValidationError
- func (e PolicyDefinitionValidationError) Cause() error
- func (e PolicyDefinitionValidationError) Error() string
- func (e PolicyDefinitionValidationError) ErrorName() string
- func (e PolicyDefinitionValidationError) Field() string
- func (e PolicyDefinitionValidationError) Key() bool
- func (e PolicyDefinitionValidationError) Reason() string
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetName() string
- func (x *Reference) GetNamespace() string
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- func (m *Reference) Validate() error
- func (m *Reference) ValidateAll() error
- type ReferenceMultiError
- type ReferenceValidationError
- type Schematic
- func (*Schematic) Descriptor() ([]byte, []int)deprecated
- func (x *Schematic) GetCue() *CUE
- func (x *Schematic) GetHelm() *HELM
- func (x *Schematic) GetKube() *Kube
- func (x *Schematic) GetTerraform() *Terraform
- func (*Schematic) ProtoMessage()
- func (x *Schematic) ProtoReflect() protoreflect.Message
- func (x *Schematic) Reset()
- func (x *Schematic) String() string
- func (m *Schematic) Validate() error
- func (m *Schematic) ValidateAll() error
- type SchematicMultiError
- type SchematicValidationError
- type ScopeDefinition
- func (*ScopeDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeDefinition) GetApiVersion() string
- func (x *ScopeDefinition) GetKind() string
- func (x *ScopeDefinition) GetMetadata() *Metadata
- func (x *ScopeDefinition) GetSpec() *ScopeDefinitionSpec
- func (*ScopeDefinition) ProtoMessage()
- func (x *ScopeDefinition) ProtoReflect() protoreflect.Message
- func (x *ScopeDefinition) Reset()
- func (x *ScopeDefinition) String() string
- func (m *ScopeDefinition) Validate() error
- func (m *ScopeDefinition) ValidateAll() error
- type ScopeDefinitionMultiError
- type ScopeDefinitionSpec
- func (*ScopeDefinitionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeDefinitionSpec) GetAllowComponentOverlap() bool
- func (x *ScopeDefinitionSpec) GetDefinitionRef() *Reference
- func (x *ScopeDefinitionSpec) GetWorkloadRefsPath() string
- func (*ScopeDefinitionSpec) ProtoMessage()
- func (x *ScopeDefinitionSpec) ProtoReflect() protoreflect.Message
- func (x *ScopeDefinitionSpec) Reset()
- func (x *ScopeDefinitionSpec) String() string
- func (m *ScopeDefinitionSpec) Validate() error
- func (m *ScopeDefinitionSpec) ValidateAll() error
- type ScopeDefinitionSpecMultiError
- type ScopeDefinitionSpecValidationError
- func (e ScopeDefinitionSpecValidationError) Cause() error
- func (e ScopeDefinitionSpecValidationError) Error() string
- func (e ScopeDefinitionSpecValidationError) ErrorName() string
- func (e ScopeDefinitionSpecValidationError) Field() string
- func (e ScopeDefinitionSpecValidationError) Key() bool
- func (e ScopeDefinitionSpecValidationError) Reason() string
- type ScopeDefinitionValidationError
- func (e ScopeDefinitionValidationError) Cause() error
- func (e ScopeDefinitionValidationError) Error() string
- func (e ScopeDefinitionValidationError) ErrorName() string
- func (e ScopeDefinitionValidationError) Field() string
- func (e ScopeDefinitionValidationError) Key() bool
- func (e ScopeDefinitionValidationError) Reason() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCustomStatus() string
- func (x *Status) GetHealthPolicy() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- func (m *Status) Validate() error
- func (m *Status) ValidateAll() error
- type StatusMultiError
- type StatusValidationError
- type Terraform
- func (*Terraform) Descriptor() ([]byte, []int)deprecated
- func (x *Terraform) GetConfiguration() string
- func (x *Terraform) GetDeleteResource() bool
- func (x *Terraform) GetPath() string
- func (x *Terraform) GetProviderRef() *Reference
- func (x *Terraform) GetRegion() string
- func (x *Terraform) GetType() string
- func (x *Terraform) GetWriteConnectionSecretToReference() *Reference
- func (*Terraform) ProtoMessage()
- func (x *Terraform) ProtoReflect() protoreflect.Message
- func (x *Terraform) Reset()
- func (x *Terraform) String() string
- func (m *Terraform) Validate() error
- func (m *Terraform) ValidateAll() error
- type TerraformMultiError
- type TerraformValidationError
- type TraitDefinition
- func (*TraitDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *TraitDefinition) GetApiVersion() string
- func (x *TraitDefinition) GetKind() string
- func (x *TraitDefinition) GetMetadata() *Metadata
- func (x *TraitDefinition) GetSpec() *TraitDefinitionSpec
- func (*TraitDefinition) ProtoMessage()
- func (x *TraitDefinition) ProtoReflect() protoreflect.Message
- func (x *TraitDefinition) Reset()
- func (x *TraitDefinition) String() string
- func (m *TraitDefinition) Validate() error
- func (m *TraitDefinition) ValidateAll() error
- type TraitDefinitionMultiError
- type TraitDefinitionSpec
- func (*TraitDefinitionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *TraitDefinitionSpec) GetAppliesToWorkloads() []string
- func (x *TraitDefinitionSpec) GetConflictsWith() []string
- func (x *TraitDefinitionSpec) GetDefinitionRef() *Reference
- func (x *TraitDefinitionSpec) GetManageWorkload() bool
- func (x *TraitDefinitionSpec) GetPodDisruptive() bool
- func (x *TraitDefinitionSpec) GetRevisionEnabled() bool
- func (x *TraitDefinitionSpec) GetSchematic() *Schematic
- func (x *TraitDefinitionSpec) GetSkipRevisionAffect() bool
- func (x *TraitDefinitionSpec) GetStatus() *Status
- func (x *TraitDefinitionSpec) GetWorkloadRefPath() string
- func (*TraitDefinitionSpec) ProtoMessage()
- func (x *TraitDefinitionSpec) ProtoReflect() protoreflect.Message
- func (x *TraitDefinitionSpec) Reset()
- func (x *TraitDefinitionSpec) String() string
- func (m *TraitDefinitionSpec) Validate() error
- func (m *TraitDefinitionSpec) ValidateAll() error
- type TraitDefinitionSpecMultiError
- type TraitDefinitionSpecValidationError
- func (e TraitDefinitionSpecValidationError) Cause() error
- func (e TraitDefinitionSpecValidationError) Error() string
- func (e TraitDefinitionSpecValidationError) ErrorName() string
- func (e TraitDefinitionSpecValidationError) Field() string
- func (e TraitDefinitionSpecValidationError) Key() bool
- func (e TraitDefinitionSpecValidationError) Reason() string
- type TraitDefinitionValidationError
- func (e TraitDefinitionValidationError) Cause() error
- func (e TraitDefinitionValidationError) Error() string
- func (e TraitDefinitionValidationError) ErrorName() string
- func (e TraitDefinitionValidationError) Field() string
- func (e TraitDefinitionValidationError) Key() bool
- func (e TraitDefinitionValidationError) Reason() string
- type WorkflowStatus
- func (*WorkflowStatus) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowStatus) GetAppRevision() string
- func (x *WorkflowStatus) GetFinished() bool
- func (x *WorkflowStatus) GetMessage() string
- func (x *WorkflowStatus) GetMode() string
- func (x *WorkflowStatus) GetStartTime() string
- func (x *WorkflowStatus) GetSteps() []*WorkflowStepStatus
- func (x *WorkflowStatus) GetSuspend() bool
- func (x *WorkflowStatus) GetTerminated() bool
- func (*WorkflowStatus) ProtoMessage()
- func (x *WorkflowStatus) ProtoReflect() protoreflect.Message
- func (x *WorkflowStatus) Reset()
- func (x *WorkflowStatus) String() string
- func (m *WorkflowStatus) Validate() error
- func (m *WorkflowStatus) ValidateAll() error
- type WorkflowStatusMultiError
- type WorkflowStatusValidationError
- func (e WorkflowStatusValidationError) Cause() error
- func (e WorkflowStatusValidationError) Error() string
- func (e WorkflowStatusValidationError) ErrorName() string
- func (e WorkflowStatusValidationError) Field() string
- func (e WorkflowStatusValidationError) Key() bool
- func (e WorkflowStatusValidationError) Reason() string
- type WorkflowStep
- func (*WorkflowStep) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowStep) GetDependsOn() []string
- func (x *WorkflowStep) GetInputs() []*InputItem
- func (x *WorkflowStep) GetName() string
- func (x *WorkflowStep) GetOutputs() []*OutputItem
- func (x *WorkflowStep) GetProperties() *structpb.Struct
- func (x *WorkflowStep) GetType() string
- func (*WorkflowStep) ProtoMessage()
- func (x *WorkflowStep) ProtoReflect() protoreflect.Message
- func (x *WorkflowStep) Reset()
- func (x *WorkflowStep) String() string
- func (m *WorkflowStep) Validate() error
- func (m *WorkflowStep) ValidateAll() error
- type WorkflowStepDefinition
- func (*WorkflowStepDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowStepDefinition) GetApiVersion() string
- func (x *WorkflowStepDefinition) GetKind() string
- func (x *WorkflowStepDefinition) GetMetadata() *Metadata
- func (x *WorkflowStepDefinition) GetSpec() *WorkflowStepDefinitionSpec
- func (*WorkflowStepDefinition) ProtoMessage()
- func (x *WorkflowStepDefinition) ProtoReflect() protoreflect.Message
- func (x *WorkflowStepDefinition) Reset()
- func (x *WorkflowStepDefinition) String() string
- func (m *WorkflowStepDefinition) Validate() error
- func (m *WorkflowStepDefinition) ValidateAll() error
- type WorkflowStepDefinitionMultiError
- type WorkflowStepDefinitionSpec
- func (*WorkflowStepDefinitionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowStepDefinitionSpec) GetDefinitionRef() *Reference
- func (x *WorkflowStepDefinitionSpec) GetSchematic() *Schematic
- func (*WorkflowStepDefinitionSpec) ProtoMessage()
- func (x *WorkflowStepDefinitionSpec) ProtoReflect() protoreflect.Message
- func (x *WorkflowStepDefinitionSpec) Reset()
- func (x *WorkflowStepDefinitionSpec) String() string
- func (m *WorkflowStepDefinitionSpec) Validate() error
- func (m *WorkflowStepDefinitionSpec) ValidateAll() error
- type WorkflowStepDefinitionSpecMultiError
- type WorkflowStepDefinitionSpecValidationError
- func (e WorkflowStepDefinitionSpecValidationError) Cause() error
- func (e WorkflowStepDefinitionSpecValidationError) Error() string
- func (e WorkflowStepDefinitionSpecValidationError) ErrorName() string
- func (e WorkflowStepDefinitionSpecValidationError) Field() string
- func (e WorkflowStepDefinitionSpecValidationError) Key() bool
- func (e WorkflowStepDefinitionSpecValidationError) Reason() string
- type WorkflowStepDefinitionValidationError
- func (e WorkflowStepDefinitionValidationError) Cause() error
- func (e WorkflowStepDefinitionValidationError) Error() string
- func (e WorkflowStepDefinitionValidationError) ErrorName() string
- func (e WorkflowStepDefinitionValidationError) Field() string
- func (e WorkflowStepDefinitionValidationError) Key() bool
- func (e WorkflowStepDefinitionValidationError) Reason() string
- type WorkflowStepMultiError
- type WorkflowStepStatus
- func (*WorkflowStepStatus) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowStepStatus) GetFirstExecuteTime() string
- func (x *WorkflowStepStatus) GetId() string
- func (x *WorkflowStepStatus) GetLastExecuteTime() string
- func (x *WorkflowStepStatus) GetMessage() string
- func (x *WorkflowStepStatus) GetName() string
- func (x *WorkflowStepStatus) GetPhase() string
- func (x *WorkflowStepStatus) GetReason() string
- func (x *WorkflowStepStatus) GetType() string
- func (*WorkflowStepStatus) ProtoMessage()
- func (x *WorkflowStepStatus) ProtoReflect() protoreflect.Message
- func (x *WorkflowStepStatus) Reset()
- func (x *WorkflowStepStatus) String() string
- func (m *WorkflowStepStatus) Validate() error
- func (m *WorkflowStepStatus) ValidateAll() error
- type WorkflowStepStatusMultiError
- type WorkflowStepStatusValidationError
- func (e WorkflowStepStatusValidationError) Cause() error
- func (e WorkflowStepStatusValidationError) Error() string
- func (e WorkflowStepStatusValidationError) ErrorName() string
- func (e WorkflowStepStatusValidationError) Field() string
- func (e WorkflowStepStatusValidationError) Key() bool
- func (e WorkflowStepStatusValidationError) Reason() string
- type WorkflowStepValidationError
- func (e WorkflowStepValidationError) Cause() error
- func (e WorkflowStepValidationError) Error() string
- func (e WorkflowStepValidationError) ErrorName() string
- func (e WorkflowStepValidationError) Field() string
- func (e WorkflowStepValidationError) Key() bool
- func (e WorkflowStepValidationError) Reason() string
- type WorkloadGVK
- func (*WorkloadGVK) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadGVK) GetApiVersion() string
- func (x *WorkloadGVK) GetKind() string
- func (*WorkloadGVK) ProtoMessage()
- func (x *WorkloadGVK) ProtoReflect() protoreflect.Message
- func (x *WorkloadGVK) Reset()
- func (x *WorkloadGVK) String() string
- func (m *WorkloadGVK) Validate() error
- func (m *WorkloadGVK) ValidateAll() error
- type WorkloadGVKMultiError
- type WorkloadGVKValidationError
- func (e WorkloadGVKValidationError) Cause() error
- func (e WorkloadGVKValidationError) Error() string
- func (e WorkloadGVKValidationError) ErrorName() string
- func (e WorkloadGVKValidationError) Field() string
- func (e WorkloadGVKValidationError) Key() bool
- func (e WorkloadGVKValidationError) Reason() string
- type WorkloadTypeDescriptor
- func (*WorkloadTypeDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadTypeDescriptor) GetDefinition() *WorkloadGVK
- func (x *WorkloadTypeDescriptor) GetType() string
- func (*WorkloadTypeDescriptor) ProtoMessage()
- func (x *WorkloadTypeDescriptor) ProtoReflect() protoreflect.Message
- func (x *WorkloadTypeDescriptor) Reset()
- func (x *WorkloadTypeDescriptor) String() string
- func (m *WorkloadTypeDescriptor) Validate() error
- func (m *WorkloadTypeDescriptor) ValidateAll() error
- type WorkloadTypeDescriptorMultiError
- type WorkloadTypeDescriptorValidationError
- func (e WorkloadTypeDescriptorValidationError) Cause() error
- func (e WorkloadTypeDescriptorValidationError) Error() string
- func (e WorkloadTypeDescriptorValidationError) ErrorName() string
- func (e WorkloadTypeDescriptorValidationError) Field() string
- func (e WorkloadTypeDescriptorValidationError) Key() bool
- func (e WorkloadTypeDescriptorValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_playground_oam3_entities_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Application ¶ added in v0.3.0
type Application struct { // ApiVersion of the given application. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the application. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with the application. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the application. Spec *ApplicationSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // Status of the application. Status *ApplicationStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Application entity describing the components that form an application.
func (*Application) Descriptor
deprecated
added in
v0.3.0
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetApiVersion ¶ added in v0.3.0
func (x *Application) GetApiVersion() string
func (*Application) GetKind ¶ added in v0.3.0
func (x *Application) GetKind() string
func (*Application) GetMetadata ¶ added in v0.3.0
func (x *Application) GetMetadata() *Metadata
func (*Application) GetSpec ¶ added in v0.3.0
func (x *Application) GetSpec() *ApplicationSpec
func (*Application) GetStatus ¶ added in v0.3.0
func (x *Application) GetStatus() *ApplicationStatus
func (*Application) ProtoMessage ¶ added in v0.3.0
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶ added in v0.3.0
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶ added in v0.3.0
func (x *Application) Reset()
func (*Application) String ¶ added in v0.3.0
func (x *Application) String() string
func (*Application) Validate ¶ added in v0.3.0
func (m *Application) Validate() error
Validate checks the field values on Application 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 (*Application) ValidateAll ¶ added in v0.3.0
func (m *Application) ValidateAll() error
ValidateAll checks the field values on Application 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 ApplicationMultiError, or nil if none found.
type ApplicationComponent ¶ added in v0.3.0
type ApplicationComponent struct { // Name of the component. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of the component associated with the ComponentDefinition. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // ExternalRevision of the component. ExternalRevision string `protobuf:"bytes,3,opt,name=external_revision,json=externalRevision,proto3" json:"external_revision,omitempty"` // Properties of the component. This field sets the values to the parameters exposed from the component schematic. Properties *structpb.Struct `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` // DependsOn indicates component dependencies. DependsOn []string `protobuf:"bytes,5,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // Inputs that are used in the component. Inputs []*InputItem `protobuf:"bytes,6,rep,name=inputs,proto3" json:"inputs,omitempty"` // Outputs produced by the component. Outputs []*OutputItem `protobuf:"bytes,7,rep,name=outputs,proto3" json:"outputs,omitempty"` // Traits applied in the component. Traits []*ApplicationTrait `protobuf:"bytes,8,rep,name=traits,proto3" json:"traits,omitempty"` // Scopes being applied to the component in the form of scope-type:scope-instance-name. Scopes map[string]string `` /* 153-byte string literal not displayed */ // Images used by the component definition Images []string `protobuf:"bytes,10,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
ApplicationComponent describes how to instantiate a component that is part of an application.
func (*ApplicationComponent) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationComponent) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationComponent.ProtoReflect.Descriptor instead.
func (*ApplicationComponent) GetDependsOn ¶ added in v0.3.0
func (x *ApplicationComponent) GetDependsOn() []string
func (*ApplicationComponent) GetExternalRevision ¶ added in v0.3.0
func (x *ApplicationComponent) GetExternalRevision() string
func (*ApplicationComponent) GetImages ¶ added in v0.3.0
func (x *ApplicationComponent) GetImages() []string
func (*ApplicationComponent) GetInputs ¶ added in v0.3.0
func (x *ApplicationComponent) GetInputs() []*InputItem
func (*ApplicationComponent) GetName ¶ added in v0.3.0
func (x *ApplicationComponent) GetName() string
func (*ApplicationComponent) GetOutputs ¶ added in v0.3.0
func (x *ApplicationComponent) GetOutputs() []*OutputItem
func (*ApplicationComponent) GetProperties ¶ added in v0.3.0
func (x *ApplicationComponent) GetProperties() *structpb.Struct
func (*ApplicationComponent) GetScopes ¶ added in v0.3.0
func (x *ApplicationComponent) GetScopes() map[string]string
func (*ApplicationComponent) GetTraits ¶ added in v0.3.0
func (x *ApplicationComponent) GetTraits() []*ApplicationTrait
func (*ApplicationComponent) GetType ¶ added in v0.3.0
func (x *ApplicationComponent) GetType() string
func (*ApplicationComponent) ProtoMessage ¶ added in v0.3.0
func (*ApplicationComponent) ProtoMessage()
func (*ApplicationComponent) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationComponent) ProtoReflect() protoreflect.Message
func (*ApplicationComponent) Reset ¶ added in v0.3.0
func (x *ApplicationComponent) Reset()
func (*ApplicationComponent) String ¶ added in v0.3.0
func (x *ApplicationComponent) String() string
func (*ApplicationComponent) Validate ¶ added in v0.3.0
func (m *ApplicationComponent) Validate() error
Validate checks the field values on ApplicationComponent 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 (*ApplicationComponent) ValidateAll ¶ added in v0.3.0
func (m *ApplicationComponent) ValidateAll() error
ValidateAll checks the field values on ApplicationComponent 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 ApplicationComponentMultiError, or nil if none found.
type ApplicationComponentMultiError ¶ added in v0.3.0
type ApplicationComponentMultiError []error
ApplicationComponentMultiError is an error wrapping multiple validation errors returned by ApplicationComponent.ValidateAll() if the designated constraints aren't met.
func (ApplicationComponentMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationComponentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationComponentMultiError) Error ¶ added in v0.3.0
func (m ApplicationComponentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationComponentStatus ¶ added in v0.3.0
type ApplicationComponentStatus struct { // Name with the name of the application component Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Healty with a bool to indicate if the application component is healthy or not Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"` // Message with information about health status of App component Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Traits with the traits health status Traits []*ApplicationTraitStatus `protobuf:"bytes,4,rep,name=traits,proto3" json:"traits,omitempty"` // contains filtered or unexported fields }
ApplicationComponentStatus defines the status of a component.
func (*ApplicationComponentStatus) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationComponentStatus) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationComponentStatus.ProtoReflect.Descriptor instead.
func (*ApplicationComponentStatus) GetHealthy ¶ added in v0.3.0
func (x *ApplicationComponentStatus) GetHealthy() bool
func (*ApplicationComponentStatus) GetMessage ¶ added in v0.3.0
func (x *ApplicationComponentStatus) GetMessage() string
func (*ApplicationComponentStatus) GetName ¶ added in v0.3.0
func (x *ApplicationComponentStatus) GetName() string
func (*ApplicationComponentStatus) GetTraits ¶ added in v0.3.0
func (x *ApplicationComponentStatus) GetTraits() []*ApplicationTraitStatus
func (*ApplicationComponentStatus) ProtoMessage ¶ added in v0.3.0
func (*ApplicationComponentStatus) ProtoMessage()
func (*ApplicationComponentStatus) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationComponentStatus) ProtoReflect() protoreflect.Message
func (*ApplicationComponentStatus) Reset ¶ added in v0.3.0
func (x *ApplicationComponentStatus) Reset()
func (*ApplicationComponentStatus) String ¶ added in v0.3.0
func (x *ApplicationComponentStatus) String() string
func (*ApplicationComponentStatus) Validate ¶ added in v0.3.0
func (m *ApplicationComponentStatus) Validate() error
Validate checks the field values on ApplicationComponentStatus 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 (*ApplicationComponentStatus) ValidateAll ¶ added in v0.3.0
func (m *ApplicationComponentStatus) ValidateAll() error
ValidateAll checks the field values on ApplicationComponentStatus 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 ApplicationComponentStatusMultiError, or nil if none found.
type ApplicationComponentStatusMultiError ¶ added in v0.3.0
type ApplicationComponentStatusMultiError []error
ApplicationComponentStatusMultiError is an error wrapping multiple validation errors returned by ApplicationComponentStatus.ValidateAll() if the designated constraints aren't met.
func (ApplicationComponentStatusMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationComponentStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationComponentStatusMultiError) Error ¶ added in v0.3.0
func (m ApplicationComponentStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationComponentStatusValidationError ¶ added in v0.3.0
type ApplicationComponentStatusValidationError struct {
// contains filtered or unexported fields
}
ApplicationComponentStatusValidationError is the validation error returned by ApplicationComponentStatus.Validate if the designated constraints aren't met.
func (ApplicationComponentStatusValidationError) Cause ¶ added in v0.3.0
func (e ApplicationComponentStatusValidationError) Cause() error
Cause function returns cause value.
func (ApplicationComponentStatusValidationError) Error ¶ added in v0.3.0
func (e ApplicationComponentStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationComponentStatusValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationComponentStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationComponentStatusValidationError) Field ¶ added in v0.3.0
func (e ApplicationComponentStatusValidationError) Field() string
Field function returns field value.
func (ApplicationComponentStatusValidationError) Key ¶ added in v0.3.0
func (e ApplicationComponentStatusValidationError) Key() bool
Key function returns key value.
func (ApplicationComponentStatusValidationError) Reason ¶ added in v0.3.0
func (e ApplicationComponentStatusValidationError) Reason() string
Reason function returns reason value.
type ApplicationComponentValidationError ¶ added in v0.3.0
type ApplicationComponentValidationError struct {
// contains filtered or unexported fields
}
ApplicationComponentValidationError is the validation error returned by ApplicationComponent.Validate if the designated constraints aren't met.
func (ApplicationComponentValidationError) Cause ¶ added in v0.3.0
func (e ApplicationComponentValidationError) Cause() error
Cause function returns cause value.
func (ApplicationComponentValidationError) Error ¶ added in v0.3.0
func (e ApplicationComponentValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationComponentValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationComponentValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationComponentValidationError) Field ¶ added in v0.3.0
func (e ApplicationComponentValidationError) Field() string
Field function returns field value.
func (ApplicationComponentValidationError) Key ¶ added in v0.3.0
func (e ApplicationComponentValidationError) Key() bool
Key function returns key value.
func (ApplicationComponentValidationError) Reason ¶ added in v0.3.0
func (e ApplicationComponentValidationError) Reason() string
Reason function returns reason value.
type ApplicationMultiError ¶ added in v0.3.0
type ApplicationMultiError []error
ApplicationMultiError is an error wrapping multiple validation errors returned by Application.ValidateAll() if the designated constraints aren't met.
func (ApplicationMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationMultiError) Error ¶ added in v0.3.0
func (m ApplicationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationPolicy ¶ added in v0.3.0
type ApplicationPolicy struct { // Name of the policy. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of policy. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Properties of the policy. Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
ApplicationPolicy defines a global policy for the all components in the application.
func (*ApplicationPolicy) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationPolicy.ProtoReflect.Descriptor instead.
func (*ApplicationPolicy) GetName ¶ added in v0.3.0
func (x *ApplicationPolicy) GetName() string
func (*ApplicationPolicy) GetProperties ¶ added in v0.3.0
func (x *ApplicationPolicy) GetProperties() *structpb.Struct
func (*ApplicationPolicy) GetType ¶ added in v0.3.0
func (x *ApplicationPolicy) GetType() string
func (*ApplicationPolicy) ProtoMessage ¶ added in v0.3.0
func (*ApplicationPolicy) ProtoMessage()
func (*ApplicationPolicy) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationPolicy) ProtoReflect() protoreflect.Message
func (*ApplicationPolicy) Reset ¶ added in v0.3.0
func (x *ApplicationPolicy) Reset()
func (*ApplicationPolicy) String ¶ added in v0.3.0
func (x *ApplicationPolicy) String() string
func (*ApplicationPolicy) Validate ¶ added in v0.3.0
func (m *ApplicationPolicy) Validate() error
Validate checks the field values on ApplicationPolicy 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 (*ApplicationPolicy) ValidateAll ¶ added in v0.3.0
func (m *ApplicationPolicy) ValidateAll() error
ValidateAll checks the field values on ApplicationPolicy 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 ApplicationPolicyMultiError, or nil if none found.
type ApplicationPolicyMultiError ¶ added in v0.3.0
type ApplicationPolicyMultiError []error
ApplicationPolicyMultiError is an error wrapping multiple validation errors returned by ApplicationPolicy.ValidateAll() if the designated constraints aren't met.
func (ApplicationPolicyMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationPolicyMultiError) Error ¶ added in v0.3.0
func (m ApplicationPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationPolicyValidationError ¶ added in v0.3.0
type ApplicationPolicyValidationError struct {
// contains filtered or unexported fields
}
ApplicationPolicyValidationError is the validation error returned by ApplicationPolicy.Validate if the designated constraints aren't met.
func (ApplicationPolicyValidationError) Cause ¶ added in v0.3.0
func (e ApplicationPolicyValidationError) Cause() error
Cause function returns cause value.
func (ApplicationPolicyValidationError) Error ¶ added in v0.3.0
func (e ApplicationPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationPolicyValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationPolicyValidationError) Field ¶ added in v0.3.0
func (e ApplicationPolicyValidationError) Field() string
Field function returns field value.
func (ApplicationPolicyValidationError) Key ¶ added in v0.3.0
func (e ApplicationPolicyValidationError) Key() bool
Key function returns key value.
func (ApplicationPolicyValidationError) Reason ¶ added in v0.3.0
func (e ApplicationPolicyValidationError) Reason() string
Reason function returns reason value.
type ApplicationSpec ¶ added in v0.3.0
type ApplicationSpec struct { // Components associated with the application. Components []*ApplicationComponent `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` // Policies defines global characteristics for all components in the application. The evaluation of policies occurrs // after the components are rendered, and before the workflow steps are triggered. Policies []*ApplicationPolicy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` // Workflow associated with the application. If present, the workflow defines a series of steps that are executed in order // with the AppRevision as source. Notice that the runtime does not applies resources if a workflow is present, as this is // delegated to the workflow processing stage. Workflow *ApplicationWorkflow `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` // contains filtered or unexported fields }
ApplicationSpec with the specification of the application including components, policies and workflows.
func (*ApplicationSpec) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationSpec) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationSpec.ProtoReflect.Descriptor instead.
func (*ApplicationSpec) GetComponents ¶ added in v0.3.0
func (x *ApplicationSpec) GetComponents() []*ApplicationComponent
func (*ApplicationSpec) GetPolicies ¶ added in v0.3.0
func (x *ApplicationSpec) GetPolicies() []*ApplicationPolicy
func (*ApplicationSpec) GetWorkflow ¶ added in v0.3.0
func (x *ApplicationSpec) GetWorkflow() *ApplicationWorkflow
func (*ApplicationSpec) ProtoMessage ¶ added in v0.3.0
func (*ApplicationSpec) ProtoMessage()
func (*ApplicationSpec) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationSpec) ProtoReflect() protoreflect.Message
func (*ApplicationSpec) Reset ¶ added in v0.3.0
func (x *ApplicationSpec) Reset()
func (*ApplicationSpec) String ¶ added in v0.3.0
func (x *ApplicationSpec) String() string
func (*ApplicationSpec) Validate ¶ added in v0.3.0
func (m *ApplicationSpec) Validate() error
Validate checks the field values on ApplicationSpec 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 (*ApplicationSpec) ValidateAll ¶ added in v0.3.0
func (m *ApplicationSpec) ValidateAll() error
ValidateAll checks the field values on ApplicationSpec 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 ApplicationSpecMultiError, or nil if none found.
type ApplicationSpecMultiError ¶ added in v0.3.0
type ApplicationSpecMultiError []error
ApplicationSpecMultiError is an error wrapping multiple validation errors returned by ApplicationSpec.ValidateAll() if the designated constraints aren't met.
func (ApplicationSpecMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationSpecMultiError) Error ¶ added in v0.3.0
func (m ApplicationSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationSpecValidationError ¶ added in v0.3.0
type ApplicationSpecValidationError struct {
// contains filtered or unexported fields
}
ApplicationSpecValidationError is the validation error returned by ApplicationSpec.Validate if the designated constraints aren't met.
func (ApplicationSpecValidationError) Cause ¶ added in v0.3.0
func (e ApplicationSpecValidationError) Cause() error
Cause function returns cause value.
func (ApplicationSpecValidationError) Error ¶ added in v0.3.0
func (e ApplicationSpecValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationSpecValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationSpecValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationSpecValidationError) Field ¶ added in v0.3.0
func (e ApplicationSpecValidationError) Field() string
Field function returns field value.
func (ApplicationSpecValidationError) Key ¶ added in v0.3.0
func (e ApplicationSpecValidationError) Key() bool
Key function returns key value.
func (ApplicationSpecValidationError) Reason ¶ added in v0.3.0
func (e ApplicationSpecValidationError) Reason() string
Reason function returns reason value.
type ApplicationStatus ¶ added in v0.3.0
type ApplicationStatus struct { // Conditions of the application. Conditions []*Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` // Status of the application. Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Services record the status of the application components. Services []*ApplicationComponentStatus `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` // Workflow status. Workflow *WorkflowStatus `protobuf:"bytes,4,opt,name=workflow,proto3" json:"workflow,omitempty"` // contains filtered or unexported fields }
ApplicationStatus with the overall application status including components, traits, and workflow.
func (*ApplicationStatus) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationStatus) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationStatus.ProtoReflect.Descriptor instead.
func (*ApplicationStatus) GetConditions ¶ added in v0.3.0
func (x *ApplicationStatus) GetConditions() []*Condition
func (*ApplicationStatus) GetServices ¶ added in v0.3.0
func (x *ApplicationStatus) GetServices() []*ApplicationComponentStatus
func (*ApplicationStatus) GetStatus ¶ added in v0.3.0
func (x *ApplicationStatus) GetStatus() string
func (*ApplicationStatus) GetWorkflow ¶ added in v0.3.0
func (x *ApplicationStatus) GetWorkflow() *WorkflowStatus
func (*ApplicationStatus) ProtoMessage ¶ added in v0.3.0
func (*ApplicationStatus) ProtoMessage()
func (*ApplicationStatus) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationStatus) ProtoReflect() protoreflect.Message
func (*ApplicationStatus) Reset ¶ added in v0.3.0
func (x *ApplicationStatus) Reset()
func (*ApplicationStatus) String ¶ added in v0.3.0
func (x *ApplicationStatus) String() string
func (*ApplicationStatus) Validate ¶ added in v0.3.0
func (m *ApplicationStatus) Validate() error
Validate checks the field values on ApplicationStatus 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 (*ApplicationStatus) ValidateAll ¶ added in v0.3.0
func (m *ApplicationStatus) ValidateAll() error
ValidateAll checks the field values on ApplicationStatus 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 ApplicationStatusMultiError, or nil if none found.
type ApplicationStatusMultiError ¶ added in v0.3.0
type ApplicationStatusMultiError []error
ApplicationStatusMultiError is an error wrapping multiple validation errors returned by ApplicationStatus.ValidateAll() if the designated constraints aren't met.
func (ApplicationStatusMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationStatusMultiError) Error ¶ added in v0.3.0
func (m ApplicationStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationStatusValidationError ¶ added in v0.3.0
type ApplicationStatusValidationError struct {
// contains filtered or unexported fields
}
ApplicationStatusValidationError is the validation error returned by ApplicationStatus.Validate if the designated constraints aren't met.
func (ApplicationStatusValidationError) Cause ¶ added in v0.3.0
func (e ApplicationStatusValidationError) Cause() error
Cause function returns cause value.
func (ApplicationStatusValidationError) Error ¶ added in v0.3.0
func (e ApplicationStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationStatusValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationStatusValidationError) Field ¶ added in v0.3.0
func (e ApplicationStatusValidationError) Field() string
Field function returns field value.
func (ApplicationStatusValidationError) Key ¶ added in v0.3.0
func (e ApplicationStatusValidationError) Key() bool
Key function returns key value.
func (ApplicationStatusValidationError) Reason ¶ added in v0.3.0
func (e ApplicationStatusValidationError) Reason() string
Reason function returns reason value.
type ApplicationTrait ¶ added in v0.3.0
type ApplicationTrait struct { // Type of the trait. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Properties of the trait Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
ApplicationTrait with the properties of a traits that is being applied to a component.
func (*ApplicationTrait) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationTrait) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationTrait.ProtoReflect.Descriptor instead.
func (*ApplicationTrait) GetProperties ¶ added in v0.3.0
func (x *ApplicationTrait) GetProperties() *structpb.Struct
func (*ApplicationTrait) GetType ¶ added in v0.3.0
func (x *ApplicationTrait) GetType() string
func (*ApplicationTrait) ProtoMessage ¶ added in v0.3.0
func (*ApplicationTrait) ProtoMessage()
func (*ApplicationTrait) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationTrait) ProtoReflect() protoreflect.Message
func (*ApplicationTrait) Reset ¶ added in v0.3.0
func (x *ApplicationTrait) Reset()
func (*ApplicationTrait) String ¶ added in v0.3.0
func (x *ApplicationTrait) String() string
func (*ApplicationTrait) Validate ¶ added in v0.3.0
func (m *ApplicationTrait) Validate() error
Validate checks the field values on ApplicationTrait 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 (*ApplicationTrait) ValidateAll ¶ added in v0.3.0
func (m *ApplicationTrait) ValidateAll() error
ValidateAll checks the field values on ApplicationTrait 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 ApplicationTraitMultiError, or nil if none found.
type ApplicationTraitMultiError ¶ added in v0.3.0
type ApplicationTraitMultiError []error
ApplicationTraitMultiError is an error wrapping multiple validation errors returned by ApplicationTrait.ValidateAll() if the designated constraints aren't met.
func (ApplicationTraitMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationTraitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationTraitMultiError) Error ¶ added in v0.3.0
func (m ApplicationTraitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationTraitStatus ¶ added in v0.3.0
type ApplicationTraitStatus struct { // Type with the trait name Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Healthy with a bool to indicate if the trait is healthy or no Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"` // Message with information about health status of trait Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
ApplicationTraitStatus defines the status of a trait linked to a component.
func (*ApplicationTraitStatus) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationTraitStatus) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationTraitStatus.ProtoReflect.Descriptor instead.
func (*ApplicationTraitStatus) GetHealthy ¶ added in v0.3.0
func (x *ApplicationTraitStatus) GetHealthy() bool
func (*ApplicationTraitStatus) GetMessage ¶ added in v0.3.0
func (x *ApplicationTraitStatus) GetMessage() string
func (*ApplicationTraitStatus) GetType ¶ added in v0.3.0
func (x *ApplicationTraitStatus) GetType() string
func (*ApplicationTraitStatus) ProtoMessage ¶ added in v0.3.0
func (*ApplicationTraitStatus) ProtoMessage()
func (*ApplicationTraitStatus) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationTraitStatus) ProtoReflect() protoreflect.Message
func (*ApplicationTraitStatus) Reset ¶ added in v0.3.0
func (x *ApplicationTraitStatus) Reset()
func (*ApplicationTraitStatus) String ¶ added in v0.3.0
func (x *ApplicationTraitStatus) String() string
func (*ApplicationTraitStatus) Validate ¶ added in v0.3.0
func (m *ApplicationTraitStatus) Validate() error
Validate checks the field values on ApplicationTraitStatus 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 (*ApplicationTraitStatus) ValidateAll ¶ added in v0.3.0
func (m *ApplicationTraitStatus) ValidateAll() error
ValidateAll checks the field values on ApplicationTraitStatus 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 ApplicationTraitStatusMultiError, or nil if none found.
type ApplicationTraitStatusMultiError ¶ added in v0.3.0
type ApplicationTraitStatusMultiError []error
ApplicationTraitStatusMultiError is an error wrapping multiple validation errors returned by ApplicationTraitStatus.ValidateAll() if the designated constraints aren't met.
func (ApplicationTraitStatusMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationTraitStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationTraitStatusMultiError) Error ¶ added in v0.3.0
func (m ApplicationTraitStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationTraitStatusValidationError ¶ added in v0.3.0
type ApplicationTraitStatusValidationError struct {
// contains filtered or unexported fields
}
ApplicationTraitStatusValidationError is the validation error returned by ApplicationTraitStatus.Validate if the designated constraints aren't met.
func (ApplicationTraitStatusValidationError) Cause ¶ added in v0.3.0
func (e ApplicationTraitStatusValidationError) Cause() error
Cause function returns cause value.
func (ApplicationTraitStatusValidationError) Error ¶ added in v0.3.0
func (e ApplicationTraitStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationTraitStatusValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationTraitStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationTraitStatusValidationError) Field ¶ added in v0.3.0
func (e ApplicationTraitStatusValidationError) Field() string
Field function returns field value.
func (ApplicationTraitStatusValidationError) Key ¶ added in v0.3.0
func (e ApplicationTraitStatusValidationError) Key() bool
Key function returns key value.
func (ApplicationTraitStatusValidationError) Reason ¶ added in v0.3.0
func (e ApplicationTraitStatusValidationError) Reason() string
Reason function returns reason value.
type ApplicationTraitValidationError ¶ added in v0.3.0
type ApplicationTraitValidationError struct {
// contains filtered or unexported fields
}
ApplicationTraitValidationError is the validation error returned by ApplicationTrait.Validate if the designated constraints aren't met.
func (ApplicationTraitValidationError) Cause ¶ added in v0.3.0
func (e ApplicationTraitValidationError) Cause() error
Cause function returns cause value.
func (ApplicationTraitValidationError) Error ¶ added in v0.3.0
func (e ApplicationTraitValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationTraitValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationTraitValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationTraitValidationError) Field ¶ added in v0.3.0
func (e ApplicationTraitValidationError) Field() string
Field function returns field value.
func (ApplicationTraitValidationError) Key ¶ added in v0.3.0
func (e ApplicationTraitValidationError) Key() bool
Key function returns key value.
func (ApplicationTraitValidationError) Reason ¶ added in v0.3.0
func (e ApplicationTraitValidationError) Reason() string
Reason function returns reason value.
type ApplicationValidationError ¶ added in v0.3.0
type ApplicationValidationError struct {
// contains filtered or unexported fields
}
ApplicationValidationError is the validation error returned by Application.Validate if the designated constraints aren't met.
func (ApplicationValidationError) Cause ¶ added in v0.3.0
func (e ApplicationValidationError) Cause() error
Cause function returns cause value.
func (ApplicationValidationError) Error ¶ added in v0.3.0
func (e ApplicationValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationValidationError) Field ¶ added in v0.3.0
func (e ApplicationValidationError) Field() string
Field function returns field value.
func (ApplicationValidationError) Key ¶ added in v0.3.0
func (e ApplicationValidationError) Key() bool
Key function returns key value.
func (ApplicationValidationError) Reason ¶ added in v0.3.0
func (e ApplicationValidationError) Reason() string
Reason function returns reason value.
type ApplicationWorkflow ¶ added in v0.3.0
type ApplicationWorkflow struct { // steps with an array of steps Steps []*WorkflowStep `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
ApplicationWorkflow defines a workflow that is executed at an application level.
func (*ApplicationWorkflow) Descriptor
deprecated
added in
v0.3.0
func (*ApplicationWorkflow) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationWorkflow.ProtoReflect.Descriptor instead.
func (*ApplicationWorkflow) GetSteps ¶ added in v0.3.0
func (x *ApplicationWorkflow) GetSteps() []*WorkflowStep
func (*ApplicationWorkflow) ProtoMessage ¶ added in v0.3.0
func (*ApplicationWorkflow) ProtoMessage()
func (*ApplicationWorkflow) ProtoReflect ¶ added in v0.3.0
func (x *ApplicationWorkflow) ProtoReflect() protoreflect.Message
func (*ApplicationWorkflow) Reset ¶ added in v0.3.0
func (x *ApplicationWorkflow) Reset()
func (*ApplicationWorkflow) String ¶ added in v0.3.0
func (x *ApplicationWorkflow) String() string
func (*ApplicationWorkflow) Validate ¶ added in v0.3.0
func (m *ApplicationWorkflow) Validate() error
Validate checks the field values on ApplicationWorkflow 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 (*ApplicationWorkflow) ValidateAll ¶ added in v0.3.0
func (m *ApplicationWorkflow) ValidateAll() error
ValidateAll checks the field values on ApplicationWorkflow 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 ApplicationWorkflowMultiError, or nil if none found.
type ApplicationWorkflowMultiError ¶ added in v0.3.0
type ApplicationWorkflowMultiError []error
ApplicationWorkflowMultiError is an error wrapping multiple validation errors returned by ApplicationWorkflow.ValidateAll() if the designated constraints aren't met.
func (ApplicationWorkflowMultiError) AllErrors ¶ added in v0.3.0
func (m ApplicationWorkflowMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationWorkflowMultiError) Error ¶ added in v0.3.0
func (m ApplicationWorkflowMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationWorkflowValidationError ¶ added in v0.3.0
type ApplicationWorkflowValidationError struct {
// contains filtered or unexported fields
}
ApplicationWorkflowValidationError is the validation error returned by ApplicationWorkflow.Validate if the designated constraints aren't met.
func (ApplicationWorkflowValidationError) Cause ¶ added in v0.3.0
func (e ApplicationWorkflowValidationError) Cause() error
Cause function returns cause value.
func (ApplicationWorkflowValidationError) Error ¶ added in v0.3.0
func (e ApplicationWorkflowValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationWorkflowValidationError) ErrorName ¶ added in v0.3.0
func (e ApplicationWorkflowValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationWorkflowValidationError) Field ¶ added in v0.3.0
func (e ApplicationWorkflowValidationError) Field() string
Field function returns field value.
func (ApplicationWorkflowValidationError) Key ¶ added in v0.3.0
func (e ApplicationWorkflowValidationError) Key() bool
Key function returns key value.
func (ApplicationWorkflowValidationError) Reason ¶ added in v0.3.0
func (e ApplicationWorkflowValidationError) Reason() string
Reason function returns reason value.
type CUE ¶
type CUE struct { // Template defines the abstraction template data of the capability, it will replace the old CUE template in extension field. // Template is a required field if CUE is defined in Capability Definition. Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
CUE defines the encapsulation in CUE format.
func (*CUE) Descriptor
deprecated
func (*CUE) GetTemplate ¶
func (*CUE) ProtoMessage ¶
func (*CUE) ProtoMessage()
func (*CUE) ProtoReflect ¶
func (x *CUE) ProtoReflect() protoreflect.Message
func (*CUE) Validate ¶
Validate checks the field values on CUE 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 (*CUE) ValidateAll ¶
ValidateAll checks the field values on CUE 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 CUEMultiError, or nil if none found.
type CUEMultiError ¶
type CUEMultiError []error
CUEMultiError is an error wrapping multiple validation errors returned by CUE.ValidateAll() if the designated constraints aren't met.
func (CUEMultiError) AllErrors ¶
func (m CUEMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CUEMultiError) Error ¶
func (m CUEMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CUEValidationError ¶
type CUEValidationError struct {
// contains filtered or unexported fields
}
CUEValidationError is the validation error returned by CUE.Validate if the designated constraints aren't met.
func (CUEValidationError) Cause ¶
func (e CUEValidationError) Cause() error
Cause function returns cause value.
func (CUEValidationError) Error ¶
func (e CUEValidationError) Error() string
Error satisfies the builtin error interface
func (CUEValidationError) ErrorName ¶
func (e CUEValidationError) ErrorName() string
ErrorName returns error name.
func (CUEValidationError) Field ¶
func (e CUEValidationError) Field() string
Field function returns field value.
func (CUEValidationError) Key ¶
func (e CUEValidationError) Key() bool
Key function returns key value.
func (CUEValidationError) Reason ¶
func (e CUEValidationError) Reason() string
Reason function returns reason value.
type ChildResourceKind ¶
type ChildResourceKind struct { ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Selector map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChildResourceKind) Descriptor
deprecated
func (*ChildResourceKind) Descriptor() ([]byte, []int)
Deprecated: Use ChildResourceKind.ProtoReflect.Descriptor instead.
func (*ChildResourceKind) GetApiVersion ¶
func (x *ChildResourceKind) GetApiVersion() string
func (*ChildResourceKind) GetKind ¶
func (x *ChildResourceKind) GetKind() string
func (*ChildResourceKind) GetSelector ¶
func (x *ChildResourceKind) GetSelector() map[string]string
func (*ChildResourceKind) ProtoMessage ¶
func (*ChildResourceKind) ProtoMessage()
func (*ChildResourceKind) ProtoReflect ¶
func (x *ChildResourceKind) ProtoReflect() protoreflect.Message
func (*ChildResourceKind) Reset ¶
func (x *ChildResourceKind) Reset()
func (*ChildResourceKind) String ¶
func (x *ChildResourceKind) String() string
func (*ChildResourceKind) Validate ¶
func (m *ChildResourceKind) Validate() error
Validate checks the field values on ChildResourceKind 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 (*ChildResourceKind) ValidateAll ¶
func (m *ChildResourceKind) ValidateAll() error
ValidateAll checks the field values on ChildResourceKind 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 ChildResourceKindMultiError, or nil if none found.
type ChildResourceKindMultiError ¶
type ChildResourceKindMultiError []error
ChildResourceKindMultiError is an error wrapping multiple validation errors returned by ChildResourceKind.ValidateAll() if the designated constraints aren't met.
func (ChildResourceKindMultiError) AllErrors ¶
func (m ChildResourceKindMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChildResourceKindMultiError) Error ¶
func (m ChildResourceKindMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChildResourceKindValidationError ¶
type ChildResourceKindValidationError struct {
// contains filtered or unexported fields
}
ChildResourceKindValidationError is the validation error returned by ChildResourceKind.Validate if the designated constraints aren't met.
func (ChildResourceKindValidationError) Cause ¶
func (e ChildResourceKindValidationError) Cause() error
Cause function returns cause value.
func (ChildResourceKindValidationError) Error ¶
func (e ChildResourceKindValidationError) Error() string
Error satisfies the builtin error interface
func (ChildResourceKindValidationError) ErrorName ¶
func (e ChildResourceKindValidationError) ErrorName() string
ErrorName returns error name.
func (ChildResourceKindValidationError) Field ¶
func (e ChildResourceKindValidationError) Field() string
Field function returns field value.
func (ChildResourceKindValidationError) Key ¶
func (e ChildResourceKindValidationError) Key() bool
Key function returns key value.
func (ChildResourceKindValidationError) Reason ¶
func (e ChildResourceKindValidationError) Reason() string
Reason function returns reason value.
type ComponentDefinition ¶
type ComponentDefinition struct { // ApiVersion of the given component definition. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the component definition. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with the component definition. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the component definition. Spec *ComponentDefinitionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
ComponentDefinition with the OAM3 componentdefinition.
func (*ComponentDefinition) Descriptor
deprecated
func (*ComponentDefinition) Descriptor() ([]byte, []int)
Deprecated: Use ComponentDefinition.ProtoReflect.Descriptor instead.
func (*ComponentDefinition) GetApiVersion ¶
func (x *ComponentDefinition) GetApiVersion() string
func (*ComponentDefinition) GetKind ¶
func (x *ComponentDefinition) GetKind() string
func (*ComponentDefinition) GetMetadata ¶
func (x *ComponentDefinition) GetMetadata() *Metadata
func (*ComponentDefinition) GetSpec ¶
func (x *ComponentDefinition) GetSpec() *ComponentDefinitionSpec
func (*ComponentDefinition) ProtoMessage ¶
func (*ComponentDefinition) ProtoMessage()
func (*ComponentDefinition) ProtoReflect ¶
func (x *ComponentDefinition) ProtoReflect() protoreflect.Message
func (*ComponentDefinition) Reset ¶
func (x *ComponentDefinition) Reset()
func (*ComponentDefinition) String ¶
func (x *ComponentDefinition) String() string
func (*ComponentDefinition) Validate ¶
func (m *ComponentDefinition) Validate() error
Validate checks the field values on ComponentDefinition 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 (*ComponentDefinition) ValidateAll ¶
func (m *ComponentDefinition) ValidateAll() error
ValidateAll checks the field values on ComponentDefinition 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 ComponentDefinitionMultiError, or nil if none found.
type ComponentDefinitionMultiError ¶
type ComponentDefinitionMultiError []error
ComponentDefinitionMultiError is an error wrapping multiple validation errors returned by ComponentDefinition.ValidateAll() if the designated constraints aren't met.
func (ComponentDefinitionMultiError) AllErrors ¶
func (m ComponentDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComponentDefinitionMultiError) Error ¶
func (m ComponentDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComponentDefinitionSpec ¶
type ComponentDefinitionSpec struct { // Workload is a workload type descriptor Workload *WorkloadTypeDescriptor `protobuf:"bytes,1,opt,name=workload,proto3" json:"workload,omitempty"` // ChildResourceKinds are the list of GVK of the child resources this workload generates ChildResourceKinds []*ChildResourceKind `protobuf:"bytes,2,rep,name=child_resource_kinds,json=childResourceKinds,proto3" json:"child_resource_kinds,omitempty"` // RevisionLabel indicates which label for underlying resources(e.g. pods) of this workload // can be used by trait to create resource selectors(e.g. label selector for pods). RevisionLabel string `protobuf:"bytes,3,opt,name=revision_label,json=revisionLabel,proto3" json:"revision_label,omitempty"` // PodSpecPath indicates where/if this workload has K8s podSpec field // if one workload has podSpec, trait can do lot's of assumption such as port, env, volume fields. PodSpecPath string `protobuf:"bytes,4,opt,name=pod_spec_path,json=podSpecPath,proto3" json:"pod_spec_path,omitempty"` // Status defines the custom health policy and status message for workload Status *Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // Schematic defines the data format and template of the encapsulation of the workload Schematic *Schematic `protobuf:"bytes,6,opt,name=schematic,proto3" json:"schematic,omitempty"` // contains filtered or unexported fields }
ComponentDefinitionSpec with the component specification.
func (*ComponentDefinitionSpec) Descriptor
deprecated
func (*ComponentDefinitionSpec) Descriptor() ([]byte, []int)
Deprecated: Use ComponentDefinitionSpec.ProtoReflect.Descriptor instead.
func (*ComponentDefinitionSpec) GetChildResourceKinds ¶
func (x *ComponentDefinitionSpec) GetChildResourceKinds() []*ChildResourceKind
func (*ComponentDefinitionSpec) GetPodSpecPath ¶
func (x *ComponentDefinitionSpec) GetPodSpecPath() string
func (*ComponentDefinitionSpec) GetRevisionLabel ¶
func (x *ComponentDefinitionSpec) GetRevisionLabel() string
func (*ComponentDefinitionSpec) GetSchematic ¶
func (x *ComponentDefinitionSpec) GetSchematic() *Schematic
func (*ComponentDefinitionSpec) GetStatus ¶
func (x *ComponentDefinitionSpec) GetStatus() *Status
func (*ComponentDefinitionSpec) GetWorkload ¶
func (x *ComponentDefinitionSpec) GetWorkload() *WorkloadTypeDescriptor
func (*ComponentDefinitionSpec) ProtoMessage ¶
func (*ComponentDefinitionSpec) ProtoMessage()
func (*ComponentDefinitionSpec) ProtoReflect ¶
func (x *ComponentDefinitionSpec) ProtoReflect() protoreflect.Message
func (*ComponentDefinitionSpec) Reset ¶
func (x *ComponentDefinitionSpec) Reset()
func (*ComponentDefinitionSpec) String ¶
func (x *ComponentDefinitionSpec) String() string
func (*ComponentDefinitionSpec) Validate ¶
func (m *ComponentDefinitionSpec) Validate() error
Validate checks the field values on ComponentDefinitionSpec 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 (*ComponentDefinitionSpec) ValidateAll ¶
func (m *ComponentDefinitionSpec) ValidateAll() error
ValidateAll checks the field values on ComponentDefinitionSpec 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 ComponentDefinitionSpecMultiError, or nil if none found.
type ComponentDefinitionSpecMultiError ¶
type ComponentDefinitionSpecMultiError []error
ComponentDefinitionSpecMultiError is an error wrapping multiple validation errors returned by ComponentDefinitionSpec.ValidateAll() if the designated constraints aren't met.
func (ComponentDefinitionSpecMultiError) AllErrors ¶
func (m ComponentDefinitionSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComponentDefinitionSpecMultiError) Error ¶
func (m ComponentDefinitionSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComponentDefinitionSpecValidationError ¶
type ComponentDefinitionSpecValidationError struct {
// contains filtered or unexported fields
}
ComponentDefinitionSpecValidationError is the validation error returned by ComponentDefinitionSpec.Validate if the designated constraints aren't met.
func (ComponentDefinitionSpecValidationError) Cause ¶
func (e ComponentDefinitionSpecValidationError) Cause() error
Cause function returns cause value.
func (ComponentDefinitionSpecValidationError) Error ¶
func (e ComponentDefinitionSpecValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentDefinitionSpecValidationError) ErrorName ¶
func (e ComponentDefinitionSpecValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentDefinitionSpecValidationError) Field ¶
func (e ComponentDefinitionSpecValidationError) Field() string
Field function returns field value.
func (ComponentDefinitionSpecValidationError) Key ¶
func (e ComponentDefinitionSpecValidationError) Key() bool
Key function returns key value.
func (ComponentDefinitionSpecValidationError) Reason ¶
func (e ComponentDefinitionSpecValidationError) Reason() string
Reason function returns reason value.
type ComponentDefinitionValidationError ¶
type ComponentDefinitionValidationError struct {
// contains filtered or unexported fields
}
ComponentDefinitionValidationError is the validation error returned by ComponentDefinition.Validate if the designated constraints aren't met.
func (ComponentDefinitionValidationError) Cause ¶
func (e ComponentDefinitionValidationError) Cause() error
Cause function returns cause value.
func (ComponentDefinitionValidationError) Error ¶
func (e ComponentDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentDefinitionValidationError) ErrorName ¶
func (e ComponentDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentDefinitionValidationError) Field ¶
func (e ComponentDefinitionValidationError) Field() string
Field function returns field value.
func (ComponentDefinitionValidationError) Key ¶
func (e ComponentDefinitionValidationError) Key() bool
Key function returns key value.
func (ComponentDefinitionValidationError) Reason ¶
func (e ComponentDefinitionValidationError) Reason() string
Reason function returns reason value.
type Condition ¶ added in v0.3.0
type Condition struct { // Type of this condition. At most one of each condition type may apply to // a resource at any point in time. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Status of this condition Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // LastTransitionTime is the last time this condition transitioned from one // status to another. // It is represented in RFC3339 form and is in UTC. LastTransitionTime string `protobuf:"bytes,3,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"` // Reason for this condition's last transition from one status to another. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // Message containing details about this condition's last transition from // one status to another, if any. Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Condition in which a resource can be.
func (*Condition) Descriptor
deprecated
added in
v0.3.0
func (*Condition) GetLastTransitionTime ¶ added in v0.3.0
func (*Condition) GetMessage ¶ added in v0.3.0
func (*Condition) ProtoMessage ¶ added in v0.3.0
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶ added in v0.3.0
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) Validate ¶ added in v0.3.0
Validate checks the field values on Condition 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 (*Condition) ValidateAll ¶ added in v0.3.0
ValidateAll checks the field values on Condition 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 ConditionMultiError, or nil if none found.
type ConditionMultiError ¶ added in v0.3.0
type ConditionMultiError []error
ConditionMultiError is an error wrapping multiple validation errors returned by Condition.ValidateAll() if the designated constraints aren't met.
func (ConditionMultiError) AllErrors ¶ added in v0.3.0
func (m ConditionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConditionMultiError) Error ¶ added in v0.3.0
func (m ConditionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConditionValidationError ¶ added in v0.3.0
type ConditionValidationError struct {
// contains filtered or unexported fields
}
ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.
func (ConditionValidationError) Cause ¶ added in v0.3.0
func (e ConditionValidationError) Cause() error
Cause function returns cause value.
func (ConditionValidationError) Error ¶ added in v0.3.0
func (e ConditionValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionValidationError) ErrorName ¶ added in v0.3.0
func (e ConditionValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionValidationError) Field ¶ added in v0.3.0
func (e ConditionValidationError) Field() string
Field function returns field value.
func (ConditionValidationError) Key ¶ added in v0.3.0
func (e ConditionValidationError) Key() bool
Key function returns key value.
func (ConditionValidationError) Reason ¶ added in v0.3.0
func (e ConditionValidationError) Reason() string
Reason function returns reason value.
type HELM ¶
type HELM struct { // Release records a Helm release used by a Helm module workload. Release *structpb.Struct `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"` // HelmRelease records a Helm repository used by a Helm module workload. Repository *structpb.Struct `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
Helm represents resources used by a Helm module
func (*HELM) Descriptor
deprecated
func (*HELM) GetRelease ¶
func (*HELM) GetRepository ¶
func (*HELM) ProtoMessage ¶
func (*HELM) ProtoMessage()
func (*HELM) ProtoReflect ¶
func (x *HELM) ProtoReflect() protoreflect.Message
func (*HELM) Validate ¶
Validate checks the field values on HELM 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 (*HELM) ValidateAll ¶
ValidateAll checks the field values on HELM 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 HELMMultiError, or nil if none found.
type HELMMultiError ¶
type HELMMultiError []error
HELMMultiError is an error wrapping multiple validation errors returned by HELM.ValidateAll() if the designated constraints aren't met.
func (HELMMultiError) AllErrors ¶
func (m HELMMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HELMMultiError) Error ¶
func (m HELMMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HELMValidationError ¶
type HELMValidationError struct {
// contains filtered or unexported fields
}
HELMValidationError is the validation error returned by HELM.Validate if the designated constraints aren't met.
func (HELMValidationError) Cause ¶
func (e HELMValidationError) Cause() error
Cause function returns cause value.
func (HELMValidationError) Error ¶
func (e HELMValidationError) Error() string
Error satisfies the builtin error interface
func (HELMValidationError) ErrorName ¶
func (e HELMValidationError) ErrorName() string
ErrorName returns error name.
func (HELMValidationError) Field ¶
func (e HELMValidationError) Field() string
Field function returns field value.
func (HELMValidationError) Key ¶
func (e HELMValidationError) Key() bool
Key function returns key value.
func (HELMValidationError) Reason ¶
func (e HELMValidationError) Reason() string
Reason function returns reason value.
type InputItem ¶ added in v0.3.0
type InputItem struct { // ParameterKey poiting to where the value will be applied. ParameterKey string `protobuf:"bytes,1,opt,name=parameter_key,json=parameterKey,proto3" json:"parameter_key,omitempty"` // From indicating the source of the value. From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
InputItem defines values that are taken from other components or workflow steps and can be used as parameters.
func (*InputItem) Descriptor
deprecated
added in
v0.3.0
func (*InputItem) GetParameterKey ¶ added in v0.3.0
func (*InputItem) ProtoMessage ¶ added in v0.3.0
func (*InputItem) ProtoMessage()
func (*InputItem) ProtoReflect ¶ added in v0.3.0
func (x *InputItem) ProtoReflect() protoreflect.Message
func (*InputItem) Validate ¶ added in v0.3.0
Validate checks the field values on InputItem 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 (*InputItem) ValidateAll ¶ added in v0.3.0
ValidateAll checks the field values on InputItem 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 InputItemMultiError, or nil if none found.
type InputItemMultiError ¶ added in v0.3.0
type InputItemMultiError []error
InputItemMultiError is an error wrapping multiple validation errors returned by InputItem.ValidateAll() if the designated constraints aren't met.
func (InputItemMultiError) AllErrors ¶ added in v0.3.0
func (m InputItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InputItemMultiError) Error ¶ added in v0.3.0
func (m InputItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InputItemValidationError ¶ added in v0.3.0
type InputItemValidationError struct {
// contains filtered or unexported fields
}
InputItemValidationError is the validation error returned by InputItem.Validate if the designated constraints aren't met.
func (InputItemValidationError) Cause ¶ added in v0.3.0
func (e InputItemValidationError) Cause() error
Cause function returns cause value.
func (InputItemValidationError) Error ¶ added in v0.3.0
func (e InputItemValidationError) Error() string
Error satisfies the builtin error interface
func (InputItemValidationError) ErrorName ¶ added in v0.3.0
func (e InputItemValidationError) ErrorName() string
ErrorName returns error name.
func (InputItemValidationError) Field ¶ added in v0.3.0
func (e InputItemValidationError) Field() string
Field function returns field value.
func (InputItemValidationError) Key ¶ added in v0.3.0
func (e InputItemValidationError) Key() bool
Key function returns key value.
func (InputItemValidationError) Reason ¶ added in v0.3.0
func (e InputItemValidationError) Reason() string
Reason function returns reason value.
type Kube ¶
type Kube struct { // Template defines the raw Kubernetes resource Template *structpb.Struct `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // Parameters defines configurable parameters Parameters []*KubeParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
Kube defines the encapsulation in raw Kubernetes resource format
func (*Kube) Descriptor
deprecated
func (*Kube) GetParameters ¶
func (x *Kube) GetParameters() []*KubeParameter
func (*Kube) GetTemplate ¶
func (*Kube) ProtoMessage ¶
func (*Kube) ProtoMessage()
func (*Kube) ProtoReflect ¶
func (x *Kube) ProtoReflect() protoreflect.Message
func (*Kube) Validate ¶
Validate checks the field values on Kube 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 (*Kube) ValidateAll ¶
ValidateAll checks the field values on Kube 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 KubeMultiError, or nil if none found.
type KubeMultiError ¶
type KubeMultiError []error
KubeMultiError is an error wrapping multiple validation errors returned by Kube.ValidateAll() if the designated constraints aren't met.
func (KubeMultiError) AllErrors ¶
func (m KubeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubeMultiError) Error ¶
func (m KubeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubeParameter ¶ added in v0.5.0
type KubeParameter struct { // Name of the parameter Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // type with the type of the parameter. Only basic types supported (string, number and boolean) Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // FieldPaths with an array of JSON paths that will be overwritten by the value of this parameter. FieldPaths []string `protobuf:"bytes,3,rep,name=fieldPaths,proto3" json:"fieldPaths,omitempty"` // Required specifies if the value for this parameter must be supplied or not Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` // Description of the parameter Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
KubeParameter defines a component parameter
func (*KubeParameter) Descriptor
deprecated
added in
v0.5.0
func (*KubeParameter) Descriptor() ([]byte, []int)
Deprecated: Use KubeParameter.ProtoReflect.Descriptor instead.
func (*KubeParameter) GetDescription ¶ added in v0.5.0
func (x *KubeParameter) GetDescription() string
func (*KubeParameter) GetFieldPaths ¶ added in v0.5.0
func (x *KubeParameter) GetFieldPaths() []string
func (*KubeParameter) GetName ¶ added in v0.5.0
func (x *KubeParameter) GetName() string
func (*KubeParameter) GetRequired ¶ added in v0.5.0
func (x *KubeParameter) GetRequired() bool
func (*KubeParameter) GetType ¶ added in v0.5.0
func (x *KubeParameter) GetType() string
func (*KubeParameter) ProtoMessage ¶ added in v0.5.0
func (*KubeParameter) ProtoMessage()
func (*KubeParameter) ProtoReflect ¶ added in v0.5.0
func (x *KubeParameter) ProtoReflect() protoreflect.Message
func (*KubeParameter) Reset ¶ added in v0.5.0
func (x *KubeParameter) Reset()
func (*KubeParameter) String ¶ added in v0.5.0
func (x *KubeParameter) String() string
func (*KubeParameter) Validate ¶ added in v0.5.0
func (m *KubeParameter) Validate() error
Validate checks the field values on KubeParameter 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 (*KubeParameter) ValidateAll ¶ added in v0.5.0
func (m *KubeParameter) ValidateAll() error
ValidateAll checks the field values on KubeParameter 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 KubeParameterMultiError, or nil if none found.
type KubeParameterMultiError ¶ added in v0.5.0
type KubeParameterMultiError []error
KubeParameterMultiError is an error wrapping multiple validation errors returned by KubeParameter.ValidateAll() if the designated constraints aren't met.
func (KubeParameterMultiError) AllErrors ¶ added in v0.5.0
func (m KubeParameterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubeParameterMultiError) Error ¶ added in v0.5.0
func (m KubeParameterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubeParameterValidationError ¶ added in v0.5.0
type KubeParameterValidationError struct {
// contains filtered or unexported fields
}
KubeParameterValidationError is the validation error returned by KubeParameter.Validate if the designated constraints aren't met.
func (KubeParameterValidationError) Cause ¶ added in v0.5.0
func (e KubeParameterValidationError) Cause() error
Cause function returns cause value.
func (KubeParameterValidationError) Error ¶ added in v0.5.0
func (e KubeParameterValidationError) Error() string
Error satisfies the builtin error interface
func (KubeParameterValidationError) ErrorName ¶ added in v0.5.0
func (e KubeParameterValidationError) ErrorName() string
ErrorName returns error name.
func (KubeParameterValidationError) Field ¶ added in v0.5.0
func (e KubeParameterValidationError) Field() string
Field function returns field value.
func (KubeParameterValidationError) Key ¶ added in v0.5.0
func (e KubeParameterValidationError) Key() bool
Key function returns key value.
func (KubeParameterValidationError) Reason ¶ added in v0.5.0
func (e KubeParameterValidationError) Reason() string
Reason function returns reason value.
type KubeValidationError ¶
type KubeValidationError struct {
// contains filtered or unexported fields
}
KubeValidationError is the validation error returned by Kube.Validate if the designated constraints aren't met.
func (KubeValidationError) Cause ¶
func (e KubeValidationError) Cause() error
Cause function returns cause value.
func (KubeValidationError) Error ¶
func (e KubeValidationError) Error() string
Error satisfies the builtin error interface
func (KubeValidationError) ErrorName ¶
func (e KubeValidationError) ErrorName() string
ErrorName returns error name.
func (KubeValidationError) Field ¶
func (e KubeValidationError) Field() string
Field function returns field value.
func (KubeValidationError) Key ¶
func (e KubeValidationError) Key() bool
Key function returns key value.
func (KubeValidationError) Reason ¶
func (e KubeValidationError) Reason() string
Reason function returns reason value.
type Metadata ¶
type Metadata struct { // Name of the resource Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Annotations of the resource. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Labels related to the resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // UID is the unique in time and space value for this object. More info: http://kubernetes.io/docs/user-guide/identifiers#uids Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // CreationTimestamp with the server time when the object was created. // It is represented in RFC3339 form and is in UTC. CreationTimestamp string `protobuf:"bytes,5,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` // contains filtered or unexported fields }
Metadata associated with a kubernetes entity.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetAnnotations ¶
func (*Metadata) GetCreationTimestamp ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Validate ¶
Validate checks the field values on Metadata 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 (*Metadata) ValidateAll ¶
ValidateAll checks the field values on Metadata 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 MetadataMultiError, or nil if none found.
type MetadataMultiError ¶
type MetadataMultiError []error
MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.
func (MetadataMultiError) AllErrors ¶
func (m MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataMultiError) Error ¶
func (m MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type OutputItem ¶ added in v0.3.0
type OutputItem struct { // ValueFrom indicates the source of the value. ValueFrom string `protobuf:"bytes,1,opt,name=value_from,json=valueFrom,proto3" json:"value_from,omitempty"` // Name of the value for future referencing. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
OutputItem defines values that are exposed by this component or workflow step.
func (*OutputItem) Descriptor
deprecated
added in
v0.3.0
func (*OutputItem) Descriptor() ([]byte, []int)
Deprecated: Use OutputItem.ProtoReflect.Descriptor instead.
func (*OutputItem) GetName ¶ added in v0.3.0
func (x *OutputItem) GetName() string
func (*OutputItem) GetValueFrom ¶ added in v0.3.0
func (x *OutputItem) GetValueFrom() string
func (*OutputItem) ProtoMessage ¶ added in v0.3.0
func (*OutputItem) ProtoMessage()
func (*OutputItem) ProtoReflect ¶ added in v0.3.0
func (x *OutputItem) ProtoReflect() protoreflect.Message
func (*OutputItem) Reset ¶ added in v0.3.0
func (x *OutputItem) Reset()
func (*OutputItem) String ¶ added in v0.3.0
func (x *OutputItem) String() string
func (*OutputItem) Validate ¶ added in v0.3.0
func (m *OutputItem) Validate() error
Validate checks the field values on OutputItem 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 (*OutputItem) ValidateAll ¶ added in v0.3.0
func (m *OutputItem) ValidateAll() error
ValidateAll checks the field values on OutputItem 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 OutputItemMultiError, or nil if none found.
type OutputItemMultiError ¶ added in v0.3.0
type OutputItemMultiError []error
OutputItemMultiError is an error wrapping multiple validation errors returned by OutputItem.ValidateAll() if the designated constraints aren't met.
func (OutputItemMultiError) AllErrors ¶ added in v0.3.0
func (m OutputItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OutputItemMultiError) Error ¶ added in v0.3.0
func (m OutputItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OutputItemValidationError ¶ added in v0.3.0
type OutputItemValidationError struct {
// contains filtered or unexported fields
}
OutputItemValidationError is the validation error returned by OutputItem.Validate if the designated constraints aren't met.
func (OutputItemValidationError) Cause ¶ added in v0.3.0
func (e OutputItemValidationError) Cause() error
Cause function returns cause value.
func (OutputItemValidationError) Error ¶ added in v0.3.0
func (e OutputItemValidationError) Error() string
Error satisfies the builtin error interface
func (OutputItemValidationError) ErrorName ¶ added in v0.3.0
func (e OutputItemValidationError) ErrorName() string
ErrorName returns error name.
func (OutputItemValidationError) Field ¶ added in v0.3.0
func (e OutputItemValidationError) Field() string
Field function returns field value.
func (OutputItemValidationError) Key ¶ added in v0.3.0
func (e OutputItemValidationError) Key() bool
Key function returns key value.
func (OutputItemValidationError) Reason ¶ added in v0.3.0
func (e OutputItemValidationError) Reason() string
Reason function returns reason value.
type PolicyDefinition ¶ added in v0.2.0
type PolicyDefinition struct { // ApiVersion of the given policy definition. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the policy definition. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with the policy definition. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the policy definition. Spec *PolicyDefinitionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
PolicyDefinition is the Schema for the policydefinitions API
func (*PolicyDefinition) Descriptor
deprecated
added in
v0.2.0
func (*PolicyDefinition) Descriptor() ([]byte, []int)
Deprecated: Use PolicyDefinition.ProtoReflect.Descriptor instead.
func (*PolicyDefinition) GetApiVersion ¶ added in v0.2.0
func (x *PolicyDefinition) GetApiVersion() string
func (*PolicyDefinition) GetKind ¶ added in v0.2.0
func (x *PolicyDefinition) GetKind() string
func (*PolicyDefinition) GetMetadata ¶ added in v0.2.0
func (x *PolicyDefinition) GetMetadata() *Metadata
func (*PolicyDefinition) GetSpec ¶ added in v0.2.0
func (x *PolicyDefinition) GetSpec() *PolicyDefinitionSpec
func (*PolicyDefinition) ProtoMessage ¶ added in v0.2.0
func (*PolicyDefinition) ProtoMessage()
func (*PolicyDefinition) ProtoReflect ¶ added in v0.2.0
func (x *PolicyDefinition) ProtoReflect() protoreflect.Message
func (*PolicyDefinition) Reset ¶ added in v0.2.0
func (x *PolicyDefinition) Reset()
func (*PolicyDefinition) String ¶ added in v0.2.0
func (x *PolicyDefinition) String() string
func (*PolicyDefinition) Validate ¶ added in v0.2.0
func (m *PolicyDefinition) Validate() error
Validate checks the field values on PolicyDefinition 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 (*PolicyDefinition) ValidateAll ¶ added in v0.2.0
func (m *PolicyDefinition) ValidateAll() error
ValidateAll checks the field values on PolicyDefinition 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 PolicyDefinitionMultiError, or nil if none found.
type PolicyDefinitionMultiError ¶ added in v0.2.0
type PolicyDefinitionMultiError []error
PolicyDefinitionMultiError is an error wrapping multiple validation errors returned by PolicyDefinition.ValidateAll() if the designated constraints aren't met.
func (PolicyDefinitionMultiError) AllErrors ¶ added in v0.2.0
func (m PolicyDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyDefinitionMultiError) Error ¶ added in v0.2.0
func (m PolicyDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyDefinitionSpec ¶ added in v0.2.0
type PolicyDefinitionSpec struct { // DefinitionRef to the CustomResourceDefinition that defines this policy kind. DefinitionRef *Reference `protobuf:"bytes,1,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,omitempty"` // Schematic defines the data format and template of the encapsulation of the policy Schematic *Schematic `protobuf:"bytes,2,opt,name=schematic,proto3" json:"schematic,omitempty"` // contains filtered or unexported fields }
PolicyDefinitionSpec defines the desired state of PolicyDefinition
func (*PolicyDefinitionSpec) Descriptor
deprecated
added in
v0.2.0
func (*PolicyDefinitionSpec) Descriptor() ([]byte, []int)
Deprecated: Use PolicyDefinitionSpec.ProtoReflect.Descriptor instead.
func (*PolicyDefinitionSpec) GetDefinitionRef ¶ added in v0.2.0
func (x *PolicyDefinitionSpec) GetDefinitionRef() *Reference
func (*PolicyDefinitionSpec) GetSchematic ¶ added in v0.2.0
func (x *PolicyDefinitionSpec) GetSchematic() *Schematic
func (*PolicyDefinitionSpec) ProtoMessage ¶ added in v0.2.0
func (*PolicyDefinitionSpec) ProtoMessage()
func (*PolicyDefinitionSpec) ProtoReflect ¶ added in v0.2.0
func (x *PolicyDefinitionSpec) ProtoReflect() protoreflect.Message
func (*PolicyDefinitionSpec) Reset ¶ added in v0.2.0
func (x *PolicyDefinitionSpec) Reset()
func (*PolicyDefinitionSpec) String ¶ added in v0.2.0
func (x *PolicyDefinitionSpec) String() string
func (*PolicyDefinitionSpec) Validate ¶ added in v0.2.0
func (m *PolicyDefinitionSpec) Validate() error
Validate checks the field values on PolicyDefinitionSpec 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 (*PolicyDefinitionSpec) ValidateAll ¶ added in v0.2.0
func (m *PolicyDefinitionSpec) ValidateAll() error
ValidateAll checks the field values on PolicyDefinitionSpec 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 PolicyDefinitionSpecMultiError, or nil if none found.
type PolicyDefinitionSpecMultiError ¶ added in v0.2.0
type PolicyDefinitionSpecMultiError []error
PolicyDefinitionSpecMultiError is an error wrapping multiple validation errors returned by PolicyDefinitionSpec.ValidateAll() if the designated constraints aren't met.
func (PolicyDefinitionSpecMultiError) AllErrors ¶ added in v0.2.0
func (m PolicyDefinitionSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyDefinitionSpecMultiError) Error ¶ added in v0.2.0
func (m PolicyDefinitionSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyDefinitionSpecValidationError ¶ added in v0.2.0
type PolicyDefinitionSpecValidationError struct {
// contains filtered or unexported fields
}
PolicyDefinitionSpecValidationError is the validation error returned by PolicyDefinitionSpec.Validate if the designated constraints aren't met.
func (PolicyDefinitionSpecValidationError) Cause ¶ added in v0.2.0
func (e PolicyDefinitionSpecValidationError) Cause() error
Cause function returns cause value.
func (PolicyDefinitionSpecValidationError) Error ¶ added in v0.2.0
func (e PolicyDefinitionSpecValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyDefinitionSpecValidationError) ErrorName ¶ added in v0.2.0
func (e PolicyDefinitionSpecValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyDefinitionSpecValidationError) Field ¶ added in v0.2.0
func (e PolicyDefinitionSpecValidationError) Field() string
Field function returns field value.
func (PolicyDefinitionSpecValidationError) Key ¶ added in v0.2.0
func (e PolicyDefinitionSpecValidationError) Key() bool
Key function returns key value.
func (PolicyDefinitionSpecValidationError) Reason ¶ added in v0.2.0
func (e PolicyDefinitionSpecValidationError) Reason() string
Reason function returns reason value.
type PolicyDefinitionValidationError ¶ added in v0.2.0
type PolicyDefinitionValidationError struct {
// contains filtered or unexported fields
}
PolicyDefinitionValidationError is the validation error returned by PolicyDefinition.Validate if the designated constraints aren't met.
func (PolicyDefinitionValidationError) Cause ¶ added in v0.2.0
func (e PolicyDefinitionValidationError) Cause() error
Cause function returns cause value.
func (PolicyDefinitionValidationError) Error ¶ added in v0.2.0
func (e PolicyDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyDefinitionValidationError) ErrorName ¶ added in v0.2.0
func (e PolicyDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyDefinitionValidationError) Field ¶ added in v0.2.0
func (e PolicyDefinitionValidationError) Field() string
Field function returns field value.
func (PolicyDefinitionValidationError) Key ¶ added in v0.2.0
func (e PolicyDefinitionValidationError) Key() bool
Key function returns key value.
func (PolicyDefinitionValidationError) Reason ¶ added in v0.2.0
func (e PolicyDefinitionValidationError) Reason() string
Reason function returns reason value.
type Reference ¶
type Reference struct { // Name of the referenced object. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Namespace of the referenced object. Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
Reference to a named object.
func (*Reference) Descriptor
deprecated
func (*Reference) GetNamespace ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
func (*Reference) Validate ¶
Validate checks the field values on Reference 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 (*Reference) ValidateAll ¶
ValidateAll checks the field values on Reference 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 ReferenceMultiError, or nil if none found.
type ReferenceMultiError ¶
type ReferenceMultiError []error
ReferenceMultiError is an error wrapping multiple validation errors returned by Reference.ValidateAll() if the designated constraints aren't met.
func (ReferenceMultiError) AllErrors ¶
func (m ReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReferenceMultiError) Error ¶
func (m ReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReferenceValidationError ¶
type ReferenceValidationError struct {
// contains filtered or unexported fields
}
ReferenceValidationError is the validation error returned by Reference.Validate if the designated constraints aren't met.
func (ReferenceValidationError) Cause ¶
func (e ReferenceValidationError) Cause() error
Cause function returns cause value.
func (ReferenceValidationError) Error ¶
func (e ReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (ReferenceValidationError) ErrorName ¶
func (e ReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (ReferenceValidationError) Field ¶
func (e ReferenceValidationError) Field() string
Field function returns field value.
func (ReferenceValidationError) Key ¶
func (e ReferenceValidationError) Key() bool
Key function returns key value.
func (ReferenceValidationError) Reason ¶
func (e ReferenceValidationError) Reason() string
Reason function returns reason value.
type Schematic ¶
type Schematic struct { Kube *Kube `protobuf:"bytes,1,opt,name=kube,proto3" json:"kube,omitempty"` Cue *CUE `protobuf:"bytes,2,opt,name=cue,proto3" json:"cue,omitempty"` Helm *HELM `protobuf:"bytes,3,opt,name=helm,proto3" json:"helm,omitempty"` Terraform *Terraform `protobuf:"bytes,4,opt,name=terraform,proto3" json:"terraform,omitempty"` // contains filtered or unexported fields }
Schematic defines the encapsulation of this capability(workload/trait/scope), the encapsulation can be defined in different ways, e.g. CUE/HCL(terraform)/KUBE(K8s Object)/HELM, etc...
func (*Schematic) Descriptor
deprecated
func (*Schematic) GetTerraform ¶
func (*Schematic) ProtoMessage ¶
func (*Schematic) ProtoMessage()
func (*Schematic) ProtoReflect ¶
func (x *Schematic) ProtoReflect() protoreflect.Message
func (*Schematic) Validate ¶
Validate checks the field values on Schematic 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 (*Schematic) ValidateAll ¶
ValidateAll checks the field values on Schematic 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 SchematicMultiError, or nil if none found.
type SchematicMultiError ¶
type SchematicMultiError []error
SchematicMultiError is an error wrapping multiple validation errors returned by Schematic.ValidateAll() if the designated constraints aren't met.
func (SchematicMultiError) AllErrors ¶
func (m SchematicMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SchematicMultiError) Error ¶
func (m SchematicMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SchematicValidationError ¶
type SchematicValidationError struct {
// contains filtered or unexported fields
}
SchematicValidationError is the validation error returned by Schematic.Validate if the designated constraints aren't met.
func (SchematicValidationError) Cause ¶
func (e SchematicValidationError) Cause() error
Cause function returns cause value.
func (SchematicValidationError) Error ¶
func (e SchematicValidationError) Error() string
Error satisfies the builtin error interface
func (SchematicValidationError) ErrorName ¶
func (e SchematicValidationError) ErrorName() string
ErrorName returns error name.
func (SchematicValidationError) Field ¶
func (e SchematicValidationError) Field() string
Field function returns field value.
func (SchematicValidationError) Key ¶
func (e SchematicValidationError) Key() bool
Key function returns key value.
func (SchematicValidationError) Reason ¶
func (e SchematicValidationError) Reason() string
Reason function returns reason value.
type ScopeDefinition ¶ added in v0.2.0
type ScopeDefinition struct { // ApiVersion of the given scope definition. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the scope definition. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with the scope definition. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the scope definition. Spec *ScopeDefinitionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
ScopeDefinition with the definition of a scope in oam3
func (*ScopeDefinition) Descriptor
deprecated
added in
v0.2.0
func (*ScopeDefinition) Descriptor() ([]byte, []int)
Deprecated: Use ScopeDefinition.ProtoReflect.Descriptor instead.
func (*ScopeDefinition) GetApiVersion ¶ added in v0.2.0
func (x *ScopeDefinition) GetApiVersion() string
func (*ScopeDefinition) GetKind ¶ added in v0.2.0
func (x *ScopeDefinition) GetKind() string
func (*ScopeDefinition) GetMetadata ¶ added in v0.2.0
func (x *ScopeDefinition) GetMetadata() *Metadata
func (*ScopeDefinition) GetSpec ¶ added in v0.2.0
func (x *ScopeDefinition) GetSpec() *ScopeDefinitionSpec
func (*ScopeDefinition) ProtoMessage ¶ added in v0.2.0
func (*ScopeDefinition) ProtoMessage()
func (*ScopeDefinition) ProtoReflect ¶ added in v0.2.0
func (x *ScopeDefinition) ProtoReflect() protoreflect.Message
func (*ScopeDefinition) Reset ¶ added in v0.2.0
func (x *ScopeDefinition) Reset()
func (*ScopeDefinition) String ¶ added in v0.2.0
func (x *ScopeDefinition) String() string
func (*ScopeDefinition) Validate ¶ added in v0.2.0
func (m *ScopeDefinition) Validate() error
Validate checks the field values on ScopeDefinition 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 (*ScopeDefinition) ValidateAll ¶ added in v0.2.0
func (m *ScopeDefinition) ValidateAll() error
ValidateAll checks the field values on ScopeDefinition 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 ScopeDefinitionMultiError, or nil if none found.
type ScopeDefinitionMultiError ¶ added in v0.2.0
type ScopeDefinitionMultiError []error
ScopeDefinitionMultiError is an error wrapping multiple validation errors returned by ScopeDefinition.ValidateAll() if the designated constraints aren't met.
func (ScopeDefinitionMultiError) AllErrors ¶ added in v0.2.0
func (m ScopeDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScopeDefinitionMultiError) Error ¶ added in v0.2.0
func (m ScopeDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScopeDefinitionSpec ¶ added in v0.2.0
type ScopeDefinitionSpec struct { // DefinitionRef to the CustomResourceDefinition that defines this scope kind. DefinitionRef *Reference `protobuf:"bytes,1,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,omitempty"` // WorkloadRefsPath indicates if/where a scope accepts workloadRef objects WorkloadRefsPath string `protobuf:"bytes,2,opt,name=workload_refs_path,json=workloadRefsPath,proto3" json:"workload_refs_path,omitempty"` // AllowComponentOverlap specifies whether an OAM component may exist in // multiple instances of this kind of scope. AllowComponentOverlap bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
ScopeDefinitionSpec with the specification associated with a Scope.
func (*ScopeDefinitionSpec) Descriptor
deprecated
added in
v0.2.0
func (*ScopeDefinitionSpec) Descriptor() ([]byte, []int)
Deprecated: Use ScopeDefinitionSpec.ProtoReflect.Descriptor instead.
func (*ScopeDefinitionSpec) GetAllowComponentOverlap ¶ added in v0.2.0
func (x *ScopeDefinitionSpec) GetAllowComponentOverlap() bool
func (*ScopeDefinitionSpec) GetDefinitionRef ¶ added in v0.2.0
func (x *ScopeDefinitionSpec) GetDefinitionRef() *Reference
func (*ScopeDefinitionSpec) GetWorkloadRefsPath ¶ added in v0.2.0
func (x *ScopeDefinitionSpec) GetWorkloadRefsPath() string
func (*ScopeDefinitionSpec) ProtoMessage ¶ added in v0.2.0
func (*ScopeDefinitionSpec) ProtoMessage()
func (*ScopeDefinitionSpec) ProtoReflect ¶ added in v0.2.0
func (x *ScopeDefinitionSpec) ProtoReflect() protoreflect.Message
func (*ScopeDefinitionSpec) Reset ¶ added in v0.2.0
func (x *ScopeDefinitionSpec) Reset()
func (*ScopeDefinitionSpec) String ¶ added in v0.2.0
func (x *ScopeDefinitionSpec) String() string
func (*ScopeDefinitionSpec) Validate ¶ added in v0.2.0
func (m *ScopeDefinitionSpec) Validate() error
Validate checks the field values on ScopeDefinitionSpec 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 (*ScopeDefinitionSpec) ValidateAll ¶ added in v0.2.0
func (m *ScopeDefinitionSpec) ValidateAll() error
ValidateAll checks the field values on ScopeDefinitionSpec 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 ScopeDefinitionSpecMultiError, or nil if none found.
type ScopeDefinitionSpecMultiError ¶ added in v0.2.0
type ScopeDefinitionSpecMultiError []error
ScopeDefinitionSpecMultiError is an error wrapping multiple validation errors returned by ScopeDefinitionSpec.ValidateAll() if the designated constraints aren't met.
func (ScopeDefinitionSpecMultiError) AllErrors ¶ added in v0.2.0
func (m ScopeDefinitionSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScopeDefinitionSpecMultiError) Error ¶ added in v0.2.0
func (m ScopeDefinitionSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScopeDefinitionSpecValidationError ¶ added in v0.2.0
type ScopeDefinitionSpecValidationError struct {
// contains filtered or unexported fields
}
ScopeDefinitionSpecValidationError is the validation error returned by ScopeDefinitionSpec.Validate if the designated constraints aren't met.
func (ScopeDefinitionSpecValidationError) Cause ¶ added in v0.2.0
func (e ScopeDefinitionSpecValidationError) Cause() error
Cause function returns cause value.
func (ScopeDefinitionSpecValidationError) Error ¶ added in v0.2.0
func (e ScopeDefinitionSpecValidationError) Error() string
Error satisfies the builtin error interface
func (ScopeDefinitionSpecValidationError) ErrorName ¶ added in v0.2.0
func (e ScopeDefinitionSpecValidationError) ErrorName() string
ErrorName returns error name.
func (ScopeDefinitionSpecValidationError) Field ¶ added in v0.2.0
func (e ScopeDefinitionSpecValidationError) Field() string
Field function returns field value.
func (ScopeDefinitionSpecValidationError) Key ¶ added in v0.2.0
func (e ScopeDefinitionSpecValidationError) Key() bool
Key function returns key value.
func (ScopeDefinitionSpecValidationError) Reason ¶ added in v0.2.0
func (e ScopeDefinitionSpecValidationError) Reason() string
Reason function returns reason value.
type ScopeDefinitionValidationError ¶ added in v0.2.0
type ScopeDefinitionValidationError struct {
// contains filtered or unexported fields
}
ScopeDefinitionValidationError is the validation error returned by ScopeDefinition.Validate if the designated constraints aren't met.
func (ScopeDefinitionValidationError) Cause ¶ added in v0.2.0
func (e ScopeDefinitionValidationError) Cause() error
Cause function returns cause value.
func (ScopeDefinitionValidationError) Error ¶ added in v0.2.0
func (e ScopeDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (ScopeDefinitionValidationError) ErrorName ¶ added in v0.2.0
func (e ScopeDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (ScopeDefinitionValidationError) Field ¶ added in v0.2.0
func (e ScopeDefinitionValidationError) Field() string
Field function returns field value.
func (ScopeDefinitionValidationError) Key ¶ added in v0.2.0
func (e ScopeDefinitionValidationError) Key() bool
Key function returns key value.
func (ScopeDefinitionValidationError) Reason ¶ added in v0.2.0
func (e ScopeDefinitionValidationError) Reason() string
Reason function returns reason value.
type Status ¶
type Status struct { // CustomStatus defines the custom status message that could display to user CustomStatus string `protobuf:"bytes,1,opt,name=custom_status,json=customStatus,proto3" json:"custom_status,omitempty"` // HealthPolicy defines the health check policy for the abstraction HealthPolicy string `protobuf:"bytes,2,opt,name=health_policy,json=healthPolicy,proto3" json:"health_policy,omitempty"` // contains filtered or unexported fields }
Status defines the loop back status of the abstraction by using CUE template
func (*Status) Descriptor
deprecated
func (*Status) GetCustomStatus ¶
func (*Status) GetHealthPolicy ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
func (*Status) Validate ¶
Validate checks the field values on Status 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 (*Status) ValidateAll ¶
ValidateAll checks the field values on Status 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 StatusMultiError, or nil if none found.
type StatusMultiError ¶
type StatusMultiError []error
StatusMultiError is an error wrapping multiple validation errors returned by Status.ValidateAll() if the designated constraints aren't met.
func (StatusMultiError) AllErrors ¶
func (m StatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusMultiError) Error ¶
func (m StatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusValidationError ¶
type StatusValidationError struct {
// contains filtered or unexported fields
}
StatusValidationError is the validation error returned by Status.Validate if the designated constraints aren't met.
func (StatusValidationError) Cause ¶
func (e StatusValidationError) Cause() error
Cause function returns cause value.
func (StatusValidationError) Error ¶
func (e StatusValidationError) Error() string
Error satisfies the builtin error interface
func (StatusValidationError) ErrorName ¶
func (e StatusValidationError) ErrorName() string
ErrorName returns error name.
func (StatusValidationError) Field ¶
func (e StatusValidationError) Field() string
Field function returns field value.
func (StatusValidationError) Key ¶
func (e StatusValidationError) Key() bool
Key function returns key value.
func (StatusValidationError) Reason ¶
func (e StatusValidationError) Reason() string
Reason function returns reason value.
type Terraform ¶
type Terraform struct { // Configuration is Terraform Configuration Configuration string `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` // Type specifies which Terraform configuration it is, HCL or JSON syntax Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Path is the sub-directory of remote git repository. It's valid when remote is set Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // WriteConnectionSecretToReference specifies the namespace and name of a // Secret to which any connection details for this managed resource should // be written. Connection details frequently include the endpoint, username, // and password required to connect to the managed resource. WriteConnectionSecretToReference *Reference `` /* 163-byte string literal not displayed */ // ProviderReference specifies the reference to Provider ProviderRef *Reference `protobuf:"bytes,5,opt,name=provider_ref,json=providerRef,proto3" json:"provider_ref,omitempty"` // DeleteResource will determine whether provisioned cloud resources will be deleted when CR is deleted DeleteResource bool `protobuf:"varint,6,opt,name=delete_resource,json=deleteResource,proto3" json:"delete_resource,omitempty"` // Region is cloud provider's region. It will override the region in the region field of ProviderReference Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
Terraform is the struct to describe cloud resources managed by Hashicorp Terraform
func (*Terraform) Descriptor
deprecated
func (*Terraform) GetConfiguration ¶
func (*Terraform) GetDeleteResource ¶
func (*Terraform) GetProviderRef ¶
func (*Terraform) GetWriteConnectionSecretToReference ¶
func (*Terraform) ProtoMessage ¶
func (*Terraform) ProtoMessage()
func (*Terraform) ProtoReflect ¶
func (x *Terraform) ProtoReflect() protoreflect.Message
func (*Terraform) Validate ¶
Validate checks the field values on Terraform 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 (*Terraform) ValidateAll ¶
ValidateAll checks the field values on Terraform 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 TerraformMultiError, or nil if none found.
type TerraformMultiError ¶
type TerraformMultiError []error
TerraformMultiError is an error wrapping multiple validation errors returned by Terraform.ValidateAll() if the designated constraints aren't met.
func (TerraformMultiError) AllErrors ¶
func (m TerraformMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TerraformMultiError) Error ¶
func (m TerraformMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TerraformValidationError ¶
type TerraformValidationError struct {
// contains filtered or unexported fields
}
TerraformValidationError is the validation error returned by Terraform.Validate if the designated constraints aren't met.
func (TerraformValidationError) Cause ¶
func (e TerraformValidationError) Cause() error
Cause function returns cause value.
func (TerraformValidationError) Error ¶
func (e TerraformValidationError) Error() string
Error satisfies the builtin error interface
func (TerraformValidationError) ErrorName ¶
func (e TerraformValidationError) ErrorName() string
ErrorName returns error name.
func (TerraformValidationError) Field ¶
func (e TerraformValidationError) Field() string
Field function returns field value.
func (TerraformValidationError) Key ¶
func (e TerraformValidationError) Key() bool
Key function returns key value.
func (TerraformValidationError) Reason ¶
func (e TerraformValidationError) Reason() string
Reason function returns reason value.
type TraitDefinition ¶ added in v0.2.0
type TraitDefinition struct { // ApiVersion of the given trait definition. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the trait definition. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with the trait definition. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the trait definition. Spec *TraitDefinitionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
TraitDefinition with the definition of a trait
func (*TraitDefinition) Descriptor
deprecated
added in
v0.2.0
func (*TraitDefinition) Descriptor() ([]byte, []int)
Deprecated: Use TraitDefinition.ProtoReflect.Descriptor instead.
func (*TraitDefinition) GetApiVersion ¶ added in v0.2.0
func (x *TraitDefinition) GetApiVersion() string
func (*TraitDefinition) GetKind ¶ added in v0.2.0
func (x *TraitDefinition) GetKind() string
func (*TraitDefinition) GetMetadata ¶ added in v0.2.0
func (x *TraitDefinition) GetMetadata() *Metadata
func (*TraitDefinition) GetSpec ¶ added in v0.2.0
func (x *TraitDefinition) GetSpec() *TraitDefinitionSpec
func (*TraitDefinition) ProtoMessage ¶ added in v0.2.0
func (*TraitDefinition) ProtoMessage()
func (*TraitDefinition) ProtoReflect ¶ added in v0.2.0
func (x *TraitDefinition) ProtoReflect() protoreflect.Message
func (*TraitDefinition) Reset ¶ added in v0.2.0
func (x *TraitDefinition) Reset()
func (*TraitDefinition) String ¶ added in v0.2.0
func (x *TraitDefinition) String() string
func (*TraitDefinition) Validate ¶ added in v0.2.0
func (m *TraitDefinition) Validate() error
Validate checks the field values on TraitDefinition 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 (*TraitDefinition) ValidateAll ¶ added in v0.2.0
func (m *TraitDefinition) ValidateAll() error
ValidateAll checks the field values on TraitDefinition 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 TraitDefinitionMultiError, or nil if none found.
type TraitDefinitionMultiError ¶ added in v0.2.0
type TraitDefinitionMultiError []error
TraitDefinitionMultiError is an error wrapping multiple validation errors returned by TraitDefinition.ValidateAll() if the designated constraints aren't met.
func (TraitDefinitionMultiError) AllErrors ¶ added in v0.2.0
func (m TraitDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraitDefinitionMultiError) Error ¶ added in v0.2.0
func (m TraitDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraitDefinitionSpec ¶ added in v0.2.0
type TraitDefinitionSpec struct { // DefinitionRef to the CustomResourceDefinition that defines this trait kind. DefinitionRef *Reference `protobuf:"bytes,1,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,omitempty"` // Revision indicates whether a trait is aware of component revision RevisionEnabled bool `protobuf:"varint,2,opt,name=revision_enabled,json=revisionEnabled,proto3" json:"revision_enabled,omitempty"` // WorkloadRefPath indicates where/if a trait accepts a workloadRef object WorkloadRefPath string `protobuf:"bytes,3,opt,name=workload_ref_path,json=workloadRefPath,proto3" json:"workload_ref_path,omitempty"` // PodDisruptive specifies whether using the trait will cause the pod to restart or not. PodDisruptive bool `protobuf:"varint,4,opt,name=pod_disruptive,json=podDisruptive,proto3" json:"pod_disruptive,omitempty"` // AppliesToWorkloads specifies the list of workload kinds this trait AppliesToWorkloads []string `protobuf:"bytes,5,rep,name=applies_to_workloads,json=appliesToWorkloads,proto3" json:"applies_to_workloads,omitempty"` // ConflictsWith specifies the list of traits(CRD name, Definition name, CRD group) which could not apply to the same workloads with this trait. // Traits that omit this field can work with any other traits. // Example rules: // "service" # Trait definition name // "services.k8s.io" # API resource/crd name // "*.networking.k8s.io" # API group // "labelSelector:foo=bar" # label selector // labelSelector format: https://pkg.go.dev/k8s.io/apimachinery/pkg/labels#Parse ConflictsWith []string `protobuf:"bytes,6,rep,name=conflicts_with,json=conflictsWith,proto3" json:"conflicts_with,omitempty"` // Schematic defines the data format and template of the encapsulation of the trait Schematic *Schematic `protobuf:"bytes,7,opt,name=schematic,proto3" json:"schematic,omitempty"` // Status defines the custom health policy and status message for trait Status *Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` // ManageWorkload defines the trait would be responsible for creating the workload ManageWorkload bool `protobuf:"varint,9,opt,name=manage_workload,json=manageWorkload,proto3" json:"manage_workload,omitempty"` // SkipRevisionAffect defines the update this trait will not generate a new application Revision SkipRevisionAffect bool `protobuf:"varint,10,opt,name=skip_revision_affect,json=skipRevisionAffect,proto3" json:"skip_revision_affect,omitempty"` // contains filtered or unexported fields }
TraitDefinitionSpec with the spec of a trait
func (*TraitDefinitionSpec) Descriptor
deprecated
added in
v0.2.0
func (*TraitDefinitionSpec) Descriptor() ([]byte, []int)
Deprecated: Use TraitDefinitionSpec.ProtoReflect.Descriptor instead.
func (*TraitDefinitionSpec) GetAppliesToWorkloads ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetAppliesToWorkloads() []string
func (*TraitDefinitionSpec) GetConflictsWith ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetConflictsWith() []string
func (*TraitDefinitionSpec) GetDefinitionRef ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetDefinitionRef() *Reference
func (*TraitDefinitionSpec) GetManageWorkload ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetManageWorkload() bool
func (*TraitDefinitionSpec) GetPodDisruptive ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetPodDisruptive() bool
func (*TraitDefinitionSpec) GetRevisionEnabled ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetRevisionEnabled() bool
func (*TraitDefinitionSpec) GetSchematic ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetSchematic() *Schematic
func (*TraitDefinitionSpec) GetSkipRevisionAffect ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetSkipRevisionAffect() bool
func (*TraitDefinitionSpec) GetStatus ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetStatus() *Status
func (*TraitDefinitionSpec) GetWorkloadRefPath ¶ added in v0.2.0
func (x *TraitDefinitionSpec) GetWorkloadRefPath() string
func (*TraitDefinitionSpec) ProtoMessage ¶ added in v0.2.0
func (*TraitDefinitionSpec) ProtoMessage()
func (*TraitDefinitionSpec) ProtoReflect ¶ added in v0.2.0
func (x *TraitDefinitionSpec) ProtoReflect() protoreflect.Message
func (*TraitDefinitionSpec) Reset ¶ added in v0.2.0
func (x *TraitDefinitionSpec) Reset()
func (*TraitDefinitionSpec) String ¶ added in v0.2.0
func (x *TraitDefinitionSpec) String() string
func (*TraitDefinitionSpec) Validate ¶ added in v0.2.0
func (m *TraitDefinitionSpec) Validate() error
Validate checks the field values on TraitDefinitionSpec 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 (*TraitDefinitionSpec) ValidateAll ¶ added in v0.2.0
func (m *TraitDefinitionSpec) ValidateAll() error
ValidateAll checks the field values on TraitDefinitionSpec 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 TraitDefinitionSpecMultiError, or nil if none found.
type TraitDefinitionSpecMultiError ¶ added in v0.2.0
type TraitDefinitionSpecMultiError []error
TraitDefinitionSpecMultiError is an error wrapping multiple validation errors returned by TraitDefinitionSpec.ValidateAll() if the designated constraints aren't met.
func (TraitDefinitionSpecMultiError) AllErrors ¶ added in v0.2.0
func (m TraitDefinitionSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraitDefinitionSpecMultiError) Error ¶ added in v0.2.0
func (m TraitDefinitionSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraitDefinitionSpecValidationError ¶ added in v0.2.0
type TraitDefinitionSpecValidationError struct {
// contains filtered or unexported fields
}
TraitDefinitionSpecValidationError is the validation error returned by TraitDefinitionSpec.Validate if the designated constraints aren't met.
func (TraitDefinitionSpecValidationError) Cause ¶ added in v0.2.0
func (e TraitDefinitionSpecValidationError) Cause() error
Cause function returns cause value.
func (TraitDefinitionSpecValidationError) Error ¶ added in v0.2.0
func (e TraitDefinitionSpecValidationError) Error() string
Error satisfies the builtin error interface
func (TraitDefinitionSpecValidationError) ErrorName ¶ added in v0.2.0
func (e TraitDefinitionSpecValidationError) ErrorName() string
ErrorName returns error name.
func (TraitDefinitionSpecValidationError) Field ¶ added in v0.2.0
func (e TraitDefinitionSpecValidationError) Field() string
Field function returns field value.
func (TraitDefinitionSpecValidationError) Key ¶ added in v0.2.0
func (e TraitDefinitionSpecValidationError) Key() bool
Key function returns key value.
func (TraitDefinitionSpecValidationError) Reason ¶ added in v0.2.0
func (e TraitDefinitionSpecValidationError) Reason() string
Reason function returns reason value.
type TraitDefinitionValidationError ¶ added in v0.2.0
type TraitDefinitionValidationError struct {
// contains filtered or unexported fields
}
TraitDefinitionValidationError is the validation error returned by TraitDefinition.Validate if the designated constraints aren't met.
func (TraitDefinitionValidationError) Cause ¶ added in v0.2.0
func (e TraitDefinitionValidationError) Cause() error
Cause function returns cause value.
func (TraitDefinitionValidationError) Error ¶ added in v0.2.0
func (e TraitDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (TraitDefinitionValidationError) ErrorName ¶ added in v0.2.0
func (e TraitDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (TraitDefinitionValidationError) Field ¶ added in v0.2.0
func (e TraitDefinitionValidationError) Field() string
Field function returns field value.
func (TraitDefinitionValidationError) Key ¶ added in v0.2.0
func (e TraitDefinitionValidationError) Key() bool
Key function returns key value.
func (TraitDefinitionValidationError) Reason ¶ added in v0.2.0
func (e TraitDefinitionValidationError) Reason() string
Reason function returns reason value.
type WorkflowStatus ¶ added in v0.3.0
type WorkflowStatus struct { // AppRevision with the application revision AppRevision string `protobuf:"bytes,1,opt,name=app_revision,json=appRevision,proto3" json:"app_revision,omitempty"` // Mode with the mode of the workflw (DAG od StepByStep) Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` // Message with information about health status of workflow Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Suspend to indicate if the workflow is suspend Suspend bool `protobuf:"varint,4,opt,name=suspend,proto3" json:"suspend,omitempty"` // Terminated to indicate if the workflow is terminated Terminated bool `protobuf:"varint,5,opt,name=terminated,proto3" json:"terminated,omitempty"` // Finished indicates that the workflow was completely executed with success. Finished bool `protobuf:"varint,6,opt,name=finished,proto3" json:"finished,omitempty"` // steps wit information about the steps in the workflow Steps []*WorkflowStepStatus `protobuf:"bytes,7,rep,name=steps,proto3" json:"steps,omitempty"` // StartTime with the time when the workflow started StartTime string `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // contains filtered or unexported fields }
WorkflowStatus defines the overall status of an application workflow
func (*WorkflowStatus) Descriptor
deprecated
added in
v0.3.0
func (*WorkflowStatus) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowStatus.ProtoReflect.Descriptor instead.
func (*WorkflowStatus) GetAppRevision ¶ added in v0.3.0
func (x *WorkflowStatus) GetAppRevision() string
func (*WorkflowStatus) GetFinished ¶ added in v0.3.0
func (x *WorkflowStatus) GetFinished() bool
func (*WorkflowStatus) GetMessage ¶ added in v0.3.0
func (x *WorkflowStatus) GetMessage() string
func (*WorkflowStatus) GetMode ¶ added in v0.3.0
func (x *WorkflowStatus) GetMode() string
func (*WorkflowStatus) GetStartTime ¶ added in v0.3.0
func (x *WorkflowStatus) GetStartTime() string
func (*WorkflowStatus) GetSteps ¶ added in v0.3.0
func (x *WorkflowStatus) GetSteps() []*WorkflowStepStatus
func (*WorkflowStatus) GetSuspend ¶ added in v0.3.0
func (x *WorkflowStatus) GetSuspend() bool
func (*WorkflowStatus) GetTerminated ¶ added in v0.3.0
func (x *WorkflowStatus) GetTerminated() bool
func (*WorkflowStatus) ProtoMessage ¶ added in v0.3.0
func (*WorkflowStatus) ProtoMessage()
func (*WorkflowStatus) ProtoReflect ¶ added in v0.3.0
func (x *WorkflowStatus) ProtoReflect() protoreflect.Message
func (*WorkflowStatus) Reset ¶ added in v0.3.0
func (x *WorkflowStatus) Reset()
func (*WorkflowStatus) String ¶ added in v0.3.0
func (x *WorkflowStatus) String() string
func (*WorkflowStatus) Validate ¶ added in v0.3.0
func (m *WorkflowStatus) Validate() error
Validate checks the field values on WorkflowStatus 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 (*WorkflowStatus) ValidateAll ¶ added in v0.3.0
func (m *WorkflowStatus) ValidateAll() error
ValidateAll checks the field values on WorkflowStatus 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 WorkflowStatusMultiError, or nil if none found.
type WorkflowStatusMultiError ¶ added in v0.3.0
type WorkflowStatusMultiError []error
WorkflowStatusMultiError is an error wrapping multiple validation errors returned by WorkflowStatus.ValidateAll() if the designated constraints aren't met.
func (WorkflowStatusMultiError) AllErrors ¶ added in v0.3.0
func (m WorkflowStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowStatusMultiError) Error ¶ added in v0.3.0
func (m WorkflowStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowStatusValidationError ¶ added in v0.3.0
type WorkflowStatusValidationError struct {
// contains filtered or unexported fields
}
WorkflowStatusValidationError is the validation error returned by WorkflowStatus.Validate if the designated constraints aren't met.
func (WorkflowStatusValidationError) Cause ¶ added in v0.3.0
func (e WorkflowStatusValidationError) Cause() error
Cause function returns cause value.
func (WorkflowStatusValidationError) Error ¶ added in v0.3.0
func (e WorkflowStatusValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowStatusValidationError) ErrorName ¶ added in v0.3.0
func (e WorkflowStatusValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowStatusValidationError) Field ¶ added in v0.3.0
func (e WorkflowStatusValidationError) Field() string
Field function returns field value.
func (WorkflowStatusValidationError) Key ¶ added in v0.3.0
func (e WorkflowStatusValidationError) Key() bool
Key function returns key value.
func (WorkflowStatusValidationError) Reason ¶ added in v0.3.0
func (e WorkflowStatusValidationError) Reason() string
Reason function returns reason value.
type WorkflowStep ¶ added in v0.3.0
type WorkflowStep struct { // Name of the step. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of step. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Properties of the step type. Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // DependsOn indicates step dependencies. DependsOn []string `protobuf:"bytes,4,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // Inputs that are used in the workflow step. Inputs []*InputItem `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"` // Outputs produced by the workflow step. Outputs []*OutputItem `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
WorkflowStep defining a stage in the workflow process.
func (*WorkflowStep) Descriptor
deprecated
added in
v0.3.0
func (*WorkflowStep) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowStep.ProtoReflect.Descriptor instead.
func (*WorkflowStep) GetDependsOn ¶ added in v0.3.0
func (x *WorkflowStep) GetDependsOn() []string
func (*WorkflowStep) GetInputs ¶ added in v0.3.0
func (x *WorkflowStep) GetInputs() []*InputItem
func (*WorkflowStep) GetName ¶ added in v0.3.0
func (x *WorkflowStep) GetName() string
func (*WorkflowStep) GetOutputs ¶ added in v0.3.0
func (x *WorkflowStep) GetOutputs() []*OutputItem
func (*WorkflowStep) GetProperties ¶ added in v0.3.0
func (x *WorkflowStep) GetProperties() *structpb.Struct
func (*WorkflowStep) GetType ¶ added in v0.3.0
func (x *WorkflowStep) GetType() string
func (*WorkflowStep) ProtoMessage ¶ added in v0.3.0
func (*WorkflowStep) ProtoMessage()
func (*WorkflowStep) ProtoReflect ¶ added in v0.3.0
func (x *WorkflowStep) ProtoReflect() protoreflect.Message
func (*WorkflowStep) Reset ¶ added in v0.3.0
func (x *WorkflowStep) Reset()
func (*WorkflowStep) String ¶ added in v0.3.0
func (x *WorkflowStep) String() string
func (*WorkflowStep) Validate ¶ added in v0.3.0
func (m *WorkflowStep) Validate() error
Validate checks the field values on WorkflowStep 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 (*WorkflowStep) ValidateAll ¶ added in v0.3.0
func (m *WorkflowStep) ValidateAll() error
ValidateAll checks the field values on WorkflowStep 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 WorkflowStepMultiError, or nil if none found.
type WorkflowStepDefinition ¶ added in v0.2.0
type WorkflowStepDefinition struct { // ApiVersion of the given workflow step definition. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the workflow step definition. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with the workflow step definition. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the workflow step definition. Spec *WorkflowStepDefinitionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
WorkflowStepDefinition with the elements that define a workflow.
func (*WorkflowStepDefinition) Descriptor
deprecated
added in
v0.2.0
func (*WorkflowStepDefinition) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowStepDefinition.ProtoReflect.Descriptor instead.
func (*WorkflowStepDefinition) GetApiVersion ¶ added in v0.2.0
func (x *WorkflowStepDefinition) GetApiVersion() string
func (*WorkflowStepDefinition) GetKind ¶ added in v0.2.0
func (x *WorkflowStepDefinition) GetKind() string
func (*WorkflowStepDefinition) GetMetadata ¶ added in v0.2.0
func (x *WorkflowStepDefinition) GetMetadata() *Metadata
func (*WorkflowStepDefinition) GetSpec ¶ added in v0.2.0
func (x *WorkflowStepDefinition) GetSpec() *WorkflowStepDefinitionSpec
func (*WorkflowStepDefinition) ProtoMessage ¶ added in v0.2.0
func (*WorkflowStepDefinition) ProtoMessage()
func (*WorkflowStepDefinition) ProtoReflect ¶ added in v0.2.0
func (x *WorkflowStepDefinition) ProtoReflect() protoreflect.Message
func (*WorkflowStepDefinition) Reset ¶ added in v0.2.0
func (x *WorkflowStepDefinition) Reset()
func (*WorkflowStepDefinition) String ¶ added in v0.2.0
func (x *WorkflowStepDefinition) String() string
func (*WorkflowStepDefinition) Validate ¶ added in v0.2.0
func (m *WorkflowStepDefinition) Validate() error
Validate checks the field values on WorkflowStepDefinition 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 (*WorkflowStepDefinition) ValidateAll ¶ added in v0.2.0
func (m *WorkflowStepDefinition) ValidateAll() error
ValidateAll checks the field values on WorkflowStepDefinition 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 WorkflowStepDefinitionMultiError, or nil if none found.
type WorkflowStepDefinitionMultiError ¶ added in v0.2.0
type WorkflowStepDefinitionMultiError []error
WorkflowStepDefinitionMultiError is an error wrapping multiple validation errors returned by WorkflowStepDefinition.ValidateAll() if the designated constraints aren't met.
func (WorkflowStepDefinitionMultiError) AllErrors ¶ added in v0.2.0
func (m WorkflowStepDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowStepDefinitionMultiError) Error ¶ added in v0.2.0
func (m WorkflowStepDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowStepDefinitionSpec ¶ added in v0.2.0
type WorkflowStepDefinitionSpec struct { // DefinitionRef to the CustomResourceDefinition that defines this workflow step kind. DefinitionRef *Reference `protobuf:"bytes,1,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,omitempty"` // Schematic defines the data format and template of the encapsulation of the workflow step Schematic *Schematic `protobuf:"bytes,2,opt,name=schematic,proto3" json:"schematic,omitempty"` // contains filtered or unexported fields }
WorkflowStepDefinitionSpec defines the desired state of WorkflowStepDefinition
func (*WorkflowStepDefinitionSpec) Descriptor
deprecated
added in
v0.2.0
func (*WorkflowStepDefinitionSpec) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowStepDefinitionSpec.ProtoReflect.Descriptor instead.
func (*WorkflowStepDefinitionSpec) GetDefinitionRef ¶ added in v0.2.0
func (x *WorkflowStepDefinitionSpec) GetDefinitionRef() *Reference
func (*WorkflowStepDefinitionSpec) GetSchematic ¶ added in v0.2.0
func (x *WorkflowStepDefinitionSpec) GetSchematic() *Schematic
func (*WorkflowStepDefinitionSpec) ProtoMessage ¶ added in v0.2.0
func (*WorkflowStepDefinitionSpec) ProtoMessage()
func (*WorkflowStepDefinitionSpec) ProtoReflect ¶ added in v0.2.0
func (x *WorkflowStepDefinitionSpec) ProtoReflect() protoreflect.Message
func (*WorkflowStepDefinitionSpec) Reset ¶ added in v0.2.0
func (x *WorkflowStepDefinitionSpec) Reset()
func (*WorkflowStepDefinitionSpec) String ¶ added in v0.2.0
func (x *WorkflowStepDefinitionSpec) String() string
func (*WorkflowStepDefinitionSpec) Validate ¶ added in v0.2.0
func (m *WorkflowStepDefinitionSpec) Validate() error
Validate checks the field values on WorkflowStepDefinitionSpec 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 (*WorkflowStepDefinitionSpec) ValidateAll ¶ added in v0.2.0
func (m *WorkflowStepDefinitionSpec) ValidateAll() error
ValidateAll checks the field values on WorkflowStepDefinitionSpec 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 WorkflowStepDefinitionSpecMultiError, or nil if none found.
type WorkflowStepDefinitionSpecMultiError ¶ added in v0.2.0
type WorkflowStepDefinitionSpecMultiError []error
WorkflowStepDefinitionSpecMultiError is an error wrapping multiple validation errors returned by WorkflowStepDefinitionSpec.ValidateAll() if the designated constraints aren't met.
func (WorkflowStepDefinitionSpecMultiError) AllErrors ¶ added in v0.2.0
func (m WorkflowStepDefinitionSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowStepDefinitionSpecMultiError) Error ¶ added in v0.2.0
func (m WorkflowStepDefinitionSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowStepDefinitionSpecValidationError ¶ added in v0.2.0
type WorkflowStepDefinitionSpecValidationError struct {
// contains filtered or unexported fields
}
WorkflowStepDefinitionSpecValidationError is the validation error returned by WorkflowStepDefinitionSpec.Validate if the designated constraints aren't met.
func (WorkflowStepDefinitionSpecValidationError) Cause ¶ added in v0.2.0
func (e WorkflowStepDefinitionSpecValidationError) Cause() error
Cause function returns cause value.
func (WorkflowStepDefinitionSpecValidationError) Error ¶ added in v0.2.0
func (e WorkflowStepDefinitionSpecValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowStepDefinitionSpecValidationError) ErrorName ¶ added in v0.2.0
func (e WorkflowStepDefinitionSpecValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowStepDefinitionSpecValidationError) Field ¶ added in v0.2.0
func (e WorkflowStepDefinitionSpecValidationError) Field() string
Field function returns field value.
func (WorkflowStepDefinitionSpecValidationError) Key ¶ added in v0.2.0
func (e WorkflowStepDefinitionSpecValidationError) Key() bool
Key function returns key value.
func (WorkflowStepDefinitionSpecValidationError) Reason ¶ added in v0.2.0
func (e WorkflowStepDefinitionSpecValidationError) Reason() string
Reason function returns reason value.
type WorkflowStepDefinitionValidationError ¶ added in v0.2.0
type WorkflowStepDefinitionValidationError struct {
// contains filtered or unexported fields
}
WorkflowStepDefinitionValidationError is the validation error returned by WorkflowStepDefinition.Validate if the designated constraints aren't met.
func (WorkflowStepDefinitionValidationError) Cause ¶ added in v0.2.0
func (e WorkflowStepDefinitionValidationError) Cause() error
Cause function returns cause value.
func (WorkflowStepDefinitionValidationError) Error ¶ added in v0.2.0
func (e WorkflowStepDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowStepDefinitionValidationError) ErrorName ¶ added in v0.2.0
func (e WorkflowStepDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowStepDefinitionValidationError) Field ¶ added in v0.2.0
func (e WorkflowStepDefinitionValidationError) Field() string
Field function returns field value.
func (WorkflowStepDefinitionValidationError) Key ¶ added in v0.2.0
func (e WorkflowStepDefinitionValidationError) Key() bool
Key function returns key value.
func (WorkflowStepDefinitionValidationError) Reason ¶ added in v0.2.0
func (e WorkflowStepDefinitionValidationError) Reason() string
Reason function returns reason value.
type WorkflowStepMultiError ¶ added in v0.3.0
type WorkflowStepMultiError []error
WorkflowStepMultiError is an error wrapping multiple validation errors returned by WorkflowStep.ValidateAll() if the designated constraints aren't met.
func (WorkflowStepMultiError) AllErrors ¶ added in v0.3.0
func (m WorkflowStepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowStepMultiError) Error ¶ added in v0.3.0
func (m WorkflowStepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowStepStatus ¶ added in v0.3.0
type WorkflowStepStatus struct { // ID with the step identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name with the step name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Type with the workflowstep type Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Phase with the phase of the workflowstep (succeeded, failed, stopped or running) Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` // Message with information about health status of the workflow step Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // Reason with a brief CamelCase message indicating details about why the workflowStep is in this state. Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // FirstExecuteTime is the first time this step execution. FirstExecuteTime string `protobuf:"bytes,7,opt,name=first_execute_time,json=firstExecuteTime,proto3" json:"first_execute_time,omitempty"` // LastExecuteTime is the last time this step execution. LastExecuteTime string `protobuf:"bytes,8,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"` // contains filtered or unexported fields }
WorkflowStepStatus defines the status of a single step in an application workflow.
func (*WorkflowStepStatus) Descriptor
deprecated
added in
v0.3.0
func (*WorkflowStepStatus) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowStepStatus.ProtoReflect.Descriptor instead.
func (*WorkflowStepStatus) GetFirstExecuteTime ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetFirstExecuteTime() string
func (*WorkflowStepStatus) GetId ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetId() string
func (*WorkflowStepStatus) GetLastExecuteTime ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetLastExecuteTime() string
func (*WorkflowStepStatus) GetMessage ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetMessage() string
func (*WorkflowStepStatus) GetName ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetName() string
func (*WorkflowStepStatus) GetPhase ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetPhase() string
func (*WorkflowStepStatus) GetReason ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetReason() string
func (*WorkflowStepStatus) GetType ¶ added in v0.3.0
func (x *WorkflowStepStatus) GetType() string
func (*WorkflowStepStatus) ProtoMessage ¶ added in v0.3.0
func (*WorkflowStepStatus) ProtoMessage()
func (*WorkflowStepStatus) ProtoReflect ¶ added in v0.3.0
func (x *WorkflowStepStatus) ProtoReflect() protoreflect.Message
func (*WorkflowStepStatus) Reset ¶ added in v0.3.0
func (x *WorkflowStepStatus) Reset()
func (*WorkflowStepStatus) String ¶ added in v0.3.0
func (x *WorkflowStepStatus) String() string
func (*WorkflowStepStatus) Validate ¶ added in v0.3.0
func (m *WorkflowStepStatus) Validate() error
Validate checks the field values on WorkflowStepStatus 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 (*WorkflowStepStatus) ValidateAll ¶ added in v0.3.0
func (m *WorkflowStepStatus) ValidateAll() error
ValidateAll checks the field values on WorkflowStepStatus 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 WorkflowStepStatusMultiError, or nil if none found.
type WorkflowStepStatusMultiError ¶ added in v0.3.0
type WorkflowStepStatusMultiError []error
WorkflowStepStatusMultiError is an error wrapping multiple validation errors returned by WorkflowStepStatus.ValidateAll() if the designated constraints aren't met.
func (WorkflowStepStatusMultiError) AllErrors ¶ added in v0.3.0
func (m WorkflowStepStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowStepStatusMultiError) Error ¶ added in v0.3.0
func (m WorkflowStepStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowStepStatusValidationError ¶ added in v0.3.0
type WorkflowStepStatusValidationError struct {
// contains filtered or unexported fields
}
WorkflowStepStatusValidationError is the validation error returned by WorkflowStepStatus.Validate if the designated constraints aren't met.
func (WorkflowStepStatusValidationError) Cause ¶ added in v0.3.0
func (e WorkflowStepStatusValidationError) Cause() error
Cause function returns cause value.
func (WorkflowStepStatusValidationError) Error ¶ added in v0.3.0
func (e WorkflowStepStatusValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowStepStatusValidationError) ErrorName ¶ added in v0.3.0
func (e WorkflowStepStatusValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowStepStatusValidationError) Field ¶ added in v0.3.0
func (e WorkflowStepStatusValidationError) Field() string
Field function returns field value.
func (WorkflowStepStatusValidationError) Key ¶ added in v0.3.0
func (e WorkflowStepStatusValidationError) Key() bool
Key function returns key value.
func (WorkflowStepStatusValidationError) Reason ¶ added in v0.3.0
func (e WorkflowStepStatusValidationError) Reason() string
Reason function returns reason value.
type WorkflowStepValidationError ¶ added in v0.3.0
type WorkflowStepValidationError struct {
// contains filtered or unexported fields
}
WorkflowStepValidationError is the validation error returned by WorkflowStep.Validate if the designated constraints aren't met.
func (WorkflowStepValidationError) Cause ¶ added in v0.3.0
func (e WorkflowStepValidationError) Cause() error
Cause function returns cause value.
func (WorkflowStepValidationError) Error ¶ added in v0.3.0
func (e WorkflowStepValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowStepValidationError) ErrorName ¶ added in v0.3.0
func (e WorkflowStepValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowStepValidationError) Field ¶ added in v0.3.0
func (e WorkflowStepValidationError) Field() string
Field function returns field value.
func (WorkflowStepValidationError) Key ¶ added in v0.3.0
func (e WorkflowStepValidationError) Key() bool
Key function returns key value.
func (WorkflowStepValidationError) Reason ¶ added in v0.3.0
func (e WorkflowStepValidationError) Reason() string
Reason function returns reason value.
type WorkloadGVK ¶
type WorkloadGVK struct { ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
WorkloadGVK with the underlying GVK.
func (*WorkloadGVK) Descriptor
deprecated
func (*WorkloadGVK) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadGVK.ProtoReflect.Descriptor instead.
func (*WorkloadGVK) GetApiVersion ¶
func (x *WorkloadGVK) GetApiVersion() string
func (*WorkloadGVK) GetKind ¶
func (x *WorkloadGVK) GetKind() string
func (*WorkloadGVK) ProtoMessage ¶
func (*WorkloadGVK) ProtoMessage()
func (*WorkloadGVK) ProtoReflect ¶
func (x *WorkloadGVK) ProtoReflect() protoreflect.Message
func (*WorkloadGVK) Reset ¶
func (x *WorkloadGVK) Reset()
func (*WorkloadGVK) String ¶
func (x *WorkloadGVK) String() string
func (*WorkloadGVK) Validate ¶
func (m *WorkloadGVK) Validate() error
Validate checks the field values on WorkloadGVK 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 (*WorkloadGVK) ValidateAll ¶
func (m *WorkloadGVK) ValidateAll() error
ValidateAll checks the field values on WorkloadGVK 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 WorkloadGVKMultiError, or nil if none found.
type WorkloadGVKMultiError ¶
type WorkloadGVKMultiError []error
WorkloadGVKMultiError is an error wrapping multiple validation errors returned by WorkloadGVK.ValidateAll() if the designated constraints aren't met.
func (WorkloadGVKMultiError) AllErrors ¶
func (m WorkloadGVKMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkloadGVKMultiError) Error ¶
func (m WorkloadGVKMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkloadGVKValidationError ¶
type WorkloadGVKValidationError struct {
// contains filtered or unexported fields
}
WorkloadGVKValidationError is the validation error returned by WorkloadGVK.Validate if the designated constraints aren't met.
func (WorkloadGVKValidationError) Cause ¶
func (e WorkloadGVKValidationError) Cause() error
Cause function returns cause value.
func (WorkloadGVKValidationError) Error ¶
func (e WorkloadGVKValidationError) Error() string
Error satisfies the builtin error interface
func (WorkloadGVKValidationError) ErrorName ¶
func (e WorkloadGVKValidationError) ErrorName() string
ErrorName returns error name.
func (WorkloadGVKValidationError) Field ¶
func (e WorkloadGVKValidationError) Field() string
Field function returns field value.
func (WorkloadGVKValidationError) Key ¶
func (e WorkloadGVKValidationError) Key() bool
Key function returns key value.
func (WorkloadGVKValidationError) Reason ¶
func (e WorkloadGVKValidationError) Reason() string
Reason function returns reason value.
type WorkloadTypeDescriptor ¶
type WorkloadTypeDescriptor struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Definition *WorkloadGVK `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"` // contains filtered or unexported fields }
WorkloadTypeDescriptor to refer to a workload type.
func (*WorkloadTypeDescriptor) Descriptor
deprecated
func (*WorkloadTypeDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadTypeDescriptor.ProtoReflect.Descriptor instead.
func (*WorkloadTypeDescriptor) GetDefinition ¶
func (x *WorkloadTypeDescriptor) GetDefinition() *WorkloadGVK
func (*WorkloadTypeDescriptor) GetType ¶
func (x *WorkloadTypeDescriptor) GetType() string
func (*WorkloadTypeDescriptor) ProtoMessage ¶
func (*WorkloadTypeDescriptor) ProtoMessage()
func (*WorkloadTypeDescriptor) ProtoReflect ¶
func (x *WorkloadTypeDescriptor) ProtoReflect() protoreflect.Message
func (*WorkloadTypeDescriptor) Reset ¶
func (x *WorkloadTypeDescriptor) Reset()
func (*WorkloadTypeDescriptor) String ¶
func (x *WorkloadTypeDescriptor) String() string
func (*WorkloadTypeDescriptor) Validate ¶
func (m *WorkloadTypeDescriptor) Validate() error
Validate checks the field values on WorkloadTypeDescriptor 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 (*WorkloadTypeDescriptor) ValidateAll ¶
func (m *WorkloadTypeDescriptor) ValidateAll() error
ValidateAll checks the field values on WorkloadTypeDescriptor 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 WorkloadTypeDescriptorMultiError, or nil if none found.
type WorkloadTypeDescriptorMultiError ¶
type WorkloadTypeDescriptorMultiError []error
WorkloadTypeDescriptorMultiError is an error wrapping multiple validation errors returned by WorkloadTypeDescriptor.ValidateAll() if the designated constraints aren't met.
func (WorkloadTypeDescriptorMultiError) AllErrors ¶
func (m WorkloadTypeDescriptorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkloadTypeDescriptorMultiError) Error ¶
func (m WorkloadTypeDescriptorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkloadTypeDescriptorValidationError ¶
type WorkloadTypeDescriptorValidationError struct {
// contains filtered or unexported fields
}
WorkloadTypeDescriptorValidationError is the validation error returned by WorkloadTypeDescriptor.Validate if the designated constraints aren't met.
func (WorkloadTypeDescriptorValidationError) Cause ¶
func (e WorkloadTypeDescriptorValidationError) Cause() error
Cause function returns cause value.
func (WorkloadTypeDescriptorValidationError) Error ¶
func (e WorkloadTypeDescriptorValidationError) Error() string
Error satisfies the builtin error interface
func (WorkloadTypeDescriptorValidationError) ErrorName ¶
func (e WorkloadTypeDescriptorValidationError) ErrorName() string
ErrorName returns error name.
func (WorkloadTypeDescriptorValidationError) Field ¶
func (e WorkloadTypeDescriptorValidationError) Field() string
Field function returns field value.
func (WorkloadTypeDescriptorValidationError) Key ¶
func (e WorkloadTypeDescriptorValidationError) Key() bool
Key function returns key value.
func (WorkloadTypeDescriptorValidationError) Reason ¶
func (e WorkloadTypeDescriptorValidationError) Reason() string
Reason function returns reason value.