Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type NullableRequestSpec
- func (v *NullableRequestSpec) Get() *RequestSpec
- func (v *NullableRequestSpec) IsSet() bool
- func (v NullableRequestSpec) MarshalJSON() ([]byte, error)
- func (v *NullableRequestSpec) Set(val *RequestSpec)
- func (v *NullableRequestSpec) UnmarshalJSON(src []byte) error
- func (v *NullableRequestSpec) Unset()
- type RequestSpec
- type RequestWorkflowStep
- func (r *RequestWorkflowStep) Alias(alias string) *RequestWorkflowStep
- func (r *RequestWorkflowStep) Build() v1beta1.WorkflowStep
- func (r *RequestWorkflowStep) DefType() string
- func (r *RequestWorkflowStep) DependsOn(dependsOn []string) *RequestWorkflowStep
- func (r *RequestWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*RequestWorkflowStep, error)
- func (r *RequestWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*RequestWorkflowStep, error)
- func (o *RequestWorkflowStep) GetBody() map[string]interface{}
- func (o *RequestWorkflowStep) GetBodyOk() (map[string]interface{}, bool)
- func (o *RequestWorkflowStep) GetHeader() map[string]string
- func (o *RequestWorkflowStep) GetHeaderOk() (map[string]string, bool)
- func (o *RequestWorkflowStep) GetMethod() string
- func (o *RequestWorkflowStep) GetMethodOk() (*string, bool)
- func (o *RequestWorkflowStep) GetUrl() string
- func (o *RequestWorkflowStep) GetUrlOk() (*string, bool)
- func (o *RequestWorkflowStep) HasBody() bool
- func (o *RequestWorkflowStep) HasHeader() bool
- func (r *RequestWorkflowStep) If(_if string) *RequestWorkflowStep
- func (r *RequestWorkflowStep) Inputs(input common.StepInputs) *RequestWorkflowStep
- func (r *RequestWorkflowStep) Outputs(output common.StepOutputs) *RequestWorkflowStep
- func (o *RequestWorkflowStep) SetBody(v map[string]interface{}) *RequestWorkflowStep
- func (o *RequestWorkflowStep) SetHeader(v map[string]string) *RequestWorkflowStep
- func (o *RequestWorkflowStep) SetMethod(v string) *RequestWorkflowStep
- func (o *RequestWorkflowStep) SetUrl(v string) *RequestWorkflowStep
- func (r *RequestWorkflowStep) Timeout(timeout string) *RequestWorkflowStep
- func (o *RequestWorkflowStep) Validate() error
- func (r *RequestWorkflowStep) WorkflowStepName() string
Constants ¶
const RequestType = "request"
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 NullableRequestSpec ¶
type NullableRequestSpec struct {
// contains filtered or unexported fields
}
func NewNullableRequestSpec ¶
func NewNullableRequestSpec(val *RequestSpec) *NullableRequestSpec
func (*NullableRequestSpec) Get ¶
func (v *NullableRequestSpec) Get() *RequestSpec
func (*NullableRequestSpec) IsSet ¶
func (v *NullableRequestSpec) IsSet() bool
func (NullableRequestSpec) MarshalJSON ¶
func (v NullableRequestSpec) MarshalJSON() ([]byte, error)
func (*NullableRequestSpec) Set ¶
func (v *NullableRequestSpec) Set(val *RequestSpec)
func (*NullableRequestSpec) UnmarshalJSON ¶
func (v *NullableRequestSpec) UnmarshalJSON(src []byte) error
func (*NullableRequestSpec) Unset ¶
func (v *NullableRequestSpec) Unset()
type RequestSpec ¶
type RequestSpec struct { Body map[string]interface{} `json:"body,omitempty"` Header map[string]string `json:"header,omitempty"` Method *string `json:"method"` Url *string `json:"url"` }
RequestSpec struct for RequestSpec
func NewRequestSpec ¶
func NewRequestSpec() *RequestSpec
NewRequestSpec is short for NewRequestSpecWithDefault which instantiates a new RequestSpec 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 NewRequestSpecEmpty ¶
func NewRequestSpecEmpty() *RequestSpec
NewRequestSpecEmpty instantiates a new RequestSpec object with no properties set. This constructor will not assign any default values to properties.
func NewRequestSpecList ¶
func NewRequestSpecList(ps ...*RequestSpec) []RequestSpec
NewRequestSpecs converts a list RequestSpec pointers to objects. This is helpful when the SetRequestSpec requires a list of objects
func NewRequestSpecWith ¶
func NewRequestSpecWith(method string, url string) *RequestSpec
NewRequestSpecWith instantiates a new RequestSpec 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 NewRequestSpecWithDefault ¶
func NewRequestSpecWithDefault() *RequestSpec
NewRequestSpecWithDefault instantiates a new RequestSpec 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 (RequestSpec) MarshalJSON ¶
func (o RequestSpec) MarshalJSON() ([]byte, error)
func (RequestSpec) ToMap ¶
func (o RequestSpec) ToMap() (map[string]interface{}, error)
type RequestWorkflowStep ¶
type RequestWorkflowStep struct { Base apis.WorkflowStepBase Properties RequestSpec }
func Request ¶
func Request(name string) *RequestWorkflowStep
func (*RequestWorkflowStep) Alias ¶
func (r *RequestWorkflowStep) Alias(alias string) *RequestWorkflowStep
func (*RequestWorkflowStep) Build ¶
func (r *RequestWorkflowStep) Build() v1beta1.WorkflowStep
func (*RequestWorkflowStep) DefType ¶
func (r *RequestWorkflowStep) DefType() string
func (*RequestWorkflowStep) DependsOn ¶
func (r *RequestWorkflowStep) DependsOn(dependsOn []string) *RequestWorkflowStep
func (*RequestWorkflowStep) FromWorkflowStep ¶
func (r *RequestWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*RequestWorkflowStep, error)
func (*RequestWorkflowStep) FromWorkflowSubStep ¶
func (r *RequestWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*RequestWorkflowStep, error)
func (*RequestWorkflowStep) GetBody ¶
func (o *RequestWorkflowStep) GetBody() map[string]interface{}
GetBody returns the Body field value if set, zero value otherwise.
func (*RequestWorkflowStep) GetBodyOk ¶
func (o *RequestWorkflowStep) GetBodyOk() (map[string]interface{}, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestWorkflowStep) GetHeader ¶
func (o *RequestWorkflowStep) GetHeader() map[string]string
GetHeader returns the Header field value if set, zero value otherwise.
func (*RequestWorkflowStep) GetHeaderOk ¶
func (o *RequestWorkflowStep) GetHeaderOk() (map[string]string, bool)
GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestWorkflowStep) GetMethod ¶
func (o *RequestWorkflowStep) GetMethod() string
GetMethod returns the Method field value
func (*RequestWorkflowStep) GetMethodOk ¶
func (o *RequestWorkflowStep) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*RequestWorkflowStep) GetUrl ¶
func (o *RequestWorkflowStep) GetUrl() string
GetUrl returns the Url field value
func (*RequestWorkflowStep) GetUrlOk ¶
func (o *RequestWorkflowStep) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*RequestWorkflowStep) HasBody ¶
func (o *RequestWorkflowStep) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*RequestWorkflowStep) HasHeader ¶
func (o *RequestWorkflowStep) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*RequestWorkflowStep) If ¶
func (r *RequestWorkflowStep) If(_if string) *RequestWorkflowStep
func (*RequestWorkflowStep) Inputs ¶
func (r *RequestWorkflowStep) Inputs(input common.StepInputs) *RequestWorkflowStep
func (*RequestWorkflowStep) Outputs ¶
func (r *RequestWorkflowStep) Outputs(output common.StepOutputs) *RequestWorkflowStep
func (*RequestWorkflowStep) SetBody ¶
func (o *RequestWorkflowStep) SetBody(v map[string]interface{}) *RequestWorkflowStep
SetBody gets a reference to the given map[string]interface{} and assigns it to the body field. Body:
func (*RequestWorkflowStep) SetHeader ¶
func (o *RequestWorkflowStep) SetHeader(v map[string]string) *RequestWorkflowStep
SetHeader gets a reference to the given map[string]string and assigns it to the header field. Header:
func (*RequestWorkflowStep) SetMethod ¶
func (o *RequestWorkflowStep) SetMethod(v string) *RequestWorkflowStep
SetMethod sets field value
func (*RequestWorkflowStep) SetUrl ¶
func (o *RequestWorkflowStep) SetUrl(v string) *RequestWorkflowStep
SetUrl sets field value
func (*RequestWorkflowStep) Timeout ¶
func (r *RequestWorkflowStep) Timeout(timeout string) *RequestWorkflowStep
func (*RequestWorkflowStep) Validate ¶
func (o *RequestWorkflowStep) Validate() error
Validate validates this RequestSpec 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 (*RequestWorkflowStep) WorkflowStepName ¶
func (r *RequestWorkflowStep) WorkflowStepName() string