Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ValidateEKSCredentialsDefault
- type ValidateEKSCredentialsOK
- type ValidateEKSCredentialsParams
- func NewValidateEKSCredentialsParams() *ValidateEKSCredentialsParams
- func NewValidateEKSCredentialsParamsWithContext(ctx context.Context) *ValidateEKSCredentialsParams
- func NewValidateEKSCredentialsParamsWithHTTPClient(client *http.Client) *ValidateEKSCredentialsParams
- func NewValidateEKSCredentialsParamsWithTimeout(timeout time.Duration) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) SetAccessKeyID(accessKeyID *string)
- func (o *ValidateEKSCredentialsParams) SetContext(ctx context.Context)
- func (o *ValidateEKSCredentialsParams) SetCredential(credential *string)
- func (o *ValidateEKSCredentialsParams) SetDefaults()
- func (o *ValidateEKSCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ValidateEKSCredentialsParams) SetRegion(region *string)
- func (o *ValidateEKSCredentialsParams) SetSecretAccessKey(secretAccessKey *string)
- func (o *ValidateEKSCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ValidateEKSCredentialsParams) WithAccessKeyID(accessKeyID *string) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithContext(ctx context.Context) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithCredential(credential *string) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithDefaults() *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithHTTPClient(client *http.Client) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithRegion(region *string) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithSecretAccessKey(secretAccessKey *string) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WithTimeout(timeout time.Duration) *ValidateEKSCredentialsParams
- func (o *ValidateEKSCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateEKSCredentialsReader
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 eks API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ValidateEKSCredentials ¶
func (a *Client) ValidateEKSCredentials(params *ValidateEKSCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateEKSCredentialsOK, error)
ValidateEKSCredentials Validates EKS credentials
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ValidateEKSCredentials(params *ValidateEKSCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateEKSCredentialsOK, 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 eks API client.
type ValidateEKSCredentialsDefault ¶
type ValidateEKSCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ValidateEKSCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewValidateEKSCredentialsDefault ¶
func NewValidateEKSCredentialsDefault(code int) *ValidateEKSCredentialsDefault
NewValidateEKSCredentialsDefault creates a ValidateEKSCredentialsDefault with default headers values
func (*ValidateEKSCredentialsDefault) Code ¶
func (o *ValidateEKSCredentialsDefault) Code() int
Code gets the status code for the validate e k s credentials default response
func (*ValidateEKSCredentialsDefault) Error ¶
func (o *ValidateEKSCredentialsDefault) Error() string
func (*ValidateEKSCredentialsDefault) GetPayload ¶
func (o *ValidateEKSCredentialsDefault) GetPayload() *models.ErrorResponse
type ValidateEKSCredentialsOK ¶
type ValidateEKSCredentialsOK struct { }
ValidateEKSCredentialsOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewValidateEKSCredentialsOK ¶
func NewValidateEKSCredentialsOK() *ValidateEKSCredentialsOK
NewValidateEKSCredentialsOK creates a ValidateEKSCredentialsOK with default headers values
func (*ValidateEKSCredentialsOK) Error ¶
func (o *ValidateEKSCredentialsOK) Error() string
type ValidateEKSCredentialsParams ¶
type ValidateEKSCredentialsParams struct { // AccessKeyID. AccessKeyID *string // Credential. Credential *string // Region. Region *string // SecretAccessKey. SecretAccessKey *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateEKSCredentialsParams contains all the parameters to send to the API endpoint
for the validate e k s credentials operation. Typically these are written to a http.Request.
func NewValidateEKSCredentialsParams ¶
func NewValidateEKSCredentialsParams() *ValidateEKSCredentialsParams
NewValidateEKSCredentialsParams creates a new ValidateEKSCredentialsParams 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 NewValidateEKSCredentialsParamsWithContext ¶
func NewValidateEKSCredentialsParamsWithContext(ctx context.Context) *ValidateEKSCredentialsParams
NewValidateEKSCredentialsParamsWithContext creates a new ValidateEKSCredentialsParams object with the ability to set a context for a request.
func NewValidateEKSCredentialsParamsWithHTTPClient ¶
func NewValidateEKSCredentialsParamsWithHTTPClient(client *http.Client) *ValidateEKSCredentialsParams
NewValidateEKSCredentialsParamsWithHTTPClient creates a new ValidateEKSCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewValidateEKSCredentialsParamsWithTimeout ¶
func NewValidateEKSCredentialsParamsWithTimeout(timeout time.Duration) *ValidateEKSCredentialsParams
NewValidateEKSCredentialsParamsWithTimeout creates a new ValidateEKSCredentialsParams object with the ability to set a timeout on a request.
func (*ValidateEKSCredentialsParams) SetAccessKeyID ¶
func (o *ValidateEKSCredentialsParams) SetAccessKeyID(accessKeyID *string)
SetAccessKeyID adds the accessKeyId to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) SetContext ¶
func (o *ValidateEKSCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) SetCredential ¶
func (o *ValidateEKSCredentialsParams) SetCredential(credential *string)
SetCredential adds the credential to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) SetDefaults ¶
func (o *ValidateEKSCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the validate e k s credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateEKSCredentialsParams) SetHTTPClient ¶
func (o *ValidateEKSCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) SetRegion ¶
func (o *ValidateEKSCredentialsParams) SetRegion(region *string)
SetRegion adds the region to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) SetSecretAccessKey ¶
func (o *ValidateEKSCredentialsParams) SetSecretAccessKey(secretAccessKey *string)
SetSecretAccessKey adds the secretAccessKey to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) SetTimeout ¶
func (o *ValidateEKSCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithAccessKeyID ¶
func (o *ValidateEKSCredentialsParams) WithAccessKeyID(accessKeyID *string) *ValidateEKSCredentialsParams
WithAccessKeyID adds the accessKeyID to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithContext ¶
func (o *ValidateEKSCredentialsParams) WithContext(ctx context.Context) *ValidateEKSCredentialsParams
WithContext adds the context to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithCredential ¶
func (o *ValidateEKSCredentialsParams) WithCredential(credential *string) *ValidateEKSCredentialsParams
WithCredential adds the credential to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithDefaults ¶
func (o *ValidateEKSCredentialsParams) WithDefaults() *ValidateEKSCredentialsParams
WithDefaults hydrates default values in the validate e k s credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateEKSCredentialsParams) WithHTTPClient ¶
func (o *ValidateEKSCredentialsParams) WithHTTPClient(client *http.Client) *ValidateEKSCredentialsParams
WithHTTPClient adds the HTTPClient to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithRegion ¶
func (o *ValidateEKSCredentialsParams) WithRegion(region *string) *ValidateEKSCredentialsParams
WithRegion adds the region to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithSecretAccessKey ¶
func (o *ValidateEKSCredentialsParams) WithSecretAccessKey(secretAccessKey *string) *ValidateEKSCredentialsParams
WithSecretAccessKey adds the secretAccessKey to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WithTimeout ¶
func (o *ValidateEKSCredentialsParams) WithTimeout(timeout time.Duration) *ValidateEKSCredentialsParams
WithTimeout adds the timeout to the validate e k s credentials params
func (*ValidateEKSCredentialsParams) WriteToRequest ¶
func (o *ValidateEKSCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateEKSCredentialsReader ¶
type ValidateEKSCredentialsReader struct {
// contains filtered or unexported fields
}
ValidateEKSCredentialsReader is a Reader for the ValidateEKSCredentials structure.
func (*ValidateEKSCredentialsReader) ReadResponse ¶
func (o *ValidateEKSCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.