Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type ExportServiceSpec
- func NewExportServiceSpec() *ExportServiceSpec
- func NewExportServiceSpecEmpty() *ExportServiceSpec
- func NewExportServiceSpecList(ps ...*ExportServiceSpec) []ExportServiceSpec
- func NewExportServiceSpecWith(ip string, port int32, targetPort int32) *ExportServiceSpec
- func NewExportServiceSpecWithDefault() *ExportServiceSpec
- type ExportServiceWorkflowStep
- func (e *ExportServiceWorkflowStep) Alias(alias string) *ExportServiceWorkflowStep
- func (e *ExportServiceWorkflowStep) Build() v1beta1.WorkflowStep
- func (e *ExportServiceWorkflowStep) DefType() string
- func (e *ExportServiceWorkflowStep) DependsOn(dependsOn []string) *ExportServiceWorkflowStep
- func (e *ExportServiceWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ExportServiceWorkflowStep, error)
- func (e *ExportServiceWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ExportServiceWorkflowStep, error)
- func (o *ExportServiceWorkflowStep) GetIp() string
- func (o *ExportServiceWorkflowStep) GetIpOk() (*string, bool)
- func (o *ExportServiceWorkflowStep) GetName() string
- func (o *ExportServiceWorkflowStep) GetNameOk() (*string, bool)
- func (o *ExportServiceWorkflowStep) GetNamespace() string
- func (o *ExportServiceWorkflowStep) GetNamespaceOk() (*string, bool)
- func (o *ExportServiceWorkflowStep) GetPort() int32
- func (o *ExportServiceWorkflowStep) GetPortOk() (*int32, bool)
- func (o *ExportServiceWorkflowStep) GetTargetPort() int32
- func (o *ExportServiceWorkflowStep) GetTargetPortOk() (*int32, bool)
- func (o *ExportServiceWorkflowStep) GetTopology() string
- func (o *ExportServiceWorkflowStep) GetTopologyOk() (*string, bool)
- func (o *ExportServiceWorkflowStep) HasName() bool
- func (o *ExportServiceWorkflowStep) HasNamespace() bool
- func (o *ExportServiceWorkflowStep) HasTopology() bool
- func (e *ExportServiceWorkflowStep) If(_if string) *ExportServiceWorkflowStep
- func (e *ExportServiceWorkflowStep) Inputs(input common.StepInputs) *ExportServiceWorkflowStep
- func (e *ExportServiceWorkflowStep) Outputs(output common.StepOutputs) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) SetIp(v string) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) SetName(v string) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) SetNamespace(v string) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) SetPort(v int32) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) SetTargetPort(v int32) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) SetTopology(v string) *ExportServiceWorkflowStep
- func (e *ExportServiceWorkflowStep) Timeout(timeout string) *ExportServiceWorkflowStep
- func (o *ExportServiceWorkflowStep) Validate() error
- func (e *ExportServiceWorkflowStep) WorkflowStepName() string
- type NullableExportServiceSpec
- func (v *NullableExportServiceSpec) Get() *ExportServiceSpec
- func (v *NullableExportServiceSpec) IsSet() bool
- func (v NullableExportServiceSpec) MarshalJSON() ([]byte, error)
- func (v *NullableExportServiceSpec) Set(val *ExportServiceSpec)
- func (v *NullableExportServiceSpec) UnmarshalJSON(src []byte) error
- func (v *NullableExportServiceSpec) Unset()
Constants ¶
const ExportServiceType = "export-service"
Variables ¶
This section is empty.
Functions ¶
func FromWorkflowStep ¶
func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
func FromWorkflowSubStep ¶
func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
Types ¶
type ExportServiceSpec ¶
type ExportServiceSpec struct { // Specify the ip to be export Ip *string `json:"ip"` // Specify the name of the export destination Name *string `json:"name,omitempty"` // Specify the namespace of the export destination Namespace *string `json:"namespace,omitempty"` // Specify the port to be used in service Port *int32 `json:"port"` // Specify the port to be export TargetPort *int32 `json:"targetPort"` // Specify the topology to export Topology *string `json:"topology,omitempty"` }
ExportServiceSpec struct for ExportServiceSpec
func NewExportServiceSpec ¶
func NewExportServiceSpec() *ExportServiceSpec
NewExportServiceSpec is short for NewExportServiceSpecWithDefault which instantiates a new ExportServiceSpec 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 NewExportServiceSpecEmpty ¶
func NewExportServiceSpecEmpty() *ExportServiceSpec
NewExportServiceSpecEmpty instantiates a new ExportServiceSpec object with no properties set. This constructor will not assign any default values to properties.
func NewExportServiceSpecList ¶
func NewExportServiceSpecList(ps ...*ExportServiceSpec) []ExportServiceSpec
NewExportServiceSpecs converts a list ExportServiceSpec pointers to objects. This is helpful when the SetExportServiceSpec requires a list of objects
func NewExportServiceSpecWith ¶
func NewExportServiceSpecWith(ip string, port int32, targetPort int32) *ExportServiceSpec
NewExportServiceSpecWith instantiates a new ExportServiceSpec 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 NewExportServiceSpecWithDefault ¶
func NewExportServiceSpecWithDefault() *ExportServiceSpec
NewExportServiceSpecWithDefault instantiates a new ExportServiceSpec 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 (ExportServiceSpec) MarshalJSON ¶
func (o ExportServiceSpec) MarshalJSON() ([]byte, error)
func (ExportServiceSpec) ToMap ¶
func (o ExportServiceSpec) ToMap() (map[string]interface{}, error)
type ExportServiceWorkflowStep ¶
type ExportServiceWorkflowStep struct { Base apis.WorkflowStepBase Properties ExportServiceSpec }
func ExportService ¶
func ExportService(name string) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) Alias ¶
func (e *ExportServiceWorkflowStep) Alias(alias string) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) Build ¶
func (e *ExportServiceWorkflowStep) Build() v1beta1.WorkflowStep
func (*ExportServiceWorkflowStep) DefType ¶
func (e *ExportServiceWorkflowStep) DefType() string
func (*ExportServiceWorkflowStep) DependsOn ¶
func (e *ExportServiceWorkflowStep) DependsOn(dependsOn []string) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) FromWorkflowStep ¶
func (e *ExportServiceWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ExportServiceWorkflowStep, error)
func (*ExportServiceWorkflowStep) FromWorkflowSubStep ¶
func (e *ExportServiceWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ExportServiceWorkflowStep, error)
func (*ExportServiceWorkflowStep) GetIp ¶
func (o *ExportServiceWorkflowStep) GetIp() string
GetIp returns the Ip field value
func (*ExportServiceWorkflowStep) GetIpOk ¶
func (o *ExportServiceWorkflowStep) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.
func (*ExportServiceWorkflowStep) GetName ¶
func (o *ExportServiceWorkflowStep) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ExportServiceWorkflowStep) GetNameOk ¶
func (o *ExportServiceWorkflowStep) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportServiceWorkflowStep) GetNamespace ¶
func (o *ExportServiceWorkflowStep) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*ExportServiceWorkflowStep) GetNamespaceOk ¶
func (o *ExportServiceWorkflowStep) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportServiceWorkflowStep) GetPort ¶
func (o *ExportServiceWorkflowStep) GetPort() int32
GetPort returns the Port field value
func (*ExportServiceWorkflowStep) GetPortOk ¶
func (o *ExportServiceWorkflowStep) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*ExportServiceWorkflowStep) GetTargetPort ¶
func (o *ExportServiceWorkflowStep) GetTargetPort() int32
GetTargetPort returns the TargetPort field value
func (*ExportServiceWorkflowStep) GetTargetPortOk ¶
func (o *ExportServiceWorkflowStep) GetTargetPortOk() (*int32, bool)
GetTargetPortOk returns a tuple with the TargetPort field value and a boolean to check if the value has been set.
func (*ExportServiceWorkflowStep) GetTopology ¶
func (o *ExportServiceWorkflowStep) GetTopology() string
GetTopology returns the Topology field value if set, zero value otherwise.
func (*ExportServiceWorkflowStep) GetTopologyOk ¶
func (o *ExportServiceWorkflowStep) GetTopologyOk() (*string, bool)
GetTopologyOk returns a tuple with the Topology field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportServiceWorkflowStep) HasName ¶
func (o *ExportServiceWorkflowStep) HasName() bool
HasName returns a boolean if a field has been set.
func (*ExportServiceWorkflowStep) HasNamespace ¶
func (o *ExportServiceWorkflowStep) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*ExportServiceWorkflowStep) HasTopology ¶
func (o *ExportServiceWorkflowStep) HasTopology() bool
HasTopology returns a boolean if a field has been set.
func (*ExportServiceWorkflowStep) If ¶
func (e *ExportServiceWorkflowStep) If(_if string) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) Inputs ¶
func (e *ExportServiceWorkflowStep) Inputs(input common.StepInputs) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) Outputs ¶
func (e *ExportServiceWorkflowStep) Outputs(output common.StepOutputs) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) SetIp ¶
func (o *ExportServiceWorkflowStep) SetIp(v string) *ExportServiceWorkflowStep
SetIp sets field value
func (*ExportServiceWorkflowStep) SetName ¶
func (o *ExportServiceWorkflowStep) SetName(v string) *ExportServiceWorkflowStep
SetName gets a reference to the given string and assigns it to the name field. Name: Specify the name of the export destination
func (*ExportServiceWorkflowStep) SetNamespace ¶
func (o *ExportServiceWorkflowStep) SetNamespace(v string) *ExportServiceWorkflowStep
SetNamespace gets a reference to the given string and assigns it to the namespace field. Namespace: Specify the namespace of the export destination
func (*ExportServiceWorkflowStep) SetPort ¶
func (o *ExportServiceWorkflowStep) SetPort(v int32) *ExportServiceWorkflowStep
SetPort sets field value
func (*ExportServiceWorkflowStep) SetTargetPort ¶
func (o *ExportServiceWorkflowStep) SetTargetPort(v int32) *ExportServiceWorkflowStep
SetTargetPort sets field value
func (*ExportServiceWorkflowStep) SetTopology ¶
func (o *ExportServiceWorkflowStep) SetTopology(v string) *ExportServiceWorkflowStep
SetTopology gets a reference to the given string and assigns it to the topology field. Topology: Specify the topology to export
func (*ExportServiceWorkflowStep) Timeout ¶
func (e *ExportServiceWorkflowStep) Timeout(timeout string) *ExportServiceWorkflowStep
func (*ExportServiceWorkflowStep) Validate ¶
func (o *ExportServiceWorkflowStep) Validate() error
Validate validates this ExportServiceSpec 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
func (*ExportServiceWorkflowStep) WorkflowStepName ¶
func (e *ExportServiceWorkflowStep) WorkflowStepName() string
type NullableExportServiceSpec ¶
type NullableExportServiceSpec struct {
// contains filtered or unexported fields
}
func NewNullableExportServiceSpec ¶
func NewNullableExportServiceSpec(val *ExportServiceSpec) *NullableExportServiceSpec
func (*NullableExportServiceSpec) Get ¶
func (v *NullableExportServiceSpec) Get() *ExportServiceSpec
func (*NullableExportServiceSpec) IsSet ¶
func (v *NullableExportServiceSpec) IsSet() bool
func (NullableExportServiceSpec) MarshalJSON ¶
func (v NullableExportServiceSpec) MarshalJSON() ([]byte, error)
func (*NullableExportServiceSpec) Set ¶
func (v *NullableExportServiceSpec) Set(val *ExportServiceSpec)
func (*NullableExportServiceSpec) UnmarshalJSON ¶
func (v *NullableExportServiceSpec) UnmarshalJSON(src []byte) error
func (*NullableExportServiceSpec) Unset ¶
func (v *NullableExportServiceSpec) Unset()