Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetCredentialsBadRequest
- func (o *GetCredentialsBadRequest) Code() int
- func (o *GetCredentialsBadRequest) Error() string
- func (o *GetCredentialsBadRequest) GetPayload() *models.MsaAPIError
- func (o *GetCredentialsBadRequest) IsClientError() bool
- func (o *GetCredentialsBadRequest) IsCode(code int) bool
- func (o *GetCredentialsBadRequest) IsRedirect() bool
- func (o *GetCredentialsBadRequest) IsServerError() bool
- func (o *GetCredentialsBadRequest) IsSuccess() bool
- func (o *GetCredentialsBadRequest) String() string
- type GetCredentialsForbidden
- func (o *GetCredentialsForbidden) Code() int
- func (o *GetCredentialsForbidden) Error() string
- func (o *GetCredentialsForbidden) GetPayload() *models.MsaAPIError
- func (o *GetCredentialsForbidden) IsClientError() bool
- func (o *GetCredentialsForbidden) IsCode(code int) bool
- func (o *GetCredentialsForbidden) IsRedirect() bool
- func (o *GetCredentialsForbidden) IsServerError() bool
- func (o *GetCredentialsForbidden) IsSuccess() bool
- func (o *GetCredentialsForbidden) String() string
- type GetCredentialsInternalServerError
- func (o *GetCredentialsInternalServerError) Code() int
- func (o *GetCredentialsInternalServerError) Error() string
- func (o *GetCredentialsInternalServerError) GetPayload() *models.DomainRegistryCredentialsResponse
- func (o *GetCredentialsInternalServerError) IsClientError() bool
- func (o *GetCredentialsInternalServerError) IsCode(code int) bool
- func (o *GetCredentialsInternalServerError) IsRedirect() bool
- func (o *GetCredentialsInternalServerError) IsServerError() bool
- func (o *GetCredentialsInternalServerError) IsSuccess() bool
- func (o *GetCredentialsInternalServerError) String() string
- type GetCredentialsOK
- func (o *GetCredentialsOK) Code() int
- func (o *GetCredentialsOK) Error() string
- func (o *GetCredentialsOK) GetPayload() *models.DomainRegistryCredentialsResponse
- func (o *GetCredentialsOK) IsClientError() bool
- func (o *GetCredentialsOK) IsCode(code int) bool
- func (o *GetCredentialsOK) IsRedirect() bool
- func (o *GetCredentialsOK) IsServerError() bool
- func (o *GetCredentialsOK) IsSuccess() bool
- func (o *GetCredentialsOK) String() string
- type GetCredentialsParams
- func NewGetCredentialsParams() *GetCredentialsParams
- func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
- func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
- func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) SetContext(ctx context.Context)
- func (o *GetCredentialsParams) SetDefaults()
- func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
- func (o *GetCredentialsParams) WithDefaults() *GetCredentialsParams
- func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
- func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialsReader
- type GetCredentialsTooManyRequests
- func (o *GetCredentialsTooManyRequests) Code() int
- func (o *GetCredentialsTooManyRequests) Error() string
- func (o *GetCredentialsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetCredentialsTooManyRequests) IsClientError() bool
- func (o *GetCredentialsTooManyRequests) IsCode(code int) bool
- func (o *GetCredentialsTooManyRequests) IsRedirect() bool
- func (o *GetCredentialsTooManyRequests) IsServerError() bool
- func (o *GetCredentialsTooManyRequests) IsSuccess() bool
- func (o *GetCredentialsTooManyRequests) String() string
- type GetCredentialsUnauthorized
- func (o *GetCredentialsUnauthorized) Code() int
- func (o *GetCredentialsUnauthorized) Error() string
- func (o *GetCredentialsUnauthorized) GetPayload() *models.MsaAPIError
- func (o *GetCredentialsUnauthorized) IsClientError() bool
- func (o *GetCredentialsUnauthorized) IsCode(code int) bool
- func (o *GetCredentialsUnauthorized) IsRedirect() bool
- func (o *GetCredentialsUnauthorized) IsServerError() bool
- func (o *GetCredentialsUnauthorized) IsSuccess() bool
- func (o *GetCredentialsUnauthorized) String() string
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
func (o *GetCredentialsInternalServerError) Code() int
Code gets the status code for the get credentials internal server error response
func (*GetCredentialsInternalServerError) Error ¶
func (o *GetCredentialsInternalServerError) Error() string
func (*GetCredentialsInternalServerError) GetPayload ¶
func (o *GetCredentialsInternalServerError) GetPayload() *models.DomainRegistryCredentialsResponse
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
func (o *GetCredentialsInternalServerError) String() string
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 (o *GetCredentialsOK) GetPayload() *models.DomainRegistryCredentialsResponse
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 ¶
func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
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
func (o *GetCredentialsTooManyRequests) Code() int
Code gets the status code for the get credentials too many requests response
func (*GetCredentialsTooManyRequests) Error ¶
func (o *GetCredentialsTooManyRequests) Error() string
func (*GetCredentialsTooManyRequests) GetPayload ¶
func (o *GetCredentialsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *GetCredentialsTooManyRequests) String() string
type GetCredentialsUnauthorized ¶
type GetCredentialsUnauthorized struct { string XRateLimitLimit int64 XRateLimitRemaining int64 }XCSTRACEID
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 (o *GetCredentialsUnauthorized) Error() string
func (*GetCredentialsUnauthorized) GetPayload ¶
func (o *GetCredentialsUnauthorized) GetPayload() *models.MsaAPIError
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