depends_on_app

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 DependsOnAppType = "depends-on-app"

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 DependsOnAppSpec

type DependsOnAppSpec struct {
	// Specify the name of the dependent Application
	Name *string `json:"name"`
	// Specify the namespace of the dependent Application
	Namespace *string `json:"namespace"`
}

DependsOnAppSpec struct for DependsOnAppSpec

func NewDependsOnAppSpec

func NewDependsOnAppSpec() *DependsOnAppSpec

NewDependsOnAppSpec is short for NewDependsOnAppSpecWithDefault which instantiates a new DependsOnAppSpec 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 NewDependsOnAppSpecEmpty

func NewDependsOnAppSpecEmpty() *DependsOnAppSpec

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

func NewDependsOnAppSpecList

func NewDependsOnAppSpecList(ps ...*DependsOnAppSpec) []DependsOnAppSpec

NewDependsOnAppSpecs converts a list DependsOnAppSpec pointers to objects. This is helpful when the SetDependsOnAppSpec requires a list of objects

func NewDependsOnAppSpecWith

func NewDependsOnAppSpecWith(name string, namespace string) *DependsOnAppSpec

NewDependsOnAppSpecWith instantiates a new DependsOnAppSpec 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 NewDependsOnAppSpecWithDefault

func NewDependsOnAppSpecWithDefault() *DependsOnAppSpec

NewDependsOnAppSpecWithDefault instantiates a new DependsOnAppSpec 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 (DependsOnAppSpec) MarshalJSON

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

func (DependsOnAppSpec) ToMap

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

type DependsOnAppWorkflowStep

type DependsOnAppWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties DependsOnAppSpec
}

func DependsOnApp

func DependsOnApp(name string) *DependsOnAppWorkflowStep

func (*DependsOnAppWorkflowStep) Alias

func (*DependsOnAppWorkflowStep) Build

func (*DependsOnAppWorkflowStep) DefType

func (d *DependsOnAppWorkflowStep) DefType() string

func (*DependsOnAppWorkflowStep) DependsOn

func (d *DependsOnAppWorkflowStep) DependsOn(dependsOn []string) *DependsOnAppWorkflowStep

func (*DependsOnAppWorkflowStep) FromWorkflowStep

func (*DependsOnAppWorkflowStep) FromWorkflowSubStep

func (*DependsOnAppWorkflowStep) GetName

func (o *DependsOnAppWorkflowStep) GetName() string

GetName returns the Name field value

func (*DependsOnAppWorkflowStep) GetNameOk

func (o *DependsOnAppWorkflowStep) GetNameOk() (*string, bool)

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

func (*DependsOnAppWorkflowStep) GetNamespace

func (o *DependsOnAppWorkflowStep) GetNamespace() string

GetNamespace returns the Namespace field value

func (*DependsOnAppWorkflowStep) GetNamespaceOk

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

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

func (*DependsOnAppWorkflowStep) If

func (*DependsOnAppWorkflowStep) Inputs

func (*DependsOnAppWorkflowStep) Outputs

func (*DependsOnAppWorkflowStep) SetName

SetName sets field value

func (*DependsOnAppWorkflowStep) SetNamespace

SetNamespace sets field value

func (*DependsOnAppWorkflowStep) Timeout

func (*DependsOnAppWorkflowStep) Validate

func (o *DependsOnAppWorkflowStep) Validate() error

Validate validates this DependsOnAppSpec 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 (*DependsOnAppWorkflowStep) WorkflowStepName

func (d *DependsOnAppWorkflowStep) WorkflowStepName() string

type NullableDependsOnAppSpec

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

func NewNullableDependsOnAppSpec

func NewNullableDependsOnAppSpec(val *DependsOnAppSpec) *NullableDependsOnAppSpec

func (*NullableDependsOnAppSpec) Get

func (*NullableDependsOnAppSpec) IsSet

func (v *NullableDependsOnAppSpec) IsSet() bool

func (NullableDependsOnAppSpec) MarshalJSON

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

func (*NullableDependsOnAppSpec) Set

func (*NullableDependsOnAppSpec) UnmarshalJSON

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

func (*NullableDependsOnAppSpec) Unset

func (v *NullableDependsOnAppSpec) Unset()

Jump to

Keyboard shortcuts

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