deployment

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-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 deployment API

func (*Client) CreateDeployment

func (a *Client) CreateDeployment(params *CreateDeploymentParams, opts ...ClientOption) (*CreateDeploymentCreated, error)

CreateDeployment creates deployment

Create a new Deployment.

func (*Client) DeleteDeployment

func (a *Client) DeleteDeployment(params *DeleteDeploymentParams, opts ...ClientOption) (*DeleteDeploymentAccepted, error)

DeleteDeployment deletes a deployment

Delete a deployment.

func (*Client) GetDeployments

func (a *Client) GetDeployments(params *GetDeploymentsParams, opts ...ClientOption) (*GetDeploymentsOK, error)

GetDeployments gets deployments

Get all deployments.

func (*Client) GetSingleDeployment

func (a *Client) GetSingleDeployment(params *GetSingleDeploymentParams, opts ...ClientOption) (*GetSingleDeploymentOK, error)

GetSingleDeployment gets a single deployment

Get a single deployment.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	CreateDeployment(params *CreateDeploymentParams, opts ...ClientOption) (*CreateDeploymentCreated, error)

	DeleteDeployment(params *DeleteDeploymentParams, opts ...ClientOption) (*DeleteDeploymentAccepted, error)

	GetDeployments(params *GetDeploymentsParams, opts ...ClientOption) (*GetDeploymentsOK, error)

	GetSingleDeployment(params *GetSingleDeploymentParams, opts ...ClientOption) (*GetSingleDeploymentOK, 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 deployment API client.

type CreateDeploymentBadRequest

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

Invalid Request - bad data

func NewCreateDeploymentBadRequest

func NewCreateDeploymentBadRequest() *CreateDeploymentBadRequest

NewCreateDeploymentBadRequest creates a CreateDeploymentBadRequest with default headers values

func (*CreateDeploymentBadRequest) Error

func (*CreateDeploymentBadRequest) GetPayload added in v0.2.9

func (o *CreateDeploymentBadRequest) GetPayload() *models.Error

type CreateDeploymentCreated

type CreateDeploymentCreated struct {
	Payload *models.IaaSDeployment
}
CreateDeploymentCreated describes a response with status code 201, with default header values.

successful operation

func NewCreateDeploymentCreated

func NewCreateDeploymentCreated() *CreateDeploymentCreated

NewCreateDeploymentCreated creates a CreateDeploymentCreated with default headers values

func (*CreateDeploymentCreated) Error

func (o *CreateDeploymentCreated) Error() string

func (*CreateDeploymentCreated) GetPayload

type CreateDeploymentForbidden

type CreateDeploymentForbidden struct {
	Payload *models.ServiceErrorResponse
}
CreateDeploymentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateDeploymentForbidden

func NewCreateDeploymentForbidden() *CreateDeploymentForbidden

NewCreateDeploymentForbidden creates a CreateDeploymentForbidden with default headers values

func (*CreateDeploymentForbidden) Error

func (o *CreateDeploymentForbidden) Error() string

func (*CreateDeploymentForbidden) GetPayload added in v0.2.20

type CreateDeploymentParams

type CreateDeploymentParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Deployment specification instance
	*/
	Body *models.DeploymentSpecification

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

CreateDeploymentParams contains all the parameters to send to the API endpoint

for the create deployment operation.

Typically these are written to a http.Request.

func NewCreateDeploymentParams

func NewCreateDeploymentParams() *CreateDeploymentParams

NewCreateDeploymentParams creates a new CreateDeploymentParams 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 NewCreateDeploymentParamsWithContext

func NewCreateDeploymentParamsWithContext(ctx context.Context) *CreateDeploymentParams

NewCreateDeploymentParamsWithContext creates a new CreateDeploymentParams object with the ability to set a context for a request.

func NewCreateDeploymentParamsWithHTTPClient

func NewCreateDeploymentParamsWithHTTPClient(client *http.Client) *CreateDeploymentParams

NewCreateDeploymentParamsWithHTTPClient creates a new CreateDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDeploymentParamsWithTimeout

func NewCreateDeploymentParamsWithTimeout(timeout time.Duration) *CreateDeploymentParams

NewCreateDeploymentParamsWithTimeout creates a new CreateDeploymentParams object with the ability to set a timeout on a request.

func (*CreateDeploymentParams) SetAPIVersion

func (o *CreateDeploymentParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create deployment params

func (*CreateDeploymentParams) SetBody

SetBody adds the body to the create deployment params

func (*CreateDeploymentParams) SetContext

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

SetContext adds the context to the create deployment params

func (*CreateDeploymentParams) SetDefaults added in v0.2.20

func (o *CreateDeploymentParams) SetDefaults()

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

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

func (*CreateDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create deployment params

func (*CreateDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the create deployment params

func (*CreateDeploymentParams) WithAPIVersion

func (o *CreateDeploymentParams) WithAPIVersion(aPIVersion *string) *CreateDeploymentParams

WithAPIVersion adds the aPIVersion to the create deployment params

func (*CreateDeploymentParams) WithBody

WithBody adds the body to the create deployment params

func (*CreateDeploymentParams) WithContext

WithContext adds the context to the create deployment params

func (*CreateDeploymentParams) WithDefaults added in v0.2.20

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

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

func (*CreateDeploymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create deployment params

func (*CreateDeploymentParams) WithTimeout

WithTimeout adds the timeout to the create deployment params

func (*CreateDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeploymentReader

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

CreateDeploymentReader is a Reader for the CreateDeployment structure.

func (*CreateDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeploymentAccepted

type DeleteDeploymentAccepted struct {
	Payload *models.RequestTracker
}
DeleteDeploymentAccepted describes a response with status code 202, with default header values.

successful operation

func NewDeleteDeploymentAccepted

func NewDeleteDeploymentAccepted() *DeleteDeploymentAccepted

NewDeleteDeploymentAccepted creates a DeleteDeploymentAccepted with default headers values

func (*DeleteDeploymentAccepted) Error

func (o *DeleteDeploymentAccepted) Error() string

func (*DeleteDeploymentAccepted) GetPayload

type DeleteDeploymentForbidden

type DeleteDeploymentForbidden struct {
	Payload *models.ServiceErrorResponse
}
DeleteDeploymentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteDeploymentForbidden

func NewDeleteDeploymentForbidden() *DeleteDeploymentForbidden

NewDeleteDeploymentForbidden creates a DeleteDeploymentForbidden with default headers values

func (*DeleteDeploymentForbidden) Error

func (o *DeleteDeploymentForbidden) Error() string

func (*DeleteDeploymentForbidden) GetPayload added in v0.2.20

type DeleteDeploymentParams

type DeleteDeploymentParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ForceDelete.

	   If true, best effort is made for deleting this deployment and all related resources. In some situations, this may leave provisioned infrastructure resources behind. Please ensure you remove them manually. If false, a standard delete action will be executed.
	*/
	ForceDelete *bool

	/* ID.

	   The id of the deployment.
	*/
	ID string

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

DeleteDeploymentParams contains all the parameters to send to the API endpoint

for the delete deployment operation.

Typically these are written to a http.Request.

func NewDeleteDeploymentParams

func NewDeleteDeploymentParams() *DeleteDeploymentParams

NewDeleteDeploymentParams creates a new DeleteDeploymentParams 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 NewDeleteDeploymentParamsWithContext

func NewDeleteDeploymentParamsWithContext(ctx context.Context) *DeleteDeploymentParams

NewDeleteDeploymentParamsWithContext creates a new DeleteDeploymentParams object with the ability to set a context for a request.

func NewDeleteDeploymentParamsWithHTTPClient

func NewDeleteDeploymentParamsWithHTTPClient(client *http.Client) *DeleteDeploymentParams

NewDeleteDeploymentParamsWithHTTPClient creates a new DeleteDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDeploymentParamsWithTimeout

func NewDeleteDeploymentParamsWithTimeout(timeout time.Duration) *DeleteDeploymentParams

NewDeleteDeploymentParamsWithTimeout creates a new DeleteDeploymentParams object with the ability to set a timeout on a request.

func (*DeleteDeploymentParams) SetAPIVersion

func (o *DeleteDeploymentParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete deployment params

func (*DeleteDeploymentParams) SetContext

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

SetContext adds the context to the delete deployment params

func (*DeleteDeploymentParams) SetDefaults added in v0.2.20

func (o *DeleteDeploymentParams) SetDefaults()

SetDefaults hydrates default values in the delete deployment params (not the query body).

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

func (*DeleteDeploymentParams) SetForceDelete added in v0.2.20

func (o *DeleteDeploymentParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete to the delete deployment params

func (*DeleteDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete deployment params

func (*DeleteDeploymentParams) SetID

func (o *DeleteDeploymentParams) SetID(id string)

SetID adds the id to the delete deployment params

func (*DeleteDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the delete deployment params

func (*DeleteDeploymentParams) WithAPIVersion

func (o *DeleteDeploymentParams) WithAPIVersion(aPIVersion *string) *DeleteDeploymentParams

WithAPIVersion adds the aPIVersion to the delete deployment params

func (*DeleteDeploymentParams) WithContext

WithContext adds the context to the delete deployment params

func (*DeleteDeploymentParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the delete deployment params (not the query body).

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

func (*DeleteDeploymentParams) WithForceDelete added in v0.2.20

func (o *DeleteDeploymentParams) WithForceDelete(forceDelete *bool) *DeleteDeploymentParams

WithForceDelete adds the forceDelete to the delete deployment params

func (*DeleteDeploymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete deployment params

func (*DeleteDeploymentParams) WithID

WithID adds the id to the delete deployment params

func (*DeleteDeploymentParams) WithTimeout

WithTimeout adds the timeout to the delete deployment params

func (*DeleteDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeploymentReader

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

DeleteDeploymentReader is a Reader for the DeleteDeployment structure.

func (*DeleteDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploymentsForbidden

type GetDeploymentsForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetDeploymentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDeploymentsForbidden

func NewGetDeploymentsForbidden() *GetDeploymentsForbidden

NewGetDeploymentsForbidden creates a GetDeploymentsForbidden with default headers values

func (*GetDeploymentsForbidden) Error

func (o *GetDeploymentsForbidden) Error() string

func (*GetDeploymentsForbidden) GetPayload added in v0.2.20

type GetDeploymentsOK

type GetDeploymentsOK struct {
	Payload []*models.DeploymentResult
}
GetDeploymentsOK describes a response with status code 200, with default header values.

successful operation

func NewGetDeploymentsOK

func NewGetDeploymentsOK() *GetDeploymentsOK

NewGetDeploymentsOK creates a GetDeploymentsOK with default headers values

func (*GetDeploymentsOK) Error

func (o *GetDeploymentsOK) Error() string

func (*GetDeploymentsOK) GetPayload

func (o *GetDeploymentsOK) GetPayload() []*models.DeploymentResult

type GetDeploymentsParams

type GetDeploymentsParams struct {

	/* DollarCount.

	   Flag which when specified shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	   Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
	*/
	DollarFilter *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

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

GetDeploymentsParams contains all the parameters to send to the API endpoint

for the get deployments operation.

Typically these are written to a http.Request.

func NewGetDeploymentsParams

func NewGetDeploymentsParams() *GetDeploymentsParams

NewGetDeploymentsParams creates a new GetDeploymentsParams 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 NewGetDeploymentsParamsWithContext

func NewGetDeploymentsParamsWithContext(ctx context.Context) *GetDeploymentsParams

NewGetDeploymentsParamsWithContext creates a new GetDeploymentsParams object with the ability to set a context for a request.

func NewGetDeploymentsParamsWithHTTPClient

func NewGetDeploymentsParamsWithHTTPClient(client *http.Client) *GetDeploymentsParams

NewGetDeploymentsParamsWithHTTPClient creates a new GetDeploymentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeploymentsParamsWithTimeout

func NewGetDeploymentsParamsWithTimeout(timeout time.Duration) *GetDeploymentsParams

NewGetDeploymentsParamsWithTimeout creates a new GetDeploymentsParams object with the ability to set a timeout on a request.

func (*GetDeploymentsParams) SetAPIVersion

func (o *GetDeploymentsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get deployments params

func (*GetDeploymentsParams) SetContext

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

SetContext adds the context to the get deployments params

func (*GetDeploymentsParams) SetDefaults added in v0.2.20

func (o *GetDeploymentsParams) SetDefaults()

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

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

func (*GetDeploymentsParams) SetDollarCount added in v0.2.20

func (o *GetDeploymentsParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the get deployments params

func (*GetDeploymentsParams) SetDollarFilter added in v0.2.20

func (o *GetDeploymentsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get deployments params

func (*GetDeploymentsParams) SetDollarSkip added in v0.2.20

func (o *GetDeploymentsParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get deployments params

func (*GetDeploymentsParams) SetDollarTop added in v0.2.20

func (o *GetDeploymentsParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the get deployments params

func (*GetDeploymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deployments params

func (*GetDeploymentsParams) SetTimeout

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

SetTimeout adds the timeout to the get deployments params

func (*GetDeploymentsParams) WithAPIVersion

func (o *GetDeploymentsParams) WithAPIVersion(aPIVersion *string) *GetDeploymentsParams

WithAPIVersion adds the aPIVersion to the get deployments params

func (*GetDeploymentsParams) WithContext

WithContext adds the context to the get deployments params

func (*GetDeploymentsParams) WithDefaults added in v0.2.20

func (o *GetDeploymentsParams) WithDefaults() *GetDeploymentsParams

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

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

func (*GetDeploymentsParams) WithDollarCount added in v0.2.20

func (o *GetDeploymentsParams) WithDollarCount(dollarCount *bool) *GetDeploymentsParams

WithDollarCount adds the dollarCount to the get deployments params

func (*GetDeploymentsParams) WithDollarFilter added in v0.2.20

func (o *GetDeploymentsParams) WithDollarFilter(dollarFilter *string) *GetDeploymentsParams

WithDollarFilter adds the dollarFilter to the get deployments params

func (*GetDeploymentsParams) WithDollarSkip added in v0.2.20

func (o *GetDeploymentsParams) WithDollarSkip(dollarSkip *int64) *GetDeploymentsParams

WithDollarSkip adds the dollarSkip to the get deployments params

func (*GetDeploymentsParams) WithDollarTop added in v0.2.20

func (o *GetDeploymentsParams) WithDollarTop(dollarTop *int64) *GetDeploymentsParams

WithDollarTop adds the dollarTop to the get deployments params

func (*GetDeploymentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deployments params

func (*GetDeploymentsParams) WithTimeout

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

WithTimeout adds the timeout to the get deployments params

func (*GetDeploymentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDeploymentsReader

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

GetDeploymentsReader is a Reader for the GetDeployments structure.

func (*GetDeploymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSingleDeploymentForbidden

type GetSingleDeploymentForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetSingleDeploymentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetSingleDeploymentForbidden

func NewGetSingleDeploymentForbidden() *GetSingleDeploymentForbidden

NewGetSingleDeploymentForbidden creates a GetSingleDeploymentForbidden with default headers values

func (*GetSingleDeploymentForbidden) Error

func (*GetSingleDeploymentForbidden) GetPayload added in v0.2.20

type GetSingleDeploymentNotFound

type GetSingleDeploymentNotFound struct {
	Payload *models.Error
}
GetSingleDeploymentNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetSingleDeploymentNotFound

func NewGetSingleDeploymentNotFound() *GetSingleDeploymentNotFound

NewGetSingleDeploymentNotFound creates a GetSingleDeploymentNotFound with default headers values

func (*GetSingleDeploymentNotFound) Error

func (*GetSingleDeploymentNotFound) GetPayload added in v0.2.9

func (o *GetSingleDeploymentNotFound) GetPayload() *models.Error

type GetSingleDeploymentOK

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

successful operation

func NewGetSingleDeploymentOK

func NewGetSingleDeploymentOK() *GetSingleDeploymentOK

NewGetSingleDeploymentOK creates a GetSingleDeploymentOK with default headers values

func (*GetSingleDeploymentOK) Error

func (o *GetSingleDeploymentOK) Error() string

func (*GetSingleDeploymentOK) GetPayload

func (o *GetSingleDeploymentOK) GetPayload() *models.IaaSDeployment

type GetSingleDeploymentParams

type GetSingleDeploymentParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The id of the deployment.
	*/
	ID string

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

GetSingleDeploymentParams contains all the parameters to send to the API endpoint

for the get single deployment operation.

Typically these are written to a http.Request.

func NewGetSingleDeploymentParams

func NewGetSingleDeploymentParams() *GetSingleDeploymentParams

NewGetSingleDeploymentParams creates a new GetSingleDeploymentParams 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 NewGetSingleDeploymentParamsWithContext

func NewGetSingleDeploymentParamsWithContext(ctx context.Context) *GetSingleDeploymentParams

NewGetSingleDeploymentParamsWithContext creates a new GetSingleDeploymentParams object with the ability to set a context for a request.

func NewGetSingleDeploymentParamsWithHTTPClient

func NewGetSingleDeploymentParamsWithHTTPClient(client *http.Client) *GetSingleDeploymentParams

NewGetSingleDeploymentParamsWithHTTPClient creates a new GetSingleDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewGetSingleDeploymentParamsWithTimeout

func NewGetSingleDeploymentParamsWithTimeout(timeout time.Duration) *GetSingleDeploymentParams

NewGetSingleDeploymentParamsWithTimeout creates a new GetSingleDeploymentParams object with the ability to set a timeout on a request.

func (*GetSingleDeploymentParams) SetAPIVersion

func (o *GetSingleDeploymentParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get single deployment params

func (*GetSingleDeploymentParams) SetContext

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

SetContext adds the context to the get single deployment params

func (*GetSingleDeploymentParams) SetDefaults added in v0.2.20

func (o *GetSingleDeploymentParams) SetDefaults()

SetDefaults hydrates default values in the get single deployment params (not the query body).

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

func (*GetSingleDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get single deployment params

func (*GetSingleDeploymentParams) SetID

func (o *GetSingleDeploymentParams) SetID(id string)

SetID adds the id to the get single deployment params

func (*GetSingleDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the get single deployment params

func (*GetSingleDeploymentParams) WithAPIVersion

func (o *GetSingleDeploymentParams) WithAPIVersion(aPIVersion *string) *GetSingleDeploymentParams

WithAPIVersion adds the aPIVersion to the get single deployment params

func (*GetSingleDeploymentParams) WithContext

WithContext adds the context to the get single deployment params

func (*GetSingleDeploymentParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get single deployment params (not the query body).

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

func (*GetSingleDeploymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get single deployment params

func (*GetSingleDeploymentParams) WithID

WithID adds the id to the get single deployment params

func (*GetSingleDeploymentParams) WithTimeout

WithTimeout adds the timeout to the get single deployment params

func (*GetSingleDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSingleDeploymentReader

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

GetSingleDeploymentReader is a Reader for the GetSingleDeployment structure.

func (*GetSingleDeploymentReader) ReadResponse

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