deployments

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT 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 deployments API

func (*Client) GetDeploymentsExternalV1

func (a *Client) GetDeploymentsExternalV1(params *GetDeploymentsExternalV1Params, opts ...ClientOption) (*GetDeploymentsExternalV1OK, error)

GetDeploymentsExternalV1 gets deployment resources by ids

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 {
	GetDeploymentsExternalV1(params *GetDeploymentsExternalV1Params, opts ...ClientOption) (*GetDeploymentsExternalV1OK, 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 GetDeploymentsExternalV1BadRequest

type GetDeploymentsExternalV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeploymentsExternalV1BadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDeploymentsExternalV1BadRequest

func NewGetDeploymentsExternalV1BadRequest() *GetDeploymentsExternalV1BadRequest

NewGetDeploymentsExternalV1BadRequest creates a GetDeploymentsExternalV1BadRequest with default headers values

func (*GetDeploymentsExternalV1BadRequest) Code

Code gets the status code for the get deployments external v1 bad request response

func (*GetDeploymentsExternalV1BadRequest) Error

func (*GetDeploymentsExternalV1BadRequest) GetPayload

func (*GetDeploymentsExternalV1BadRequest) IsClientError

func (o *GetDeploymentsExternalV1BadRequest) IsClientError() bool

IsClientError returns true when this get deployments external v1 bad request response has a 4xx status code

func (*GetDeploymentsExternalV1BadRequest) IsCode

IsCode returns true when this get deployments external v1 bad request response a status code equal to that given

func (*GetDeploymentsExternalV1BadRequest) IsRedirect

func (o *GetDeploymentsExternalV1BadRequest) IsRedirect() bool

IsRedirect returns true when this get deployments external v1 bad request response has a 3xx status code

func (*GetDeploymentsExternalV1BadRequest) IsServerError

func (o *GetDeploymentsExternalV1BadRequest) IsServerError() bool

IsServerError returns true when this get deployments external v1 bad request response has a 5xx status code

func (*GetDeploymentsExternalV1BadRequest) IsSuccess

IsSuccess returns true when this get deployments external v1 bad request response has a 2xx status code

func (*GetDeploymentsExternalV1BadRequest) String

type GetDeploymentsExternalV1Forbidden

type GetDeploymentsExternalV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeploymentsExternalV1Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDeploymentsExternalV1Forbidden

func NewGetDeploymentsExternalV1Forbidden() *GetDeploymentsExternalV1Forbidden

NewGetDeploymentsExternalV1Forbidden creates a GetDeploymentsExternalV1Forbidden with default headers values

func (*GetDeploymentsExternalV1Forbidden) Code

Code gets the status code for the get deployments external v1 forbidden response

func (*GetDeploymentsExternalV1Forbidden) Error

func (*GetDeploymentsExternalV1Forbidden) GetPayload

func (*GetDeploymentsExternalV1Forbidden) IsClientError

func (o *GetDeploymentsExternalV1Forbidden) IsClientError() bool

IsClientError returns true when this get deployments external v1 forbidden response has a 4xx status code

func (*GetDeploymentsExternalV1Forbidden) IsCode

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

IsCode returns true when this get deployments external v1 forbidden response a status code equal to that given

func (*GetDeploymentsExternalV1Forbidden) IsRedirect

func (o *GetDeploymentsExternalV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get deployments external v1 forbidden response has a 3xx status code

func (*GetDeploymentsExternalV1Forbidden) IsServerError

func (o *GetDeploymentsExternalV1Forbidden) IsServerError() bool

IsServerError returns true when this get deployments external v1 forbidden response has a 5xx status code

func (*GetDeploymentsExternalV1Forbidden) IsSuccess

func (o *GetDeploymentsExternalV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get deployments external v1 forbidden response has a 2xx status code

func (*GetDeploymentsExternalV1Forbidden) String

type GetDeploymentsExternalV1InternalServerError

type GetDeploymentsExternalV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeploymentsExternalV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDeploymentsExternalV1InternalServerError

func NewGetDeploymentsExternalV1InternalServerError() *GetDeploymentsExternalV1InternalServerError

NewGetDeploymentsExternalV1InternalServerError creates a GetDeploymentsExternalV1InternalServerError with default headers values

func (*GetDeploymentsExternalV1InternalServerError) Code

Code gets the status code for the get deployments external v1 internal server error response

func (*GetDeploymentsExternalV1InternalServerError) Error

func (*GetDeploymentsExternalV1InternalServerError) GetPayload

func (*GetDeploymentsExternalV1InternalServerError) IsClientError

IsClientError returns true when this get deployments external v1 internal server error response has a 4xx status code

func (*GetDeploymentsExternalV1InternalServerError) IsCode

IsCode returns true when this get deployments external v1 internal server error response a status code equal to that given

func (*GetDeploymentsExternalV1InternalServerError) IsRedirect

IsRedirect returns true when this get deployments external v1 internal server error response has a 3xx status code

func (*GetDeploymentsExternalV1InternalServerError) IsServerError

IsServerError returns true when this get deployments external v1 internal server error response has a 5xx status code

func (*GetDeploymentsExternalV1InternalServerError) IsSuccess

IsSuccess returns true when this get deployments external v1 internal server error response has a 2xx status code

func (*GetDeploymentsExternalV1InternalServerError) String

type GetDeploymentsExternalV1NotFound

type GetDeploymentsExternalV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeploymentsExternalV1NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDeploymentsExternalV1NotFound

func NewGetDeploymentsExternalV1NotFound() *GetDeploymentsExternalV1NotFound

NewGetDeploymentsExternalV1NotFound creates a GetDeploymentsExternalV1NotFound with default headers values

func (*GetDeploymentsExternalV1NotFound) Code

Code gets the status code for the get deployments external v1 not found response

func (*GetDeploymentsExternalV1NotFound) Error

func (*GetDeploymentsExternalV1NotFound) GetPayload

func (*GetDeploymentsExternalV1NotFound) IsClientError

func (o *GetDeploymentsExternalV1NotFound) IsClientError() bool

IsClientError returns true when this get deployments external v1 not found response has a 4xx status code

func (*GetDeploymentsExternalV1NotFound) IsCode

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

IsCode returns true when this get deployments external v1 not found response a status code equal to that given

func (*GetDeploymentsExternalV1NotFound) IsRedirect

func (o *GetDeploymentsExternalV1NotFound) IsRedirect() bool

IsRedirect returns true when this get deployments external v1 not found response has a 3xx status code

func (*GetDeploymentsExternalV1NotFound) IsServerError

func (o *GetDeploymentsExternalV1NotFound) IsServerError() bool

IsServerError returns true when this get deployments external v1 not found response has a 5xx status code

func (*GetDeploymentsExternalV1NotFound) IsSuccess

func (o *GetDeploymentsExternalV1NotFound) IsSuccess() bool

IsSuccess returns true when this get deployments external v1 not found response has a 2xx status code

func (*GetDeploymentsExternalV1NotFound) String

type GetDeploymentsExternalV1OK

type GetDeploymentsExternalV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DeploymentsAPIDeploymentViewWrapper
}

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

OK

func NewGetDeploymentsExternalV1OK

func NewGetDeploymentsExternalV1OK() *GetDeploymentsExternalV1OK

NewGetDeploymentsExternalV1OK creates a GetDeploymentsExternalV1OK with default headers values

func (*GetDeploymentsExternalV1OK) Code

func (o *GetDeploymentsExternalV1OK) Code() int

Code gets the status code for the get deployments external v1 o k response

func (*GetDeploymentsExternalV1OK) Error

func (*GetDeploymentsExternalV1OK) GetPayload

func (*GetDeploymentsExternalV1OK) IsClientError

func (o *GetDeploymentsExternalV1OK) IsClientError() bool

IsClientError returns true when this get deployments external v1 o k response has a 4xx status code

func (*GetDeploymentsExternalV1OK) IsCode

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

IsCode returns true when this get deployments external v1 o k response a status code equal to that given

func (*GetDeploymentsExternalV1OK) IsRedirect

func (o *GetDeploymentsExternalV1OK) IsRedirect() bool

IsRedirect returns true when this get deployments external v1 o k response has a 3xx status code

func (*GetDeploymentsExternalV1OK) IsServerError

func (o *GetDeploymentsExternalV1OK) IsServerError() bool

IsServerError returns true when this get deployments external v1 o k response has a 5xx status code

func (*GetDeploymentsExternalV1OK) IsSuccess

func (o *GetDeploymentsExternalV1OK) IsSuccess() bool

IsSuccess returns true when this get deployments external v1 o k response has a 2xx status code

func (*GetDeploymentsExternalV1OK) String

func (o *GetDeploymentsExternalV1OK) String() string

type GetDeploymentsExternalV1Params

type GetDeploymentsExternalV1Params struct {

	/* Authorization.

	   authorization header
	*/
	Authorization string

	/* XCSUSERNAME.

	   user name
	*/
	XCSUSERNAME *string

	/* Ids.

	   release version ids to retrieve deployment details
	*/
	Ids []string

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

GetDeploymentsExternalV1Params contains all the parameters to send to the API endpoint

for the get deployments external v1 operation.

Typically these are written to a http.Request.

func NewGetDeploymentsExternalV1Params

func NewGetDeploymentsExternalV1Params() *GetDeploymentsExternalV1Params

NewGetDeploymentsExternalV1Params creates a new GetDeploymentsExternalV1Params 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 NewGetDeploymentsExternalV1ParamsWithContext

func NewGetDeploymentsExternalV1ParamsWithContext(ctx context.Context) *GetDeploymentsExternalV1Params

NewGetDeploymentsExternalV1ParamsWithContext creates a new GetDeploymentsExternalV1Params object with the ability to set a context for a request.

func NewGetDeploymentsExternalV1ParamsWithHTTPClient

func NewGetDeploymentsExternalV1ParamsWithHTTPClient(client *http.Client) *GetDeploymentsExternalV1Params

NewGetDeploymentsExternalV1ParamsWithHTTPClient creates a new GetDeploymentsExternalV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetDeploymentsExternalV1ParamsWithTimeout

func NewGetDeploymentsExternalV1ParamsWithTimeout(timeout time.Duration) *GetDeploymentsExternalV1Params

NewGetDeploymentsExternalV1ParamsWithTimeout creates a new GetDeploymentsExternalV1Params object with the ability to set a timeout on a request.

func (*GetDeploymentsExternalV1Params) SetAuthorization

func (o *GetDeploymentsExternalV1Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) SetContext

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

SetContext adds the context to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) SetDefaults

func (o *GetDeploymentsExternalV1Params) SetDefaults()

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

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

func (*GetDeploymentsExternalV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) SetIds

func (o *GetDeploymentsExternalV1Params) SetIds(ids []string)

SetIds adds the ids to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) SetTimeout

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

SetTimeout adds the timeout to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) SetXCSUSERNAME

func (o *GetDeploymentsExternalV1Params) SetXCSUSERNAME(xCSUSERNAME *string)

SetXCSUSERNAME adds the xCSUSERNAME to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WithAuthorization

func (o *GetDeploymentsExternalV1Params) WithAuthorization(authorization string) *GetDeploymentsExternalV1Params

WithAuthorization adds the authorization to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WithContext

WithContext adds the context to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WithDefaults

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

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

func (*GetDeploymentsExternalV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WithIds

WithIds adds the ids to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WithTimeout

WithTimeout adds the timeout to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WithXCSUSERNAME

func (o *GetDeploymentsExternalV1Params) WithXCSUSERNAME(xCSUSERNAME *string) *GetDeploymentsExternalV1Params

WithXCSUSERNAME adds the xCSUSERNAME to the get deployments external v1 params

func (*GetDeploymentsExternalV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeploymentsExternalV1Reader

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

GetDeploymentsExternalV1Reader is a Reader for the GetDeploymentsExternalV1 structure.

func (*GetDeploymentsExternalV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploymentsExternalV1TooManyRequests

type GetDeploymentsExternalV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetDeploymentsExternalV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDeploymentsExternalV1TooManyRequests

func NewGetDeploymentsExternalV1TooManyRequests() *GetDeploymentsExternalV1TooManyRequests

NewGetDeploymentsExternalV1TooManyRequests creates a GetDeploymentsExternalV1TooManyRequests with default headers values

func (*GetDeploymentsExternalV1TooManyRequests) Code

Code gets the status code for the get deployments external v1 too many requests response

func (*GetDeploymentsExternalV1TooManyRequests) Error

func (*GetDeploymentsExternalV1TooManyRequests) GetPayload

func (*GetDeploymentsExternalV1TooManyRequests) IsClientError

func (o *GetDeploymentsExternalV1TooManyRequests) IsClientError() bool

IsClientError returns true when this get deployments external v1 too many requests response has a 4xx status code

func (*GetDeploymentsExternalV1TooManyRequests) IsCode

IsCode returns true when this get deployments external v1 too many requests response a status code equal to that given

func (*GetDeploymentsExternalV1TooManyRequests) IsRedirect

IsRedirect returns true when this get deployments external v1 too many requests response has a 3xx status code

func (*GetDeploymentsExternalV1TooManyRequests) IsServerError

func (o *GetDeploymentsExternalV1TooManyRequests) IsServerError() bool

IsServerError returns true when this get deployments external v1 too many requests response has a 5xx status code

func (*GetDeploymentsExternalV1TooManyRequests) IsSuccess

IsSuccess returns true when this get deployments external v1 too many requests response has a 2xx status code

func (*GetDeploymentsExternalV1TooManyRequests) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL