deployments

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 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 deployments API

func (*Client) DeploymentGetUsingGET

func (a *Client) DeploymentGetUsingGET(params *DeploymentGetUsingGETParams, opts ...ClientOption) (*DeploymentGetUsingGETOK, error)

DeploymentGetUsingGET gets

Get deployment object

func (*Client) DeploymentListUsingGET

func (a *Client) DeploymentListUsingGET(params *DeploymentListUsingGETParams, opts ...ClientOption) (*DeploymentListUsingGETOK, error)

DeploymentListUsingGET lists

List deployments from server

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeploymentGetUsingGET(params *DeploymentGetUsingGETParams, opts ...ClientOption) (*DeploymentGetUsingGETOK, error)

	DeploymentListUsingGET(params *DeploymentListUsingGETParams, opts ...ClientOption) (*DeploymentListUsingGETOK, 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 deployments API client.

type DeploymentGetUsingGETBadRequest

type DeploymentGetUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DeploymentGetUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDeploymentGetUsingGETBadRequest

func NewDeploymentGetUsingGETBadRequest() *DeploymentGetUsingGETBadRequest

NewDeploymentGetUsingGETBadRequest creates a DeploymentGetUsingGETBadRequest with default headers values

func (*DeploymentGetUsingGETBadRequest) Error

func (*DeploymentGetUsingGETBadRequest) GetPayload added in v1.2.0

type DeploymentGetUsingGETNotFound

type DeploymentGetUsingGETNotFound struct {
}
DeploymentGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewDeploymentGetUsingGETNotFound

func NewDeploymentGetUsingGETNotFound() *DeploymentGetUsingGETNotFound

NewDeploymentGetUsingGETNotFound creates a DeploymentGetUsingGETNotFound with default headers values

func (*DeploymentGetUsingGETNotFound) Error

type DeploymentGetUsingGETOK

type DeploymentGetUsingGETOK struct {
	Payload *models.DeploymentGetResponse
}
DeploymentGetUsingGETOK describes a response with status code 200, with default header values.

OK

func NewDeploymentGetUsingGETOK

func NewDeploymentGetUsingGETOK() *DeploymentGetUsingGETOK

NewDeploymentGetUsingGETOK creates a DeploymentGetUsingGETOK with default headers values

func (*DeploymentGetUsingGETOK) Error

func (o *DeploymentGetUsingGETOK) Error() string

func (*DeploymentGetUsingGETOK) GetPayload

type DeploymentGetUsingGETParams

type DeploymentGetUsingGETParams struct {

	/* DeploymentID.

	   deploymentId
	*/
	DeploymentID string

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

DeploymentGetUsingGETParams contains all the parameters to send to the API endpoint

for the deployment get using g e t operation.

Typically these are written to a http.Request.

func NewDeploymentGetUsingGETParams

func NewDeploymentGetUsingGETParams() *DeploymentGetUsingGETParams

NewDeploymentGetUsingGETParams creates a new DeploymentGetUsingGETParams 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 NewDeploymentGetUsingGETParamsWithContext

func NewDeploymentGetUsingGETParamsWithContext(ctx context.Context) *DeploymentGetUsingGETParams

NewDeploymentGetUsingGETParamsWithContext creates a new DeploymentGetUsingGETParams object with the ability to set a context for a request.

func NewDeploymentGetUsingGETParamsWithHTTPClient

func NewDeploymentGetUsingGETParamsWithHTTPClient(client *http.Client) *DeploymentGetUsingGETParams

NewDeploymentGetUsingGETParamsWithHTTPClient creates a new DeploymentGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewDeploymentGetUsingGETParamsWithTimeout

func NewDeploymentGetUsingGETParamsWithTimeout(timeout time.Duration) *DeploymentGetUsingGETParams

NewDeploymentGetUsingGETParamsWithTimeout creates a new DeploymentGetUsingGETParams object with the ability to set a timeout on a request.

func (*DeploymentGetUsingGETParams) SetContext

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

SetContext adds the context to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) SetDefaults added in v1.2.4

func (o *DeploymentGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the deployment get using g e t params (not the query body).

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

func (*DeploymentGetUsingGETParams) SetDeploymentID

func (o *DeploymentGetUsingGETParams) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) WithContext

WithContext adds the context to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the deployment get using g e t params (not the query body).

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

func (*DeploymentGetUsingGETParams) WithDeploymentID

func (o *DeploymentGetUsingGETParams) WithDeploymentID(deploymentID string) *DeploymentGetUsingGETParams

WithDeploymentID adds the deploymentID to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the deployment get using g e t params

func (*DeploymentGetUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeploymentGetUsingGETReader

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

DeploymentGetUsingGETReader is a Reader for the DeploymentGetUsingGET structure.

func (*DeploymentGetUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeploymentListUsingGETBadRequest

type DeploymentListUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DeploymentListUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDeploymentListUsingGETBadRequest

func NewDeploymentListUsingGETBadRequest() *DeploymentListUsingGETBadRequest

NewDeploymentListUsingGETBadRequest creates a DeploymentListUsingGETBadRequest with default headers values

func (*DeploymentListUsingGETBadRequest) Error

func (*DeploymentListUsingGETBadRequest) GetPayload added in v1.2.0

type DeploymentListUsingGETOK

type DeploymentListUsingGETOK struct {
	Payload *models.DeploymentListResponse
}
DeploymentListUsingGETOK describes a response with status code 200, with default header values.

OK

func NewDeploymentListUsingGETOK

func NewDeploymentListUsingGETOK() *DeploymentListUsingGETOK

NewDeploymentListUsingGETOK creates a DeploymentListUsingGETOK with default headers values

func (*DeploymentListUsingGETOK) Error

func (o *DeploymentListUsingGETOK) Error() string

func (*DeploymentListUsingGETOK) GetPayload

type DeploymentListUsingGETParams

type DeploymentListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

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

DeploymentListUsingGETParams contains all the parameters to send to the API endpoint

for the deployment list using g e t operation.

Typically these are written to a http.Request.

func NewDeploymentListUsingGETParams

func NewDeploymentListUsingGETParams() *DeploymentListUsingGETParams

NewDeploymentListUsingGETParams creates a new DeploymentListUsingGETParams 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 NewDeploymentListUsingGETParamsWithContext

func NewDeploymentListUsingGETParamsWithContext(ctx context.Context) *DeploymentListUsingGETParams

NewDeploymentListUsingGETParamsWithContext creates a new DeploymentListUsingGETParams object with the ability to set a context for a request.

func NewDeploymentListUsingGETParamsWithHTTPClient

func NewDeploymentListUsingGETParamsWithHTTPClient(client *http.Client) *DeploymentListUsingGETParams

NewDeploymentListUsingGETParamsWithHTTPClient creates a new DeploymentListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewDeploymentListUsingGETParamsWithTimeout

func NewDeploymentListUsingGETParamsWithTimeout(timeout time.Duration) *DeploymentListUsingGETParams

NewDeploymentListUsingGETParamsWithTimeout creates a new DeploymentListUsingGETParams object with the ability to set a timeout on a request.

func (*DeploymentListUsingGETParams) SetContext

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

SetContext adds the context to the deployment list using g e t params

func (*DeploymentListUsingGETParams) SetDefaults added in v1.2.4

func (o *DeploymentListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the deployment list using g e t params (not the query body).

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

func (*DeploymentListUsingGETParams) SetDisplayName

func (o *DeploymentListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the deployment list using g e t params

func (*DeploymentListUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deployment list using g e t params

func (*DeploymentListUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the deployment list using g e t params

func (*DeploymentListUsingGETParams) WithContext

WithContext adds the context to the deployment list using g e t params

func (*DeploymentListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the deployment list using g e t params (not the query body).

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

func (*DeploymentListUsingGETParams) WithDisplayName

func (o *DeploymentListUsingGETParams) WithDisplayName(displayName *string) *DeploymentListUsingGETParams

WithDisplayName adds the displayName to the deployment list using g e t params

func (*DeploymentListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the deployment list using g e t params

func (*DeploymentListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the deployment list using g e t params

func (*DeploymentListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeploymentListUsingGETReader

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

DeploymentListUsingGETReader is a Reader for the DeploymentListUsingGET structure.

func (*DeploymentListUsingGETReader) ReadResponse

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