eks

package
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 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

Code gets the status code for the validate e k s credentials default response

func (*ValidateEKSCredentialsDefault) Error

func (*ValidateEKSCredentialsDefault) GetPayload

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

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

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

WithHTTPClient adds the HTTPClient to the validate e k s credentials params

func (*ValidateEKSCredentialsParams) WithRegion

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

WithTimeout adds the timeout to the validate e k s credentials params

func (*ValidateEKSCredentialsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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