Documentation ¶
Index ¶
- Constants
- func FromComponent(from common.ApplicationComponent) (apis.Component, error)
- type K8sObjectsComponent
- func (k *K8sObjectsComponent) AddDependsOn(dependsOn string) *K8sObjectsComponent
- func (k *K8sObjectsComponent) Build() common.ApplicationComponent
- func (k *K8sObjectsComponent) ComponentName() string
- func (k *K8sObjectsComponent) DefType() string
- func (k *K8sObjectsComponent) DependsOn(dependsOn []string) *K8sObjectsComponent
- func (k *K8sObjectsComponent) FromComponent(from common.ApplicationComponent) (*K8sObjectsComponent, error)
- func (k *K8sObjectsComponent) GetAllTraits() []apis.Trait
- func (o *K8sObjectsComponent) GetObjects() []map[string]interface{}
- func (o *K8sObjectsComponent) GetObjectsOk() ([]map[string]interface{}, bool)
- func (k *K8sObjectsComponent) GetTrait(typ string) apis.Trait
- func (k *K8sObjectsComponent) Inputs(input common.StepInputs) *K8sObjectsComponent
- func (k *K8sObjectsComponent) Outputs(output common.StepOutputs) *K8sObjectsComponent
- func (o *K8sObjectsComponent) SetObjects(v []map[string]interface{}) *K8sObjectsComponent
- func (k *K8sObjectsComponent) SetTraits(traits ...apis.Trait) *K8sObjectsComponent
- func (o *K8sObjectsComponent) Validate() error
- type K8sObjectsSpec
- type NullableK8sObjectsSpec
- func (v *NullableK8sObjectsSpec) Get() *K8sObjectsSpec
- func (v *NullableK8sObjectsSpec) IsSet() bool
- func (v NullableK8sObjectsSpec) MarshalJSON() ([]byte, error)
- func (v *NullableK8sObjectsSpec) Set(val *K8sObjectsSpec)
- func (v *NullableK8sObjectsSpec) UnmarshalJSON(src []byte) error
- func (v *NullableK8sObjectsSpec) Unset()
Constants ¶
const K8sObjectsType = "k8s-objects"
Variables ¶
This section is empty.
Functions ¶
func FromComponent ¶
func FromComponent(from common.ApplicationComponent) (apis.Component, error)
Types ¶
type K8sObjectsComponent ¶
type K8sObjectsComponent struct { Base apis.ComponentBase Properties K8sObjectsSpec }
func K8sObjects ¶
func K8sObjects(name string) *K8sObjectsComponent
func (*K8sObjectsComponent) AddDependsOn ¶
func (k *K8sObjectsComponent) AddDependsOn(dependsOn string) *K8sObjectsComponent
func (*K8sObjectsComponent) Build ¶
func (k *K8sObjectsComponent) Build() common.ApplicationComponent
func (*K8sObjectsComponent) ComponentName ¶
func (k *K8sObjectsComponent) ComponentName() string
func (*K8sObjectsComponent) DefType ¶
func (k *K8sObjectsComponent) DefType() string
func (*K8sObjectsComponent) DependsOn ¶
func (k *K8sObjectsComponent) DependsOn(dependsOn []string) *K8sObjectsComponent
func (*K8sObjectsComponent) FromComponent ¶
func (k *K8sObjectsComponent) FromComponent(from common.ApplicationComponent) (*K8sObjectsComponent, error)
func (*K8sObjectsComponent) GetAllTraits ¶
func (k *K8sObjectsComponent) GetAllTraits() []apis.Trait
func (*K8sObjectsComponent) GetObjects ¶
func (o *K8sObjectsComponent) GetObjects() []map[string]interface{}
GetObjects returns the Objects field value
func (*K8sObjectsComponent) GetObjectsOk ¶
func (o *K8sObjectsComponent) GetObjectsOk() ([]map[string]interface{}, bool)
GetObjectsOk returns a tuple with the Objects field value and a boolean to check if the value has been set.
func (*K8sObjectsComponent) GetTrait ¶
func (k *K8sObjectsComponent) GetTrait(typ string) apis.Trait
func (*K8sObjectsComponent) Inputs ¶
func (k *K8sObjectsComponent) Inputs(input common.StepInputs) *K8sObjectsComponent
func (*K8sObjectsComponent) Outputs ¶
func (k *K8sObjectsComponent) Outputs(output common.StepOutputs) *K8sObjectsComponent
func (*K8sObjectsComponent) SetObjects ¶
func (o *K8sObjectsComponent) SetObjects(v []map[string]interface{}) *K8sObjectsComponent
SetObjects sets field value
func (*K8sObjectsComponent) SetTraits ¶
func (k *K8sObjectsComponent) SetTraits(traits ...apis.Trait) *K8sObjectsComponent
func (*K8sObjectsComponent) Validate ¶
func (o *K8sObjectsComponent) Validate() error
Validate validates this K8sObjectsSpec 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
type K8sObjectsSpec ¶
type K8sObjectsSpec struct {
Objects []map[string]interface{} `json:"objects"`
}
K8sObjectsSpec struct for K8sObjectsSpec
func NewK8sObjectsSpec ¶
func NewK8sObjectsSpec() *K8sObjectsSpec
NewK8sObjectsSpec is short for NewK8sObjectsSpecWithDefault which instantiates a new K8sObjectsSpec object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewK8sObjectsSpecEmpty ¶
func NewK8sObjectsSpecEmpty() *K8sObjectsSpec
NewK8sObjectsSpecEmpty instantiates a new K8sObjectsSpec object with no properties set. This constructor will not assign any default values to properties.
func NewK8sObjectsSpecList ¶
func NewK8sObjectsSpecList(ps ...*K8sObjectsSpec) []K8sObjectsSpec
NewK8sObjectsSpecs converts a list K8sObjectsSpec pointers to objects. This is helpful when the SetK8sObjectsSpec requires a list of objects
func NewK8sObjectsSpecWith ¶
func NewK8sObjectsSpecWith(objects []map[string]interface{}) *K8sObjectsSpec
NewK8sObjectsSpecWith instantiates a new K8sObjectsSpec object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewK8sObjectsSpecWithDefault ¶
func NewK8sObjectsSpecWithDefault() *K8sObjectsSpec
NewK8sObjectsSpecWithDefault instantiates a new K8sObjectsSpec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (K8sObjectsSpec) MarshalJSON ¶
func (o K8sObjectsSpec) MarshalJSON() ([]byte, error)
func (K8sObjectsSpec) ToMap ¶
func (o K8sObjectsSpec) ToMap() (map[string]interface{}, error)
type NullableK8sObjectsSpec ¶
type NullableK8sObjectsSpec struct {
// contains filtered or unexported fields
}
func NewNullableK8sObjectsSpec ¶
func NewNullableK8sObjectsSpec(val *K8sObjectsSpec) *NullableK8sObjectsSpec
func (*NullableK8sObjectsSpec) Get ¶
func (v *NullableK8sObjectsSpec) Get() *K8sObjectsSpec
func (*NullableK8sObjectsSpec) IsSet ¶
func (v *NullableK8sObjectsSpec) IsSet() bool
func (NullableK8sObjectsSpec) MarshalJSON ¶
func (v NullableK8sObjectsSpec) MarshalJSON() ([]byte, error)
func (*NullableK8sObjectsSpec) Set ¶
func (v *NullableK8sObjectsSpec) Set(val *K8sObjectsSpec)
func (*NullableK8sObjectsSpec) UnmarshalJSON ¶
func (v *NullableK8sObjectsSpec) UnmarshalJSON(src []byte) error
func (*NullableK8sObjectsSpec) Unset ¶
func (v *NullableK8sObjectsSpec) Unset()