collect_service_endpoints

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 CollectServiceEndpointsType = "collect-service-endpoints"

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 CollectServiceEndpointsSpec

type CollectServiceEndpointsSpec struct {
	// Filter the component of the endpoints
	Components []string `json:"components,omitempty"`
	// Specify the name of the application
	Name *string `json:"name,omitempty"`
	// Specify the namespace of the application
	Namespace *string `json:"namespace,omitempty"`
	// Filter the endpoint that are only outer
	Outer *bool `json:"outer,omitempty"`
	// Filter the port of the endpoints
	Port *int32 `json:"port,omitempty"`
	// Filter the port name of the endpoints
	PortName *string `json:"portName,omitempty"`
	// The protocal of endpoint url
	Protocal *string `json:"protocal"`
}

CollectServiceEndpointsSpec struct for CollectServiceEndpointsSpec

func NewCollectServiceEndpointsSpec

func NewCollectServiceEndpointsSpec() *CollectServiceEndpointsSpec

NewCollectServiceEndpointsSpec is short for NewCollectServiceEndpointsSpecWithDefault which instantiates a new CollectServiceEndpointsSpec 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 NewCollectServiceEndpointsSpecEmpty

func NewCollectServiceEndpointsSpecEmpty() *CollectServiceEndpointsSpec

NewCollectServiceEndpointsSpecEmpty instantiates a new CollectServiceEndpointsSpec object with no properties set. This constructor will not assign any default values to properties.

func NewCollectServiceEndpointsSpecList

func NewCollectServiceEndpointsSpecList(ps ...*CollectServiceEndpointsSpec) []CollectServiceEndpointsSpec

NewCollectServiceEndpointsSpecs converts a list CollectServiceEndpointsSpec pointers to objects. This is helpful when the SetCollectServiceEndpointsSpec requires a list of objects

func NewCollectServiceEndpointsSpecWith

func NewCollectServiceEndpointsSpecWith(protocal string) *CollectServiceEndpointsSpec

NewCollectServiceEndpointsSpecWith instantiates a new CollectServiceEndpointsSpec 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 NewCollectServiceEndpointsSpecWithDefault

func NewCollectServiceEndpointsSpecWithDefault() *CollectServiceEndpointsSpec

NewCollectServiceEndpointsSpecWithDefault instantiates a new CollectServiceEndpointsSpec 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 (CollectServiceEndpointsSpec) MarshalJSON

func (o CollectServiceEndpointsSpec) MarshalJSON() ([]byte, error)

func (CollectServiceEndpointsSpec) ToMap

func (o CollectServiceEndpointsSpec) ToMap() (map[string]interface{}, error)

type CollectServiceEndpointsWorkflowStep

type CollectServiceEndpointsWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties CollectServiceEndpointsSpec
}

func CollectServiceEndpoints

func CollectServiceEndpoints(name string) *CollectServiceEndpointsWorkflowStep

func (*CollectServiceEndpointsWorkflowStep) Alias

func (*CollectServiceEndpointsWorkflowStep) Build

func (*CollectServiceEndpointsWorkflowStep) DefType

func (*CollectServiceEndpointsWorkflowStep) DependsOn

func (*CollectServiceEndpointsWorkflowStep) FromWorkflowStep

func (*CollectServiceEndpointsWorkflowStep) FromWorkflowSubStep

func (*CollectServiceEndpointsWorkflowStep) GetComponents

func (o *CollectServiceEndpointsWorkflowStep) GetComponents() []string

GetComponents returns the Components field value if set, zero value otherwise.

func (*CollectServiceEndpointsWorkflowStep) GetComponentsOk

func (o *CollectServiceEndpointsWorkflowStep) GetComponentsOk() ([]string, bool)

GetComponentsOk returns a tuple with the Components field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectServiceEndpointsWorkflowStep) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*CollectServiceEndpointsWorkflowStep) GetNameOk

func (o *CollectServiceEndpointsWorkflowStep) 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 (*CollectServiceEndpointsWorkflowStep) GetNamespace

func (o *CollectServiceEndpointsWorkflowStep) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*CollectServiceEndpointsWorkflowStep) GetNamespaceOk

func (o *CollectServiceEndpointsWorkflowStep) 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 (*CollectServiceEndpointsWorkflowStep) GetOuter

GetOuter returns the Outer field value if set, zero value otherwise.

func (*CollectServiceEndpointsWorkflowStep) GetOuterOk

func (o *CollectServiceEndpointsWorkflowStep) GetOuterOk() (*bool, bool)

GetOuterOk returns a tuple with the Outer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectServiceEndpointsWorkflowStep) GetPort

GetPort returns the Port field value if set, zero value otherwise.

func (*CollectServiceEndpointsWorkflowStep) GetPortName

GetPortName returns the PortName field value if set, zero value otherwise.

func (*CollectServiceEndpointsWorkflowStep) GetPortNameOk

func (o *CollectServiceEndpointsWorkflowStep) GetPortNameOk() (*string, bool)

GetPortNameOk returns a tuple with the PortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectServiceEndpointsWorkflowStep) GetPortOk

func (o *CollectServiceEndpointsWorkflowStep) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectServiceEndpointsWorkflowStep) GetProtocal

GetProtocal returns the Protocal field value

func (*CollectServiceEndpointsWorkflowStep) GetProtocalOk

func (o *CollectServiceEndpointsWorkflowStep) GetProtocalOk() (*string, bool)

GetProtocalOk returns a tuple with the Protocal field value and a boolean to check if the value has been set.

func (*CollectServiceEndpointsWorkflowStep) HasComponents

func (o *CollectServiceEndpointsWorkflowStep) HasComponents() bool

HasComponents returns a boolean if a field has been set.

func (*CollectServiceEndpointsWorkflowStep) HasName

HasName returns a boolean if a field has been set.

func (*CollectServiceEndpointsWorkflowStep) HasNamespace

func (o *CollectServiceEndpointsWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*CollectServiceEndpointsWorkflowStep) HasOuter

HasOuter returns a boolean if a field has been set.

func (*CollectServiceEndpointsWorkflowStep) HasPort

HasPort returns a boolean if a field has been set.

func (*CollectServiceEndpointsWorkflowStep) HasPortName

func (o *CollectServiceEndpointsWorkflowStep) HasPortName() bool

HasPortName returns a boolean if a field has been set.

func (*CollectServiceEndpointsWorkflowStep) If

func (*CollectServiceEndpointsWorkflowStep) Inputs

func (*CollectServiceEndpointsWorkflowStep) Outputs

func (*CollectServiceEndpointsWorkflowStep) SetComponents

SetComponents gets a reference to the given []string and assigns it to the components field. Components: Filter the component of the endpoints

func (*CollectServiceEndpointsWorkflowStep) SetName

SetName gets a reference to the given string and assigns it to the name field. Name: Specify the name of the application

func (*CollectServiceEndpointsWorkflowStep) SetNamespace

SetNamespace gets a reference to the given string and assigns it to the namespace field. Namespace: Specify the namespace of the application

func (*CollectServiceEndpointsWorkflowStep) SetOuter

SetOuter gets a reference to the given bool and assigns it to the outer field. Outer: Filter the endpoint that are only outer

func (*CollectServiceEndpointsWorkflowStep) SetPort

SetPort gets a reference to the given int32 and assigns it to the port field. Port: Filter the port of the endpoints

func (*CollectServiceEndpointsWorkflowStep) SetPortName

SetPortName gets a reference to the given string and assigns it to the portName field. PortName: Filter the port name of the endpoints

func (*CollectServiceEndpointsWorkflowStep) SetProtocal

SetProtocal sets field value

func (*CollectServiceEndpointsWorkflowStep) Timeout

func (*CollectServiceEndpointsWorkflowStep) Validate

Validate validates this CollectServiceEndpointsSpec 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 (*CollectServiceEndpointsWorkflowStep) WorkflowStepName

func (c *CollectServiceEndpointsWorkflowStep) WorkflowStepName() string

type NullableCollectServiceEndpointsSpec

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

func (*NullableCollectServiceEndpointsSpec) Get

func (*NullableCollectServiceEndpointsSpec) IsSet

func (NullableCollectServiceEndpointsSpec) MarshalJSON

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

func (*NullableCollectServiceEndpointsSpec) Set

func (*NullableCollectServiceEndpointsSpec) UnmarshalJSON

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

func (*NullableCollectServiceEndpointsSpec) Unset

Jump to

Keyboard shortcuts

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