export_service

package
v0.0.0-...-3d8ba93 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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 (*ExportServiceWorkflowStep) Build

func (*ExportServiceWorkflowStep) DefType

func (e *ExportServiceWorkflowStep) DefType() string

func (*ExportServiceWorkflowStep) DependsOn

func (e *ExportServiceWorkflowStep) DependsOn(dependsOn []string) *ExportServiceWorkflowStep

func (*ExportServiceWorkflowStep) FromWorkflowStep

func (*ExportServiceWorkflowStep) FromWorkflowSubStep

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 (*ExportServiceWorkflowStep) Inputs

func (*ExportServiceWorkflowStep) Outputs

func (*ExportServiceWorkflowStep) SetIp

SetIp sets field value

func (*ExportServiceWorkflowStep) SetName

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

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

SetPort sets field value

func (*ExportServiceWorkflowStep) SetTargetPort

SetTargetPort sets field value

func (*ExportServiceWorkflowStep) SetTopology

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 (*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 (*NullableExportServiceSpec) IsSet

func (v *NullableExportServiceSpec) IsSet() bool

func (NullableExportServiceSpec) MarshalJSON

func (v NullableExportServiceSpec) MarshalJSON() ([]byte, error)

func (*NullableExportServiceSpec) Set

func (*NullableExportServiceSpec) UnmarshalJSON

func (v *NullableExportServiceSpec) UnmarshalJSON(src []byte) error

func (*NullableExportServiceSpec) Unset

func (v *NullableExportServiceSpec) Unset()

Jump to

Keyboard shortcuts

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