workflow_library

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MPL-2.0 Imports: 11 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 library API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) WorkflowLibraryAddToLibrary

func (a *Client) WorkflowLibraryAddToLibrary(params *WorkflowLibraryAddToLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryAddToLibraryOK, error)

WorkflowLibraryAddToLibrary bs e t a add to library adds a workflow program to the organizations library

func (*Client) WorkflowLibraryGetFromLibrary

func (a *Client) WorkflowLibraryGetFromLibrary(params *WorkflowLibraryGetFromLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibraryOK, error)

WorkflowLibraryGetFromLibrary bs e t a get from library returns workflow programs in the library that match the requested fields

func (*Client) WorkflowLibraryGetFromLibrary2

func (a *Client) WorkflowLibraryGetFromLibrary2(params *WorkflowLibraryGetFromLibrary2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary2OK, error)

WorkflowLibraryGetFromLibrary2 bs e t a get from library returns workflow programs in the library that match the requested fields

func (*Client) WorkflowLibraryGetFromLibrary3

func (a *Client) WorkflowLibraryGetFromLibrary3(params *WorkflowLibraryGetFromLibrary3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary3OK, error)

WorkflowLibraryGetFromLibrary3 bs e t a get from library returns workflow programs in the library that match the requested fields

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	WorkflowLibraryAddToLibrary(params *WorkflowLibraryAddToLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryAddToLibraryOK, error)

	WorkflowLibraryGetFromLibrary(params *WorkflowLibraryGetFromLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibraryOK, error)

	WorkflowLibraryGetFromLibrary2(params *WorkflowLibraryGetFromLibrary2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary2OK, error)

	WorkflowLibraryGetFromLibrary3(params *WorkflowLibraryGetFromLibrary3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary3OK, 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 library API client.

type WorkflowLibraryAddToLibraryDefault

type WorkflowLibraryAddToLibraryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

WorkflowLibraryAddToLibraryDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewWorkflowLibraryAddToLibraryDefault

func NewWorkflowLibraryAddToLibraryDefault(code int) *WorkflowLibraryAddToLibraryDefault

NewWorkflowLibraryAddToLibraryDefault creates a WorkflowLibraryAddToLibraryDefault with default headers values

func (*WorkflowLibraryAddToLibraryDefault) Code

Code gets the status code for the workflow library add to library default response

func (*WorkflowLibraryAddToLibraryDefault) Error

func (*WorkflowLibraryAddToLibraryDefault) GetPayload

func (*WorkflowLibraryAddToLibraryDefault) IsClientError

func (o *WorkflowLibraryAddToLibraryDefault) IsClientError() bool

IsClientError returns true when this workflow library add to library default response has a 4xx status code

func (*WorkflowLibraryAddToLibraryDefault) IsCode

IsCode returns true when this workflow library add to library default response a status code equal to that given

func (*WorkflowLibraryAddToLibraryDefault) IsRedirect

func (o *WorkflowLibraryAddToLibraryDefault) IsRedirect() bool

IsRedirect returns true when this workflow library add to library default response has a 3xx status code

func (*WorkflowLibraryAddToLibraryDefault) IsServerError

func (o *WorkflowLibraryAddToLibraryDefault) IsServerError() bool

IsServerError returns true when this workflow library add to library default response has a 5xx status code

func (*WorkflowLibraryAddToLibraryDefault) IsSuccess

IsSuccess returns true when this workflow library add to library default response has a 2xx status code

func (*WorkflowLibraryAddToLibraryDefault) String

type WorkflowLibraryAddToLibraryOK

type WorkflowLibraryAddToLibraryOK struct {
	Payload *models.HashicorpCloudWaypointAddToLibraryResponse
}

WorkflowLibraryAddToLibraryOK describes a response with status code 200, with default header values.

A successful response.

func NewWorkflowLibraryAddToLibraryOK

func NewWorkflowLibraryAddToLibraryOK() *WorkflowLibraryAddToLibraryOK

NewWorkflowLibraryAddToLibraryOK creates a WorkflowLibraryAddToLibraryOK with default headers values

func (*WorkflowLibraryAddToLibraryOK) Code

Code gets the status code for the workflow library add to library o k response

func (*WorkflowLibraryAddToLibraryOK) Error

func (*WorkflowLibraryAddToLibraryOK) GetPayload

func (*WorkflowLibraryAddToLibraryOK) IsClientError

func (o *WorkflowLibraryAddToLibraryOK) IsClientError() bool

IsClientError returns true when this workflow library add to library o k response has a 4xx status code

func (*WorkflowLibraryAddToLibraryOK) IsCode

func (o *WorkflowLibraryAddToLibraryOK) IsCode(code int) bool

IsCode returns true when this workflow library add to library o k response a status code equal to that given

func (*WorkflowLibraryAddToLibraryOK) IsRedirect

func (o *WorkflowLibraryAddToLibraryOK) IsRedirect() bool

IsRedirect returns true when this workflow library add to library o k response has a 3xx status code

func (*WorkflowLibraryAddToLibraryOK) IsServerError

func (o *WorkflowLibraryAddToLibraryOK) IsServerError() bool

IsServerError returns true when this workflow library add to library o k response has a 5xx status code

func (*WorkflowLibraryAddToLibraryOK) IsSuccess

func (o *WorkflowLibraryAddToLibraryOK) IsSuccess() bool

IsSuccess returns true when this workflow library add to library o k response has a 2xx status code

func (*WorkflowLibraryAddToLibraryOK) String

type WorkflowLibraryAddToLibraryParams

type WorkflowLibraryAddToLibraryParams struct {

	// Body.
	Body *models.HashicorpCloudWaypointAddToLibraryRequest

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

WorkflowLibraryAddToLibraryParams contains all the parameters to send to the API endpoint

for the workflow library add to library operation.

Typically these are written to a http.Request.

func NewWorkflowLibraryAddToLibraryParams

func NewWorkflowLibraryAddToLibraryParams() *WorkflowLibraryAddToLibraryParams

NewWorkflowLibraryAddToLibraryParams creates a new WorkflowLibraryAddToLibraryParams 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 NewWorkflowLibraryAddToLibraryParamsWithContext

func NewWorkflowLibraryAddToLibraryParamsWithContext(ctx context.Context) *WorkflowLibraryAddToLibraryParams

NewWorkflowLibraryAddToLibraryParamsWithContext creates a new WorkflowLibraryAddToLibraryParams object with the ability to set a context for a request.

func NewWorkflowLibraryAddToLibraryParamsWithHTTPClient

func NewWorkflowLibraryAddToLibraryParamsWithHTTPClient(client *http.Client) *WorkflowLibraryAddToLibraryParams

NewWorkflowLibraryAddToLibraryParamsWithHTTPClient creates a new WorkflowLibraryAddToLibraryParams object with the ability to set a custom HTTPClient for a request.

func NewWorkflowLibraryAddToLibraryParamsWithTimeout

func NewWorkflowLibraryAddToLibraryParamsWithTimeout(timeout time.Duration) *WorkflowLibraryAddToLibraryParams

NewWorkflowLibraryAddToLibraryParamsWithTimeout creates a new WorkflowLibraryAddToLibraryParams object with the ability to set a timeout on a request.

func (*WorkflowLibraryAddToLibraryParams) SetBody

SetBody adds the body to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) SetContext

SetContext adds the context to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) SetDefaults

func (o *WorkflowLibraryAddToLibraryParams) SetDefaults()

SetDefaults hydrates default values in the workflow library add to library params (not the query body).

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

func (*WorkflowLibraryAddToLibraryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) SetTimeout

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

SetTimeout adds the timeout to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) WithBody

WithBody adds the body to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) WithContext

WithContext adds the context to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) WithDefaults

WithDefaults hydrates default values in the workflow library add to library params (not the query body).

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

func (*WorkflowLibraryAddToLibraryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) WithTimeout

WithTimeout adds the timeout to the workflow library add to library params

func (*WorkflowLibraryAddToLibraryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WorkflowLibraryAddToLibraryReader

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

WorkflowLibraryAddToLibraryReader is a Reader for the WorkflowLibraryAddToLibrary structure.

func (*WorkflowLibraryAddToLibraryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WorkflowLibraryGetFromLibrary2Default

type WorkflowLibraryGetFromLibrary2Default struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

WorkflowLibraryGetFromLibrary2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewWorkflowLibraryGetFromLibrary2Default

func NewWorkflowLibraryGetFromLibrary2Default(code int) *WorkflowLibraryGetFromLibrary2Default

NewWorkflowLibraryGetFromLibrary2Default creates a WorkflowLibraryGetFromLibrary2Default with default headers values

func (*WorkflowLibraryGetFromLibrary2Default) Code

Code gets the status code for the workflow library get from library2 default response

func (*WorkflowLibraryGetFromLibrary2Default) Error

func (*WorkflowLibraryGetFromLibrary2Default) GetPayload

func (*WorkflowLibraryGetFromLibrary2Default) IsClientError

func (o *WorkflowLibraryGetFromLibrary2Default) IsClientError() bool

IsClientError returns true when this workflow library get from library2 default response has a 4xx status code

func (*WorkflowLibraryGetFromLibrary2Default) IsCode

IsCode returns true when this workflow library get from library2 default response a status code equal to that given

func (*WorkflowLibraryGetFromLibrary2Default) IsRedirect

IsRedirect returns true when this workflow library get from library2 default response has a 3xx status code

func (*WorkflowLibraryGetFromLibrary2Default) IsServerError

func (o *WorkflowLibraryGetFromLibrary2Default) IsServerError() bool

IsServerError returns true when this workflow library get from library2 default response has a 5xx status code

func (*WorkflowLibraryGetFromLibrary2Default) IsSuccess

IsSuccess returns true when this workflow library get from library2 default response has a 2xx status code

func (*WorkflowLibraryGetFromLibrary2Default) String

type WorkflowLibraryGetFromLibrary2OK

type WorkflowLibraryGetFromLibrary2OK struct {
	Payload *models.HashicorpCloudWaypointGetFromLibraryResponse
}

WorkflowLibraryGetFromLibrary2OK describes a response with status code 200, with default header values.

A successful response.

func NewWorkflowLibraryGetFromLibrary2OK

func NewWorkflowLibraryGetFromLibrary2OK() *WorkflowLibraryGetFromLibrary2OK

NewWorkflowLibraryGetFromLibrary2OK creates a WorkflowLibraryGetFromLibrary2OK with default headers values

func (*WorkflowLibraryGetFromLibrary2OK) Code

Code gets the status code for the workflow library get from library2 o k response

func (*WorkflowLibraryGetFromLibrary2OK) Error

func (*WorkflowLibraryGetFromLibrary2OK) GetPayload

func (*WorkflowLibraryGetFromLibrary2OK) IsClientError

func (o *WorkflowLibraryGetFromLibrary2OK) IsClientError() bool

IsClientError returns true when this workflow library get from library2 o k response has a 4xx status code

func (*WorkflowLibraryGetFromLibrary2OK) IsCode

func (o *WorkflowLibraryGetFromLibrary2OK) IsCode(code int) bool

IsCode returns true when this workflow library get from library2 o k response a status code equal to that given

func (*WorkflowLibraryGetFromLibrary2OK) IsRedirect

func (o *WorkflowLibraryGetFromLibrary2OK) IsRedirect() bool

IsRedirect returns true when this workflow library get from library2 o k response has a 3xx status code

func (*WorkflowLibraryGetFromLibrary2OK) IsServerError

func (o *WorkflowLibraryGetFromLibrary2OK) IsServerError() bool

IsServerError returns true when this workflow library get from library2 o k response has a 5xx status code

func (*WorkflowLibraryGetFromLibrary2OK) IsSuccess

func (o *WorkflowLibraryGetFromLibrary2OK) IsSuccess() bool

IsSuccess returns true when this workflow library get from library2 o k response has a 2xx status code

func (*WorkflowLibraryGetFromLibrary2OK) String

type WorkflowLibraryGetFromLibrary2Params

type WorkflowLibraryGetFromLibrary2Params struct {

	// ID.
	ID *string

	// Name.
	Name string

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

WorkflowLibraryGetFromLibrary2Params contains all the parameters to send to the API endpoint

for the workflow library get from library2 operation.

Typically these are written to a http.Request.

func NewWorkflowLibraryGetFromLibrary2Params

func NewWorkflowLibraryGetFromLibrary2Params() *WorkflowLibraryGetFromLibrary2Params

NewWorkflowLibraryGetFromLibrary2Params creates a new WorkflowLibraryGetFromLibrary2Params 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 NewWorkflowLibraryGetFromLibrary2ParamsWithContext

func NewWorkflowLibraryGetFromLibrary2ParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary2Params

NewWorkflowLibraryGetFromLibrary2ParamsWithContext creates a new WorkflowLibraryGetFromLibrary2Params object with the ability to set a context for a request.

func NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient

func NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary2Params

NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient creates a new WorkflowLibraryGetFromLibrary2Params object with the ability to set a custom HTTPClient for a request.

func NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout

func NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary2Params

NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout creates a new WorkflowLibraryGetFromLibrary2Params object with the ability to set a timeout on a request.

func (*WorkflowLibraryGetFromLibrary2Params) SetContext

SetContext adds the context to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) SetDefaults

func (o *WorkflowLibraryGetFromLibrary2Params) SetDefaults()

SetDefaults hydrates default values in the workflow library get from library2 params (not the query body).

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

func (*WorkflowLibraryGetFromLibrary2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) SetID

SetID adds the id to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) SetName

SetName adds the name to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) SetTimeout

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

SetTimeout adds the timeout to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) WithContext

WithContext adds the context to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) WithDefaults

WithDefaults hydrates default values in the workflow library get from library2 params (not the query body).

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

func (*WorkflowLibraryGetFromLibrary2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) WithID

WithID adds the id to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) WithName

WithName adds the name to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) WithTimeout

WithTimeout adds the timeout to the workflow library get from library2 params

func (*WorkflowLibraryGetFromLibrary2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type WorkflowLibraryGetFromLibrary2Reader

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

WorkflowLibraryGetFromLibrary2Reader is a Reader for the WorkflowLibraryGetFromLibrary2 structure.

func (*WorkflowLibraryGetFromLibrary2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WorkflowLibraryGetFromLibrary3Default

type WorkflowLibraryGetFromLibrary3Default struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

WorkflowLibraryGetFromLibrary3Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewWorkflowLibraryGetFromLibrary3Default

func NewWorkflowLibraryGetFromLibrary3Default(code int) *WorkflowLibraryGetFromLibrary3Default

NewWorkflowLibraryGetFromLibrary3Default creates a WorkflowLibraryGetFromLibrary3Default with default headers values

func (*WorkflowLibraryGetFromLibrary3Default) Code

Code gets the status code for the workflow library get from library3 default response

func (*WorkflowLibraryGetFromLibrary3Default) Error

func (*WorkflowLibraryGetFromLibrary3Default) GetPayload

func (*WorkflowLibraryGetFromLibrary3Default) IsClientError

func (o *WorkflowLibraryGetFromLibrary3Default) IsClientError() bool

IsClientError returns true when this workflow library get from library3 default response has a 4xx status code

func (*WorkflowLibraryGetFromLibrary3Default) IsCode

IsCode returns true when this workflow library get from library3 default response a status code equal to that given

func (*WorkflowLibraryGetFromLibrary3Default) IsRedirect

IsRedirect returns true when this workflow library get from library3 default response has a 3xx status code

func (*WorkflowLibraryGetFromLibrary3Default) IsServerError

func (o *WorkflowLibraryGetFromLibrary3Default) IsServerError() bool

IsServerError returns true when this workflow library get from library3 default response has a 5xx status code

func (*WorkflowLibraryGetFromLibrary3Default) IsSuccess

IsSuccess returns true when this workflow library get from library3 default response has a 2xx status code

func (*WorkflowLibraryGetFromLibrary3Default) String

type WorkflowLibraryGetFromLibrary3OK

type WorkflowLibraryGetFromLibrary3OK struct {
	Payload *models.HashicorpCloudWaypointGetFromLibraryResponse
}

WorkflowLibraryGetFromLibrary3OK describes a response with status code 200, with default header values.

A successful response.

func NewWorkflowLibraryGetFromLibrary3OK

func NewWorkflowLibraryGetFromLibrary3OK() *WorkflowLibraryGetFromLibrary3OK

NewWorkflowLibraryGetFromLibrary3OK creates a WorkflowLibraryGetFromLibrary3OK with default headers values

func (*WorkflowLibraryGetFromLibrary3OK) Code

Code gets the status code for the workflow library get from library3 o k response

func (*WorkflowLibraryGetFromLibrary3OK) Error

func (*WorkflowLibraryGetFromLibrary3OK) GetPayload

func (*WorkflowLibraryGetFromLibrary3OK) IsClientError

func (o *WorkflowLibraryGetFromLibrary3OK) IsClientError() bool

IsClientError returns true when this workflow library get from library3 o k response has a 4xx status code

func (*WorkflowLibraryGetFromLibrary3OK) IsCode

func (o *WorkflowLibraryGetFromLibrary3OK) IsCode(code int) bool

IsCode returns true when this workflow library get from library3 o k response a status code equal to that given

func (*WorkflowLibraryGetFromLibrary3OK) IsRedirect

func (o *WorkflowLibraryGetFromLibrary3OK) IsRedirect() bool

IsRedirect returns true when this workflow library get from library3 o k response has a 3xx status code

func (*WorkflowLibraryGetFromLibrary3OK) IsServerError

func (o *WorkflowLibraryGetFromLibrary3OK) IsServerError() bool

IsServerError returns true when this workflow library get from library3 o k response has a 5xx status code

func (*WorkflowLibraryGetFromLibrary3OK) IsSuccess

func (o *WorkflowLibraryGetFromLibrary3OK) IsSuccess() bool

IsSuccess returns true when this workflow library get from library3 o k response has a 2xx status code

func (*WorkflowLibraryGetFromLibrary3OK) String

type WorkflowLibraryGetFromLibrary3Params

type WorkflowLibraryGetFromLibrary3Params struct {

	// ID.
	ID *string

	// Name.
	Name *string

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

WorkflowLibraryGetFromLibrary3Params contains all the parameters to send to the API endpoint

for the workflow library get from library3 operation.

Typically these are written to a http.Request.

func NewWorkflowLibraryGetFromLibrary3Params

func NewWorkflowLibraryGetFromLibrary3Params() *WorkflowLibraryGetFromLibrary3Params

NewWorkflowLibraryGetFromLibrary3Params creates a new WorkflowLibraryGetFromLibrary3Params 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 NewWorkflowLibraryGetFromLibrary3ParamsWithContext

func NewWorkflowLibraryGetFromLibrary3ParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary3Params

NewWorkflowLibraryGetFromLibrary3ParamsWithContext creates a new WorkflowLibraryGetFromLibrary3Params object with the ability to set a context for a request.

func NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient

func NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary3Params

NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient creates a new WorkflowLibraryGetFromLibrary3Params object with the ability to set a custom HTTPClient for a request.

func NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout

func NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary3Params

NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout creates a new WorkflowLibraryGetFromLibrary3Params object with the ability to set a timeout on a request.

func (*WorkflowLibraryGetFromLibrary3Params) SetContext

SetContext adds the context to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) SetDefaults

func (o *WorkflowLibraryGetFromLibrary3Params) SetDefaults()

SetDefaults hydrates default values in the workflow library get from library3 params (not the query body).

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

func (*WorkflowLibraryGetFromLibrary3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) SetID

SetID adds the id to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) SetName

func (o *WorkflowLibraryGetFromLibrary3Params) SetName(name *string)

SetName adds the name to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) SetTimeout

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

SetTimeout adds the timeout to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) WithContext

WithContext adds the context to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) WithDefaults

WithDefaults hydrates default values in the workflow library get from library3 params (not the query body).

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

func (*WorkflowLibraryGetFromLibrary3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) WithID

WithID adds the id to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) WithName

WithName adds the name to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) WithTimeout

WithTimeout adds the timeout to the workflow library get from library3 params

func (*WorkflowLibraryGetFromLibrary3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type WorkflowLibraryGetFromLibrary3Reader

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

WorkflowLibraryGetFromLibrary3Reader is a Reader for the WorkflowLibraryGetFromLibrary3 structure.

func (*WorkflowLibraryGetFromLibrary3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WorkflowLibraryGetFromLibraryDefault

type WorkflowLibraryGetFromLibraryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

WorkflowLibraryGetFromLibraryDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewWorkflowLibraryGetFromLibraryDefault

func NewWorkflowLibraryGetFromLibraryDefault(code int) *WorkflowLibraryGetFromLibraryDefault

NewWorkflowLibraryGetFromLibraryDefault creates a WorkflowLibraryGetFromLibraryDefault with default headers values

func (*WorkflowLibraryGetFromLibraryDefault) Code

Code gets the status code for the workflow library get from library default response

func (*WorkflowLibraryGetFromLibraryDefault) Error

func (*WorkflowLibraryGetFromLibraryDefault) GetPayload

func (*WorkflowLibraryGetFromLibraryDefault) IsClientError

func (o *WorkflowLibraryGetFromLibraryDefault) IsClientError() bool

IsClientError returns true when this workflow library get from library default response has a 4xx status code

func (*WorkflowLibraryGetFromLibraryDefault) IsCode

IsCode returns true when this workflow library get from library default response a status code equal to that given

func (*WorkflowLibraryGetFromLibraryDefault) IsRedirect

IsRedirect returns true when this workflow library get from library default response has a 3xx status code

func (*WorkflowLibraryGetFromLibraryDefault) IsServerError

func (o *WorkflowLibraryGetFromLibraryDefault) IsServerError() bool

IsServerError returns true when this workflow library get from library default response has a 5xx status code

func (*WorkflowLibraryGetFromLibraryDefault) IsSuccess

IsSuccess returns true when this workflow library get from library default response has a 2xx status code

func (*WorkflowLibraryGetFromLibraryDefault) String

type WorkflowLibraryGetFromLibraryOK

type WorkflowLibraryGetFromLibraryOK struct {
	Payload *models.HashicorpCloudWaypointGetFromLibraryResponse
}

WorkflowLibraryGetFromLibraryOK describes a response with status code 200, with default header values.

A successful response.

func NewWorkflowLibraryGetFromLibraryOK

func NewWorkflowLibraryGetFromLibraryOK() *WorkflowLibraryGetFromLibraryOK

NewWorkflowLibraryGetFromLibraryOK creates a WorkflowLibraryGetFromLibraryOK with default headers values

func (*WorkflowLibraryGetFromLibraryOK) Code

Code gets the status code for the workflow library get from library o k response

func (*WorkflowLibraryGetFromLibraryOK) Error

func (*WorkflowLibraryGetFromLibraryOK) GetPayload

func (*WorkflowLibraryGetFromLibraryOK) IsClientError

func (o *WorkflowLibraryGetFromLibraryOK) IsClientError() bool

IsClientError returns true when this workflow library get from library o k response has a 4xx status code

func (*WorkflowLibraryGetFromLibraryOK) IsCode

func (o *WorkflowLibraryGetFromLibraryOK) IsCode(code int) bool

IsCode returns true when this workflow library get from library o k response a status code equal to that given

func (*WorkflowLibraryGetFromLibraryOK) IsRedirect

func (o *WorkflowLibraryGetFromLibraryOK) IsRedirect() bool

IsRedirect returns true when this workflow library get from library o k response has a 3xx status code

func (*WorkflowLibraryGetFromLibraryOK) IsServerError

func (o *WorkflowLibraryGetFromLibraryOK) IsServerError() bool

IsServerError returns true when this workflow library get from library o k response has a 5xx status code

func (*WorkflowLibraryGetFromLibraryOK) IsSuccess

func (o *WorkflowLibraryGetFromLibraryOK) IsSuccess() bool

IsSuccess returns true when this workflow library get from library o k response has a 2xx status code

func (*WorkflowLibraryGetFromLibraryOK) String

type WorkflowLibraryGetFromLibraryParams

type WorkflowLibraryGetFromLibraryParams struct {

	// ID.
	ID string

	// Name.
	Name *string

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

WorkflowLibraryGetFromLibraryParams contains all the parameters to send to the API endpoint

for the workflow library get from library operation.

Typically these are written to a http.Request.

func NewWorkflowLibraryGetFromLibraryParams

func NewWorkflowLibraryGetFromLibraryParams() *WorkflowLibraryGetFromLibraryParams

NewWorkflowLibraryGetFromLibraryParams creates a new WorkflowLibraryGetFromLibraryParams 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 NewWorkflowLibraryGetFromLibraryParamsWithContext

func NewWorkflowLibraryGetFromLibraryParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibraryParams

NewWorkflowLibraryGetFromLibraryParamsWithContext creates a new WorkflowLibraryGetFromLibraryParams object with the ability to set a context for a request.

func NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient

func NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibraryParams

NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient creates a new WorkflowLibraryGetFromLibraryParams object with the ability to set a custom HTTPClient for a request.

func NewWorkflowLibraryGetFromLibraryParamsWithTimeout

func NewWorkflowLibraryGetFromLibraryParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibraryParams

NewWorkflowLibraryGetFromLibraryParamsWithTimeout creates a new WorkflowLibraryGetFromLibraryParams object with the ability to set a timeout on a request.

func (*WorkflowLibraryGetFromLibraryParams) SetContext

SetContext adds the context to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) SetDefaults

func (o *WorkflowLibraryGetFromLibraryParams) SetDefaults()

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

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

func (*WorkflowLibraryGetFromLibraryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) SetID

SetID adds the id to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) SetName

func (o *WorkflowLibraryGetFromLibraryParams) SetName(name *string)

SetName adds the name to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) SetTimeout

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

SetTimeout adds the timeout to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) WithContext

WithContext adds the context to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) WithDefaults

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

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

func (*WorkflowLibraryGetFromLibraryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) WithID

WithID adds the id to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) WithName

WithName adds the name to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) WithTimeout

WithTimeout adds the timeout to the workflow library get from library params

func (*WorkflowLibraryGetFromLibraryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WorkflowLibraryGetFromLibraryReader

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

WorkflowLibraryGetFromLibraryReader is a Reader for the WorkflowLibraryGetFromLibrary structure.

func (*WorkflowLibraryGetFromLibraryReader) ReadResponse

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