falcon_container

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 11 Imported by: 1

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 falcon container API

func (*Client) GetCredentials

func (a *Client) GetCredentials(params *GetCredentialsParams, opts ...ClientOption) (*GetCredentialsOK, error)

GetCredentials 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 {
	GetCredentials(params *GetCredentialsParams, opts ...ClientOption) (*GetCredentialsOK, 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 falcon container API client.

type GetCredentialsBadRequest

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

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

Bad Request

func NewGetCredentialsBadRequest

func NewGetCredentialsBadRequest() *GetCredentialsBadRequest

NewGetCredentialsBadRequest creates a GetCredentialsBadRequest with default headers values

func (*GetCredentialsBadRequest) Code added in v0.2.33

func (o *GetCredentialsBadRequest) Code() int

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

func (*GetCredentialsBadRequest) Error

func (o *GetCredentialsBadRequest) Error() string

func (*GetCredentialsBadRequest) GetPayload

func (o *GetCredentialsBadRequest) GetPayload() *models.MsaAPIError

func (*GetCredentialsBadRequest) IsClientError added in v0.2.27

func (o *GetCredentialsBadRequest) IsClientError() bool

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

func (*GetCredentialsBadRequest) IsCode added in v0.2.27

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

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

func (*GetCredentialsBadRequest) IsRedirect added in v0.2.27

func (o *GetCredentialsBadRequest) IsRedirect() bool

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

func (*GetCredentialsBadRequest) IsServerError added in v0.2.27

func (o *GetCredentialsBadRequest) IsServerError() bool

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

func (*GetCredentialsBadRequest) IsSuccess added in v0.2.27

func (o *GetCredentialsBadRequest) IsSuccess() bool

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

func (*GetCredentialsBadRequest) String added in v0.2.27

func (o *GetCredentialsBadRequest) String() string

type GetCredentialsForbidden

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

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

Forbidden

func NewGetCredentialsForbidden

func NewGetCredentialsForbidden() *GetCredentialsForbidden

NewGetCredentialsForbidden creates a GetCredentialsForbidden with default headers values

func (*GetCredentialsForbidden) Code added in v0.2.33

func (o *GetCredentialsForbidden) Code() int

Code gets the status code for the get credentials forbidden response

func (*GetCredentialsForbidden) Error

func (o *GetCredentialsForbidden) Error() string

func (*GetCredentialsForbidden) GetPayload

func (o *GetCredentialsForbidden) GetPayload() *models.MsaAPIError

func (*GetCredentialsForbidden) IsClientError added in v0.2.27

func (o *GetCredentialsForbidden) IsClientError() bool

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

func (*GetCredentialsForbidden) IsCode added in v0.2.27

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

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

func (*GetCredentialsForbidden) IsRedirect added in v0.2.27

func (o *GetCredentialsForbidden) IsRedirect() bool

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

func (*GetCredentialsForbidden) IsServerError added in v0.2.27

func (o *GetCredentialsForbidden) IsServerError() bool

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

func (*GetCredentialsForbidden) IsSuccess added in v0.2.27

func (o *GetCredentialsForbidden) IsSuccess() bool

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

func (*GetCredentialsForbidden) String added in v0.2.27

func (o *GetCredentialsForbidden) String() string

type GetCredentialsInternalServerError

type GetCredentialsInternalServerError 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.DomainRegistryCredentialsResponse
}

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

Internal Server Error

func NewGetCredentialsInternalServerError

func NewGetCredentialsInternalServerError() *GetCredentialsInternalServerError

NewGetCredentialsInternalServerError creates a GetCredentialsInternalServerError with default headers values

func (*GetCredentialsInternalServerError) Code added in v0.2.33

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

func (*GetCredentialsInternalServerError) Error

func (*GetCredentialsInternalServerError) GetPayload

func (*GetCredentialsInternalServerError) IsClientError added in v0.2.27

func (o *GetCredentialsInternalServerError) IsClientError() bool

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

func (*GetCredentialsInternalServerError) IsCode added in v0.2.27

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

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

func (*GetCredentialsInternalServerError) IsRedirect added in v0.2.27

func (o *GetCredentialsInternalServerError) IsRedirect() bool

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

func (*GetCredentialsInternalServerError) IsServerError added in v0.2.27

func (o *GetCredentialsInternalServerError) IsServerError() bool

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

func (*GetCredentialsInternalServerError) IsSuccess added in v0.2.27

func (o *GetCredentialsInternalServerError) IsSuccess() bool

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

func (*GetCredentialsInternalServerError) String added in v0.2.27

type GetCredentialsOK

type GetCredentialsOK 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.DomainRegistryCredentialsResponse
}

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

OK

func NewGetCredentialsOK

func NewGetCredentialsOK() *GetCredentialsOK

NewGetCredentialsOK creates a GetCredentialsOK with default headers values

func (*GetCredentialsOK) Code added in v0.2.33

func (o *GetCredentialsOK) Code() int

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

func (*GetCredentialsOK) Error

func (o *GetCredentialsOK) Error() string

func (*GetCredentialsOK) GetPayload

func (*GetCredentialsOK) IsClientError added in v0.2.27

func (o *GetCredentialsOK) IsClientError() bool

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

func (*GetCredentialsOK) IsCode added in v0.2.27

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

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

func (*GetCredentialsOK) IsRedirect added in v0.2.27

func (o *GetCredentialsOK) IsRedirect() bool

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

func (*GetCredentialsOK) IsServerError added in v0.2.27

func (o *GetCredentialsOK) IsServerError() bool

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

func (*GetCredentialsOK) IsSuccess added in v0.2.27

func (o *GetCredentialsOK) IsSuccess() bool

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

func (*GetCredentialsOK) String added in v0.2.27

func (o *GetCredentialsOK) String() string

type GetCredentialsParams

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

GetCredentialsParams contains all the parameters to send to the API endpoint

for the get credentials operation.

Typically these are written to a http.Request.

func NewGetCredentialsParams

func NewGetCredentialsParams() *GetCredentialsParams

NewGetCredentialsParams creates a new GetCredentialsParams 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 NewGetCredentialsParamsWithContext

func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams

NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the ability to set a context for a request.

func NewGetCredentialsParamsWithHTTPClient

func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams

NewGetCredentialsParamsWithHTTPClient creates a new GetCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCredentialsParamsWithTimeout

func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams

NewGetCredentialsParamsWithTimeout creates a new GetCredentialsParams object with the ability to set a timeout on a request.

func (*GetCredentialsParams) SetContext

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

SetContext adds the context to the get credentials params

func (*GetCredentialsParams) SetDefaults

func (o *GetCredentialsParams) SetDefaults()

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

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

func (*GetCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get credentials params

func (*GetCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the get credentials params

func (*GetCredentialsParams) WithContext

WithContext adds the context to the get credentials params

func (*GetCredentialsParams) WithDefaults

func (o *GetCredentialsParams) WithDefaults() *GetCredentialsParams

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

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

func (*GetCredentialsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get credentials params

func (*GetCredentialsParams) WithTimeout

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

WithTimeout adds the timeout to the get credentials params

func (*GetCredentialsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCredentialsReader

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

GetCredentialsReader is a Reader for the GetCredentials structure.

func (*GetCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCredentialsTooManyRequests

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

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

Too Many Requests

func NewGetCredentialsTooManyRequests

func NewGetCredentialsTooManyRequests() *GetCredentialsTooManyRequests

NewGetCredentialsTooManyRequests creates a GetCredentialsTooManyRequests with default headers values

func (*GetCredentialsTooManyRequests) Code added in v0.2.33

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

func (*GetCredentialsTooManyRequests) Error

func (*GetCredentialsTooManyRequests) GetPayload

func (*GetCredentialsTooManyRequests) IsClientError added in v0.2.27

func (o *GetCredentialsTooManyRequests) IsClientError() bool

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

func (*GetCredentialsTooManyRequests) IsCode added in v0.2.27

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

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

func (*GetCredentialsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetCredentialsTooManyRequests) IsRedirect() bool

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

func (*GetCredentialsTooManyRequests) IsServerError added in v0.2.27

func (o *GetCredentialsTooManyRequests) IsServerError() bool

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

func (*GetCredentialsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetCredentialsTooManyRequests) IsSuccess() bool

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

func (*GetCredentialsTooManyRequests) String added in v0.2.27

type GetCredentialsUnauthorized

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

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

Unauthorized

func NewGetCredentialsUnauthorized

func NewGetCredentialsUnauthorized() *GetCredentialsUnauthorized

NewGetCredentialsUnauthorized creates a GetCredentialsUnauthorized with default headers values

func (*GetCredentialsUnauthorized) Code added in v0.2.33

func (o *GetCredentialsUnauthorized) Code() int

Code gets the status code for the get credentials unauthorized response

func (*GetCredentialsUnauthorized) Error

func (*GetCredentialsUnauthorized) GetPayload

func (*GetCredentialsUnauthorized) IsClientError added in v0.2.27

func (o *GetCredentialsUnauthorized) IsClientError() bool

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

func (*GetCredentialsUnauthorized) IsCode added in v0.2.27

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

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

func (*GetCredentialsUnauthorized) IsRedirect added in v0.2.27

func (o *GetCredentialsUnauthorized) IsRedirect() bool

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

func (*GetCredentialsUnauthorized) IsServerError added in v0.2.27

func (o *GetCredentialsUnauthorized) IsServerError() bool

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

func (*GetCredentialsUnauthorized) IsSuccess added in v0.2.27

func (o *GetCredentialsUnauthorized) IsSuccess() bool

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

func (*GetCredentialsUnauthorized) String added in v0.2.27

func (o *GetCredentialsUnauthorized) String() string

Jump to

Keyboard shortcuts

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