Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ValidateAKSCredentialsDefault
- type ValidateAKSCredentialsOK
- type ValidateAKSCredentialsParams
- func NewValidateAKSCredentialsParams() *ValidateAKSCredentialsParams
- func NewValidateAKSCredentialsParamsWithContext(ctx context.Context) *ValidateAKSCredentialsParams
- func NewValidateAKSCredentialsParamsWithHTTPClient(client *http.Client) *ValidateAKSCredentialsParams
- func NewValidateAKSCredentialsParamsWithTimeout(timeout time.Duration) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) SetClientID(clientID *string)
- func (o *ValidateAKSCredentialsParams) SetClientSecret(clientSecret *string)
- func (o *ValidateAKSCredentialsParams) SetContext(ctx context.Context)
- func (o *ValidateAKSCredentialsParams) SetCredential(credential *string)
- func (o *ValidateAKSCredentialsParams) SetDefaults()
- func (o *ValidateAKSCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ValidateAKSCredentialsParams) SetSubscriptionID(subscriptionID *string)
- func (o *ValidateAKSCredentialsParams) SetTenantID(tenantID *string)
- func (o *ValidateAKSCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ValidateAKSCredentialsParams) WithClientID(clientID *string) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithClientSecret(clientSecret *string) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithContext(ctx context.Context) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithCredential(credential *string) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithDefaults() *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithHTTPClient(client *http.Client) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithSubscriptionID(subscriptionID *string) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithTenantID(tenantID *string) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WithTimeout(timeout time.Duration) *ValidateAKSCredentialsParams
- func (o *ValidateAKSCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateAKSCredentialsReader
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 ¶
func (o *ValidateAKSCredentialsDefault) Code() int
Code gets the status code for the validate a k s credentials default response
func (*ValidateAKSCredentialsDefault) Error ¶
func (o *ValidateAKSCredentialsDefault) Error() string
func (*ValidateAKSCredentialsDefault) GetPayload ¶
func (o *ValidateAKSCredentialsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ValidateAKSCredentialsParams) WithClientID(clientID *string) *ValidateAKSCredentialsParams
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 ¶
func (o *ValidateAKSCredentialsParams) WithContext(ctx context.Context) *ValidateAKSCredentialsParams
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 ¶
func (o *ValidateAKSCredentialsParams) WithDefaults() *ValidateAKSCredentialsParams
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 ¶
func (o *ValidateAKSCredentialsParams) WithHTTPClient(client *http.Client) *ValidateAKSCredentialsParams
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 ¶
func (o *ValidateAKSCredentialsParams) WithTenantID(tenantID *string) *ValidateAKSCredentialsParams
WithTenantID adds the tenantID to the validate a k s credentials params
func (*ValidateAKSCredentialsParams) WithTimeout ¶
func (o *ValidateAKSCredentialsParams) WithTimeout(timeout time.Duration) *ValidateAKSCredentialsParams
WithTimeout adds the timeout to the validate a k s credentials params
func (*ValidateAKSCredentialsParams) WriteToRequest ¶
func (o *ValidateAKSCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.