grpc_playground_oam_go

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_playground_oam_entities_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplicationComponent added in v0.4.0

type ApplicationComponent struct {

	// ComponentName specifies a component whose latest revision will be bind with ApplicationConfiguration. When the spec of the referenced component changes, ApplicationConfiguration will automatically migrate all trait affect from the prior revision to the new one. This is mutually exclusive with RevisionName.
	ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	//ParameterValues specify values for the the specified component's parameters. Any parameter required by the component must be specified.
	ParameterValues []*_struct.Struct `protobuf:"bytes,2,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"`
	// ComponentSummary with the summary of the components
	ComponentSummary *ComponentSummary `protobuf:"bytes,3,opt,name=component_summary,json=componentSummary,proto3" json:"component_summary,omitempty"`
	// Scopes in which the specified component should exist.
	Scopes []*ApplicationScope `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// Traits of the specified component.
	Traits []*ApplicationTrait `protobuf:"bytes,5,rep,name=traits,proto3" json:"traits,omitempty"`
	// contains filtered or unexported fields
}

ApplicationComponent defines a component associated with an application configuration.

func (*ApplicationComponent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ApplicationComponent.ProtoReflect.Descriptor instead.

func (*ApplicationComponent) GetComponentName added in v0.4.0

func (x *ApplicationComponent) GetComponentName() string

func (*ApplicationComponent) GetComponentSummary added in v0.7.0

func (x *ApplicationComponent) GetComponentSummary() *ComponentSummary

func (*ApplicationComponent) GetParameterValues added in v0.4.0

func (x *ApplicationComponent) GetParameterValues() []*_struct.Struct

func (*ApplicationComponent) GetScopes added in v0.4.0

func (x *ApplicationComponent) GetScopes() []*ApplicationScope

func (*ApplicationComponent) GetTraits added in v0.4.0

func (x *ApplicationComponent) GetTraits() []*ApplicationTrait

func (*ApplicationComponent) ProtoMessage added in v0.4.0

func (*ApplicationComponent) ProtoMessage()

func (*ApplicationComponent) ProtoReflect added in v0.4.0

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

func (*ApplicationComponent) Reset added in v0.4.0

func (x *ApplicationComponent) Reset()

func (*ApplicationComponent) String added in v0.4.0

func (x *ApplicationComponent) String() string

func (*ApplicationComponent) Validate added in v0.4.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, an error is returned.

type ApplicationComponentValidationError added in v0.4.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.4.0

Cause function returns cause value.

func (ApplicationComponentValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ApplicationComponentValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ApplicationComponentValidationError) Field added in v0.4.0

Field function returns field value.

func (ApplicationComponentValidationError) Key added in v0.4.0

Key function returns key value.

func (ApplicationComponentValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ApplicationConfiguration added in v0.4.0

type ApplicationConfiguration struct {

	// ApiVersion of the given application configuration.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of the application configuration.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Metadata associated with the application configuration.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec of the application configuration.
	Spec *ApplicationConfigurationSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

ApplicationConfiguration entity describing the components that form an application.

func (*ApplicationConfiguration) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ApplicationConfiguration.ProtoReflect.Descriptor instead.

func (*ApplicationConfiguration) GetApiVersion added in v0.4.0

func (x *ApplicationConfiguration) GetApiVersion() string

func (*ApplicationConfiguration) GetKind added in v0.4.0

func (x *ApplicationConfiguration) GetKind() string

func (*ApplicationConfiguration) GetMetadata added in v0.4.0

func (x *ApplicationConfiguration) GetMetadata() *Metadata

func (*ApplicationConfiguration) GetSpec added in v0.4.0

func (*ApplicationConfiguration) ProtoMessage added in v0.4.0

func (*ApplicationConfiguration) ProtoMessage()

func (*ApplicationConfiguration) ProtoReflect added in v0.4.0

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

func (*ApplicationConfiguration) Reset added in v0.4.0

func (x *ApplicationConfiguration) Reset()

func (*ApplicationConfiguration) String added in v0.4.0

func (x *ApplicationConfiguration) String() string

func (*ApplicationConfiguration) Validate added in v0.4.0

func (m *ApplicationConfiguration) Validate() error

Validate checks the field values on ApplicationConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ApplicationConfigurationSpec added in v0.4.0

type ApplicationConfigurationSpec struct {

	// Components associated with the application.
	Components []*ApplicationComponent `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

ApplicationConfigurationSpec with the specification of the application configuration.

func (*ApplicationConfigurationSpec) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ApplicationConfigurationSpec.ProtoReflect.Descriptor instead.

func (*ApplicationConfigurationSpec) GetComponents added in v0.4.0

func (x *ApplicationConfigurationSpec) GetComponents() []*ApplicationComponent

func (*ApplicationConfigurationSpec) ProtoMessage added in v0.4.0

func (*ApplicationConfigurationSpec) ProtoMessage()

func (*ApplicationConfigurationSpec) ProtoReflect added in v0.4.0

func (*ApplicationConfigurationSpec) Reset added in v0.4.0

func (x *ApplicationConfigurationSpec) Reset()

func (*ApplicationConfigurationSpec) String added in v0.4.0

func (*ApplicationConfigurationSpec) Validate added in v0.4.0

func (m *ApplicationConfigurationSpec) Validate() error

Validate checks the field values on ApplicationConfigurationSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ApplicationConfigurationSpecValidationError added in v0.4.0

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

ApplicationConfigurationSpecValidationError is the validation error returned by ApplicationConfigurationSpec.Validate if the designated constraints aren't met.

func (ApplicationConfigurationSpecValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (ApplicationConfigurationSpecValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ApplicationConfigurationSpecValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ApplicationConfigurationSpecValidationError) Field added in v0.4.0

Field function returns field value.

func (ApplicationConfigurationSpecValidationError) Key added in v0.4.0

Key function returns key value.

func (ApplicationConfigurationSpecValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ApplicationConfigurationValidationError added in v0.4.0

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

ApplicationConfigurationValidationError is the validation error returned by ApplicationConfiguration.Validate if the designated constraints aren't met.

func (ApplicationConfigurationValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (ApplicationConfigurationValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ApplicationConfigurationValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ApplicationConfigurationValidationError) Field added in v0.4.0

Field function returns field value.

func (ApplicationConfigurationValidationError) Key added in v0.4.0

Key function returns key value.

func (ApplicationConfigurationValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ApplicationScope added in v0.4.0

type ApplicationScope struct {

	// ScopeRef must refer to an OAM scope resource.
	ScopeRef *ApplicationScopeReference `protobuf:"bytes,1,opt,name=scope_ref,json=scopeRef,proto3" json:"scope_ref,omitempty"`
	// contains filtered or unexported fields
}

ApplicationScope specifies a scope in which a component should exist.

func (*ApplicationScope) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ApplicationScope.ProtoReflect.Descriptor instead.

func (*ApplicationScope) GetScopeRef added in v0.4.0

func (x *ApplicationScope) GetScopeRef() *ApplicationScopeReference

func (*ApplicationScope) ProtoMessage added in v0.4.0

func (*ApplicationScope) ProtoMessage()

func (*ApplicationScope) ProtoReflect added in v0.4.0

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

func (*ApplicationScope) Reset added in v0.4.0

func (x *ApplicationScope) Reset()

func (*ApplicationScope) String added in v0.4.0

func (x *ApplicationScope) String() string

func (*ApplicationScope) Validate added in v0.4.0

func (m *ApplicationScope) Validate() error

Validate checks the field values on ApplicationScope with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ApplicationScopeReference added in v0.4.0

type ApplicationScopeReference struct {

	// ApiVersion of the given scope. This field is mandatory.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of the scope. This field is mandatory.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Name of the scope. This field is mandatory.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Uid of the scope. This field is optional.
	Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

ApplicationScopeReference to reference a given scope.

func (*ApplicationScopeReference) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ApplicationScopeReference.ProtoReflect.Descriptor instead.

func (*ApplicationScopeReference) GetApiVersion added in v0.4.0

func (x *ApplicationScopeReference) GetApiVersion() string

func (*ApplicationScopeReference) GetKind added in v0.4.0

func (x *ApplicationScopeReference) GetKind() string

func (*ApplicationScopeReference) GetName added in v0.4.0

func (x *ApplicationScopeReference) GetName() string

func (*ApplicationScopeReference) GetUid added in v0.4.0

func (x *ApplicationScopeReference) GetUid() string

func (*ApplicationScopeReference) ProtoMessage added in v0.4.0

func (*ApplicationScopeReference) ProtoMessage()

func (*ApplicationScopeReference) ProtoReflect added in v0.4.0

func (*ApplicationScopeReference) Reset added in v0.4.0

func (x *ApplicationScopeReference) Reset()

func (*ApplicationScopeReference) String added in v0.4.0

func (x *ApplicationScopeReference) String() string

func (*ApplicationScopeReference) Validate added in v0.4.0

func (m *ApplicationScopeReference) Validate() error

Validate checks the field values on ApplicationScopeReference with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ApplicationScopeReferenceValidationError added in v0.4.0

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

ApplicationScopeReferenceValidationError is the validation error returned by ApplicationScopeReference.Validate if the designated constraints aren't met.

func (ApplicationScopeReferenceValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (ApplicationScopeReferenceValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ApplicationScopeReferenceValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ApplicationScopeReferenceValidationError) Field added in v0.4.0

Field function returns field value.

func (ApplicationScopeReferenceValidationError) Key added in v0.4.0

Key function returns key value.

func (ApplicationScopeReferenceValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ApplicationScopeValidationError added in v0.4.0

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

ApplicationScopeValidationError is the validation error returned by ApplicationScope.Validate if the designated constraints aren't met.

func (ApplicationScopeValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (ApplicationScopeValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ApplicationScopeValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ApplicationScopeValidationError) Field added in v0.4.0

Field function returns field value.

func (ApplicationScopeValidationError) Key added in v0.4.0

Key function returns key value.

func (ApplicationScopeValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ApplicationTrait added in v0.4.0

type ApplicationTrait struct {

	// The name of trait definition. This is used to reference to the definition/schema of the Trait. For one type of trait, there could be only one config/deploy in one component.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Properties that can be configured and are exposed by this trait.
	Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// Trait with the full specification of trait that should be passed to the runtime. This field is mutually exclusive with name and properties. [Legacy].
	Trait *_struct.Struct `protobuf:"bytes,3,opt,name=trait,proto3" json:"trait,omitempty"`
	// contains filtered or unexported fields
}

ApplicationTrait specifies a trait that should be applied to a component.

func (*ApplicationTrait) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ApplicationTrait.ProtoReflect.Descriptor instead.

func (*ApplicationTrait) GetName added in v0.4.0

func (x *ApplicationTrait) GetName() string

func (*ApplicationTrait) GetProperties added in v0.4.0

func (x *ApplicationTrait) GetProperties() *_struct.Struct

func (*ApplicationTrait) GetTrait added in v0.4.0

func (x *ApplicationTrait) GetTrait() *_struct.Struct

func (*ApplicationTrait) ProtoMessage added in v0.4.0

func (*ApplicationTrait) ProtoMessage()

func (*ApplicationTrait) ProtoReflect added in v0.4.0

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

func (*ApplicationTrait) Reset added in v0.4.0

func (x *ApplicationTrait) Reset()

func (*ApplicationTrait) String added in v0.4.0

func (x *ApplicationTrait) String() string

func (*ApplicationTrait) Validate added in v0.4.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, an error is returned.

type ApplicationTraitValidationError added in v0.4.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.4.0

Cause function returns cause value.

func (ApplicationTraitValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ApplicationTraitValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ApplicationTraitValidationError) Field added in v0.4.0

Field function returns field value.

func (ApplicationTraitValidationError) Key added in v0.4.0

Key function returns key value.

func (ApplicationTraitValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ChildResourceKind added in v0.2.0

type ChildResourceKind struct {

	// ApiVersion of the given child resource. This field is mandatory.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of the child resource. This field is mandatory.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

ChildResourceKind defines a reference for a child resource. TODO Add selector property when we find a usage example.

func (*ChildResourceKind) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ChildResourceKind.ProtoReflect.Descriptor instead.

func (*ChildResourceKind) GetApiVersion added in v0.2.0

func (x *ChildResourceKind) GetApiVersion() string

func (*ChildResourceKind) GetKind added in v0.2.0

func (x *ChildResourceKind) GetKind() string

func (*ChildResourceKind) ProtoMessage added in v0.2.0

func (*ChildResourceKind) ProtoMessage()

func (*ChildResourceKind) ProtoReflect added in v0.2.0

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

func (*ChildResourceKind) Reset added in v0.2.0

func (x *ChildResourceKind) Reset()

func (*ChildResourceKind) String added in v0.2.0

func (x *ChildResourceKind) String() string

func (*ChildResourceKind) Validate added in v0.2.0

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, an error is returned.

type ChildResourceKindValidationError added in v0.2.0

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 added in v0.2.0

Cause function returns cause value.

func (ChildResourceKindValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (ChildResourceKindValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (ChildResourceKindValidationError) Field added in v0.2.0

Field function returns field value.

func (ChildResourceKindValidationError) Key added in v0.2.0

Key function returns key value.

func (ChildResourceKindValidationError) Reason added in v0.2.0

Reason function returns reason value.

type Component added in v0.2.0

type Component struct {

	// ApiVersion of the component.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of component.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Metadata associated with the component.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec associated with the component.
	Spec *ComponentSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Component with the information of a component in the OAM spec.

func (*Component) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetApiVersion added in v0.2.0

func (x *Component) GetApiVersion() string

func (*Component) GetKind added in v0.2.0

func (x *Component) GetKind() string

func (*Component) GetMetadata added in v0.3.0

func (x *Component) GetMetadata() *Metadata

func (*Component) GetSpec added in v0.3.0

func (x *Component) GetSpec() *ComponentSpec

func (*Component) ProtoMessage added in v0.2.0

func (*Component) ProtoMessage()

func (*Component) ProtoReflect added in v0.2.0

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

func (*Component) Reset added in v0.2.0

func (x *Component) Reset()

func (*Component) String added in v0.2.0

func (x *Component) String() string

func (*Component) Validate added in v0.2.0

func (m *Component) Validate() error

Validate checks the field values on Component with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ComponentParameterValue added in v0.4.0

type ComponentParameterValue struct {

	// Name of parameter to be set. This field is mandatory.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Value to be applied. This field is mandatory.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

ComponentParameterValue specifies a value for a named parameter. The associated component must publish a parameter with this name.

func (*ComponentParameterValue) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ComponentParameterValue.ProtoReflect.Descriptor instead.

func (*ComponentParameterValue) GetName added in v0.4.0

func (x *ComponentParameterValue) GetName() string

func (*ComponentParameterValue) GetValue added in v0.4.0

func (x *ComponentParameterValue) GetValue() string

func (*ComponentParameterValue) ProtoMessage added in v0.4.0

func (*ComponentParameterValue) ProtoMessage()

func (*ComponentParameterValue) ProtoReflect added in v0.4.0

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

func (*ComponentParameterValue) Reset added in v0.4.0

func (x *ComponentParameterValue) Reset()

func (*ComponentParameterValue) String added in v0.4.0

func (x *ComponentParameterValue) String() string

func (*ComponentParameterValue) Validate added in v0.4.0

func (m *ComponentParameterValue) Validate() error

Validate checks the field values on ComponentParameterValue with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ComponentParameterValueValidationError added in v0.4.0

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

ComponentParameterValueValidationError is the validation error returned by ComponentParameterValue.Validate if the designated constraints aren't met.

func (ComponentParameterValueValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (ComponentParameterValueValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (ComponentParameterValueValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (ComponentParameterValueValidationError) Field added in v0.4.0

Field function returns field value.

func (ComponentParameterValueValidationError) Key added in v0.4.0

Key function returns key value.

func (ComponentParameterValueValidationError) Reason added in v0.4.0

Reason function returns reason value.

type ComponentSpec added in v0.3.0

type ComponentSpec struct {

	// Type of component
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Workload of the component. This field is mutually exclusive with type and settings.
	Workload *Workload `protobuf:"bytes,2,opt,name=workload,proto3" json:"workload,omitempty"`
	// Settings of the workload
	Settings *WorkloadSpec `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"`
	// Parameters with the component parameters
	Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

ComponentSpec with the spec of an OAM component.

func (*ComponentSpec) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ComponentSpec.ProtoReflect.Descriptor instead.

func (*ComponentSpec) GetParameters added in v0.3.0

func (x *ComponentSpec) GetParameters() []*Parameter

func (*ComponentSpec) GetSettings added in v0.3.0

func (x *ComponentSpec) GetSettings() *WorkloadSpec

func (*ComponentSpec) GetType added in v0.3.0

func (x *ComponentSpec) GetType() string

func (*ComponentSpec) GetWorkload added in v0.3.0

func (x *ComponentSpec) GetWorkload() *Workload

func (*ComponentSpec) ProtoMessage added in v0.3.0

func (*ComponentSpec) ProtoMessage()

func (*ComponentSpec) ProtoReflect added in v0.3.0

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

func (*ComponentSpec) Reset added in v0.3.0

func (x *ComponentSpec) Reset()

func (*ComponentSpec) String added in v0.3.0

func (x *ComponentSpec) String() string

func (*ComponentSpec) Validate added in v0.3.0

func (m *ComponentSpec) Validate() error

Validate checks the field values on ComponentSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ComponentSpecValidationError added in v0.3.0

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

ComponentSpecValidationError is the validation error returned by ComponentSpec.Validate if the designated constraints aren't met.

func (ComponentSpecValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ComponentSpecValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ComponentSpecValidationError) ErrorName added in v0.3.0

func (e ComponentSpecValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentSpecValidationError) Field added in v0.3.0

Field function returns field value.

func (ComponentSpecValidationError) Key added in v0.3.0

Key function returns key value.

func (ComponentSpecValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ComponentSummary added in v0.7.0

type ComponentSummary struct {

	// images with the images of all associated containers
	Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

ComponentSummary defines a summary of the component.

func (*ComponentSummary) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ComponentSummary.ProtoReflect.Descriptor instead.

func (*ComponentSummary) GetImages added in v0.7.0

func (x *ComponentSummary) GetImages() []string

func (*ComponentSummary) ProtoMessage added in v0.7.0

func (*ComponentSummary) ProtoMessage()

func (*ComponentSummary) ProtoReflect added in v0.7.0

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

func (*ComponentSummary) Reset added in v0.7.0

func (x *ComponentSummary) Reset()

func (*ComponentSummary) String added in v0.7.0

func (x *ComponentSummary) String() string

func (*ComponentSummary) Validate added in v0.7.0

func (m *ComponentSummary) Validate() error

Validate checks the field values on ComponentSummary with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ComponentSummaryValidationError added in v0.7.0

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

ComponentSummaryValidationError is the validation error returned by ComponentSummary.Validate if the designated constraints aren't met.

func (ComponentSummaryValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (ComponentSummaryValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (ComponentSummaryValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (ComponentSummaryValidationError) Field added in v0.7.0

Field function returns field value.

func (ComponentSummaryValidationError) Key added in v0.7.0

Key function returns key value.

func (ComponentSummaryValidationError) Reason added in v0.7.0

Reason function returns reason value.

type ComponentValidationError added in v0.2.0

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

ComponentValidationError is the validation error returned by Component.Validate if the designated constraints aren't met.

func (ComponentValidationError) Cause added in v0.2.0

func (e ComponentValidationError) Cause() error

Cause function returns cause value.

func (ComponentValidationError) Error added in v0.2.0

func (e ComponentValidationError) Error() string

Error satisfies the builtin error interface

func (ComponentValidationError) ErrorName added in v0.2.0

func (e ComponentValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentValidationError) Field added in v0.2.0

func (e ComponentValidationError) Field() string

Field function returns field value.

func (ComponentValidationError) Key added in v0.2.0

Key function returns key value.

func (ComponentValidationError) Reason added in v0.2.0

func (e ComponentValidationError) Reason() string

Reason function returns reason value.

type Container added in v0.3.0

type Container struct {

	// name of the container
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Image of the container
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// ImagePullPolicy
	ImagePullPolicy string `protobuf:"bytes,3,opt,name=image_pull_policy,json=imagePullPolicy,proto3" json:"image_pull_policy,omitempty"`
	// ports with the ports
	Ports []*Port `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
	// cmd with the command to execute the container
	Cmd []string `protobuf:"bytes,5,rep,name=cmd,proto3" json:"cmd,omitempty"`
	// env with a list of environment variables
	Env []*EnvironmentVariable `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"` // resources
	// contains filtered or unexported fields
}

Container with the container information

func (*Container) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetCmd added in v0.3.0

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

func (*Container) GetEnv added in v0.3.0

func (x *Container) GetEnv() []*EnvironmentVariable

func (*Container) GetImage added in v0.3.0

func (x *Container) GetImage() string

func (*Container) GetImagePullPolicy added in v0.3.0

func (x *Container) GetImagePullPolicy() string

func (*Container) GetName added in v0.3.0

func (x *Container) GetName() string

func (*Container) GetPorts added in v0.3.0

func (x *Container) GetPorts() []*Port

func (*Container) ProtoMessage added in v0.3.0

func (*Container) ProtoMessage()

func (*Container) ProtoReflect added in v0.3.0

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

func (*Container) Reset added in v0.3.0

func (x *Container) Reset()

func (*Container) String added in v0.3.0

func (x *Container) String() string

func (*Container) Validate added in v0.3.0

func (m *Container) Validate() error

Validate checks the field values on Container with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ContainerValidationError added in v0.3.0

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

ContainerValidationError is the validation error returned by Container.Validate if the designated constraints aren't met.

func (ContainerValidationError) Cause added in v0.3.0

func (e ContainerValidationError) Cause() error

Cause function returns cause value.

func (ContainerValidationError) Error added in v0.3.0

func (e ContainerValidationError) Error() string

Error satisfies the builtin error interface

func (ContainerValidationError) ErrorName added in v0.3.0

func (e ContainerValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerValidationError) Field added in v0.3.0

func (e ContainerValidationError) Field() string

Field function returns field value.

func (ContainerValidationError) Key added in v0.3.0

Key function returns key value.

func (ContainerValidationError) Reason added in v0.3.0

func (e ContainerValidationError) Reason() string

Reason function returns reason value.

type DefinitionRef added in v0.2.0

type DefinitionRef struct {

	// Name of the referenced CustomResourceDefinition.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

DefinitionRef with the reference to the CustomResourceDefinition that defines this trait kind.

func (*DefinitionRef) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DefinitionRef.ProtoReflect.Descriptor instead.

func (*DefinitionRef) GetName added in v0.2.0

func (x *DefinitionRef) GetName() string

func (*DefinitionRef) GetVersion added in v0.2.0

func (x *DefinitionRef) GetVersion() string

func (*DefinitionRef) ProtoMessage added in v0.2.0

func (*DefinitionRef) ProtoMessage()

func (*DefinitionRef) ProtoReflect added in v0.2.0

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

func (*DefinitionRef) Reset added in v0.2.0

func (x *DefinitionRef) Reset()

func (*DefinitionRef) String added in v0.2.0

func (x *DefinitionRef) String() string

func (*DefinitionRef) Validate added in v0.2.0

func (m *DefinitionRef) Validate() error

Validate checks the field values on DefinitionRef with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DefinitionRefValidationError added in v0.2.0

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

DefinitionRefValidationError is the validation error returned by DefinitionRef.Validate if the designated constraints aren't met.

func (DefinitionRefValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (DefinitionRefValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (DefinitionRefValidationError) ErrorName added in v0.2.0

func (e DefinitionRefValidationError) ErrorName() string

ErrorName returns error name.

func (DefinitionRefValidationError) Field added in v0.2.0

Field function returns field value.

func (DefinitionRefValidationError) Key added in v0.2.0

Key function returns key value.

func (DefinitionRefValidationError) Reason added in v0.2.0

Reason function returns reason value.

type EnvironmentVariable added in v0.3.0

type EnvironmentVariable struct {

	// Name with the name of the variable
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required indicates if the variable must to be filled
	Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	// Value of the variable
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// FromSecret indicates the env takes from a secret
	FromSecret *FromValueEnv `protobuf:"bytes,4,opt,name=from_secret,json=fromSecret,proto3" json:"from_secret,omitempty"`
	// valueFrom indicates where is the env information
	ValueFrom *FromConfigEnv `protobuf:"bytes,5,opt,name=value_from,json=valueFrom,proto3" json:"value_from,omitempty"`
	// contains filtered or unexported fields
}

EnvironmentVariable message with the environment variable information There are different ways to define environment variable. Value, secret or configmap

func (*EnvironmentVariable) Descriptor deprecated added in v0.3.0

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

Deprecated: Use EnvironmentVariable.ProtoReflect.Descriptor instead.

func (*EnvironmentVariable) GetFromSecret added in v0.5.0

func (x *EnvironmentVariable) GetFromSecret() *FromValueEnv

func (*EnvironmentVariable) GetName added in v0.3.0

func (x *EnvironmentVariable) GetName() string

func (*EnvironmentVariable) GetRequired added in v0.3.0

func (x *EnvironmentVariable) GetRequired() bool

func (*EnvironmentVariable) GetValue added in v0.3.0

func (x *EnvironmentVariable) GetValue() string

func (*EnvironmentVariable) GetValueFrom added in v0.5.0

func (x *EnvironmentVariable) GetValueFrom() *FromConfigEnv

func (*EnvironmentVariable) ProtoMessage added in v0.3.0

func (*EnvironmentVariable) ProtoMessage()

func (*EnvironmentVariable) ProtoReflect added in v0.3.0

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

func (*EnvironmentVariable) Reset added in v0.3.0

func (x *EnvironmentVariable) Reset()

func (*EnvironmentVariable) String added in v0.3.0

func (x *EnvironmentVariable) String() string

func (*EnvironmentVariable) Validate added in v0.3.0

func (m *EnvironmentVariable) Validate() error

Validate checks the field values on EnvironmentVariable with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EnvironmentVariableValidationError added in v0.3.0

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

EnvironmentVariableValidationError is the validation error returned by EnvironmentVariable.Validate if the designated constraints aren't met.

func (EnvironmentVariableValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (EnvironmentVariableValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (EnvironmentVariableValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (EnvironmentVariableValidationError) Field added in v0.3.0

Field function returns field value.

func (EnvironmentVariableValidationError) Key added in v0.3.0

Key function returns key value.

func (EnvironmentVariableValidationError) Reason added in v0.3.0

Reason function returns reason value.

type FromConfigEnv added in v0.5.0

type FromConfigEnv struct {

	// ConfigMapKeyRef indicates the configmap used to get the env variable
	ConfigMapKeyRef *FromValueEnv `protobuf:"bytes,1,opt,name=config_map_key_ref,json=configMapKeyRef,proto3" json:"config_map_key_ref,omitempty"`
	// contains filtered or unexported fields
}

FromSecretEnv message to select a ConfigMap to populate the environment variables with.

func (*FromConfigEnv) Descriptor deprecated added in v0.5.0

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

Deprecated: Use FromConfigEnv.ProtoReflect.Descriptor instead.

func (*FromConfigEnv) GetConfigMapKeyRef added in v0.5.0

func (x *FromConfigEnv) GetConfigMapKeyRef() *FromValueEnv

func (*FromConfigEnv) ProtoMessage added in v0.5.0

func (*FromConfigEnv) ProtoMessage()

func (*FromConfigEnv) ProtoReflect added in v0.5.0

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

func (*FromConfigEnv) Reset added in v0.5.0

func (x *FromConfigEnv) Reset()

func (*FromConfigEnv) String added in v0.5.0

func (x *FromConfigEnv) String() string

func (*FromConfigEnv) Validate added in v0.5.0

func (m *FromConfigEnv) Validate() error

Validate checks the field values on FromConfigEnv with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FromConfigEnvValidationError added in v0.5.0

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

FromConfigEnvValidationError is the validation error returned by FromConfigEnv.Validate if the designated constraints aren't met.

func (FromConfigEnvValidationError) Cause added in v0.5.0

Cause function returns cause value.

func (FromConfigEnvValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (FromConfigEnvValidationError) ErrorName added in v0.5.0

func (e FromConfigEnvValidationError) ErrorName() string

ErrorName returns error name.

func (FromConfigEnvValidationError) Field added in v0.5.0

Field function returns field value.

func (FromConfigEnvValidationError) Key added in v0.5.0

Key function returns key value.

func (FromConfigEnvValidationError) Reason added in v0.5.0

Reason function returns reason value.

type FromValueEnv added in v0.5.0

type FromValueEnv struct {

	// name with the secret name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// key with the key in the secret
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

FromValueEnv message to select a Secret or a configmap to populate the environment variables with.

func (*FromValueEnv) Descriptor deprecated added in v0.5.0

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

Deprecated: Use FromValueEnv.ProtoReflect.Descriptor instead.

func (*FromValueEnv) GetKey added in v0.5.0

func (x *FromValueEnv) GetKey() string

func (*FromValueEnv) GetName added in v0.5.0

func (x *FromValueEnv) GetName() string

func (*FromValueEnv) ProtoMessage added in v0.5.0

func (*FromValueEnv) ProtoMessage()

func (*FromValueEnv) ProtoReflect added in v0.5.0

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

func (*FromValueEnv) Reset added in v0.5.0

func (x *FromValueEnv) Reset()

func (*FromValueEnv) String added in v0.5.0

func (x *FromValueEnv) String() string

func (*FromValueEnv) Validate added in v0.5.0

func (m *FromValueEnv) Validate() error

Validate checks the field values on FromValueEnv with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FromValueEnvValidationError added in v0.5.0

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

FromValueEnvValidationError is the validation error returned by FromValueEnv.Validate if the designated constraints aren't met.

func (FromValueEnvValidationError) Cause added in v0.5.0

Cause function returns cause value.

func (FromValueEnvValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (FromValueEnvValidationError) ErrorName added in v0.5.0

func (e FromValueEnvValidationError) ErrorName() string

ErrorName returns error name.

func (FromValueEnvValidationError) Field added in v0.5.0

Field function returns field value.

func (FromValueEnvValidationError) Key added in v0.5.0

Key function returns key value.

func (FromValueEnvValidationError) Reason added in v0.5.0

Reason function returns reason value.

type Metadata added in v0.2.0

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 added in v0.2.0

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAnnotations added in v0.2.0

func (x *Metadata) GetAnnotations() map[string]string

func (*Metadata) GetCreationTimestamp added in v0.9.0

func (x *Metadata) GetCreationTimestamp() string

func (*Metadata) GetLabels added in v0.2.0

func (x *Metadata) GetLabels() map[string]string

func (*Metadata) GetName added in v0.2.0

func (x *Metadata) GetName() string

func (*Metadata) GetUid added in v0.4.0

func (x *Metadata) GetUid() string

func (*Metadata) ProtoMessage added in v0.2.0

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v0.2.0

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

func (*Metadata) Reset added in v0.2.0

func (x *Metadata) Reset()

func (*Metadata) String added in v0.2.0

func (x *Metadata) String() string

func (*Metadata) Validate added in v0.2.0

func (m *Metadata) Validate() error

Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MetadataValidationError added in v0.2.0

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 added in v0.2.0

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error added in v0.2.0

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName added in v0.2.0

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field added in v0.2.0

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key added in v0.2.0

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason added in v0.2.0

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type Parameter added in v0.3.0

type Parameter struct {

	// Name of the parameter
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required with a flag to indicate if the parameter is required or not
	Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	// FieldPaths with the paths where the parameter is applied
	FieldPaths []string `protobuf:"bytes,3,rep,name=field_paths,json=fieldPaths,proto3" json:"field_paths,omitempty"`
	// contains filtered or unexported fields
}

Parameter message with the parameter definition

func (*Parameter) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetFieldPaths added in v0.3.0

func (x *Parameter) GetFieldPaths() []string

func (*Parameter) GetName added in v0.3.0

func (x *Parameter) GetName() string

func (*Parameter) GetRequired added in v0.3.0

func (x *Parameter) GetRequired() bool

func (*Parameter) ProtoMessage added in v0.3.0

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect added in v0.3.0

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

func (*Parameter) Reset added in v0.3.0

func (x *Parameter) Reset()

func (*Parameter) String added in v0.3.0

func (x *Parameter) String() string

func (*Parameter) Validate added in v0.3.0

func (m *Parameter) Validate() error

Validate checks the field values on Parameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ParameterValidationError added in v0.3.0

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

ParameterValidationError is the validation error returned by Parameter.Validate if the designated constraints aren't met.

func (ParameterValidationError) Cause added in v0.3.0

func (e ParameterValidationError) Cause() error

Cause function returns cause value.

func (ParameterValidationError) Error added in v0.3.0

func (e ParameterValidationError) Error() string

Error satisfies the builtin error interface

func (ParameterValidationError) ErrorName added in v0.3.0

func (e ParameterValidationError) ErrorName() string

ErrorName returns error name.

func (ParameterValidationError) Field added in v0.3.0

func (e ParameterValidationError) Field() string

Field function returns field value.

func (ParameterValidationError) Key added in v0.3.0

Key function returns key value.

func (ParameterValidationError) Reason added in v0.3.0

func (e ParameterValidationError) Reason() string

Reason function returns reason value.

type Port added in v0.3.0

type Port struct {

	// Name of the port
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Value with the port number
	Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// ContainerPort with the port in the container
	ContainerPort int32 `protobuf:"varint,3,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	// Type port
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Port message with the port specification

func (*Port) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Port.ProtoReflect.Descriptor instead.

func (*Port) GetContainerPort added in v0.5.0

func (x *Port) GetContainerPort() int32

func (*Port) GetName added in v0.3.0

func (x *Port) GetName() string

func (*Port) GetType added in v0.5.0

func (x *Port) GetType() string

func (*Port) GetValue added in v0.3.0

func (x *Port) GetValue() int32

func (*Port) ProtoMessage added in v0.3.0

func (*Port) ProtoMessage()

func (*Port) ProtoReflect added in v0.3.0

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

func (*Port) Reset added in v0.3.0

func (x *Port) Reset()

func (*Port) String added in v0.3.0

func (x *Port) String() string

func (*Port) Validate added in v0.3.0

func (m *Port) Validate() error

Validate checks the field values on Port with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PortValidationError added in v0.3.0

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

PortValidationError is the validation error returned by Port.Validate if the designated constraints aren't met.

func (PortValidationError) Cause added in v0.3.0

func (e PortValidationError) Cause() error

Cause function returns cause value.

func (PortValidationError) Error added in v0.3.0

func (e PortValidationError) Error() string

Error satisfies the builtin error interface

func (PortValidationError) ErrorName added in v0.3.0

func (e PortValidationError) ErrorName() string

ErrorName returns error name.

func (PortValidationError) Field added in v0.3.0

func (e PortValidationError) Field() string

Field function returns field value.

func (PortValidationError) Key added in v0.3.0

func (e PortValidationError) Key() bool

Key function returns key value.

func (PortValidationError) Reason added in v0.3.0

func (e PortValidationError) Reason() string

Reason function returns reason value.

type Scope added in v0.2.0

type Scope struct {

	// ApiVersion of the given scope.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of the scope.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Metadata associated with the scope.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec of the scope.
	Spec *ScopeSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Scope as defined in the OAM schematics.

func (*Scope) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Scope.ProtoReflect.Descriptor instead.

func (*Scope) GetApiVersion added in v0.2.0

func (x *Scope) GetApiVersion() string

func (*Scope) GetKind added in v0.2.0

func (x *Scope) GetKind() string

func (*Scope) GetMetadata added in v0.2.0

func (x *Scope) GetMetadata() *Metadata

func (*Scope) GetSpec added in v0.2.0

func (x *Scope) GetSpec() *ScopeSpec

func (*Scope) ProtoMessage added in v0.2.0

func (*Scope) ProtoMessage()

func (*Scope) ProtoReflect added in v0.2.0

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

func (*Scope) Reset added in v0.2.0

func (x *Scope) Reset()

func (*Scope) String added in v0.2.0

func (x *Scope) String() string

func (*Scope) Validate added in v0.2.0

func (m *Scope) Validate() error

Validate checks the field values on Scope with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ScopeSpec added in v0.2.0

type ScopeSpec struct {

	// AllowComponentOverlap specifies whether an OAM component may exist in multiple instances of this kind of scope.
	AllowComponentOverlap bool `` /* 127-byte string literal not displayed */
	// DefinitionRef with the reference to the CustomResourceDefinition that defines this scope kind
	DefinitionRef *DefinitionRef `protobuf:"bytes,2,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,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"`
	// contains filtered or unexported fields
}

ScopeSpec with the specification of a scope.

func (*ScopeSpec) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ScopeSpec.ProtoReflect.Descriptor instead.

func (*ScopeSpec) GetAllowComponentOverlap added in v0.2.0

func (x *ScopeSpec) GetAllowComponentOverlap() bool

func (*ScopeSpec) GetDefinitionRef added in v0.2.0

func (x *ScopeSpec) GetDefinitionRef() *DefinitionRef

func (*ScopeSpec) GetWorkloadRefPath added in v0.2.0

func (x *ScopeSpec) GetWorkloadRefPath() string

func (*ScopeSpec) ProtoMessage added in v0.2.0

func (*ScopeSpec) ProtoMessage()

func (*ScopeSpec) ProtoReflect added in v0.2.0

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

func (*ScopeSpec) Reset added in v0.2.0

func (x *ScopeSpec) Reset()

func (*ScopeSpec) String added in v0.2.0

func (x *ScopeSpec) String() string

func (*ScopeSpec) Validate added in v0.2.0

func (m *ScopeSpec) Validate() error

Validate checks the field values on ScopeSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ScopeSpecValidationError added in v0.2.0

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

ScopeSpecValidationError is the validation error returned by ScopeSpec.Validate if the designated constraints aren't met.

func (ScopeSpecValidationError) Cause added in v0.2.0

func (e ScopeSpecValidationError) Cause() error

Cause function returns cause value.

func (ScopeSpecValidationError) Error added in v0.2.0

func (e ScopeSpecValidationError) Error() string

Error satisfies the builtin error interface

func (ScopeSpecValidationError) ErrorName added in v0.2.0

func (e ScopeSpecValidationError) ErrorName() string

ErrorName returns error name.

func (ScopeSpecValidationError) Field added in v0.2.0

func (e ScopeSpecValidationError) Field() string

Field function returns field value.

func (ScopeSpecValidationError) Key added in v0.2.0

Key function returns key value.

func (ScopeSpecValidationError) Reason added in v0.2.0

func (e ScopeSpecValidationError) Reason() string

Reason function returns reason value.

type ScopeValidationError added in v0.2.0

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

ScopeValidationError is the validation error returned by Scope.Validate if the designated constraints aren't met.

func (ScopeValidationError) Cause added in v0.2.0

func (e ScopeValidationError) Cause() error

Cause function returns cause value.

func (ScopeValidationError) Error added in v0.2.0

func (e ScopeValidationError) Error() string

Error satisfies the builtin error interface

func (ScopeValidationError) ErrorName added in v0.2.0

func (e ScopeValidationError) ErrorName() string

ErrorName returns error name.

func (ScopeValidationError) Field added in v0.2.0

func (e ScopeValidationError) Field() string

Field function returns field value.

func (ScopeValidationError) Key added in v0.2.0

func (e ScopeValidationError) Key() bool

Key function returns key value.

func (ScopeValidationError) Reason added in v0.2.0

func (e ScopeValidationError) Reason() string

Reason function returns reason value.

type Trait added in v0.2.0

type Trait struct {

	// ApiVersion of the given trait.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of the trait.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Metadata associated with the trait.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec of the trait.
	Spec *TraitSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Trait as defined in the OAM schematics.

func (*Trait) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Trait.ProtoReflect.Descriptor instead.

func (*Trait) GetApiVersion added in v0.2.0

func (x *Trait) GetApiVersion() string

func (*Trait) GetKind added in v0.2.0

func (x *Trait) GetKind() string

func (*Trait) GetMetadata added in v0.2.0

func (x *Trait) GetMetadata() *Metadata

func (*Trait) GetSpec added in v0.2.0

func (x *Trait) GetSpec() *TraitSpec

func (*Trait) ProtoMessage added in v0.2.0

func (*Trait) ProtoMessage()

func (*Trait) ProtoReflect added in v0.2.0

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

func (*Trait) Reset added in v0.2.0

func (x *Trait) Reset()

func (*Trait) String added in v0.2.0

func (x *Trait) String() string

func (*Trait) Validate added in v0.2.0

func (m *Trait) Validate() error

Validate checks the field values on Trait with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TraitSpec added in v0.2.0

type TraitSpec struct {

	// AppliesToWorkloads specifies the list of workload kinds this trait applies to. Workload kinds are specified in kind.group/version format, e.g. server.core.oam.dev/v1alpha2. Traits that omit this field apply to all workload kinds.
	AppliesToWorkloads []string `protobuf:"bytes,2,rep,name=applies_to_workloads,json=appliesToWorkloads,proto3" json:"applies_to_workloads,omitempty"`
	// DefinitionRef with the reference to the CustomResourceDefinition that defines this trait kind
	DefinitionRef *DefinitionRef `protobuf:"bytes,3,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,omitempty"`
	// WorkloadRefPath indicates where/if a trait accepts a workloadRef object.
	WorkloadRefPath string `protobuf:"bytes,4,opt,name=workload_ref_path,json=workloadRefPath,proto3" json:"workload_ref_path,omitempty"`
	// contains filtered or unexported fields
}

TraitSpec with the Spec section of a trait.

func (*TraitSpec) Descriptor deprecated added in v0.2.0

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

Deprecated: Use TraitSpec.ProtoReflect.Descriptor instead.

func (*TraitSpec) GetAppliesToWorkloads added in v0.2.0

func (x *TraitSpec) GetAppliesToWorkloads() []string

func (*TraitSpec) GetDefinitionRef added in v0.2.0

func (x *TraitSpec) GetDefinitionRef() *DefinitionRef

func (*TraitSpec) GetWorkloadRefPath added in v0.2.0

func (x *TraitSpec) GetWorkloadRefPath() string

func (*TraitSpec) ProtoMessage added in v0.2.0

func (*TraitSpec) ProtoMessage()

func (*TraitSpec) ProtoReflect added in v0.2.0

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

func (*TraitSpec) Reset added in v0.2.0

func (x *TraitSpec) Reset()

func (*TraitSpec) String added in v0.2.0

func (x *TraitSpec) String() string

func (*TraitSpec) Validate added in v0.2.0

func (m *TraitSpec) Validate() error

Validate checks the field values on TraitSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TraitSpecValidationError added in v0.2.0

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

TraitSpecValidationError is the validation error returned by TraitSpec.Validate if the designated constraints aren't met.

func (TraitSpecValidationError) Cause added in v0.2.0

func (e TraitSpecValidationError) Cause() error

Cause function returns cause value.

func (TraitSpecValidationError) Error added in v0.2.0

func (e TraitSpecValidationError) Error() string

Error satisfies the builtin error interface

func (TraitSpecValidationError) ErrorName added in v0.2.0

func (e TraitSpecValidationError) ErrorName() string

ErrorName returns error name.

func (TraitSpecValidationError) Field added in v0.2.0

func (e TraitSpecValidationError) Field() string

Field function returns field value.

func (TraitSpecValidationError) Key added in v0.2.0

Key function returns key value.

func (TraitSpecValidationError) Reason added in v0.2.0

func (e TraitSpecValidationError) Reason() string

Reason function returns reason value.

type TraitValidationError added in v0.2.0

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

TraitValidationError is the validation error returned by Trait.Validate if the designated constraints aren't met.

func (TraitValidationError) Cause added in v0.2.0

func (e TraitValidationError) Cause() error

Cause function returns cause value.

func (TraitValidationError) Error added in v0.2.0

func (e TraitValidationError) Error() string

Error satisfies the builtin error interface

func (TraitValidationError) ErrorName added in v0.2.0

func (e TraitValidationError) ErrorName() string

ErrorName returns error name.

func (TraitValidationError) Field added in v0.2.0

func (e TraitValidationError) Field() string

Field function returns field value.

func (TraitValidationError) Key added in v0.2.0

func (e TraitValidationError) Key() bool

Key function returns key value.

func (TraitValidationError) Reason added in v0.2.0

func (e TraitValidationError) Reason() string

Reason function returns reason value.

type Workload added in v0.3.0

type Workload struct {

	// ApiVersion of the Workload.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of component.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Metadata associated with the workload.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec with the workload specification
	Spec *WorkloadSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Workload with the information of a workload.

func (*Workload) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Workload.ProtoReflect.Descriptor instead.

func (*Workload) GetApiVersion added in v0.3.0

func (x *Workload) GetApiVersion() string

func (*Workload) GetKind added in v0.3.0

func (x *Workload) GetKind() string

func (*Workload) GetMetadata added in v0.3.0

func (x *Workload) GetMetadata() *Metadata

func (*Workload) GetSpec added in v0.3.0

func (x *Workload) GetSpec() *WorkloadSpec

func (*Workload) ProtoMessage added in v0.3.0

func (*Workload) ProtoMessage()

func (*Workload) ProtoReflect added in v0.3.0

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

func (*Workload) Reset added in v0.3.0

func (x *Workload) Reset()

func (*Workload) String added in v0.3.0

func (x *Workload) String() string

func (*Workload) Validate added in v0.3.0

func (m *Workload) Validate() error

Validate checks the field values on Workload with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WorkloadDefinition added in v0.2.0

type WorkloadDefinition struct {

	// ApiVersion of the given workload.
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Kind of the workload.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Metadata associated with the workload.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec of the workload.
	Spec *WorkloadDefinitionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

WorkloadDefinition as defined in the OAM schematics.

func (*WorkloadDefinition) Descriptor deprecated added in v0.2.0

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

Deprecated: Use WorkloadDefinition.ProtoReflect.Descriptor instead.

func (*WorkloadDefinition) GetApiVersion added in v0.2.0

func (x *WorkloadDefinition) GetApiVersion() string

func (*WorkloadDefinition) GetKind added in v0.2.0

func (x *WorkloadDefinition) GetKind() string

func (*WorkloadDefinition) GetMetadata added in v0.2.0

func (x *WorkloadDefinition) GetMetadata() *Metadata

func (*WorkloadDefinition) GetSpec added in v0.2.0

func (*WorkloadDefinition) ProtoMessage added in v0.2.0

func (*WorkloadDefinition) ProtoMessage()

func (*WorkloadDefinition) ProtoReflect added in v0.2.0

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

func (*WorkloadDefinition) Reset added in v0.2.0

func (x *WorkloadDefinition) Reset()

func (*WorkloadDefinition) String added in v0.2.0

func (x *WorkloadDefinition) String() string

func (*WorkloadDefinition) Validate added in v0.2.0

func (m *WorkloadDefinition) Validate() error

Validate checks the field values on WorkloadDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WorkloadDefinitionSpec added in v0.2.0

type WorkloadDefinitionSpec struct {

	// ChildResourceKinds are the list of GVK of the child resources this workload generates. This field is optional.
	ChildResourceKinds []*ChildResourceKind `protobuf:"bytes,1,rep,name=child_resource_kinds,json=childResourceKinds,proto3" json:"child_resource_kinds,omitempty"`
	// DefinitionRef with the reference to the CustomResourceDefinition that defines this scope kind. This field is mandatory.
	DefinitionRef *DefinitionRef `protobuf:"bytes,2,opt,name=definition_ref,json=definitionRef,proto3" json:"definition_ref,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. This field is optional.
	PodSpecPath string `protobuf:"bytes,3,opt,name=pod_spec_path,json=podSpecPath,proto3" json:"pod_spec_path,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). This field is optional.
	RevisionLabel string `protobuf:"bytes,4,opt,name=revision_label,json=revisionLabel,proto3" json:"revision_label,omitempty"`
	// contains filtered or unexported fields
}

WorkloadDefinitionSpec defines the desired state of a WorkloadDefinition.

func (*WorkloadDefinitionSpec) Descriptor deprecated added in v0.2.0

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

Deprecated: Use WorkloadDefinitionSpec.ProtoReflect.Descriptor instead.

func (*WorkloadDefinitionSpec) GetChildResourceKinds added in v0.2.0

func (x *WorkloadDefinitionSpec) GetChildResourceKinds() []*ChildResourceKind

func (*WorkloadDefinitionSpec) GetDefinitionRef added in v0.2.0

func (x *WorkloadDefinitionSpec) GetDefinitionRef() *DefinitionRef

func (*WorkloadDefinitionSpec) GetPodSpecPath added in v0.2.0

func (x *WorkloadDefinitionSpec) GetPodSpecPath() string

func (*WorkloadDefinitionSpec) GetRevisionLabel added in v0.2.0

func (x *WorkloadDefinitionSpec) GetRevisionLabel() string

func (*WorkloadDefinitionSpec) ProtoMessage added in v0.2.0

func (*WorkloadDefinitionSpec) ProtoMessage()

func (*WorkloadDefinitionSpec) ProtoReflect added in v0.2.0

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

func (*WorkloadDefinitionSpec) Reset added in v0.2.0

func (x *WorkloadDefinitionSpec) Reset()

func (*WorkloadDefinitionSpec) String added in v0.2.0

func (x *WorkloadDefinitionSpec) String() string

func (*WorkloadDefinitionSpec) Validate added in v0.2.0

func (m *WorkloadDefinitionSpec) Validate() error

Validate checks the field values on WorkloadDefinitionSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WorkloadDefinitionSpecValidationError added in v0.2.0

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

WorkloadDefinitionSpecValidationError is the validation error returned by WorkloadDefinitionSpec.Validate if the designated constraints aren't met.

func (WorkloadDefinitionSpecValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (WorkloadDefinitionSpecValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (WorkloadDefinitionSpecValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (WorkloadDefinitionSpecValidationError) Field added in v0.2.0

Field function returns field value.

func (WorkloadDefinitionSpecValidationError) Key added in v0.2.0

Key function returns key value.

func (WorkloadDefinitionSpecValidationError) Reason added in v0.2.0

Reason function returns reason value.

type WorkloadDefinitionValidationError added in v0.2.0

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

WorkloadDefinitionValidationError is the validation error returned by WorkloadDefinition.Validate if the designated constraints aren't met.

func (WorkloadDefinitionValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (WorkloadDefinitionValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (WorkloadDefinitionValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (WorkloadDefinitionValidationError) Field added in v0.2.0

Field function returns field value.

func (WorkloadDefinitionValidationError) Key added in v0.2.0

Key function returns key value.

func (WorkloadDefinitionValidationError) Reason added in v0.2.0

Reason function returns reason value.

type WorkloadSpec added in v0.3.0

type WorkloadSpec struct {
	OsType     string       `protobuf:"bytes,1,opt,name=os_type,json=osType,proto3" json:"os_type,omitempty"`
	Containers []*Container `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"`
	// contains filtered or unexported fields
}

WorkloadSpec with the workloadSpec

func (*WorkloadSpec) Descriptor deprecated added in v0.3.0

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

Deprecated: Use WorkloadSpec.ProtoReflect.Descriptor instead.

func (*WorkloadSpec) GetContainers added in v0.3.0

func (x *WorkloadSpec) GetContainers() []*Container

func (*WorkloadSpec) GetOsType added in v0.3.0

func (x *WorkloadSpec) GetOsType() string

func (*WorkloadSpec) ProtoMessage added in v0.3.0

func (*WorkloadSpec) ProtoMessage()

func (*WorkloadSpec) ProtoReflect added in v0.3.0

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

func (*WorkloadSpec) Reset added in v0.3.0

func (x *WorkloadSpec) Reset()

func (*WorkloadSpec) String added in v0.3.0

func (x *WorkloadSpec) String() string

func (*WorkloadSpec) Validate added in v0.3.0

func (m *WorkloadSpec) Validate() error

Validate checks the field values on WorkloadSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WorkloadSpecValidationError added in v0.3.0

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

WorkloadSpecValidationError is the validation error returned by WorkloadSpec.Validate if the designated constraints aren't met.

func (WorkloadSpecValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (WorkloadSpecValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (WorkloadSpecValidationError) ErrorName added in v0.3.0

func (e WorkloadSpecValidationError) ErrorName() string

ErrorName returns error name.

func (WorkloadSpecValidationError) Field added in v0.3.0

Field function returns field value.

func (WorkloadSpecValidationError) Key added in v0.3.0

Key function returns key value.

func (WorkloadSpecValidationError) Reason added in v0.3.0

Reason function returns reason value.

type WorkloadValidationError added in v0.3.0

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

WorkloadValidationError is the validation error returned by Workload.Validate if the designated constraints aren't met.

func (WorkloadValidationError) Cause added in v0.3.0

func (e WorkloadValidationError) Cause() error

Cause function returns cause value.

func (WorkloadValidationError) Error added in v0.3.0

func (e WorkloadValidationError) Error() string

Error satisfies the builtin error interface

func (WorkloadValidationError) ErrorName added in v0.3.0

func (e WorkloadValidationError) ErrorName() string

ErrorName returns error name.

func (WorkloadValidationError) Field added in v0.3.0

func (e WorkloadValidationError) Field() string

Field function returns field value.

func (WorkloadValidationError) Key added in v0.3.0

func (e WorkloadValidationError) Key() bool

Key function returns key value.

func (WorkloadValidationError) Reason added in v0.3.0

func (e WorkloadValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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