clean_jobs

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 CleanJobsType = "clean-jobs"

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 CleanJobsSpec

type CleanJobsSpec struct {
	Labelselector map[string]interface{} `json:"labelselector,omitempty"`
	Namespace     *string                `json:"namespace"`
}

CleanJobsSpec struct for CleanJobsSpec

func NewCleanJobsSpec

func NewCleanJobsSpec() *CleanJobsSpec

NewCleanJobsSpec is short for NewCleanJobsSpecWithDefault which instantiates a new CleanJobsSpec 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 NewCleanJobsSpecEmpty

func NewCleanJobsSpecEmpty() *CleanJobsSpec

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

func NewCleanJobsSpecList

func NewCleanJobsSpecList(ps ...*CleanJobsSpec) []CleanJobsSpec

NewCleanJobsSpecs converts a list CleanJobsSpec pointers to objects. This is helpful when the SetCleanJobsSpec requires a list of objects

func NewCleanJobsSpecWith

func NewCleanJobsSpecWith(namespace string) *CleanJobsSpec

NewCleanJobsSpecWith instantiates a new CleanJobsSpec 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 NewCleanJobsSpecWithDefault

func NewCleanJobsSpecWithDefault() *CleanJobsSpec

NewCleanJobsSpecWithDefault instantiates a new CleanJobsSpec 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 (CleanJobsSpec) MarshalJSON

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

func (CleanJobsSpec) ToMap

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

type CleanJobsWorkflowStep

type CleanJobsWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties CleanJobsSpec
}

func CleanJobs

func CleanJobs(name string) *CleanJobsWorkflowStep

func (*CleanJobsWorkflowStep) Alias

func (*CleanJobsWorkflowStep) Build

func (*CleanJobsWorkflowStep) DefType

func (c *CleanJobsWorkflowStep) DefType() string

func (*CleanJobsWorkflowStep) DependsOn

func (c *CleanJobsWorkflowStep) DependsOn(dependsOn []string) *CleanJobsWorkflowStep

func (*CleanJobsWorkflowStep) FromWorkflowStep

func (*CleanJobsWorkflowStep) FromWorkflowSubStep

func (c *CleanJobsWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*CleanJobsWorkflowStep, error)

func (*CleanJobsWorkflowStep) GetLabelselector

func (o *CleanJobsWorkflowStep) GetLabelselector() map[string]interface{}

GetLabelselector returns the Labelselector field value if set, zero value otherwise.

func (*CleanJobsWorkflowStep) GetLabelselectorOk

func (o *CleanJobsWorkflowStep) GetLabelselectorOk() (map[string]interface{}, bool)

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

func (*CleanJobsWorkflowStep) GetNamespace

func (o *CleanJobsWorkflowStep) GetNamespace() string

GetNamespace returns the Namespace field value

func (*CleanJobsWorkflowStep) GetNamespaceOk

func (o *CleanJobsWorkflowStep) GetNamespaceOk() (*string, bool)

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

func (*CleanJobsWorkflowStep) HasLabelselector

func (o *CleanJobsWorkflowStep) HasLabelselector() bool

HasLabelselector returns a boolean if a field has been set.

func (*CleanJobsWorkflowStep) If

func (*CleanJobsWorkflowStep) Inputs

func (*CleanJobsWorkflowStep) Outputs

func (*CleanJobsWorkflowStep) SetLabelselector

func (o *CleanJobsWorkflowStep) SetLabelselector(v map[string]interface{}) *CleanJobsWorkflowStep

SetLabelselector gets a reference to the given map[string]interface{} and assigns it to the labelselector field. Labelselector:

func (*CleanJobsWorkflowStep) SetNamespace

SetNamespace sets field value

func (*CleanJobsWorkflowStep) Timeout

func (c *CleanJobsWorkflowStep) Timeout(timeout string) *CleanJobsWorkflowStep

func (*CleanJobsWorkflowStep) Validate

func (o *CleanJobsWorkflowStep) Validate() error

Validate validates this CleanJobsSpec 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 (*CleanJobsWorkflowStep) WorkflowStepName

func (c *CleanJobsWorkflowStep) WorkflowStepName() string

type NullableCleanJobsSpec

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

func NewNullableCleanJobsSpec

func NewNullableCleanJobsSpec(val *CleanJobsSpec) *NullableCleanJobsSpec

func (*NullableCleanJobsSpec) Get

func (*NullableCleanJobsSpec) IsSet

func (v *NullableCleanJobsSpec) IsSet() bool

func (NullableCleanJobsSpec) MarshalJSON

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

func (*NullableCleanJobsSpec) Set

func (v *NullableCleanJobsSpec) Set(val *CleanJobsSpec)

func (*NullableCleanJobsSpec) UnmarshalJSON

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

func (*NullableCleanJobsSpec) Unset

func (v *NullableCleanJobsSpec) Unset()

Jump to

Keyboard shortcuts

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