export_data

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 ExportDataType = "export-data"

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 ExportDataSpec

type ExportDataSpec struct {
	// Specify the data to export
	Data map[string]interface{} `json:"data"`
	// Specify the kind of the export destination
	Kind *string `json:"kind"`
	// 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 topology to export
	Topology *string `json:"topology,omitempty"`
}

ExportDataSpec struct for ExportDataSpec

func NewExportDataSpec

func NewExportDataSpec() *ExportDataSpec

NewExportDataSpec is short for NewExportDataSpecWithDefault which instantiates a new ExportDataSpec 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 NewExportDataSpecEmpty

func NewExportDataSpecEmpty() *ExportDataSpec

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

func NewExportDataSpecList

func NewExportDataSpecList(ps ...*ExportDataSpec) []ExportDataSpec

NewExportDataSpecs converts a list ExportDataSpec pointers to objects. This is helpful when the SetExportDataSpec requires a list of objects

func NewExportDataSpecWith

func NewExportDataSpecWith(data map[string]interface{}, kind string) *ExportDataSpec

NewExportDataSpecWith instantiates a new ExportDataSpec 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 NewExportDataSpecWithDefault

func NewExportDataSpecWithDefault() *ExportDataSpec

NewExportDataSpecWithDefault instantiates a new ExportDataSpec 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 (ExportDataSpec) MarshalJSON

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

func (ExportDataSpec) ToMap

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

type ExportDataWorkflowStep

type ExportDataWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties ExportDataSpec
}

func ExportData

func ExportData(name string) *ExportDataWorkflowStep

func (*ExportDataWorkflowStep) Alias

func (*ExportDataWorkflowStep) Build

func (*ExportDataWorkflowStep) DefType

func (e *ExportDataWorkflowStep) DefType() string

func (*ExportDataWorkflowStep) DependsOn

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

func (*ExportDataWorkflowStep) FromWorkflowStep

func (*ExportDataWorkflowStep) FromWorkflowSubStep

func (*ExportDataWorkflowStep) GetData

func (o *ExportDataWorkflowStep) GetData() map[string]interface{}

GetData returns the Data field value

func (*ExportDataWorkflowStep) GetDataOk

func (o *ExportDataWorkflowStep) GetDataOk() (map[string]interface{}, bool)

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

func (*ExportDataWorkflowStep) GetKind

func (o *ExportDataWorkflowStep) GetKind() string

GetKind returns the Kind field value

func (*ExportDataWorkflowStep) GetKindOk

func (o *ExportDataWorkflowStep) GetKindOk() (*string, bool)

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

func (*ExportDataWorkflowStep) GetName

func (o *ExportDataWorkflowStep) GetName() string

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

func (*ExportDataWorkflowStep) GetNameOk

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

func (o *ExportDataWorkflowStep) GetNamespace() string

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

func (*ExportDataWorkflowStep) GetNamespaceOk

func (o *ExportDataWorkflowStep) 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 (*ExportDataWorkflowStep) GetTopology

func (o *ExportDataWorkflowStep) GetTopology() string

GetTopology returns the Topology field value if set, zero value otherwise.

func (*ExportDataWorkflowStep) GetTopologyOk

func (o *ExportDataWorkflowStep) 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 (*ExportDataWorkflowStep) HasName

func (o *ExportDataWorkflowStep) HasName() bool

HasName returns a boolean if a field has been set.

func (*ExportDataWorkflowStep) HasNamespace

func (o *ExportDataWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*ExportDataWorkflowStep) HasTopology

func (o *ExportDataWorkflowStep) HasTopology() bool

HasTopology returns a boolean if a field has been set.

func (*ExportDataWorkflowStep) If

func (*ExportDataWorkflowStep) Inputs

func (*ExportDataWorkflowStep) Outputs

func (*ExportDataWorkflowStep) SetData

func (o *ExportDataWorkflowStep) SetData(v map[string]interface{}) *ExportDataWorkflowStep

SetData sets field value

func (*ExportDataWorkflowStep) SetKind

SetKind sets field value

func (*ExportDataWorkflowStep) 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 (*ExportDataWorkflowStep) 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 (*ExportDataWorkflowStep) SetTopology

SetTopology gets a reference to the given string and assigns it to the topology field. Topology: Specify the topology to export

func (*ExportDataWorkflowStep) Timeout

func (*ExportDataWorkflowStep) Validate

func (o *ExportDataWorkflowStep) Validate() error

Validate validates this ExportDataSpec 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 (*ExportDataWorkflowStep) WorkflowStepName

func (e *ExportDataWorkflowStep) WorkflowStepName() string

type NullableExportDataSpec

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

func NewNullableExportDataSpec

func NewNullableExportDataSpec(val *ExportDataSpec) *NullableExportDataSpec

func (*NullableExportDataSpec) Get

func (*NullableExportDataSpec) IsSet

func (v *NullableExportDataSpec) IsSet() bool

func (NullableExportDataSpec) MarshalJSON

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

func (*NullableExportDataSpec) Set

func (*NullableExportDataSpec) UnmarshalJSON

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

func (*NullableExportDataSpec) Unset

func (v *NullableExportDataSpec) Unset()

Jump to

Keyboard shortcuts

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