aks

package
v2.20.16 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 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 aks API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ValidateAKSCredentials

func (a *Client) ValidateAKSCredentials(params *ValidateAKSCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateAKSCredentialsOK, error)

ValidateAKSCredentials Validates AKS credentials

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ValidateAKSCredentials(params *ValidateAKSCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateAKSCredentialsOK, 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 aks API client.

type ValidateAKSCredentialsDefault

type ValidateAKSCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ValidateAKSCredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewValidateAKSCredentialsDefault

func NewValidateAKSCredentialsDefault(code int) *ValidateAKSCredentialsDefault

NewValidateAKSCredentialsDefault creates a ValidateAKSCredentialsDefault with default headers values

func (*ValidateAKSCredentialsDefault) Code

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

func (*ValidateAKSCredentialsDefault) Error

func (*ValidateAKSCredentialsDefault) GetPayload

type ValidateAKSCredentialsOK

type ValidateAKSCredentialsOK struct {
}
ValidateAKSCredentialsOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewValidateAKSCredentialsOK

func NewValidateAKSCredentialsOK() *ValidateAKSCredentialsOK

NewValidateAKSCredentialsOK creates a ValidateAKSCredentialsOK with default headers values

func (*ValidateAKSCredentialsOK) Error

func (o *ValidateAKSCredentialsOK) Error() string

type ValidateAKSCredentialsParams

type ValidateAKSCredentialsParams struct {

	// ClientID.
	ClientID *string

	// ClientSecret.
	ClientSecret *string

	// Credential.
	Credential *string

	// SubscriptionID.
	SubscriptionID *string

	// TenantID.
	TenantID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateAKSCredentialsParams contains all the parameters to send to the API endpoint

for the validate a k s credentials operation.

Typically these are written to a http.Request.

func NewValidateAKSCredentialsParams

func NewValidateAKSCredentialsParams() *ValidateAKSCredentialsParams

NewValidateAKSCredentialsParams creates a new ValidateAKSCredentialsParams 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 NewValidateAKSCredentialsParamsWithContext

func NewValidateAKSCredentialsParamsWithContext(ctx context.Context) *ValidateAKSCredentialsParams

NewValidateAKSCredentialsParamsWithContext creates a new ValidateAKSCredentialsParams object with the ability to set a context for a request.

func NewValidateAKSCredentialsParamsWithHTTPClient

func NewValidateAKSCredentialsParamsWithHTTPClient(client *http.Client) *ValidateAKSCredentialsParams

NewValidateAKSCredentialsParamsWithHTTPClient creates a new ValidateAKSCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewValidateAKSCredentialsParamsWithTimeout

func NewValidateAKSCredentialsParamsWithTimeout(timeout time.Duration) *ValidateAKSCredentialsParams

NewValidateAKSCredentialsParamsWithTimeout creates a new ValidateAKSCredentialsParams object with the ability to set a timeout on a request.

func (*ValidateAKSCredentialsParams) SetClientID

func (o *ValidateAKSCredentialsParams) SetClientID(clientID *string)

SetClientID adds the clientId to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetClientSecret

func (o *ValidateAKSCredentialsParams) SetClientSecret(clientSecret *string)

SetClientSecret adds the clientSecret to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetContext

func (o *ValidateAKSCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetCredential

func (o *ValidateAKSCredentialsParams) SetCredential(credential *string)

SetCredential adds the credential to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetDefaults

func (o *ValidateAKSCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the validate a k s credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateAKSCredentialsParams) SetHTTPClient

func (o *ValidateAKSCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetSubscriptionID

func (o *ValidateAKSCredentialsParams) SetSubscriptionID(subscriptionID *string)

SetSubscriptionID adds the subscriptionId to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetTenantID

func (o *ValidateAKSCredentialsParams) SetTenantID(tenantID *string)

SetTenantID adds the tenantId to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) SetTimeout

func (o *ValidateAKSCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithClientID

WithClientID adds the clientID to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithClientSecret

func (o *ValidateAKSCredentialsParams) WithClientSecret(clientSecret *string) *ValidateAKSCredentialsParams

WithClientSecret adds the clientSecret to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithContext

WithContext adds the context to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithCredential

func (o *ValidateAKSCredentialsParams) WithCredential(credential *string) *ValidateAKSCredentialsParams

WithCredential adds the credential to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithDefaults

WithDefaults hydrates default values in the validate a k s credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateAKSCredentialsParams) WithHTTPClient

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

func (*ValidateAKSCredentialsParams) WithSubscriptionID

func (o *ValidateAKSCredentialsParams) WithSubscriptionID(subscriptionID *string) *ValidateAKSCredentialsParams

WithSubscriptionID adds the subscriptionID to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithTenantID

WithTenantID adds the tenantID to the validate a k s credentials params

func (*ValidateAKSCredentialsParams) WithTimeout

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

func (*ValidateAKSCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateAKSCredentialsReader

type ValidateAKSCredentialsReader struct {
	// contains filtered or unexported fields
}

ValidateAKSCredentialsReader is a Reader for the ValidateAKSCredentials structure.

func (*ValidateAKSCredentialsReader) ReadResponse

func (o *ValidateAKSCredentialsReader) 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