provision

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 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 provision API

func (*Client) GetCredentialsMixin0

func (a *Client) GetCredentialsMixin0(params *GetCredentialsMixin0Params, opts ...ClientOption) (*GetCredentialsMixin0OK, error)

GetCredentialsMixin0 gets the registry credentials

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 {
	GetCredentialsMixin0(params *GetCredentialsMixin0Params, opts ...ClientOption) (*GetCredentialsMixin0OK, 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 provision API client.

type GetCredentialsMixin0BadRequest

type GetCredentialsMixin0BadRequest 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.MsaAPIError
}

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

Bad Request

func NewGetCredentialsMixin0BadRequest

func NewGetCredentialsMixin0BadRequest() *GetCredentialsMixin0BadRequest

NewGetCredentialsMixin0BadRequest creates a GetCredentialsMixin0BadRequest with default headers values

func (*GetCredentialsMixin0BadRequest) Code

Code gets the status code for the get credentials mixin0 bad request response

func (*GetCredentialsMixin0BadRequest) Error

func (*GetCredentialsMixin0BadRequest) GetPayload

func (*GetCredentialsMixin0BadRequest) IsClientError

func (o *GetCredentialsMixin0BadRequest) IsClientError() bool

IsClientError returns true when this get credentials mixin0 bad request response has a 4xx status code

func (*GetCredentialsMixin0BadRequest) IsCode

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

IsCode returns true when this get credentials mixin0 bad request response a status code equal to that given

func (*GetCredentialsMixin0BadRequest) IsRedirect

func (o *GetCredentialsMixin0BadRequest) IsRedirect() bool

IsRedirect returns true when this get credentials mixin0 bad request response has a 3xx status code

func (*GetCredentialsMixin0BadRequest) IsServerError

func (o *GetCredentialsMixin0BadRequest) IsServerError() bool

IsServerError returns true when this get credentials mixin0 bad request response has a 5xx status code

func (*GetCredentialsMixin0BadRequest) IsSuccess

func (o *GetCredentialsMixin0BadRequest) IsSuccess() bool

IsSuccess returns true when this get credentials mixin0 bad request response has a 2xx status code

func (*GetCredentialsMixin0BadRequest) String

type GetCredentialsMixin0Forbidden

type GetCredentialsMixin0Forbidden 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.MsaAPIError
}

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

Forbidden

func NewGetCredentialsMixin0Forbidden

func NewGetCredentialsMixin0Forbidden() *GetCredentialsMixin0Forbidden

NewGetCredentialsMixin0Forbidden creates a GetCredentialsMixin0Forbidden with default headers values

func (*GetCredentialsMixin0Forbidden) Code

Code gets the status code for the get credentials mixin0 forbidden response

func (*GetCredentialsMixin0Forbidden) Error

func (*GetCredentialsMixin0Forbidden) GetPayload

func (*GetCredentialsMixin0Forbidden) IsClientError

func (o *GetCredentialsMixin0Forbidden) IsClientError() bool

IsClientError returns true when this get credentials mixin0 forbidden response has a 4xx status code

func (*GetCredentialsMixin0Forbidden) IsCode

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

IsCode returns true when this get credentials mixin0 forbidden response a status code equal to that given

func (*GetCredentialsMixin0Forbidden) IsRedirect

func (o *GetCredentialsMixin0Forbidden) IsRedirect() bool

IsRedirect returns true when this get credentials mixin0 forbidden response has a 3xx status code

func (*GetCredentialsMixin0Forbidden) IsServerError

func (o *GetCredentialsMixin0Forbidden) IsServerError() bool

IsServerError returns true when this get credentials mixin0 forbidden response has a 5xx status code

func (*GetCredentialsMixin0Forbidden) IsSuccess

func (o *GetCredentialsMixin0Forbidden) IsSuccess() bool

IsSuccess returns true when this get credentials mixin0 forbidden response has a 2xx status code

func (*GetCredentialsMixin0Forbidden) String

type GetCredentialsMixin0InternalServerError

type GetCredentialsMixin0InternalServerError 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.ModelsRegistryCredentialsResponse
}

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

Internal Server Error

func NewGetCredentialsMixin0InternalServerError

func NewGetCredentialsMixin0InternalServerError() *GetCredentialsMixin0InternalServerError

NewGetCredentialsMixin0InternalServerError creates a GetCredentialsMixin0InternalServerError with default headers values

func (*GetCredentialsMixin0InternalServerError) Code

Code gets the status code for the get credentials mixin0 internal server error response

func (*GetCredentialsMixin0InternalServerError) Error

func (*GetCredentialsMixin0InternalServerError) GetPayload

func (*GetCredentialsMixin0InternalServerError) IsClientError

func (o *GetCredentialsMixin0InternalServerError) IsClientError() bool

IsClientError returns true when this get credentials mixin0 internal server error response has a 4xx status code

func (*GetCredentialsMixin0InternalServerError) IsCode

IsCode returns true when this get credentials mixin0 internal server error response a status code equal to that given

func (*GetCredentialsMixin0InternalServerError) IsRedirect

IsRedirect returns true when this get credentials mixin0 internal server error response has a 3xx status code

func (*GetCredentialsMixin0InternalServerError) IsServerError

func (o *GetCredentialsMixin0InternalServerError) IsServerError() bool

IsServerError returns true when this get credentials mixin0 internal server error response has a 5xx status code

func (*GetCredentialsMixin0InternalServerError) IsSuccess

IsSuccess returns true when this get credentials mixin0 internal server error response has a 2xx status code

func (*GetCredentialsMixin0InternalServerError) String

type GetCredentialsMixin0OK

type GetCredentialsMixin0OK 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.ModelsRegistryCredentialsResponse
}

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

OK

func NewGetCredentialsMixin0OK

func NewGetCredentialsMixin0OK() *GetCredentialsMixin0OK

NewGetCredentialsMixin0OK creates a GetCredentialsMixin0OK with default headers values

func (*GetCredentialsMixin0OK) Code

func (o *GetCredentialsMixin0OK) Code() int

Code gets the status code for the get credentials mixin0 o k response

func (*GetCredentialsMixin0OK) Error

func (o *GetCredentialsMixin0OK) Error() string

func (*GetCredentialsMixin0OK) GetPayload

func (*GetCredentialsMixin0OK) IsClientError

func (o *GetCredentialsMixin0OK) IsClientError() bool

IsClientError returns true when this get credentials mixin0 o k response has a 4xx status code

func (*GetCredentialsMixin0OK) IsCode

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

IsCode returns true when this get credentials mixin0 o k response a status code equal to that given

func (*GetCredentialsMixin0OK) IsRedirect

func (o *GetCredentialsMixin0OK) IsRedirect() bool

IsRedirect returns true when this get credentials mixin0 o k response has a 3xx status code

func (*GetCredentialsMixin0OK) IsServerError

func (o *GetCredentialsMixin0OK) IsServerError() bool

IsServerError returns true when this get credentials mixin0 o k response has a 5xx status code

func (*GetCredentialsMixin0OK) IsSuccess

func (o *GetCredentialsMixin0OK) IsSuccess() bool

IsSuccess returns true when this get credentials mixin0 o k response has a 2xx status code

func (*GetCredentialsMixin0OK) String

func (o *GetCredentialsMixin0OK) String() string

type GetCredentialsMixin0Params

type GetCredentialsMixin0Params struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCredentialsMixin0Params contains all the parameters to send to the API endpoint

for the get credentials mixin0 operation.

Typically these are written to a http.Request.

func NewGetCredentialsMixin0Params

func NewGetCredentialsMixin0Params() *GetCredentialsMixin0Params

NewGetCredentialsMixin0Params creates a new GetCredentialsMixin0Params 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 NewGetCredentialsMixin0ParamsWithContext

func NewGetCredentialsMixin0ParamsWithContext(ctx context.Context) *GetCredentialsMixin0Params

NewGetCredentialsMixin0ParamsWithContext creates a new GetCredentialsMixin0Params object with the ability to set a context for a request.

func NewGetCredentialsMixin0ParamsWithHTTPClient

func NewGetCredentialsMixin0ParamsWithHTTPClient(client *http.Client) *GetCredentialsMixin0Params

NewGetCredentialsMixin0ParamsWithHTTPClient creates a new GetCredentialsMixin0Params object with the ability to set a custom HTTPClient for a request.

func NewGetCredentialsMixin0ParamsWithTimeout

func NewGetCredentialsMixin0ParamsWithTimeout(timeout time.Duration) *GetCredentialsMixin0Params

NewGetCredentialsMixin0ParamsWithTimeout creates a new GetCredentialsMixin0Params object with the ability to set a timeout on a request.

func (*GetCredentialsMixin0Params) SetContext

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

SetContext adds the context to the get credentials mixin0 params

func (*GetCredentialsMixin0Params) SetDefaults

func (o *GetCredentialsMixin0Params) SetDefaults()

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

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

func (*GetCredentialsMixin0Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get credentials mixin0 params

func (*GetCredentialsMixin0Params) SetTimeout

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

SetTimeout adds the timeout to the get credentials mixin0 params

func (*GetCredentialsMixin0Params) WithContext

WithContext adds the context to the get credentials mixin0 params

func (*GetCredentialsMixin0Params) WithDefaults

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

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

func (*GetCredentialsMixin0Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get credentials mixin0 params

func (*GetCredentialsMixin0Params) WithTimeout

WithTimeout adds the timeout to the get credentials mixin0 params

func (*GetCredentialsMixin0Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCredentialsMixin0Reader

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

GetCredentialsMixin0Reader is a Reader for the GetCredentialsMixin0 structure.

func (*GetCredentialsMixin0Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCredentialsMixin0TooManyRequests

type GetCredentialsMixin0TooManyRequests 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
}

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

Too Many Requests

func NewGetCredentialsMixin0TooManyRequests

func NewGetCredentialsMixin0TooManyRequests() *GetCredentialsMixin0TooManyRequests

NewGetCredentialsMixin0TooManyRequests creates a GetCredentialsMixin0TooManyRequests with default headers values

func (*GetCredentialsMixin0TooManyRequests) Code

Code gets the status code for the get credentials mixin0 too many requests response

func (*GetCredentialsMixin0TooManyRequests) Error

func (*GetCredentialsMixin0TooManyRequests) GetPayload

func (*GetCredentialsMixin0TooManyRequests) IsClientError

func (o *GetCredentialsMixin0TooManyRequests) IsClientError() bool

IsClientError returns true when this get credentials mixin0 too many requests response has a 4xx status code

func (*GetCredentialsMixin0TooManyRequests) IsCode

IsCode returns true when this get credentials mixin0 too many requests response a status code equal to that given

func (*GetCredentialsMixin0TooManyRequests) IsRedirect

func (o *GetCredentialsMixin0TooManyRequests) IsRedirect() bool

IsRedirect returns true when this get credentials mixin0 too many requests response has a 3xx status code

func (*GetCredentialsMixin0TooManyRequests) IsServerError

func (o *GetCredentialsMixin0TooManyRequests) IsServerError() bool

IsServerError returns true when this get credentials mixin0 too many requests response has a 5xx status code

func (*GetCredentialsMixin0TooManyRequests) IsSuccess

IsSuccess returns true when this get credentials mixin0 too many requests response has a 2xx status code

func (*GetCredentialsMixin0TooManyRequests) String

type GetCredentialsMixin0Unauthorized

type GetCredentialsMixin0Unauthorized 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.MsaAPIError
}

GetCredentialsMixin0Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCredentialsMixin0Unauthorized

func NewGetCredentialsMixin0Unauthorized() *GetCredentialsMixin0Unauthorized

NewGetCredentialsMixin0Unauthorized creates a GetCredentialsMixin0Unauthorized with default headers values

func (*GetCredentialsMixin0Unauthorized) Code

Code gets the status code for the get credentials mixin0 unauthorized response

func (*GetCredentialsMixin0Unauthorized) Error

func (*GetCredentialsMixin0Unauthorized) GetPayload

func (*GetCredentialsMixin0Unauthorized) IsClientError

func (o *GetCredentialsMixin0Unauthorized) IsClientError() bool

IsClientError returns true when this get credentials mixin0 unauthorized response has a 4xx status code

func (*GetCredentialsMixin0Unauthorized) IsCode

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

IsCode returns true when this get credentials mixin0 unauthorized response a status code equal to that given

func (*GetCredentialsMixin0Unauthorized) IsRedirect

func (o *GetCredentialsMixin0Unauthorized) IsRedirect() bool

IsRedirect returns true when this get credentials mixin0 unauthorized response has a 3xx status code

func (*GetCredentialsMixin0Unauthorized) IsServerError

func (o *GetCredentialsMixin0Unauthorized) IsServerError() bool

IsServerError returns true when this get credentials mixin0 unauthorized response has a 5xx status code

func (*GetCredentialsMixin0Unauthorized) IsSuccess

func (o *GetCredentialsMixin0Unauthorized) IsSuccess() bool

IsSuccess returns true when this get credentials mixin0 unauthorized response has a 2xx status code

func (*GetCredentialsMixin0Unauthorized) String

Jump to

Keyboard shortcuts

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