workflow_services

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for workflow services API

func (*Client) GetWorkflowService

func (a *Client) GetWorkflowService(params *GetWorkflowServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowServiceOK, error)
GetWorkflowService gets workflow service details

Get a workflow scoped knative service details.

Note: This is a Server-Sent-Event endpoint, and will not work with the default swagger client.

func (*Client) GetWorkflowServiceRevision

func (a *Client) GetWorkflowServiceRevision(params *GetWorkflowServiceRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowServiceRevisionOK, error)
GetWorkflowServiceRevision gets workflow service revision

Get a workflow scoped knative service revision.

This will return details on a single revision. The target revision generation (rev query) is the number suffix on a revision. Example: A revision named 'workflow-10640097968065193909-get-00001' would have the revisionGeneration '00001'.

func (*Client) GetWorkflowServiceRevisionList

func (a *Client) GetWorkflowServiceRevisionList(params *GetWorkflowServiceRevisionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowServiceRevisionListOK, error)

GetWorkflowServiceRevisionList gets workflow service revision list

Get the revision list of a workflow scoped knative service.

func (*Client) ListWorkflowServiceRevisionPods

func (a *Client) ListWorkflowServiceRevisionPods(params *ListWorkflowServiceRevisionPodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkflowServiceRevisionPodsOK, error)
ListWorkflowServiceRevisionPods gets workflow service revision pods list

List a revisions pods of a workflow scoped knative service.

The target revision generation (rev query) is the number suffix on a revision. Example: A revision named 'workflow-10640097968065193909-get-00001' would have the revisionGeneration '00001'.

func (*Client) ListWorkflowServices

func (a *Client) ListWorkflowServices(params *ListWorkflowServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkflowServicesOK, error)

ListWorkflowServices gets workflow services list

Gets a list of workflow knative services.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetWorkflowService(params *GetWorkflowServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowServiceOK, error)

	GetWorkflowServiceRevision(params *GetWorkflowServiceRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowServiceRevisionOK, error)

	GetWorkflowServiceRevisionList(params *GetWorkflowServiceRevisionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowServiceRevisionListOK, error)

	ListWorkflowServiceRevisionPods(params *ListWorkflowServiceRevisionPodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkflowServiceRevisionPodsOK, error)

	ListWorkflowServices(params *ListWorkflowServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkflowServicesOK, 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 workflow services API client.

type GetWorkflowServiceOK

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

successfully got service details

func NewGetWorkflowServiceOK

func NewGetWorkflowServiceOK() *GetWorkflowServiceOK

NewGetWorkflowServiceOK creates a GetWorkflowServiceOK with default headers values

func (*GetWorkflowServiceOK) Error

func (o *GetWorkflowServiceOK) Error() string

type GetWorkflowServiceParams

type GetWorkflowServiceParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Svn.

	   target service name
	*/
	Svn string

	/* Version.

	   target service version
	*/
	Version string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

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

GetWorkflowServiceParams contains all the parameters to send to the API endpoint

for the get workflow service operation.

Typically these are written to a http.Request.

func NewGetWorkflowServiceParams

func NewGetWorkflowServiceParams() *GetWorkflowServiceParams

NewGetWorkflowServiceParams creates a new GetWorkflowServiceParams 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 NewGetWorkflowServiceParamsWithContext

func NewGetWorkflowServiceParamsWithContext(ctx context.Context) *GetWorkflowServiceParams

NewGetWorkflowServiceParamsWithContext creates a new GetWorkflowServiceParams object with the ability to set a context for a request.

func NewGetWorkflowServiceParamsWithHTTPClient

func NewGetWorkflowServiceParamsWithHTTPClient(client *http.Client) *GetWorkflowServiceParams

NewGetWorkflowServiceParamsWithHTTPClient creates a new GetWorkflowServiceParams object with the ability to set a custom HTTPClient for a request.

func NewGetWorkflowServiceParamsWithTimeout

func NewGetWorkflowServiceParamsWithTimeout(timeout time.Duration) *GetWorkflowServiceParams

NewGetWorkflowServiceParamsWithTimeout creates a new GetWorkflowServiceParams object with the ability to set a timeout on a request.

func (*GetWorkflowServiceParams) SetContext

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

SetContext adds the context to the get workflow service params

func (*GetWorkflowServiceParams) SetDefaults

func (o *GetWorkflowServiceParams) SetDefaults()

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

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

func (*GetWorkflowServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workflow service params

func (*GetWorkflowServiceParams) SetNamespace

func (o *GetWorkflowServiceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get workflow service params

func (*GetWorkflowServiceParams) SetSvn

func (o *GetWorkflowServiceParams) SetSvn(svn string)

SetSvn adds the svn to the get workflow service params

func (*GetWorkflowServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get workflow service params

func (*GetWorkflowServiceParams) SetVersion

func (o *GetWorkflowServiceParams) SetVersion(version string)

SetVersion adds the version to the get workflow service params

func (*GetWorkflowServiceParams) SetWorkflow

func (o *GetWorkflowServiceParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the get workflow service params

func (*GetWorkflowServiceParams) WithContext

WithContext adds the context to the get workflow service params

func (*GetWorkflowServiceParams) WithDefaults

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

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

func (*GetWorkflowServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get workflow service params

func (*GetWorkflowServiceParams) WithNamespace

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

WithNamespace adds the namespace to the get workflow service params

func (*GetWorkflowServiceParams) WithSvn

WithSvn adds the svn to the get workflow service params

func (*GetWorkflowServiceParams) WithTimeout

WithTimeout adds the timeout to the get workflow service params

func (*GetWorkflowServiceParams) WithVersion

func (o *GetWorkflowServiceParams) WithVersion(version string) *GetWorkflowServiceParams

WithVersion adds the version to the get workflow service params

func (*GetWorkflowServiceParams) WithWorkflow

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

WithWorkflow adds the workflow to the get workflow service params

func (*GetWorkflowServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkflowServiceReader

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

GetWorkflowServiceReader is a Reader for the GetWorkflowService structure.

func (*GetWorkflowServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkflowServiceRevisionListOK

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

successfully got service revisions

func NewGetWorkflowServiceRevisionListOK

func NewGetWorkflowServiceRevisionListOK() *GetWorkflowServiceRevisionListOK

NewGetWorkflowServiceRevisionListOK creates a GetWorkflowServiceRevisionListOK with default headers values

func (*GetWorkflowServiceRevisionListOK) Error

type GetWorkflowServiceRevisionListParams

type GetWorkflowServiceRevisionListParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Svn.

	   target service name
	*/
	Svn string

	/* Version.

	   target service version
	*/
	Version string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

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

GetWorkflowServiceRevisionListParams contains all the parameters to send to the API endpoint

for the get workflow service revision list operation.

Typically these are written to a http.Request.

func NewGetWorkflowServiceRevisionListParams

func NewGetWorkflowServiceRevisionListParams() *GetWorkflowServiceRevisionListParams

NewGetWorkflowServiceRevisionListParams creates a new GetWorkflowServiceRevisionListParams 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 NewGetWorkflowServiceRevisionListParamsWithContext

func NewGetWorkflowServiceRevisionListParamsWithContext(ctx context.Context) *GetWorkflowServiceRevisionListParams

NewGetWorkflowServiceRevisionListParamsWithContext creates a new GetWorkflowServiceRevisionListParams object with the ability to set a context for a request.

func NewGetWorkflowServiceRevisionListParamsWithHTTPClient

func NewGetWorkflowServiceRevisionListParamsWithHTTPClient(client *http.Client) *GetWorkflowServiceRevisionListParams

NewGetWorkflowServiceRevisionListParamsWithHTTPClient creates a new GetWorkflowServiceRevisionListParams object with the ability to set a custom HTTPClient for a request.

func NewGetWorkflowServiceRevisionListParamsWithTimeout

func NewGetWorkflowServiceRevisionListParamsWithTimeout(timeout time.Duration) *GetWorkflowServiceRevisionListParams

NewGetWorkflowServiceRevisionListParamsWithTimeout creates a new GetWorkflowServiceRevisionListParams object with the ability to set a timeout on a request.

func (*GetWorkflowServiceRevisionListParams) SetContext

SetContext adds the context to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) SetDefaults

func (o *GetWorkflowServiceRevisionListParams) SetDefaults()

SetDefaults hydrates default values in the get workflow service revision list params (not the query body).

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

func (*GetWorkflowServiceRevisionListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) SetNamespace

func (o *GetWorkflowServiceRevisionListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) SetSvn

SetSvn adds the svn to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) SetTimeout

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

SetTimeout adds the timeout to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) SetVersion

func (o *GetWorkflowServiceRevisionListParams) SetVersion(version string)

SetVersion adds the version to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) SetWorkflow

func (o *GetWorkflowServiceRevisionListParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithContext

WithContext adds the context to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithDefaults

WithDefaults hydrates default values in the get workflow service revision list params (not the query body).

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

func (*GetWorkflowServiceRevisionListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithNamespace

WithNamespace adds the namespace to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithSvn

WithSvn adds the svn to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithTimeout

WithTimeout adds the timeout to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithVersion

WithVersion adds the version to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WithWorkflow

WithWorkflow adds the workflow to the get workflow service revision list params

func (*GetWorkflowServiceRevisionListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkflowServiceRevisionListReader

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

GetWorkflowServiceRevisionListReader is a Reader for the GetWorkflowServiceRevisionList structure.

func (*GetWorkflowServiceRevisionListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkflowServiceRevisionOK

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

successfully got service revision details

func NewGetWorkflowServiceRevisionOK

func NewGetWorkflowServiceRevisionOK() *GetWorkflowServiceRevisionOK

NewGetWorkflowServiceRevisionOK creates a GetWorkflowServiceRevisionOK with default headers values

func (*GetWorkflowServiceRevisionOK) Error

type GetWorkflowServiceRevisionParams

type GetWorkflowServiceRevisionParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Rev.

	   target service revison
	*/
	Rev string

	/* Svn.

	   target service name
	*/
	Svn string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

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

GetWorkflowServiceRevisionParams contains all the parameters to send to the API endpoint

for the get workflow service revision operation.

Typically these are written to a http.Request.

func NewGetWorkflowServiceRevisionParams

func NewGetWorkflowServiceRevisionParams() *GetWorkflowServiceRevisionParams

NewGetWorkflowServiceRevisionParams creates a new GetWorkflowServiceRevisionParams 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 NewGetWorkflowServiceRevisionParamsWithContext

func NewGetWorkflowServiceRevisionParamsWithContext(ctx context.Context) *GetWorkflowServiceRevisionParams

NewGetWorkflowServiceRevisionParamsWithContext creates a new GetWorkflowServiceRevisionParams object with the ability to set a context for a request.

func NewGetWorkflowServiceRevisionParamsWithHTTPClient

func NewGetWorkflowServiceRevisionParamsWithHTTPClient(client *http.Client) *GetWorkflowServiceRevisionParams

NewGetWorkflowServiceRevisionParamsWithHTTPClient creates a new GetWorkflowServiceRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewGetWorkflowServiceRevisionParamsWithTimeout

func NewGetWorkflowServiceRevisionParamsWithTimeout(timeout time.Duration) *GetWorkflowServiceRevisionParams

NewGetWorkflowServiceRevisionParamsWithTimeout creates a new GetWorkflowServiceRevisionParams object with the ability to set a timeout on a request.

func (*GetWorkflowServiceRevisionParams) SetContext

SetContext adds the context to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) SetDefaults

func (o *GetWorkflowServiceRevisionParams) SetDefaults()

SetDefaults hydrates default values in the get workflow service revision params (not the query body).

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

func (*GetWorkflowServiceRevisionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) SetNamespace

func (o *GetWorkflowServiceRevisionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) SetRev

SetRev adds the rev to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) SetSvn

SetSvn adds the svn to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) SetTimeout

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

SetTimeout adds the timeout to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) SetWorkflow

func (o *GetWorkflowServiceRevisionParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithContext

WithContext adds the context to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithDefaults

WithDefaults hydrates default values in the get workflow service revision params (not the query body).

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

func (*GetWorkflowServiceRevisionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithNamespace

WithNamespace adds the namespace to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithRev

WithRev adds the rev to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithSvn

WithSvn adds the svn to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithTimeout

WithTimeout adds the timeout to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WithWorkflow

WithWorkflow adds the workflow to the get workflow service revision params

func (*GetWorkflowServiceRevisionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkflowServiceRevisionReader

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

GetWorkflowServiceRevisionReader is a Reader for the GetWorkflowServiceRevision structure.

func (*GetWorkflowServiceRevisionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkflowServiceRevisionPodsOK

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

successfully got list of a service revision pods

func NewListWorkflowServiceRevisionPodsOK

func NewListWorkflowServiceRevisionPodsOK() *ListWorkflowServiceRevisionPodsOK

NewListWorkflowServiceRevisionPodsOK creates a ListWorkflowServiceRevisionPodsOK with default headers values

func (*ListWorkflowServiceRevisionPodsOK) Error

type ListWorkflowServiceRevisionPodsParams

type ListWorkflowServiceRevisionPodsParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Rev.

	   target service revison
	*/
	Rev string

	/* Svn.

	   target service name
	*/
	Svn string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

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

ListWorkflowServiceRevisionPodsParams contains all the parameters to send to the API endpoint

for the list workflow service revision pods operation.

Typically these are written to a http.Request.

func NewListWorkflowServiceRevisionPodsParams

func NewListWorkflowServiceRevisionPodsParams() *ListWorkflowServiceRevisionPodsParams

NewListWorkflowServiceRevisionPodsParams creates a new ListWorkflowServiceRevisionPodsParams 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 NewListWorkflowServiceRevisionPodsParamsWithContext

func NewListWorkflowServiceRevisionPodsParamsWithContext(ctx context.Context) *ListWorkflowServiceRevisionPodsParams

NewListWorkflowServiceRevisionPodsParamsWithContext creates a new ListWorkflowServiceRevisionPodsParams object with the ability to set a context for a request.

func NewListWorkflowServiceRevisionPodsParamsWithHTTPClient

func NewListWorkflowServiceRevisionPodsParamsWithHTTPClient(client *http.Client) *ListWorkflowServiceRevisionPodsParams

NewListWorkflowServiceRevisionPodsParamsWithHTTPClient creates a new ListWorkflowServiceRevisionPodsParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkflowServiceRevisionPodsParamsWithTimeout

func NewListWorkflowServiceRevisionPodsParamsWithTimeout(timeout time.Duration) *ListWorkflowServiceRevisionPodsParams

NewListWorkflowServiceRevisionPodsParamsWithTimeout creates a new ListWorkflowServiceRevisionPodsParams object with the ability to set a timeout on a request.

func (*ListWorkflowServiceRevisionPodsParams) SetContext

SetContext adds the context to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) SetDefaults

func (o *ListWorkflowServiceRevisionPodsParams) SetDefaults()

SetDefaults hydrates default values in the list workflow service revision pods params (not the query body).

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

func (*ListWorkflowServiceRevisionPodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) SetNamespace

func (o *ListWorkflowServiceRevisionPodsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) SetRev

SetRev adds the rev to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) SetSvn

SetSvn adds the svn to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) SetTimeout

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

SetTimeout adds the timeout to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) SetWorkflow

func (o *ListWorkflowServiceRevisionPodsParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithContext

WithContext adds the context to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithDefaults

WithDefaults hydrates default values in the list workflow service revision pods params (not the query body).

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

func (*ListWorkflowServiceRevisionPodsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithNamespace

WithNamespace adds the namespace to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithRev

WithRev adds the rev to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithSvn

WithSvn adds the svn to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithTimeout

WithTimeout adds the timeout to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WithWorkflow

WithWorkflow adds the workflow to the list workflow service revision pods params

func (*ListWorkflowServiceRevisionPodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkflowServiceRevisionPodsReader

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

ListWorkflowServiceRevisionPodsReader is a Reader for the ListWorkflowServiceRevisionPods structure.

func (*ListWorkflowServiceRevisionPodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkflowServicesOK

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

successfully got services list

func NewListWorkflowServicesOK

func NewListWorkflowServicesOK() *ListWorkflowServicesOK

NewListWorkflowServicesOK creates a ListWorkflowServicesOK with default headers values

func (*ListWorkflowServicesOK) Error

func (o *ListWorkflowServicesOK) Error() string

type ListWorkflowServicesParams

type ListWorkflowServicesParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

	/* Workflow.

	   path to target workflow
	*/
	Workflow string

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

ListWorkflowServicesParams contains all the parameters to send to the API endpoint

for the list workflow services operation.

Typically these are written to a http.Request.

func NewListWorkflowServicesParams

func NewListWorkflowServicesParams() *ListWorkflowServicesParams

NewListWorkflowServicesParams creates a new ListWorkflowServicesParams 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 NewListWorkflowServicesParamsWithContext

func NewListWorkflowServicesParamsWithContext(ctx context.Context) *ListWorkflowServicesParams

NewListWorkflowServicesParamsWithContext creates a new ListWorkflowServicesParams object with the ability to set a context for a request.

func NewListWorkflowServicesParamsWithHTTPClient

func NewListWorkflowServicesParamsWithHTTPClient(client *http.Client) *ListWorkflowServicesParams

NewListWorkflowServicesParamsWithHTTPClient creates a new ListWorkflowServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkflowServicesParamsWithTimeout

func NewListWorkflowServicesParamsWithTimeout(timeout time.Duration) *ListWorkflowServicesParams

NewListWorkflowServicesParamsWithTimeout creates a new ListWorkflowServicesParams object with the ability to set a timeout on a request.

func (*ListWorkflowServicesParams) SetContext

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

SetContext adds the context to the list workflow services params

func (*ListWorkflowServicesParams) SetDefaults

func (o *ListWorkflowServicesParams) SetDefaults()

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

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

func (*ListWorkflowServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workflow services params

func (*ListWorkflowServicesParams) SetNamespace

func (o *ListWorkflowServicesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list workflow services params

func (*ListWorkflowServicesParams) SetTimeout

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

SetTimeout adds the timeout to the list workflow services params

func (*ListWorkflowServicesParams) SetWorkflow

func (o *ListWorkflowServicesParams) SetWorkflow(workflow string)

SetWorkflow adds the workflow to the list workflow services params

func (*ListWorkflowServicesParams) WithContext

WithContext adds the context to the list workflow services params

func (*ListWorkflowServicesParams) WithDefaults

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

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

func (*ListWorkflowServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list workflow services params

func (*ListWorkflowServicesParams) WithNamespace

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

WithNamespace adds the namespace to the list workflow services params

func (*ListWorkflowServicesParams) WithTimeout

WithTimeout adds the timeout to the list workflow services params

func (*ListWorkflowServicesParams) WithWorkflow

WithWorkflow adds the workflow to the list workflow services params

func (*ListWorkflowServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkflowServicesReader

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

ListWorkflowServicesReader is a Reader for the ListWorkflowServices structure.

func (*ListWorkflowServicesReader) ReadResponse

func (o *ListWorkflowServicesReader) 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