Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListCredentialsDefault
- type ListCredentialsOK
- type ListCredentialsParams
- func NewListCredentialsParams() *ListCredentialsParams
- func NewListCredentialsParamsWithContext(ctx context.Context) *ListCredentialsParams
- func NewListCredentialsParamsWithHTTPClient(client *http.Client) *ListCredentialsParams
- func NewListCredentialsParamsWithTimeout(timeout time.Duration) *ListCredentialsParams
- func (o *ListCredentialsParams) SetContext(ctx context.Context)
- func (o *ListCredentialsParams) SetDatacenter(datacenter *string)
- func (o *ListCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListCredentialsParams) SetProviderName(providerName string)
- func (o *ListCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListCredentialsParams) WithContext(ctx context.Context) *ListCredentialsParams
- func (o *ListCredentialsParams) WithDatacenter(datacenter *string) *ListCredentialsParams
- func (o *ListCredentialsParams) WithHTTPClient(client *http.Client) *ListCredentialsParams
- func (o *ListCredentialsParams) WithProviderName(providerName string) *ListCredentialsParams
- func (o *ListCredentialsParams) WithTimeout(timeout time.Duration) *ListCredentialsParams
- func (o *ListCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCredentialsReader
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 credentials API
func (*Client) ListCredentials ¶
func (a *Client) ListCredentials(params *ListCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListCredentialsOK, error)
ListCredentials Lists credential names for the provider
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListCredentials(params *ListCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListCredentialsOK, 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 credentials API client.
type ListCredentialsDefault ¶
type ListCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListCredentialsDefault handles this case with default header values.
errorResponse
func NewListCredentialsDefault ¶
func NewListCredentialsDefault(code int) *ListCredentialsDefault
NewListCredentialsDefault creates a ListCredentialsDefault with default headers values
func (*ListCredentialsDefault) Code ¶
func (o *ListCredentialsDefault) Code() int
Code gets the status code for the list credentials default response
func (*ListCredentialsDefault) Error ¶
func (o *ListCredentialsDefault) Error() string
func (*ListCredentialsDefault) GetPayload ¶
func (o *ListCredentialsDefault) GetPayload() *models.ErrorResponse
type ListCredentialsOK ¶
type ListCredentialsOK struct {
Payload *models.CredentialList
}
ListCredentialsOK handles this case with default header values.
CredentialList
func NewListCredentialsOK ¶
func NewListCredentialsOK() *ListCredentialsOK
NewListCredentialsOK creates a ListCredentialsOK with default headers values
func (*ListCredentialsOK) Error ¶
func (o *ListCredentialsOK) Error() string
func (*ListCredentialsOK) GetPayload ¶
func (o *ListCredentialsOK) GetPayload() *models.CredentialList
type ListCredentialsParams ¶
type ListCredentialsParams struct { /*Datacenter*/ Datacenter *string /*ProviderName*/ ProviderName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCredentialsParams contains all the parameters to send to the API endpoint for the list credentials operation typically these are written to a http.Request
func NewListCredentialsParams ¶
func NewListCredentialsParams() *ListCredentialsParams
NewListCredentialsParams creates a new ListCredentialsParams object with the default values initialized.
func NewListCredentialsParamsWithContext ¶
func NewListCredentialsParamsWithContext(ctx context.Context) *ListCredentialsParams
NewListCredentialsParamsWithContext creates a new ListCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewListCredentialsParamsWithHTTPClient ¶
func NewListCredentialsParamsWithHTTPClient(client *http.Client) *ListCredentialsParams
NewListCredentialsParamsWithHTTPClient creates a new ListCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListCredentialsParamsWithTimeout ¶
func NewListCredentialsParamsWithTimeout(timeout time.Duration) *ListCredentialsParams
NewListCredentialsParamsWithTimeout creates a new ListCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListCredentialsParams) SetContext ¶
func (o *ListCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list credentials params
func (*ListCredentialsParams) SetDatacenter ¶
func (o *ListCredentialsParams) SetDatacenter(datacenter *string)
SetDatacenter adds the datacenter to the list credentials params
func (*ListCredentialsParams) SetHTTPClient ¶
func (o *ListCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list credentials params
func (*ListCredentialsParams) SetProviderName ¶
func (o *ListCredentialsParams) SetProviderName(providerName string)
SetProviderName adds the providerName to the list credentials params
func (*ListCredentialsParams) SetTimeout ¶
func (o *ListCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list credentials params
func (*ListCredentialsParams) WithContext ¶
func (o *ListCredentialsParams) WithContext(ctx context.Context) *ListCredentialsParams
WithContext adds the context to the list credentials params
func (*ListCredentialsParams) WithDatacenter ¶
func (o *ListCredentialsParams) WithDatacenter(datacenter *string) *ListCredentialsParams
WithDatacenter adds the datacenter to the list credentials params
func (*ListCredentialsParams) WithHTTPClient ¶
func (o *ListCredentialsParams) WithHTTPClient(client *http.Client) *ListCredentialsParams
WithHTTPClient adds the HTTPClient to the list credentials params
func (*ListCredentialsParams) WithProviderName ¶
func (o *ListCredentialsParams) WithProviderName(providerName string) *ListCredentialsParams
WithProviderName adds the providerName to the list credentials params
func (*ListCredentialsParams) WithTimeout ¶
func (o *ListCredentialsParams) WithTimeout(timeout time.Duration) *ListCredentialsParams
WithTimeout adds the timeout to the list credentials params
func (*ListCredentialsParams) WriteToRequest ¶
func (o *ListCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCredentialsReader ¶
type ListCredentialsReader struct {
// contains filtered or unexported fields
}
ListCredentialsReader is a Reader for the ListCredentials structure.
func (*ListCredentialsReader) ReadResponse ¶
func (o *ListCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.