deploy

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC 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 deploy API

func (*Client) GetDeploys

func (a *Client) GetDeploys(params *GetDeploysParams, opts ...ClientOption) (*GetDeploysOK, error)

GetDeploys get deploys API

func (*Client) GetDeploysConnection

func (a *Client) GetDeploysConnection(params *GetDeploysConnectionParams, opts ...ClientOption) (*GetDeploysConnectionOK, error)

GetDeploysConnection get deploys connection API

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 {
	GetDeploys(params *GetDeploysParams, opts ...ClientOption) (*GetDeploysOK, error)

	GetDeploysConnection(params *GetDeploysConnectionParams, opts ...ClientOption) (*GetDeploysConnectionOK, 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 deploy API client.

type GetDeploysBadRequest

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

Bad request

func NewGetDeploysBadRequest

func NewGetDeploysBadRequest() *GetDeploysBadRequest

NewGetDeploysBadRequest creates a GetDeploysBadRequest with default headers values

func (*GetDeploysBadRequest) Error

func (o *GetDeploysBadRequest) Error() string

func (*GetDeploysBadRequest) GetPayload

func (o *GetDeploysBadRequest) GetPayload() *models.ErrorBody

type GetDeploysConnectionBadRequest

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

Bad request

func NewGetDeploysConnectionBadRequest

func NewGetDeploysConnectionBadRequest() *GetDeploysConnectionBadRequest

NewGetDeploysConnectionBadRequest creates a GetDeploysConnectionBadRequest with default headers values

func (*GetDeploysConnectionBadRequest) Error

func (*GetDeploysConnectionBadRequest) GetPayload

type GetDeploysConnectionInternalServerError added in v1.10.0

type GetDeploysConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetDeploysConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetDeploysConnectionInternalServerError added in v1.10.0

func NewGetDeploysConnectionInternalServerError() *GetDeploysConnectionInternalServerError

NewGetDeploysConnectionInternalServerError creates a GetDeploysConnectionInternalServerError with default headers values

func (*GetDeploysConnectionInternalServerError) Error added in v1.10.0

func (*GetDeploysConnectionInternalServerError) GetPayload added in v1.10.0

type GetDeploysConnectionNotFound added in v1.10.0

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

Not found

func NewGetDeploysConnectionNotFound added in v1.10.0

func NewGetDeploysConnectionNotFound() *GetDeploysConnectionNotFound

NewGetDeploysConnectionNotFound creates a GetDeploysConnectionNotFound with default headers values

func (*GetDeploysConnectionNotFound) Error added in v1.10.0

func (*GetDeploysConnectionNotFound) GetPayload added in v1.10.0

type GetDeploysConnectionOK

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

Ok

func NewGetDeploysConnectionOK

func NewGetDeploysConnectionOK() *GetDeploysConnectionOK

NewGetDeploysConnectionOK creates a GetDeploysConnectionOK with default headers values

func (*GetDeploysConnectionOK) Error

func (o *GetDeploysConnectionOK) Error() string

func (*GetDeploysConnectionOK) GetPayload

type GetDeploysConnectionParams

type GetDeploysConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetDeploysConnectionRequestBody

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

GetDeploysConnectionParams contains all the parameters to send to the API endpoint

for the get deploys connection operation.

Typically these are written to a http.Request.

func NewGetDeploysConnectionParams

func NewGetDeploysConnectionParams() *GetDeploysConnectionParams

NewGetDeploysConnectionParams creates a new GetDeploysConnectionParams 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 NewGetDeploysConnectionParamsWithContext

func NewGetDeploysConnectionParamsWithContext(ctx context.Context) *GetDeploysConnectionParams

NewGetDeploysConnectionParamsWithContext creates a new GetDeploysConnectionParams object with the ability to set a context for a request.

func NewGetDeploysConnectionParamsWithHTTPClient

func NewGetDeploysConnectionParamsWithHTTPClient(client *http.Client) *GetDeploysConnectionParams

NewGetDeploysConnectionParamsWithHTTPClient creates a new GetDeploysConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeploysConnectionParamsWithTimeout

func NewGetDeploysConnectionParamsWithTimeout(timeout time.Duration) *GetDeploysConnectionParams

NewGetDeploysConnectionParamsWithTimeout creates a new GetDeploysConnectionParams object with the ability to set a timeout on a request.

func (*GetDeploysConnectionParams) SetContentLanguage

func (o *GetDeploysConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get deploys connection params

func (*GetDeploysConnectionParams) SetContext

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

SetContext adds the context to the get deploys connection params

func (*GetDeploysConnectionParams) SetDefaults

func (o *GetDeploysConnectionParams) SetDefaults()

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

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

func (*GetDeploysConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deploys connection params

func (*GetDeploysConnectionParams) SetRequestBody

func (o *GetDeploysConnectionParams) SetRequestBody(requestBody *models.GetDeploysConnectionRequestBody)

SetRequestBody adds the requestBody to the get deploys connection params

func (*GetDeploysConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get deploys connection params

func (*GetDeploysConnectionParams) WithContentLanguage

func (o *GetDeploysConnectionParams) WithContentLanguage(contentLanguage *string) *GetDeploysConnectionParams

WithContentLanguage adds the contentLanguage to the get deploys connection params

func (*GetDeploysConnectionParams) WithContext

WithContext adds the context to the get deploys connection params

func (*GetDeploysConnectionParams) WithDefaults

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

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

func (*GetDeploysConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get deploys connection params

func (*GetDeploysConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get deploys connection params

func (*GetDeploysConnectionParams) WithTimeout

WithTimeout adds the timeout to the get deploys connection params

func (*GetDeploysConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeploysConnectionReader

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

GetDeploysConnectionReader is a Reader for the GetDeploysConnection structure.

func (*GetDeploysConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploysInternalServerError added in v1.10.0

type GetDeploysInternalServerError struct {
	Payload *models.ErrorBody
}
GetDeploysInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetDeploysInternalServerError added in v1.10.0

func NewGetDeploysInternalServerError() *GetDeploysInternalServerError

NewGetDeploysInternalServerError creates a GetDeploysInternalServerError with default headers values

func (*GetDeploysInternalServerError) Error added in v1.10.0

func (*GetDeploysInternalServerError) GetPayload added in v1.10.0

type GetDeploysNotFound added in v1.10.0

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

Not found

func NewGetDeploysNotFound added in v1.10.0

func NewGetDeploysNotFound() *GetDeploysNotFound

NewGetDeploysNotFound creates a GetDeploysNotFound with default headers values

func (*GetDeploysNotFound) Error added in v1.10.0

func (o *GetDeploysNotFound) Error() string

func (*GetDeploysNotFound) GetPayload added in v1.10.0

func (o *GetDeploysNotFound) GetPayload() *models.ErrorBody

type GetDeploysOK

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

Ok

func NewGetDeploysOK

func NewGetDeploysOK() *GetDeploysOK

NewGetDeploysOK creates a GetDeploysOK with default headers values

func (*GetDeploysOK) Error

func (o *GetDeploysOK) Error() string

func (*GetDeploysOK) GetPayload

func (o *GetDeploysOK) GetPayload() []*models.Deploy

type GetDeploysParams

type GetDeploysParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetDeploysRequestBody

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

GetDeploysParams contains all the parameters to send to the API endpoint

for the get deploys operation.

Typically these are written to a http.Request.

func NewGetDeploysParams

func NewGetDeploysParams() *GetDeploysParams

NewGetDeploysParams creates a new GetDeploysParams 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 NewGetDeploysParamsWithContext

func NewGetDeploysParamsWithContext(ctx context.Context) *GetDeploysParams

NewGetDeploysParamsWithContext creates a new GetDeploysParams object with the ability to set a context for a request.

func NewGetDeploysParamsWithHTTPClient

func NewGetDeploysParamsWithHTTPClient(client *http.Client) *GetDeploysParams

NewGetDeploysParamsWithHTTPClient creates a new GetDeploysParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeploysParamsWithTimeout

func NewGetDeploysParamsWithTimeout(timeout time.Duration) *GetDeploysParams

NewGetDeploysParamsWithTimeout creates a new GetDeploysParams object with the ability to set a timeout on a request.

func (*GetDeploysParams) SetContentLanguage

func (o *GetDeploysParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get deploys params

func (*GetDeploysParams) SetContext

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

SetContext adds the context to the get deploys params

func (*GetDeploysParams) SetDefaults

func (o *GetDeploysParams) SetDefaults()

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

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

func (*GetDeploysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deploys params

func (*GetDeploysParams) SetRequestBody

func (o *GetDeploysParams) SetRequestBody(requestBody *models.GetDeploysRequestBody)

SetRequestBody adds the requestBody to the get deploys params

func (*GetDeploysParams) SetTimeout

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

SetTimeout adds the timeout to the get deploys params

func (*GetDeploysParams) WithContentLanguage

func (o *GetDeploysParams) WithContentLanguage(contentLanguage *string) *GetDeploysParams

WithContentLanguage adds the contentLanguage to the get deploys params

func (*GetDeploysParams) WithContext

func (o *GetDeploysParams) WithContext(ctx context.Context) *GetDeploysParams

WithContext adds the context to the get deploys params

func (*GetDeploysParams) WithDefaults

func (o *GetDeploysParams) WithDefaults() *GetDeploysParams

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

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

func (*GetDeploysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deploys params

func (*GetDeploysParams) WithRequestBody

func (o *GetDeploysParams) WithRequestBody(requestBody *models.GetDeploysRequestBody) *GetDeploysParams

WithRequestBody adds the requestBody to the get deploys params

func (*GetDeploysParams) WithTimeout

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

WithTimeout adds the timeout to the get deploys params

func (*GetDeploysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDeploysReader

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

GetDeploysReader is a Reader for the GetDeploys structure.

func (*GetDeploysReader) ReadResponse

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