Documentation
¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type NullableSecretRef
- type NullableUrl
- type NullableUrlOneOf
- type NullableUrlOneOf1
- type NullableWebhookSpec
- func (v *NullableWebhookSpec) Get() *WebhookSpec
- func (v *NullableWebhookSpec) IsSet() bool
- func (v NullableWebhookSpec) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookSpec) Set(val *WebhookSpec)
- func (v *NullableWebhookSpec) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookSpec) Unset()
- type SecretRef
- func (o *SecretRef) GetKey() string
- func (o *SecretRef) GetKeyOk() (*string, bool)
- func (o *SecretRef) GetName() string
- func (o *SecretRef) GetNameOk() (*string, bool)
- func (o SecretRef) MarshalJSON() ([]byte, error)
- func (o *SecretRef) SetKey(v string) *SecretRef
- func (o *SecretRef) SetName(v string) *SecretRef
- func (o SecretRef) ToMap() (map[string]interface{}, error)
- func (o *SecretRef) Validate() error
- type Url
- type UrlOneOf
- type UrlOneOf1
- func (o *UrlOneOf1) GetSecretRef() SecretRef
- func (o *UrlOneOf1) GetSecretRefOk() (*SecretRef, bool)
- func (o UrlOneOf1) MarshalJSON() ([]byte, error)
- func (o *UrlOneOf1) SetSecretRef(v SecretRef) *UrlOneOf1
- func (o UrlOneOf1) ToMap() (map[string]interface{}, error)
- func (o *UrlOneOf1) Validate() error
- type WebhookSpec
- type WebhookWorkflowStep
- func (w *WebhookWorkflowStep) Alias(alias string) *WebhookWorkflowStep
- func (w *WebhookWorkflowStep) Build() v1beta1.WorkflowStep
- func (w *WebhookWorkflowStep) DefType() string
- func (w *WebhookWorkflowStep) DependsOn(dependsOn []string) *WebhookWorkflowStep
- func (w *WebhookWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*WebhookWorkflowStep, error)
- func (w *WebhookWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*WebhookWorkflowStep, error)
- func (o *WebhookWorkflowStep) GetData() map[string]interface{}
- func (o *WebhookWorkflowStep) GetDataOk() (map[string]interface{}, bool)
- func (o *WebhookWorkflowStep) GetUrl() Url
- func (o *WebhookWorkflowStep) GetUrlOk() (*Url, bool)
- func (o *WebhookWorkflowStep) HasData() bool
- func (w *WebhookWorkflowStep) If(_if string) *WebhookWorkflowStep
- func (w *WebhookWorkflowStep) Inputs(input common.StepInputs) *WebhookWorkflowStep
- func (w *WebhookWorkflowStep) Outputs(output common.StepOutputs) *WebhookWorkflowStep
- func (o *WebhookWorkflowStep) SetData(v map[string]interface{}) *WebhookWorkflowStep
- func (o *WebhookWorkflowStep) SetUrl(v Url) *WebhookWorkflowStep
- func (w *WebhookWorkflowStep) Timeout(timeout string) *WebhookWorkflowStep
- func (o *WebhookWorkflowStep) Validate() error
- func (w *WebhookWorkflowStep) WorkflowStepName() string
Constants ¶
const WebhookType = "webhook"
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 NullableSecretRef ¶
type NullableSecretRef struct {
// contains filtered or unexported fields
}
func NewNullableSecretRef ¶
func NewNullableSecretRef(val *SecretRef) *NullableSecretRef
func (*NullableSecretRef) Get ¶
func (v *NullableSecretRef) Get() *SecretRef
func (*NullableSecretRef) IsSet ¶
func (v *NullableSecretRef) IsSet() bool
func (NullableSecretRef) MarshalJSON ¶
func (v NullableSecretRef) MarshalJSON() ([]byte, error)
func (*NullableSecretRef) Set ¶
func (v *NullableSecretRef) Set(val *SecretRef)
func (*NullableSecretRef) UnmarshalJSON ¶
func (v *NullableSecretRef) UnmarshalJSON(src []byte) error
func (*NullableSecretRef) Unset ¶
func (v *NullableSecretRef) Unset()
type NullableUrl ¶
type NullableUrl struct {
// contains filtered or unexported fields
}
func NewNullableUrl ¶
func NewNullableUrl(val *Url) *NullableUrl
func (*NullableUrl) Get ¶
func (v *NullableUrl) Get() *Url
func (*NullableUrl) IsSet ¶
func (v *NullableUrl) IsSet() bool
func (NullableUrl) MarshalJSON ¶
func (v NullableUrl) MarshalJSON() ([]byte, error)
func (*NullableUrl) Set ¶
func (v *NullableUrl) Set(val *Url)
func (*NullableUrl) UnmarshalJSON ¶
func (v *NullableUrl) UnmarshalJSON(src []byte) error
func (*NullableUrl) Unset ¶
func (v *NullableUrl) Unset()
type NullableUrlOneOf ¶
type NullableUrlOneOf struct {
// contains filtered or unexported fields
}
func NewNullableUrlOneOf ¶
func NewNullableUrlOneOf(val *UrlOneOf) *NullableUrlOneOf
func (*NullableUrlOneOf) Get ¶
func (v *NullableUrlOneOf) Get() *UrlOneOf
func (*NullableUrlOneOf) IsSet ¶
func (v *NullableUrlOneOf) IsSet() bool
func (NullableUrlOneOf) MarshalJSON ¶
func (v NullableUrlOneOf) MarshalJSON() ([]byte, error)
func (*NullableUrlOneOf) Set ¶
func (v *NullableUrlOneOf) Set(val *UrlOneOf)
func (*NullableUrlOneOf) UnmarshalJSON ¶
func (v *NullableUrlOneOf) UnmarshalJSON(src []byte) error
func (*NullableUrlOneOf) Unset ¶
func (v *NullableUrlOneOf) Unset()
type NullableUrlOneOf1 ¶
type NullableUrlOneOf1 struct {
// contains filtered or unexported fields
}
func NewNullableUrlOneOf1 ¶
func NewNullableUrlOneOf1(val *UrlOneOf1) *NullableUrlOneOf1
func (*NullableUrlOneOf1) Get ¶
func (v *NullableUrlOneOf1) Get() *UrlOneOf1
func (*NullableUrlOneOf1) IsSet ¶
func (v *NullableUrlOneOf1) IsSet() bool
func (NullableUrlOneOf1) MarshalJSON ¶
func (v NullableUrlOneOf1) MarshalJSON() ([]byte, error)
func (*NullableUrlOneOf1) Set ¶
func (v *NullableUrlOneOf1) Set(val *UrlOneOf1)
func (*NullableUrlOneOf1) UnmarshalJSON ¶
func (v *NullableUrlOneOf1) UnmarshalJSON(src []byte) error
func (*NullableUrlOneOf1) Unset ¶
func (v *NullableUrlOneOf1) Unset()
type NullableWebhookSpec ¶
type NullableWebhookSpec struct {
// contains filtered or unexported fields
}
func NewNullableWebhookSpec ¶
func NewNullableWebhookSpec(val *WebhookSpec) *NullableWebhookSpec
func (*NullableWebhookSpec) Get ¶
func (v *NullableWebhookSpec) Get() *WebhookSpec
func (*NullableWebhookSpec) IsSet ¶
func (v *NullableWebhookSpec) IsSet() bool
func (NullableWebhookSpec) MarshalJSON ¶
func (v NullableWebhookSpec) MarshalJSON() ([]byte, error)
func (*NullableWebhookSpec) Set ¶
func (v *NullableWebhookSpec) Set(val *WebhookSpec)
func (*NullableWebhookSpec) UnmarshalJSON ¶
func (v *NullableWebhookSpec) UnmarshalJSON(src []byte) error
func (*NullableWebhookSpec) Unset ¶
func (v *NullableWebhookSpec) Unset()
type SecretRef ¶
type SecretRef struct { // key is the key in the secret Key *string `json:"key"` // name is the name of the secret Name *string `json:"name"` }
SecretRef struct for SecretRef
func NewSecretRef ¶
func NewSecretRef() *SecretRef
NewSecretRef is short for NewSecretRefWithDefault which instantiates a new SecretRef 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 NewSecretRefEmpty ¶
func NewSecretRefEmpty() *SecretRef
NewSecretRefEmpty instantiates a new SecretRef object with no properties set. This constructor will not assign any default values to properties.
func NewSecretRefList ¶
NewSecretRefs converts a list SecretRef pointers to objects. This is helpful when the SetSecretRef requires a list of objects
func NewSecretRefWith ¶
NewSecretRefWith instantiates a new SecretRef 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 NewSecretRefWithDefault ¶
func NewSecretRefWithDefault() *SecretRef
NewSecretRefWithDefault instantiates a new SecretRef 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 (*SecretRef) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*SecretRef) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SecretRef) MarshalJSON ¶
type Url ¶
Url - Specify the webhook url
func UrlOneOf1AsUrl ¶
UrlOneOf1AsUrl is is a convenience function that returns UrlOneOf1 wrapped in Url
func UrlOneOfAsUrl ¶
UrlOneOfAsUrl is is a convenience function that returns UrlOneOf wrapped in Url
func (*Url) GetActualInstance ¶
func (obj *Url) GetActualInstance() interface{}
Get the actual instance
func (Url) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Url) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type UrlOneOf ¶
type UrlOneOf struct {
Value *string `json:"value"`
}
UrlOneOf struct for UrlOneOf
func NewUrlOneOf ¶
func NewUrlOneOf() *UrlOneOf
NewUrlOneOf is short for NewUrlOneOfWithDefault which instantiates a new UrlOneOf 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 NewUrlOneOfEmpty ¶
func NewUrlOneOfEmpty() *UrlOneOf
NewUrlOneOfEmpty instantiates a new UrlOneOf object with no properties set. This constructor will not assign any default values to properties.
func NewUrlOneOfList ¶
NewUrlOneOfs converts a list UrlOneOf pointers to objects. This is helpful when the SetUrlOneOf requires a list of objects
func NewUrlOneOfWith ¶
NewUrlOneOfWith instantiates a new UrlOneOf 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 NewUrlOneOfWithDefault ¶
func NewUrlOneOfWithDefault() *UrlOneOf
NewUrlOneOfWithDefault instantiates a new UrlOneOf 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 (*UrlOneOf) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (UrlOneOf) MarshalJSON ¶
type UrlOneOf1 ¶
type UrlOneOf1 struct {
SecretRef *SecretRef `json:"secretRef"`
}
UrlOneOf1 struct for UrlOneOf1
func NewUrlOneOf1 ¶
func NewUrlOneOf1() *UrlOneOf1
NewUrlOneOf1 is short for NewUrlOneOf1WithDefault which instantiates a new UrlOneOf1 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 NewUrlOneOf1Empty ¶
func NewUrlOneOf1Empty() *UrlOneOf1
NewUrlOneOf1Empty instantiates a new UrlOneOf1 object with no properties set. This constructor will not assign any default values to properties.
func NewUrlOneOf1List ¶
NewUrlOneOf1s converts a list UrlOneOf1 pointers to objects. This is helpful when the SetUrlOneOf1 requires a list of objects
func NewUrlOneOf1With ¶
NewUrlOneOf1With instantiates a new UrlOneOf1 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 NewUrlOneOf1WithDefault ¶
func NewUrlOneOf1WithDefault() *UrlOneOf1
NewUrlOneOf1WithDefault instantiates a new UrlOneOf1 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 (*UrlOneOf1) GetSecretRef ¶
GetSecretRef returns the SecretRef field value
func (*UrlOneOf1) GetSecretRefOk ¶
GetSecretRefOk returns a tuple with the SecretRef field value and a boolean to check if the value has been set.
func (UrlOneOf1) MarshalJSON ¶
func (*UrlOneOf1) SetSecretRef ¶
SetSecretRef sets field value
type WebhookSpec ¶
type WebhookSpec struct { // Specify the data you want to send Data map[string]interface{} `json:"data,omitempty"` Url *Url `json:"url"` }
WebhookSpec struct for WebhookSpec
func NewWebhookSpec ¶
func NewWebhookSpec() *WebhookSpec
NewWebhookSpec is short for NewWebhookSpecWithDefault which instantiates a new WebhookSpec 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 NewWebhookSpecEmpty ¶
func NewWebhookSpecEmpty() *WebhookSpec
NewWebhookSpecEmpty instantiates a new WebhookSpec object with no properties set. This constructor will not assign any default values to properties.
func NewWebhookSpecList ¶
func NewWebhookSpecList(ps ...*WebhookSpec) []WebhookSpec
NewWebhookSpecs converts a list WebhookSpec pointers to objects. This is helpful when the SetWebhookSpec requires a list of objects
func NewWebhookSpecWith ¶
func NewWebhookSpecWith(url Url) *WebhookSpec
NewWebhookSpecWith instantiates a new WebhookSpec 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 NewWebhookSpecWithDefault ¶
func NewWebhookSpecWithDefault() *WebhookSpec
NewWebhookSpecWithDefault instantiates a new WebhookSpec 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 (WebhookSpec) MarshalJSON ¶
func (o WebhookSpec) MarshalJSON() ([]byte, error)
func (WebhookSpec) ToMap ¶
func (o WebhookSpec) ToMap() (map[string]interface{}, error)
type WebhookWorkflowStep ¶
type WebhookWorkflowStep struct { Base apis.WorkflowStepBase Properties WebhookSpec }
func Webhook ¶
func Webhook(name string) *WebhookWorkflowStep
func (*WebhookWorkflowStep) Alias ¶
func (w *WebhookWorkflowStep) Alias(alias string) *WebhookWorkflowStep
func (*WebhookWorkflowStep) Build ¶
func (w *WebhookWorkflowStep) Build() v1beta1.WorkflowStep
func (*WebhookWorkflowStep) DefType ¶
func (w *WebhookWorkflowStep) DefType() string
func (*WebhookWorkflowStep) DependsOn ¶
func (w *WebhookWorkflowStep) DependsOn(dependsOn []string) *WebhookWorkflowStep
func (*WebhookWorkflowStep) FromWorkflowStep ¶
func (w *WebhookWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*WebhookWorkflowStep, error)
func (*WebhookWorkflowStep) FromWorkflowSubStep ¶
func (w *WebhookWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*WebhookWorkflowStep, error)
func (*WebhookWorkflowStep) GetData ¶
func (o *WebhookWorkflowStep) GetData() map[string]interface{}
GetData returns the Data field value if set, zero value otherwise.
func (*WebhookWorkflowStep) GetDataOk ¶
func (o *WebhookWorkflowStep) GetDataOk() (map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookWorkflowStep) GetUrl ¶
func (o *WebhookWorkflowStep) GetUrl() Url
GetUrl returns the Url field value
func (*WebhookWorkflowStep) GetUrlOk ¶
func (o *WebhookWorkflowStep) GetUrlOk() (*Url, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*WebhookWorkflowStep) HasData ¶
func (o *WebhookWorkflowStep) HasData() bool
HasData returns a boolean if a field has been set.
func (*WebhookWorkflowStep) If ¶
func (w *WebhookWorkflowStep) If(_if string) *WebhookWorkflowStep
func (*WebhookWorkflowStep) Inputs ¶
func (w *WebhookWorkflowStep) Inputs(input common.StepInputs) *WebhookWorkflowStep
func (*WebhookWorkflowStep) Outputs ¶
func (w *WebhookWorkflowStep) Outputs(output common.StepOutputs) *WebhookWorkflowStep
func (*WebhookWorkflowStep) SetData ¶
func (o *WebhookWorkflowStep) SetData(v map[string]interface{}) *WebhookWorkflowStep
SetData gets a reference to the given map[string]interface{} and assigns it to the data field. Data: Specify the data you want to send
func (*WebhookWorkflowStep) SetUrl ¶
func (o *WebhookWorkflowStep) SetUrl(v Url) *WebhookWorkflowStep
SetUrl sets field value
func (*WebhookWorkflowStep) Timeout ¶
func (w *WebhookWorkflowStep) Timeout(timeout string) *WebhookWorkflowStep
func (*WebhookWorkflowStep) Validate ¶
func (o *WebhookWorkflowStep) Validate() error
Validate validates this WebhookSpec 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 (*WebhookWorkflowStep) WorkflowStepName ¶
func (w *WebhookWorkflowStep) WorkflowStepName() string