Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
- func (a *Client) GenerateCredentials(params *GenerateCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateCredentialsOK, error)
- func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CredentialsItems0
- type DeleteCredentialDefault
- type DeleteCredentialDefaultBody
- type DeleteCredentialNoContent
- type DeleteCredentialParams
- func NewDeleteCredentialParams() *DeleteCredentialParams
- func NewDeleteCredentialParamsWithContext(ctx context.Context) *DeleteCredentialParams
- func NewDeleteCredentialParamsWithHTTPClient(client *http.Client) *DeleteCredentialParams
- func NewDeleteCredentialParamsWithTimeout(timeout time.Duration) *DeleteCredentialParams
- func (o *DeleteCredentialParams) SetAccessKey(accessKey string)
- func (o *DeleteCredentialParams) SetContext(ctx context.Context)
- func (o *DeleteCredentialParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCredentialParams) SetStackID(stackID string)
- func (o *DeleteCredentialParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCredentialParams) SetUserID(userID string)
- func (o *DeleteCredentialParams) WithAccessKey(accessKey string) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithContext(ctx context.Context) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithHTTPClient(client *http.Client) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithStackID(stackID string) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithTimeout(timeout time.Duration) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithUserID(userID string) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCredentialReader
- type GenerateCredentialsDefault
- type GenerateCredentialsDefaultBody
- type GenerateCredentialsOK
- type GenerateCredentialsOKBody
- type GenerateCredentialsParams
- func NewGenerateCredentialsParams() *GenerateCredentialsParams
- func NewGenerateCredentialsParamsWithContext(ctx context.Context) *GenerateCredentialsParams
- func NewGenerateCredentialsParamsWithHTTPClient(client *http.Client) *GenerateCredentialsParams
- func NewGenerateCredentialsParamsWithTimeout(timeout time.Duration) *GenerateCredentialsParams
- func (o *GenerateCredentialsParams) SetContext(ctx context.Context)
- func (o *GenerateCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GenerateCredentialsParams) SetStackID(stackID string)
- func (o *GenerateCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GenerateCredentialsParams) SetUserID(userID string)
- func (o *GenerateCredentialsParams) WithContext(ctx context.Context) *GenerateCredentialsParams
- func (o *GenerateCredentialsParams) WithHTTPClient(client *http.Client) *GenerateCredentialsParams
- func (o *GenerateCredentialsParams) WithStackID(stackID string) *GenerateCredentialsParams
- func (o *GenerateCredentialsParams) WithTimeout(timeout time.Duration) *GenerateCredentialsParams
- func (o *GenerateCredentialsParams) WithUserID(userID string) *GenerateCredentialsParams
- func (o *GenerateCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateCredentialsReader
- type GetCredentialsDefault
- type GetCredentialsDefaultBody
- type GetCredentialsOK
- type GetCredentialsOKBody
- 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) SetHTTPClient(client *http.Client)
- func (o *GetCredentialsParams) SetStackID(stackID string)
- func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialsParams) SetUserID(userID string)
- func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
- func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
- func (o *GetCredentialsParams) WithStackID(stackID string) *GetCredentialsParams
- func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) WithUserID(userID string) *GetCredentialsParams
- func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialsReader
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 user credentials API
func (*Client) DeleteCredential ¶
func (a *Client) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
DeleteCredential deletes provided storage access credentials for the given user
func (*Client) GenerateCredentials ¶
func (a *Client) GenerateCredentials(params *GenerateCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateCredentialsOK, error)
GenerateCredentials generates storage credentials for the given user
Generate storage credentials for the given user. Users can only have one set of credentials, so calling this method will generate a new set and invalidate any existing ones.
func (*Client) GetCredentials ¶
func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
GetCredentials gets credentials for a given user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
GenerateCredentials(params *GenerateCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateCredentialsOK, error)
GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*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 user credentials API client.
type CredentialsItems0 ¶
type CredentialsItems0 struct {
// The ID for the access key
AccessKey string `json:"accessKey,omitempty"`
}
CredentialsItems0 Storage credentials for a user swagger:model CredentialsItems0
func (*CredentialsItems0) MarshalBinary ¶
func (o *CredentialsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialsItems0) UnmarshalBinary ¶
func (o *CredentialsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCredentialDefault ¶
type DeleteCredentialDefault struct {
Payload *DeleteCredentialDefaultBody
// contains filtered or unexported fields
}
DeleteCredentialDefault handles this case with default header values.
Default error structure.
func NewDeleteCredentialDefault ¶
func NewDeleteCredentialDefault(code int) *DeleteCredentialDefault
NewDeleteCredentialDefault creates a DeleteCredentialDefault with default headers values
func (*DeleteCredentialDefault) Code ¶
func (o *DeleteCredentialDefault) Code() int
Code gets the status code for the delete credential default response
func (*DeleteCredentialDefault) Error ¶
func (o *DeleteCredentialDefault) Error() string
func (*DeleteCredentialDefault) GetPayload ¶
func (o *DeleteCredentialDefault) GetPayload() *DeleteCredentialDefaultBody
type DeleteCredentialDefaultBody ¶
type DeleteCredentialDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
DeleteCredentialDefaultBody delete credential default body swagger:model DeleteCredentialDefaultBody
func (*DeleteCredentialDefaultBody) MarshalBinary ¶
func (o *DeleteCredentialDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCredentialDefaultBody) UnmarshalBinary ¶
func (o *DeleteCredentialDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCredentialNoContent ¶
type DeleteCredentialNoContent struct {
}
DeleteCredentialNoContent handles this case with default header values.
No content
func NewDeleteCredentialNoContent ¶
func NewDeleteCredentialNoContent() *DeleteCredentialNoContent
NewDeleteCredentialNoContent creates a DeleteCredentialNoContent with default headers values
func (*DeleteCredentialNoContent) Error ¶
func (o *DeleteCredentialNoContent) Error() string
type DeleteCredentialParams ¶
type DeleteCredentialParams struct {
/*AccessKey
The credentials access key to be removed
*/
AccessKey string
/*StackID
The stack's ID for which the user belongs to
*/
StackID string
/*UserID
The user's ID for which the credentials will be generated
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteCredentialParams contains all the parameters to send to the API endpoint for the delete credential operation typically these are written to a http.Request
func NewDeleteCredentialParams ¶
func NewDeleteCredentialParams() *DeleteCredentialParams
NewDeleteCredentialParams creates a new DeleteCredentialParams object with the default values initialized.
func NewDeleteCredentialParamsWithContext ¶
func NewDeleteCredentialParamsWithContext(ctx context.Context) *DeleteCredentialParams
NewDeleteCredentialParamsWithContext creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCredentialParamsWithHTTPClient ¶
func NewDeleteCredentialParamsWithHTTPClient(client *http.Client) *DeleteCredentialParams
NewDeleteCredentialParamsWithHTTPClient creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCredentialParamsWithTimeout ¶
func NewDeleteCredentialParamsWithTimeout(timeout time.Duration) *DeleteCredentialParams
NewDeleteCredentialParamsWithTimeout creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCredentialParams) SetAccessKey ¶
func (o *DeleteCredentialParams) SetAccessKey(accessKey string)
SetAccessKey adds the accessKey to the delete credential params
func (*DeleteCredentialParams) SetContext ¶
func (o *DeleteCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the delete credential params
func (*DeleteCredentialParams) SetHTTPClient ¶
func (o *DeleteCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete credential params
func (*DeleteCredentialParams) SetStackID ¶
func (o *DeleteCredentialParams) SetStackID(stackID string)
SetStackID adds the stackId to the delete credential params
func (*DeleteCredentialParams) SetTimeout ¶
func (o *DeleteCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete credential params
func (*DeleteCredentialParams) SetUserID ¶
func (o *DeleteCredentialParams) SetUserID(userID string)
SetUserID adds the userId to the delete credential params
func (*DeleteCredentialParams) WithAccessKey ¶
func (o *DeleteCredentialParams) WithAccessKey(accessKey string) *DeleteCredentialParams
WithAccessKey adds the accessKey to the delete credential params
func (*DeleteCredentialParams) WithContext ¶
func (o *DeleteCredentialParams) WithContext(ctx context.Context) *DeleteCredentialParams
WithContext adds the context to the delete credential params
func (*DeleteCredentialParams) WithHTTPClient ¶
func (o *DeleteCredentialParams) WithHTTPClient(client *http.Client) *DeleteCredentialParams
WithHTTPClient adds the HTTPClient to the delete credential params
func (*DeleteCredentialParams) WithStackID ¶
func (o *DeleteCredentialParams) WithStackID(stackID string) *DeleteCredentialParams
WithStackID adds the stackID to the delete credential params
func (*DeleteCredentialParams) WithTimeout ¶
func (o *DeleteCredentialParams) WithTimeout(timeout time.Duration) *DeleteCredentialParams
WithTimeout adds the timeout to the delete credential params
func (*DeleteCredentialParams) WithUserID ¶
func (o *DeleteCredentialParams) WithUserID(userID string) *DeleteCredentialParams
WithUserID adds the userID to the delete credential params
func (*DeleteCredentialParams) WriteToRequest ¶
func (o *DeleteCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCredentialReader ¶
type DeleteCredentialReader struct {
// contains filtered or unexported fields
}
DeleteCredentialReader is a Reader for the DeleteCredential structure.
func (*DeleteCredentialReader) ReadResponse ¶
func (o *DeleteCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateCredentialsDefault ¶
type GenerateCredentialsDefault struct {
Payload *GenerateCredentialsDefaultBody
// contains filtered or unexported fields
}
GenerateCredentialsDefault handles this case with default header values.
Default error structure.
func NewGenerateCredentialsDefault ¶
func NewGenerateCredentialsDefault(code int) *GenerateCredentialsDefault
NewGenerateCredentialsDefault creates a GenerateCredentialsDefault with default headers values
func (*GenerateCredentialsDefault) Code ¶
func (o *GenerateCredentialsDefault) Code() int
Code gets the status code for the generate credentials default response
func (*GenerateCredentialsDefault) Error ¶
func (o *GenerateCredentialsDefault) Error() string
func (*GenerateCredentialsDefault) GetPayload ¶
func (o *GenerateCredentialsDefault) GetPayload() *GenerateCredentialsDefaultBody
type GenerateCredentialsDefaultBody ¶
type GenerateCredentialsDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
GenerateCredentialsDefaultBody generate credentials default body swagger:model GenerateCredentialsDefaultBody
func (*GenerateCredentialsDefaultBody) MarshalBinary ¶
func (o *GenerateCredentialsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenerateCredentialsDefaultBody) UnmarshalBinary ¶
func (o *GenerateCredentialsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenerateCredentialsOK ¶
type GenerateCredentialsOK struct {
Payload *GenerateCredentialsOKBody
}
GenerateCredentialsOK handles this case with default header values.
GenerateCredentialsOK generate credentials o k
func NewGenerateCredentialsOK ¶
func NewGenerateCredentialsOK() *GenerateCredentialsOK
NewGenerateCredentialsOK creates a GenerateCredentialsOK with default headers values
func (*GenerateCredentialsOK) Error ¶
func (o *GenerateCredentialsOK) Error() string
func (*GenerateCredentialsOK) GetPayload ¶
func (o *GenerateCredentialsOK) GetPayload() *GenerateCredentialsOKBody
type GenerateCredentialsOKBody ¶
type GenerateCredentialsOKBody struct {
// The ID for the access key
AccessKey string `json:"accessKey,omitempty"`
// The secret key used to sign requests
SecretKey string `json:"secretKey,omitempty"`
}
GenerateCredentialsOKBody A response with new credentials swagger:model GenerateCredentialsOKBody
func (*GenerateCredentialsOKBody) MarshalBinary ¶
func (o *GenerateCredentialsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenerateCredentialsOKBody) UnmarshalBinary ¶
func (o *GenerateCredentialsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenerateCredentialsParams ¶
type GenerateCredentialsParams struct {
/*StackID
The stack's ID for which the user belongs to
*/
StackID string
/*UserID
The user's ID for which the credentials will be generated
*/
UserID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GenerateCredentialsParams contains all the parameters to send to the API endpoint for the generate credentials operation typically these are written to a http.Request
func NewGenerateCredentialsParams ¶
func NewGenerateCredentialsParams() *GenerateCredentialsParams
NewGenerateCredentialsParams creates a new GenerateCredentialsParams object with the default values initialized.
func NewGenerateCredentialsParamsWithContext ¶
func NewGenerateCredentialsParamsWithContext(ctx context.Context) *GenerateCredentialsParams
NewGenerateCredentialsParamsWithContext creates a new GenerateCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGenerateCredentialsParamsWithHTTPClient ¶
func NewGenerateCredentialsParamsWithHTTPClient(client *http.Client) *GenerateCredentialsParams
NewGenerateCredentialsParamsWithHTTPClient creates a new GenerateCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGenerateCredentialsParamsWithTimeout ¶
func NewGenerateCredentialsParamsWithTimeout(timeout time.Duration) *GenerateCredentialsParams
NewGenerateCredentialsParamsWithTimeout creates a new GenerateCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GenerateCredentialsParams) SetContext ¶
func (o *GenerateCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the generate credentials params
func (*GenerateCredentialsParams) SetHTTPClient ¶
func (o *GenerateCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate credentials params
func (*GenerateCredentialsParams) SetStackID ¶
func (o *GenerateCredentialsParams) SetStackID(stackID string)
SetStackID adds the stackId to the generate credentials params
func (*GenerateCredentialsParams) SetTimeout ¶
func (o *GenerateCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate credentials params
func (*GenerateCredentialsParams) SetUserID ¶
func (o *GenerateCredentialsParams) SetUserID(userID string)
SetUserID adds the userId to the generate credentials params
func (*GenerateCredentialsParams) WithContext ¶
func (o *GenerateCredentialsParams) WithContext(ctx context.Context) *GenerateCredentialsParams
WithContext adds the context to the generate credentials params
func (*GenerateCredentialsParams) WithHTTPClient ¶
func (o *GenerateCredentialsParams) WithHTTPClient(client *http.Client) *GenerateCredentialsParams
WithHTTPClient adds the HTTPClient to the generate credentials params
func (*GenerateCredentialsParams) WithStackID ¶
func (o *GenerateCredentialsParams) WithStackID(stackID string) *GenerateCredentialsParams
WithStackID adds the stackID to the generate credentials params
func (*GenerateCredentialsParams) WithTimeout ¶
func (o *GenerateCredentialsParams) WithTimeout(timeout time.Duration) *GenerateCredentialsParams
WithTimeout adds the timeout to the generate credentials params
func (*GenerateCredentialsParams) WithUserID ¶
func (o *GenerateCredentialsParams) WithUserID(userID string) *GenerateCredentialsParams
WithUserID adds the userID to the generate credentials params
func (*GenerateCredentialsParams) WriteToRequest ¶
func (o *GenerateCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateCredentialsReader ¶
type GenerateCredentialsReader struct {
// contains filtered or unexported fields
}
GenerateCredentialsReader is a Reader for the GenerateCredentials structure.
func (*GenerateCredentialsReader) ReadResponse ¶
func (o *GenerateCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialsDefault ¶
type GetCredentialsDefault struct {
Payload *GetCredentialsDefaultBody
// contains filtered or unexported fields
}
GetCredentialsDefault handles this case with default header values.
Default error structure.
func NewGetCredentialsDefault ¶
func NewGetCredentialsDefault(code int) *GetCredentialsDefault
NewGetCredentialsDefault creates a GetCredentialsDefault with default headers values
func (*GetCredentialsDefault) Code ¶
func (o *GetCredentialsDefault) Code() int
Code gets the status code for the get credentials default response
func (*GetCredentialsDefault) Error ¶
func (o *GetCredentialsDefault) Error() string
func (*GetCredentialsDefault) GetPayload ¶
func (o *GetCredentialsDefault) GetPayload() *GetCredentialsDefaultBody
type GetCredentialsDefaultBody ¶
type GetCredentialsDefaultBody struct {
// code
Code int32 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
GetCredentialsDefaultBody get credentials default body swagger:model GetCredentialsDefaultBody
func (*GetCredentialsDefaultBody) MarshalBinary ¶
func (o *GetCredentialsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCredentialsDefaultBody) UnmarshalBinary ¶
func (o *GetCredentialsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCredentialsOK ¶
type GetCredentialsOK struct {
Payload *GetCredentialsOKBody
}
GetCredentialsOK handles this case with default header values.
GetCredentialsOK get credentials o k
func NewGetCredentialsOK ¶
func NewGetCredentialsOK() *GetCredentialsOK
NewGetCredentialsOK creates a GetCredentialsOK with default headers values
func (*GetCredentialsOK) Error ¶
func (o *GetCredentialsOK) Error() string
func (*GetCredentialsOK) GetPayload ¶
func (o *GetCredentialsOK) GetPayload() *GetCredentialsOKBody
type GetCredentialsOKBody ¶
type GetCredentialsOKBody struct {
// The list of active credentials on account
Credentials []*CredentialsItems0 `json:"credentials"`
}
GetCredentialsOKBody A response with new credentials swagger:model GetCredentialsOKBody
func (*GetCredentialsOKBody) MarshalBinary ¶
func (o *GetCredentialsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCredentialsOKBody) UnmarshalBinary ¶
func (o *GetCredentialsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCredentialsParams ¶
type GetCredentialsParams struct {
/*StackID
The stack's ID for which the user belongs to
*/
StackID string
/*UserID
The user's ID for which the credentials belong to
*/
UserID string
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 values initialized.
func NewGetCredentialsParamsWithContext ¶
func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) SetStackID ¶
func (o *GetCredentialsParams) SetStackID(stackID string)
SetStackID adds the stackId 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) SetUserID ¶
func (o *GetCredentialsParams) SetUserID(userID string)
SetUserID adds the userId 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) WithHTTPClient ¶
func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
WithHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) WithStackID ¶
func (o *GetCredentialsParams) WithStackID(stackID string) *GetCredentialsParams
WithStackID adds the stackID 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) WithUserID ¶
func (o *GetCredentialsParams) WithUserID(userID string) *GetCredentialsParams
WithUserID adds the userID 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.