workflows

package
v0.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwaitExecuteWorkflowBodyOK

type AwaitExecuteWorkflowBodyOK struct {
}
AwaitExecuteWorkflowBodyOK describes a response with status code 200, with default header values.

successfully executed workflow

func NewAwaitExecuteWorkflowBodyOK

func NewAwaitExecuteWorkflowBodyOK() *AwaitExecuteWorkflowBodyOK

NewAwaitExecuteWorkflowBodyOK creates a AwaitExecuteWorkflowBodyOK with default headers values

func (*AwaitExecuteWorkflowBodyOK) Error

type AwaitExecuteWorkflowBodyParams

type AwaitExecuteWorkflowBodyParams struct {

	/* WorkflowInput.

	   The input of this workflow instance
	*/
	WorkflowInput interface{}

	/* Ctype.

	   Manually set the Content-Type response header instead of auto-detected. This doesn't change the body of the response in any way.
	*/
	Ctype *string

	/* Field.

	   If provided, instead of returning the entire output json the response body will contain the single top-level json field
	*/
	Field *string

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* RawOutput.

	   If set to true, will return an empty output as null, encoded base64 data as decoded binary data, and quoted json strings as a escaped string.
	*/
	RawOutput *bool

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AwaitExecuteWorkflowBodyParams contains all the parameters to send to the API endpoint

for the await execute workflow body operation.

Typically these are written to a http.Request.

func NewAwaitExecuteWorkflowBodyParams

func NewAwaitExecuteWorkflowBodyParams() *AwaitExecuteWorkflowBodyParams

NewAwaitExecuteWorkflowBodyParams creates a new AwaitExecuteWorkflowBodyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAwaitExecuteWorkflowBodyParamsWithContext

func NewAwaitExecuteWorkflowBodyParamsWithContext(ctx context.Context) *AwaitExecuteWorkflowBodyParams

NewAwaitExecuteWorkflowBodyParamsWithContext creates a new AwaitExecuteWorkflowBodyParams object with the ability to set a context for a request.

func NewAwaitExecuteWorkflowBodyParamsWithHTTPClient

func NewAwaitExecuteWorkflowBodyParamsWithHTTPClient(client *http.Client) *AwaitExecuteWorkflowBodyParams

NewAwaitExecuteWorkflowBodyParamsWithHTTPClient creates a new AwaitExecuteWorkflowBodyParams object with the ability to set a custom HTTPClient for a request.

func NewAwaitExecuteWorkflowBodyParamsWithTimeout

func NewAwaitExecuteWorkflowBodyParamsWithTimeout(timeout time.Duration) *AwaitExecuteWorkflowBodyParams

NewAwaitExecuteWorkflowBodyParamsWithTimeout creates a new AwaitExecuteWorkflowBodyParams object with the ability to set a timeout on a request.

func (*AwaitExecuteWorkflowBodyParams) SetContext

func (o *AwaitExecuteWorkflowBodyParams) SetContext(ctx context.Context)

SetContext adds the context to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetCtype

func (o *AwaitExecuteWorkflowBodyParams) SetCtype(ctype *string)

SetCtype adds the ctype to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetDefaults

func (o *AwaitExecuteWorkflowBodyParams) SetDefaults()

SetDefaults hydrates default values in the await execute workflow body params (not the query body).

All values with no default are reset to their zero value.

func (*AwaitExecuteWorkflowBodyParams) SetField

func (o *AwaitExecuteWorkflowBodyParams) SetField(field *string)

SetField adds the field to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetHTTPClient

func (o *AwaitExecuteWorkflowBodyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetNamespace

func (o *AwaitExecuteWorkflowBodyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetRawOutput

func (o *AwaitExecuteWorkflowBodyParams) SetRawOutput(rawOutput *bool)

SetRawOutput adds the rawOutput to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetTimeout

func (o *AwaitExecuteWorkflowBodyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetWorkflow

func (o *AwaitExecuteWorkflowBodyParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) SetWorkflowInput

func (o *AwaitExecuteWorkflowBodyParams) SetWorkflowInput(workflowInput interface{})

SetWorkflowInput adds the workflowInput to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithContext

WithContext adds the context to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithCtype

WithCtype adds the ctype to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithDefaults

WithDefaults hydrates default values in the await execute workflow body params (not the query body).

All values with no default are reset to their zero value.

func (*AwaitExecuteWorkflowBodyParams) WithField

WithField adds the field to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithNamespace

WithNamespace adds the namespace to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithRawOutput

WithRawOutput adds the rawOutput to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithTimeout

WithTimeout adds the timeout to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithWorkflow

WithWorkflow adds the workflow to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WithWorkflowInput

func (o *AwaitExecuteWorkflowBodyParams) WithWorkflowInput(workflowInput interface{}) *AwaitExecuteWorkflowBodyParams

WithWorkflowInput adds the workflowInput to the await execute workflow body params

func (*AwaitExecuteWorkflowBodyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AwaitExecuteWorkflowBodyReader

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

AwaitExecuteWorkflowBodyReader is a Reader for the AwaitExecuteWorkflowBody structure.

func (*AwaitExecuteWorkflowBodyReader) ReadResponse

func (o *AwaitExecuteWorkflowBodyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AwaitExecuteWorkflowOK

type AwaitExecuteWorkflowOK struct {
}
AwaitExecuteWorkflowOK describes a response with status code 200, with default header values.

successfully executed workflow

func NewAwaitExecuteWorkflowOK

func NewAwaitExecuteWorkflowOK() *AwaitExecuteWorkflowOK

NewAwaitExecuteWorkflowOK creates a AwaitExecuteWorkflowOK with default headers values

func (*AwaitExecuteWorkflowOK) Error

func (o *AwaitExecuteWorkflowOK) Error() string

type AwaitExecuteWorkflowParams

type AwaitExecuteWorkflowParams struct {

	/* Ctype.

	   Manually set the Content-Type response header instead of auto-detected. This doesn't change the body of the response in any way.
	*/
	Ctype *string

	/* Field.

	   If provided, instead of returning the entire output json the response body will contain the single top-level json field
	*/
	Field *string

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* RawOutput.

	   If set to true, will return an empty output as null, encoded base64 data as decoded binary data, and quoted json strings as a escaped string.
	*/
	RawOutput *bool

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AwaitExecuteWorkflowParams contains all the parameters to send to the API endpoint

for the await execute workflow operation.

Typically these are written to a http.Request.

func NewAwaitExecuteWorkflowParams

func NewAwaitExecuteWorkflowParams() *AwaitExecuteWorkflowParams

NewAwaitExecuteWorkflowParams creates a new AwaitExecuteWorkflowParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAwaitExecuteWorkflowParamsWithContext

func NewAwaitExecuteWorkflowParamsWithContext(ctx context.Context) *AwaitExecuteWorkflowParams

NewAwaitExecuteWorkflowParamsWithContext creates a new AwaitExecuteWorkflowParams object with the ability to set a context for a request.

func NewAwaitExecuteWorkflowParamsWithHTTPClient

func NewAwaitExecuteWorkflowParamsWithHTTPClient(client *http.Client) *AwaitExecuteWorkflowParams

NewAwaitExecuteWorkflowParamsWithHTTPClient creates a new AwaitExecuteWorkflowParams object with the ability to set a custom HTTPClient for a request.

func NewAwaitExecuteWorkflowParamsWithTimeout

func NewAwaitExecuteWorkflowParamsWithTimeout(timeout time.Duration) *AwaitExecuteWorkflowParams

NewAwaitExecuteWorkflowParamsWithTimeout creates a new AwaitExecuteWorkflowParams object with the ability to set a timeout on a request.

func (*AwaitExecuteWorkflowParams) SetContext

func (o *AwaitExecuteWorkflowParams) SetContext(ctx context.Context)

SetContext adds the context to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetCtype

func (o *AwaitExecuteWorkflowParams) SetCtype(ctype *string)

SetCtype adds the ctype to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetDefaults

func (o *AwaitExecuteWorkflowParams) SetDefaults()

SetDefaults hydrates default values in the await execute workflow params (not the query body).

All values with no default are reset to their zero value.

func (*AwaitExecuteWorkflowParams) SetField

func (o *AwaitExecuteWorkflowParams) SetField(field *string)

SetField adds the field to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetHTTPClient

func (o *AwaitExecuteWorkflowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetNamespace

func (o *AwaitExecuteWorkflowParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetRawOutput

func (o *AwaitExecuteWorkflowParams) SetRawOutput(rawOutput *bool)

SetRawOutput adds the rawOutput to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetTimeout

func (o *AwaitExecuteWorkflowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the await execute workflow params

func (*AwaitExecuteWorkflowParams) SetWorkflow

func (o *AwaitExecuteWorkflowParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithContext

WithContext adds the context to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithCtype

WithCtype adds the ctype to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithDefaults

WithDefaults hydrates default values in the await execute workflow params (not the query body).

All values with no default are reset to their zero value.

func (*AwaitExecuteWorkflowParams) WithField

WithField adds the field to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithNamespace

func (o *AwaitExecuteWorkflowParams) WithNamespace(namespace string) *AwaitExecuteWorkflowParams

WithNamespace adds the namespace to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithRawOutput

func (o *AwaitExecuteWorkflowParams) WithRawOutput(rawOutput *bool) *AwaitExecuteWorkflowParams

WithRawOutput adds the rawOutput to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithTimeout

WithTimeout adds the timeout to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WithWorkflow

WithWorkflow adds the workflow to the await execute workflow params

func (*AwaitExecuteWorkflowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AwaitExecuteWorkflowReader

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

AwaitExecuteWorkflowReader is a Reader for the AwaitExecuteWorkflow structure.

func (*AwaitExecuteWorkflowReader) ReadResponse

func (o *AwaitExecuteWorkflowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for workflows API

func (*Client) AwaitExecuteWorkflow

func (a *Client) AwaitExecuteWorkflow(params *AwaitExecuteWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AwaitExecuteWorkflowOK, error)
AwaitExecuteWorkflow awaits execute a workflow

Executes a workflow. This path will wait until the workflow execution has completed and return the instance output.

NOTE: Input can also be provided with the `input.X` query parameters; Where `X` is the json key. Only top level json keys are supported when providing input with query parameters.

func (*Client) AwaitExecuteWorkflowBody

func (a *Client) AwaitExecuteWorkflowBody(params *AwaitExecuteWorkflowBodyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AwaitExecuteWorkflowBodyOK, error)
AwaitExecuteWorkflowBody awaits execute a workflow with body

Executes a workflow with optionally some input provided in the request body as json.

This path will wait until the workflow execution has completed and return the instance output. NOTE: Input can also be provided with the `input.X` query parameters; Where `X` is the json key. Only top level json keys are supported when providing input with query parameters. Input query parameters are only read if the request has no body.

func (*Client) CreateWorkflow

func (a *Client) CreateWorkflow(params *CreateWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWorkflowOK, error)
CreateWorkflow creates a workflow

Creates a workflow at the target path.

The body of this request should contain the workflow yaml.

func (*Client) ExecuteWorkflow

func (a *Client) ExecuteWorkflow(params *ExecuteWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExecuteWorkflowOK, error)

ExecuteWorkflow executes a workflow

Executes a workflow with optionally some input provided in the request body as json.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SetWorkflowCloudEventLogs

func (a *Client) SetWorkflowCloudEventLogs(params *SetWorkflowCloudEventLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetWorkflowCloudEventLogsOK, error)
SetWorkflowCloudEventLogs sets cloud event for workflow to log to

Set Cloud Event for Workflow to Log to.

When configured type `direktiv.instanceLog` cloud events will be generated with the `logger` parameter set to the configured value. Workflows can be configured to generate cloud events on their namespace anything the log parameter produces data. Please find more information on this topic here: https://docs.direktiv.io/docs/examples/logging.html

func (*Client) ToggleWorkflow

func (a *Client) ToggleWorkflow(params *ToggleWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ToggleWorkflowOK, error)
ToggleWorkflow sets cloud event for workflow to log to

Toggle's whether or not a workflow is active.

Disabled workflows cannot be invoked. This includes start event and scheduled workflows.

func (*Client) UpdateWorkflow

func (a *Client) UpdateWorkflow(params *UpdateWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateWorkflowOK, error)
UpdateWorkflow updates a workflow

Updates a workflow at the target path.

The body of this request should contain the workflow yaml you want to update to.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AwaitExecuteWorkflow(params *AwaitExecuteWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AwaitExecuteWorkflowOK, error)

	AwaitExecuteWorkflowBody(params *AwaitExecuteWorkflowBodyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AwaitExecuteWorkflowBodyOK, error)

	CreateWorkflow(params *CreateWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWorkflowOK, error)

	ExecuteWorkflow(params *ExecuteWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExecuteWorkflowOK, error)

	SetWorkflowCloudEventLogs(params *SetWorkflowCloudEventLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetWorkflowCloudEventLogsOK, error)

	ToggleWorkflow(params *ToggleWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ToggleWorkflowOK, error)

	UpdateWorkflow(params *UpdateWorkflowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateWorkflowOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new workflows API client.

type CreateWorkflowDefault

type CreateWorkflowDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateWorkflowDefault describes a response with status code -1, with default header values.

an error has occurred

func NewCreateWorkflowDefault

func NewCreateWorkflowDefault(code int) *CreateWorkflowDefault

NewCreateWorkflowDefault creates a CreateWorkflowDefault with default headers values

func (*CreateWorkflowDefault) Code

func (o *CreateWorkflowDefault) Code() int

Code gets the status code for the create workflow default response

func (*CreateWorkflowDefault) Error

func (o *CreateWorkflowDefault) Error() string

func (*CreateWorkflowDefault) GetPayload

func (o *CreateWorkflowDefault) GetPayload() *models.ErrorResponse

type CreateWorkflowOK

type CreateWorkflowOK struct {
	Payload models.OkBody
}
CreateWorkflowOK describes a response with status code 200, with default header values.

successfully created workflow

func NewCreateWorkflowOK

func NewCreateWorkflowOK() *CreateWorkflowOK

NewCreateWorkflowOK creates a CreateWorkflowOK with default headers values

func (*CreateWorkflowOK) Error

func (o *CreateWorkflowOK) Error() string

func (*CreateWorkflowOK) GetPayload

func (o *CreateWorkflowOK) GetPayload() models.OkBody

type CreateWorkflowParams

type CreateWorkflowParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Op.

	   the operation for the api

	   Default: "create-workflow"
	*/
	Op string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	/* WorkflowData.

	   Payload that contains the direktiv workflow yaml to create.
	*/
	WorkflowData string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateWorkflowParams contains all the parameters to send to the API endpoint

for the create workflow operation.

Typically these are written to a http.Request.

func NewCreateWorkflowParams

func NewCreateWorkflowParams() *CreateWorkflowParams

NewCreateWorkflowParams creates a new CreateWorkflowParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateWorkflowParamsWithContext

func NewCreateWorkflowParamsWithContext(ctx context.Context) *CreateWorkflowParams

NewCreateWorkflowParamsWithContext creates a new CreateWorkflowParams object with the ability to set a context for a request.

func NewCreateWorkflowParamsWithHTTPClient

func NewCreateWorkflowParamsWithHTTPClient(client *http.Client) *CreateWorkflowParams

NewCreateWorkflowParamsWithHTTPClient creates a new CreateWorkflowParams object with the ability to set a custom HTTPClient for a request.

func NewCreateWorkflowParamsWithTimeout

func NewCreateWorkflowParamsWithTimeout(timeout time.Duration) *CreateWorkflowParams

NewCreateWorkflowParamsWithTimeout creates a new CreateWorkflowParams object with the ability to set a timeout on a request.

func (*CreateWorkflowParams) SetContext

func (o *CreateWorkflowParams) SetContext(ctx context.Context)

SetContext adds the context to the create workflow params

func (*CreateWorkflowParams) SetDefaults

func (o *CreateWorkflowParams) SetDefaults()

SetDefaults hydrates default values in the create workflow params (not the query body).

All values with no default are reset to their zero value.

func (*CreateWorkflowParams) SetHTTPClient

func (o *CreateWorkflowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create workflow params

func (*CreateWorkflowParams) SetNamespace

func (o *CreateWorkflowParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create workflow params

func (*CreateWorkflowParams) SetOp

func (o *CreateWorkflowParams) SetOp(op string)

SetOp adds the op to the create workflow params

func (*CreateWorkflowParams) SetTimeout

func (o *CreateWorkflowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create workflow params

func (*CreateWorkflowParams) SetWorkflow

func (o *CreateWorkflowParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the create workflow params

func (*CreateWorkflowParams) SetWorkflowData

func (o *CreateWorkflowParams) SetWorkflowData(workflowData string)

SetWorkflowData adds the workflowData to the create workflow params

func (*CreateWorkflowParams) WithContext

WithContext adds the context to the create workflow params

func (*CreateWorkflowParams) WithDefaults

func (o *CreateWorkflowParams) WithDefaults() *CreateWorkflowParams

WithDefaults hydrates default values in the create workflow params (not the query body).

All values with no default are reset to their zero value.

func (*CreateWorkflowParams) WithHTTPClient

func (o *CreateWorkflowParams) WithHTTPClient(client *http.Client) *CreateWorkflowParams

WithHTTPClient adds the HTTPClient to the create workflow params

func (*CreateWorkflowParams) WithNamespace

func (o *CreateWorkflowParams) WithNamespace(namespace string) *CreateWorkflowParams

WithNamespace adds the namespace to the create workflow params

func (*CreateWorkflowParams) WithOp

WithOp adds the op to the create workflow params

func (*CreateWorkflowParams) WithTimeout

func (o *CreateWorkflowParams) WithTimeout(timeout time.Duration) *CreateWorkflowParams

WithTimeout adds the timeout to the create workflow params

func (*CreateWorkflowParams) WithWorkflow

func (o *CreateWorkflowParams) WithWorkflow(workflow string) *CreateWorkflowParams

WithWorkflow adds the workflow to the create workflow params

func (*CreateWorkflowParams) WithWorkflowData

func (o *CreateWorkflowParams) WithWorkflowData(workflowData string) *CreateWorkflowParams

WithWorkflowData adds the workflowData to the create workflow params

func (*CreateWorkflowParams) WriteToRequest

func (o *CreateWorkflowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateWorkflowReader

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

CreateWorkflowReader is a Reader for the CreateWorkflow structure.

func (*CreateWorkflowReader) ReadResponse

func (o *CreateWorkflowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExecuteWorkflowDefault

type ExecuteWorkflowDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ExecuteWorkflowDefault describes a response with status code -1, with default header values.

an error has occurred

func NewExecuteWorkflowDefault

func NewExecuteWorkflowDefault(code int) *ExecuteWorkflowDefault

NewExecuteWorkflowDefault creates a ExecuteWorkflowDefault with default headers values

func (*ExecuteWorkflowDefault) Code

func (o *ExecuteWorkflowDefault) Code() int

Code gets the status code for the execute workflow default response

func (*ExecuteWorkflowDefault) Error

func (o *ExecuteWorkflowDefault) Error() string

func (*ExecuteWorkflowDefault) GetPayload

func (o *ExecuteWorkflowDefault) GetPayload() *models.ErrorResponse

type ExecuteWorkflowOK

type ExecuteWorkflowOK struct {
	Payload models.OkBody
}
ExecuteWorkflowOK describes a response with status code 200, with default header values.

node has been deleted

func NewExecuteWorkflowOK

func NewExecuteWorkflowOK() *ExecuteWorkflowOK

NewExecuteWorkflowOK creates a ExecuteWorkflowOK with default headers values

func (*ExecuteWorkflowOK) Error

func (o *ExecuteWorkflowOK) Error() string

func (*ExecuteWorkflowOK) GetPayload

func (o *ExecuteWorkflowOK) GetPayload() models.OkBody

type ExecuteWorkflowParams

type ExecuteWorkflowParams struct {

	/* WorkflowInput.

	   The input of this workflow instance
	*/
	WorkflowInput interface{}

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Op.

	   the operation for the api

	   Default: "execute"
	*/
	Op string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecuteWorkflowParams contains all the parameters to send to the API endpoint

for the execute workflow operation.

Typically these are written to a http.Request.

func NewExecuteWorkflowParams

func NewExecuteWorkflowParams() *ExecuteWorkflowParams

NewExecuteWorkflowParams creates a new ExecuteWorkflowParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExecuteWorkflowParamsWithContext

func NewExecuteWorkflowParamsWithContext(ctx context.Context) *ExecuteWorkflowParams

NewExecuteWorkflowParamsWithContext creates a new ExecuteWorkflowParams object with the ability to set a context for a request.

func NewExecuteWorkflowParamsWithHTTPClient

func NewExecuteWorkflowParamsWithHTTPClient(client *http.Client) *ExecuteWorkflowParams

NewExecuteWorkflowParamsWithHTTPClient creates a new ExecuteWorkflowParams object with the ability to set a custom HTTPClient for a request.

func NewExecuteWorkflowParamsWithTimeout

func NewExecuteWorkflowParamsWithTimeout(timeout time.Duration) *ExecuteWorkflowParams

NewExecuteWorkflowParamsWithTimeout creates a new ExecuteWorkflowParams object with the ability to set a timeout on a request.

func (*ExecuteWorkflowParams) SetContext

func (o *ExecuteWorkflowParams) SetContext(ctx context.Context)

SetContext adds the context to the execute workflow params

func (*ExecuteWorkflowParams) SetDefaults

func (o *ExecuteWorkflowParams) SetDefaults()

SetDefaults hydrates default values in the execute workflow params (not the query body).

All values with no default are reset to their zero value.

func (*ExecuteWorkflowParams) SetHTTPClient

func (o *ExecuteWorkflowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the execute workflow params

func (*ExecuteWorkflowParams) SetNamespace

func (o *ExecuteWorkflowParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the execute workflow params

func (*ExecuteWorkflowParams) SetOp

func (o *ExecuteWorkflowParams) SetOp(op string)

SetOp adds the op to the execute workflow params

func (*ExecuteWorkflowParams) SetTimeout

func (o *ExecuteWorkflowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the execute workflow params

func (*ExecuteWorkflowParams) SetWorkflow

func (o *ExecuteWorkflowParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the execute workflow params

func (*ExecuteWorkflowParams) SetWorkflowInput

func (o *ExecuteWorkflowParams) SetWorkflowInput(workflowInput interface{})

SetWorkflowInput adds the workflowInput to the execute workflow params

func (*ExecuteWorkflowParams) WithContext

WithContext adds the context to the execute workflow params

func (*ExecuteWorkflowParams) WithDefaults

func (o *ExecuteWorkflowParams) WithDefaults() *ExecuteWorkflowParams

WithDefaults hydrates default values in the execute workflow params (not the query body).

All values with no default are reset to their zero value.

func (*ExecuteWorkflowParams) WithHTTPClient

func (o *ExecuteWorkflowParams) WithHTTPClient(client *http.Client) *ExecuteWorkflowParams

WithHTTPClient adds the HTTPClient to the execute workflow params

func (*ExecuteWorkflowParams) WithNamespace

func (o *ExecuteWorkflowParams) WithNamespace(namespace string) *ExecuteWorkflowParams

WithNamespace adds the namespace to the execute workflow params

func (*ExecuteWorkflowParams) WithOp

WithOp adds the op to the execute workflow params

func (*ExecuteWorkflowParams) WithTimeout

func (o *ExecuteWorkflowParams) WithTimeout(timeout time.Duration) *ExecuteWorkflowParams

WithTimeout adds the timeout to the execute workflow params

func (*ExecuteWorkflowParams) WithWorkflow

func (o *ExecuteWorkflowParams) WithWorkflow(workflow string) *ExecuteWorkflowParams

WithWorkflow adds the workflow to the execute workflow params

func (*ExecuteWorkflowParams) WithWorkflowInput

func (o *ExecuteWorkflowParams) WithWorkflowInput(workflowInput interface{}) *ExecuteWorkflowParams

WithWorkflowInput adds the workflowInput to the execute workflow params

func (*ExecuteWorkflowParams) WriteToRequest

func (o *ExecuteWorkflowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecuteWorkflowReader

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

ExecuteWorkflowReader is a Reader for the ExecuteWorkflow structure.

func (*ExecuteWorkflowReader) ReadResponse

func (o *ExecuteWorkflowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetWorkflowCloudEventLogsBody

type SetWorkflowCloudEventLogsBody struct {

	// Target Cloud Event
	// Required: true
	Logger *string `json:"logger"`
}

SetWorkflowCloudEventLogsBody set workflow cloud event logs body // Example: {"logger":"mylog"} swagger:model SetWorkflowCloudEventLogsBody

func (*SetWorkflowCloudEventLogsBody) ContextValidate

func (o *SetWorkflowCloudEventLogsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set workflow cloud event logs body based on context it is used

func (*SetWorkflowCloudEventLogsBody) MarshalBinary

func (o *SetWorkflowCloudEventLogsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetWorkflowCloudEventLogsBody) UnmarshalBinary

func (o *SetWorkflowCloudEventLogsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetWorkflowCloudEventLogsBody) Validate

func (o *SetWorkflowCloudEventLogsBody) Validate(formats strfmt.Registry) error

Validate validates this set workflow cloud event logs body

type SetWorkflowCloudEventLogsOK

type SetWorkflowCloudEventLogsOK struct {
}
SetWorkflowCloudEventLogsOK describes a response with status code 200, with default header values.

successfully update workflow

func NewSetWorkflowCloudEventLogsOK

func NewSetWorkflowCloudEventLogsOK() *SetWorkflowCloudEventLogsOK

NewSetWorkflowCloudEventLogsOK creates a SetWorkflowCloudEventLogsOK with default headers values

func (*SetWorkflowCloudEventLogsOK) Error

type SetWorkflowCloudEventLogsParams

type SetWorkflowCloudEventLogsParams struct {

	/* CloudEventLogger.

	   Cloud event logger to target
	*/
	CloudEventLogger SetWorkflowCloudEventLogsBody

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetWorkflowCloudEventLogsParams contains all the parameters to send to the API endpoint

for the set workflow cloud event logs operation.

Typically these are written to a http.Request.

func NewSetWorkflowCloudEventLogsParams

func NewSetWorkflowCloudEventLogsParams() *SetWorkflowCloudEventLogsParams

NewSetWorkflowCloudEventLogsParams creates a new SetWorkflowCloudEventLogsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetWorkflowCloudEventLogsParamsWithContext

func NewSetWorkflowCloudEventLogsParamsWithContext(ctx context.Context) *SetWorkflowCloudEventLogsParams

NewSetWorkflowCloudEventLogsParamsWithContext creates a new SetWorkflowCloudEventLogsParams object with the ability to set a context for a request.

func NewSetWorkflowCloudEventLogsParamsWithHTTPClient

func NewSetWorkflowCloudEventLogsParamsWithHTTPClient(client *http.Client) *SetWorkflowCloudEventLogsParams

NewSetWorkflowCloudEventLogsParamsWithHTTPClient creates a new SetWorkflowCloudEventLogsParams object with the ability to set a custom HTTPClient for a request.

func NewSetWorkflowCloudEventLogsParamsWithTimeout

func NewSetWorkflowCloudEventLogsParamsWithTimeout(timeout time.Duration) *SetWorkflowCloudEventLogsParams

NewSetWorkflowCloudEventLogsParamsWithTimeout creates a new SetWorkflowCloudEventLogsParams object with the ability to set a timeout on a request.

func (*SetWorkflowCloudEventLogsParams) SetCloudEventLogger

func (o *SetWorkflowCloudEventLogsParams) SetCloudEventLogger(cloudEventLogger SetWorkflowCloudEventLogsBody)

SetCloudEventLogger adds the cloudEventLogger to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) SetContext

func (o *SetWorkflowCloudEventLogsParams) SetContext(ctx context.Context)

SetContext adds the context to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) SetDefaults

func (o *SetWorkflowCloudEventLogsParams) SetDefaults()

SetDefaults hydrates default values in the set workflow cloud event logs params (not the query body).

All values with no default are reset to their zero value.

func (*SetWorkflowCloudEventLogsParams) SetHTTPClient

func (o *SetWorkflowCloudEventLogsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) SetNamespace

func (o *SetWorkflowCloudEventLogsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) SetTimeout

func (o *SetWorkflowCloudEventLogsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) SetWorkflow

func (o *SetWorkflowCloudEventLogsParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WithCloudEventLogger

WithCloudEventLogger adds the cloudEventLogger to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WithContext

WithContext adds the context to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WithDefaults

WithDefaults hydrates default values in the set workflow cloud event logs params (not the query body).

All values with no default are reset to their zero value.

func (*SetWorkflowCloudEventLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WithNamespace

WithNamespace adds the namespace to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WithTimeout

WithTimeout adds the timeout to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WithWorkflow

WithWorkflow adds the workflow to the set workflow cloud event logs params

func (*SetWorkflowCloudEventLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetWorkflowCloudEventLogsReader

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

SetWorkflowCloudEventLogsReader is a Reader for the SetWorkflowCloudEventLogs structure.

func (*SetWorkflowCloudEventLogsReader) ReadResponse

func (o *SetWorkflowCloudEventLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ToggleWorkflowBody

type ToggleWorkflowBody struct {

	// Workflow live status
	// Required: true
	Live *bool `json:"live"`
}

ToggleWorkflowBody toggle workflow body // Example: {"live":false} swagger:model ToggleWorkflowBody

func (*ToggleWorkflowBody) ContextValidate

func (o *ToggleWorkflowBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this toggle workflow body based on context it is used

func (*ToggleWorkflowBody) MarshalBinary

func (o *ToggleWorkflowBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ToggleWorkflowBody) UnmarshalBinary

func (o *ToggleWorkflowBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ToggleWorkflowBody) Validate

func (o *ToggleWorkflowBody) Validate(formats strfmt.Registry) error

Validate validates this toggle workflow body

type ToggleWorkflowOK

type ToggleWorkflowOK struct {
}
ToggleWorkflowOK describes a response with status code 200, with default header values.

successfully updated workflow live status

func NewToggleWorkflowOK

func NewToggleWorkflowOK() *ToggleWorkflowOK

NewToggleWorkflowOK creates a ToggleWorkflowOK with default headers values

func (*ToggleWorkflowOK) Error

func (o *ToggleWorkflowOK) Error() string

type ToggleWorkflowParams

type ToggleWorkflowParams struct {

	/* WorkflowLiveStatus.

	   Whether or not the workflow is alive or disabled
	*/
	WorkflowLiveStatus ToggleWorkflowBody

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ToggleWorkflowParams contains all the parameters to send to the API endpoint

for the toggle workflow operation.

Typically these are written to a http.Request.

func NewToggleWorkflowParams

func NewToggleWorkflowParams() *ToggleWorkflowParams

NewToggleWorkflowParams creates a new ToggleWorkflowParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewToggleWorkflowParamsWithContext

func NewToggleWorkflowParamsWithContext(ctx context.Context) *ToggleWorkflowParams

NewToggleWorkflowParamsWithContext creates a new ToggleWorkflowParams object with the ability to set a context for a request.

func NewToggleWorkflowParamsWithHTTPClient

func NewToggleWorkflowParamsWithHTTPClient(client *http.Client) *ToggleWorkflowParams

NewToggleWorkflowParamsWithHTTPClient creates a new ToggleWorkflowParams object with the ability to set a custom HTTPClient for a request.

func NewToggleWorkflowParamsWithTimeout

func NewToggleWorkflowParamsWithTimeout(timeout time.Duration) *ToggleWorkflowParams

NewToggleWorkflowParamsWithTimeout creates a new ToggleWorkflowParams object with the ability to set a timeout on a request.

func (*ToggleWorkflowParams) SetContext

func (o *ToggleWorkflowParams) SetContext(ctx context.Context)

SetContext adds the context to the toggle workflow params

func (*ToggleWorkflowParams) SetDefaults

func (o *ToggleWorkflowParams) SetDefaults()

SetDefaults hydrates default values in the toggle workflow params (not the query body).

All values with no default are reset to their zero value.

func (*ToggleWorkflowParams) SetHTTPClient

func (o *ToggleWorkflowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the toggle workflow params

func (*ToggleWorkflowParams) SetNamespace

func (o *ToggleWorkflowParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the toggle workflow params

func (*ToggleWorkflowParams) SetTimeout

func (o *ToggleWorkflowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the toggle workflow params

func (*ToggleWorkflowParams) SetWorkflow

func (o *ToggleWorkflowParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the toggle workflow params

func (*ToggleWorkflowParams) SetWorkflowLiveStatus

func (o *ToggleWorkflowParams) SetWorkflowLiveStatus(workflowLiveStatus ToggleWorkflowBody)

SetWorkflowLiveStatus adds the workflowLiveStatus to the toggle workflow params

func (*ToggleWorkflowParams) WithContext

WithContext adds the context to the toggle workflow params

func (*ToggleWorkflowParams) WithDefaults

func (o *ToggleWorkflowParams) WithDefaults() *ToggleWorkflowParams

WithDefaults hydrates default values in the toggle workflow params (not the query body).

All values with no default are reset to their zero value.

func (*ToggleWorkflowParams) WithHTTPClient

func (o *ToggleWorkflowParams) WithHTTPClient(client *http.Client) *ToggleWorkflowParams

WithHTTPClient adds the HTTPClient to the toggle workflow params

func (*ToggleWorkflowParams) WithNamespace

func (o *ToggleWorkflowParams) WithNamespace(namespace string) *ToggleWorkflowParams

WithNamespace adds the namespace to the toggle workflow params

func (*ToggleWorkflowParams) WithTimeout

func (o *ToggleWorkflowParams) WithTimeout(timeout time.Duration) *ToggleWorkflowParams

WithTimeout adds the timeout to the toggle workflow params

func (*ToggleWorkflowParams) WithWorkflow

func (o *ToggleWorkflowParams) WithWorkflow(workflow string) *ToggleWorkflowParams

WithWorkflow adds the workflow to the toggle workflow params

func (*ToggleWorkflowParams) WithWorkflowLiveStatus

func (o *ToggleWorkflowParams) WithWorkflowLiveStatus(workflowLiveStatus ToggleWorkflowBody) *ToggleWorkflowParams

WithWorkflowLiveStatus adds the workflowLiveStatus to the toggle workflow params

func (*ToggleWorkflowParams) WriteToRequest

func (o *ToggleWorkflowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ToggleWorkflowReader

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

ToggleWorkflowReader is a Reader for the ToggleWorkflow structure.

func (*ToggleWorkflowReader) ReadResponse

func (o *ToggleWorkflowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateWorkflowOK

type UpdateWorkflowOK struct {
}
UpdateWorkflowOK describes a response with status code 200, with default header values.

successfully updated workflow

func NewUpdateWorkflowOK

func NewUpdateWorkflowOK() *UpdateWorkflowOK

NewUpdateWorkflowOK creates a UpdateWorkflowOK with default headers values

func (*UpdateWorkflowOK) Error

func (o *UpdateWorkflowOK) Error() string

type UpdateWorkflowParams

type UpdateWorkflowParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

	/* WorkflowData.

	   Payload that contains the updated direktiv workflow yaml.
	*/
	WorkflowData string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateWorkflowParams contains all the parameters to send to the API endpoint

for the update workflow operation.

Typically these are written to a http.Request.

func NewUpdateWorkflowParams

func NewUpdateWorkflowParams() *UpdateWorkflowParams

NewUpdateWorkflowParams creates a new UpdateWorkflowParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateWorkflowParamsWithContext

func NewUpdateWorkflowParamsWithContext(ctx context.Context) *UpdateWorkflowParams

NewUpdateWorkflowParamsWithContext creates a new UpdateWorkflowParams object with the ability to set a context for a request.

func NewUpdateWorkflowParamsWithHTTPClient

func NewUpdateWorkflowParamsWithHTTPClient(client *http.Client) *UpdateWorkflowParams

NewUpdateWorkflowParamsWithHTTPClient creates a new UpdateWorkflowParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateWorkflowParamsWithTimeout

func NewUpdateWorkflowParamsWithTimeout(timeout time.Duration) *UpdateWorkflowParams

NewUpdateWorkflowParamsWithTimeout creates a new UpdateWorkflowParams object with the ability to set a timeout on a request.

func (*UpdateWorkflowParams) SetContext

func (o *UpdateWorkflowParams) SetContext(ctx context.Context)

SetContext adds the context to the update workflow params

func (*UpdateWorkflowParams) SetDefaults

func (o *UpdateWorkflowParams) SetDefaults()

SetDefaults hydrates default values in the update workflow params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateWorkflowParams) SetHTTPClient

func (o *UpdateWorkflowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update workflow params

func (*UpdateWorkflowParams) SetNamespace

func (o *UpdateWorkflowParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update workflow params

func (*UpdateWorkflowParams) SetTimeout

func (o *UpdateWorkflowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update workflow params

func (*UpdateWorkflowParams) SetWorkflow

func (o *UpdateWorkflowParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the update workflow params

func (*UpdateWorkflowParams) SetWorkflowData

func (o *UpdateWorkflowParams) SetWorkflowData(workflowData string)

SetWorkflowData adds the workflowData to the update workflow params

func (*UpdateWorkflowParams) WithContext

WithContext adds the context to the update workflow params

func (*UpdateWorkflowParams) WithDefaults

func (o *UpdateWorkflowParams) WithDefaults() *UpdateWorkflowParams

WithDefaults hydrates default values in the update workflow params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateWorkflowParams) WithHTTPClient

func (o *UpdateWorkflowParams) WithHTTPClient(client *http.Client) *UpdateWorkflowParams

WithHTTPClient adds the HTTPClient to the update workflow params

func (*UpdateWorkflowParams) WithNamespace

func (o *UpdateWorkflowParams) WithNamespace(namespace string) *UpdateWorkflowParams

WithNamespace adds the namespace to the update workflow params

func (*UpdateWorkflowParams) WithTimeout

func (o *UpdateWorkflowParams) WithTimeout(timeout time.Duration) *UpdateWorkflowParams

WithTimeout adds the timeout to the update workflow params

func (*UpdateWorkflowParams) WithWorkflow

func (o *UpdateWorkflowParams) WithWorkflow(workflow string) *UpdateWorkflowParams

WithWorkflow adds the workflow to the update workflow params

func (*UpdateWorkflowParams) WithWorkflowData

func (o *UpdateWorkflowParams) WithWorkflowData(workflowData string) *UpdateWorkflowParams

WithWorkflowData adds the workflowData to the update workflow params

func (*UpdateWorkflowParams) WriteToRequest

func (o *UpdateWorkflowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateWorkflowReader

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

UpdateWorkflowReader is a Reader for the UpdateWorkflow structure.

func (*UpdateWorkflowReader) ReadResponse

func (o *UpdateWorkflowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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