kubernetes_credentials_configuration

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT 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 kubernetes credentials configuration API

func (*Client) CreateKubernetesCredential

CreateKubernetesCredential creates a new kubernetes credentials configuration pipe maturity e a r l y a d o p t e r

The body must not provide an ID as it will be automatically assigned by the Dynatrace server.

func (*Client) DeleteKubernetesCredential

DeleteKubernetesCredential deletes the specified kubernetes credentials configuration pipe maturity e a r l y a d o p t e r

func (*Client) GetKubernetesCredential

func (a *Client) GetKubernetesCredential(params *GetKubernetesCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*GetKubernetesCredentialOK, error)

GetKubernetesCredential gets the configuration of the specified kubernetes credentials pipe maturity e a r l y a d o p t e r

func (*Client) GetKubernetesCredentials

func (a *Client) GetKubernetesCredentials(params *GetKubernetesCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetKubernetesCredentialsOK, error)

GetKubernetesCredentials lists all available kubernetes credentials configurations pipe maturity e a r l y a d o p t e r

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateKubernetesCredential

UpdateKubernetesCredential updates an existing kubernetes credentials configuration pipe maturity e a r l y a d o p t e r

You can't change the URL of the Kubernetes cluster.

If a configuration with the specified ID doesn't exist, a new configuration is created.

func (*Client) ValidateCreateKubernetesCredential

ValidateCreateKubernetesCredential validates the payload for the p o s t kubernetes credentials request pipe maturity e a r l y a d o p t e r

func (*Client) ValidateUpdateKubernetesCredential

ValidateUpdateKubernetesCredential validates the payload for the p u t kubernetes credentials id request pipe maturity e a r l y a d o p t e r

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new kubernetes credentials configuration API client.

type CreateKubernetesCredentialBadRequest

type CreateKubernetesCredentialBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateKubernetesCredentialBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateKubernetesCredentialBadRequest

func NewCreateKubernetesCredentialBadRequest() *CreateKubernetesCredentialBadRequest

NewCreateKubernetesCredentialBadRequest creates a CreateKubernetesCredentialBadRequest with default headers values

func (*CreateKubernetesCredentialBadRequest) Error

func (*CreateKubernetesCredentialBadRequest) GetPayload

type CreateKubernetesCredentialCreated

type CreateKubernetesCredentialCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreateKubernetesCredentialCreated handles this case with default header values.

Success. The new Kubernetes credentials configuration has been created. The response body contains the ID of the configuration.

func NewCreateKubernetesCredentialCreated

func NewCreateKubernetesCredentialCreated() *CreateKubernetesCredentialCreated

NewCreateKubernetesCredentialCreated creates a CreateKubernetesCredentialCreated with default headers values

func (*CreateKubernetesCredentialCreated) Error

func (*CreateKubernetesCredentialCreated) GetPayload

type CreateKubernetesCredentialParams

type CreateKubernetesCredentialParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new Kubernetes credentials configuration.

	*/
	Body *dynatrace.KubernetesCredentials

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

CreateKubernetesCredentialParams contains all the parameters to send to the API endpoint for the create kubernetes credential operation typically these are written to a http.Request

func NewCreateKubernetesCredentialParams

func NewCreateKubernetesCredentialParams() *CreateKubernetesCredentialParams

NewCreateKubernetesCredentialParams creates a new CreateKubernetesCredentialParams object with the default values initialized.

func NewCreateKubernetesCredentialParamsWithContext

func NewCreateKubernetesCredentialParamsWithContext(ctx context.Context) *CreateKubernetesCredentialParams

NewCreateKubernetesCredentialParamsWithContext creates a new CreateKubernetesCredentialParams object with the default values initialized, and the ability to set a context for a request

func NewCreateKubernetesCredentialParamsWithHTTPClient

func NewCreateKubernetesCredentialParamsWithHTTPClient(client *http.Client) *CreateKubernetesCredentialParams

NewCreateKubernetesCredentialParamsWithHTTPClient creates a new CreateKubernetesCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateKubernetesCredentialParamsWithTimeout

func NewCreateKubernetesCredentialParamsWithTimeout(timeout time.Duration) *CreateKubernetesCredentialParams

NewCreateKubernetesCredentialParamsWithTimeout creates a new CreateKubernetesCredentialParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateKubernetesCredentialParams) SetBody

SetBody adds the body to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) SetContext

SetContext adds the context to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) SetTimeout

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

SetTimeout adds the timeout to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) WithBody

WithBody adds the body to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) WithContext

WithContext adds the context to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) WithTimeout

WithTimeout adds the timeout to the create kubernetes credential params

func (*CreateKubernetesCredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateKubernetesCredentialReader

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

CreateKubernetesCredentialReader is a Reader for the CreateKubernetesCredential structure.

func (*CreateKubernetesCredentialReader) ReadResponse

func (o *CreateKubernetesCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteKubernetesCredentialBadRequest

type DeleteKubernetesCredentialBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

DeleteKubernetesCredentialBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewDeleteKubernetesCredentialBadRequest

func NewDeleteKubernetesCredentialBadRequest() *DeleteKubernetesCredentialBadRequest

NewDeleteKubernetesCredentialBadRequest creates a DeleteKubernetesCredentialBadRequest with default headers values

func (*DeleteKubernetesCredentialBadRequest) Error

func (*DeleteKubernetesCredentialBadRequest) GetPayload

type DeleteKubernetesCredentialNoContent

type DeleteKubernetesCredentialNoContent struct {
}

DeleteKubernetesCredentialNoContent handles this case with default header values.

Deletes the specified Kubernetes credentials configuration

func NewDeleteKubernetesCredentialNoContent

func NewDeleteKubernetesCredentialNoContent() *DeleteKubernetesCredentialNoContent

NewDeleteKubernetesCredentialNoContent creates a DeleteKubernetesCredentialNoContent with default headers values

func (*DeleteKubernetesCredentialNoContent) Error

type DeleteKubernetesCredentialParams

type DeleteKubernetesCredentialParams struct {

	/*ID
	  The ID of the Kubernetes credentials configuration be deleted.

	*/
	ID string

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

DeleteKubernetesCredentialParams contains all the parameters to send to the API endpoint for the delete kubernetes credential operation typically these are written to a http.Request

func NewDeleteKubernetesCredentialParams

func NewDeleteKubernetesCredentialParams() *DeleteKubernetesCredentialParams

NewDeleteKubernetesCredentialParams creates a new DeleteKubernetesCredentialParams object with the default values initialized.

func NewDeleteKubernetesCredentialParamsWithContext

func NewDeleteKubernetesCredentialParamsWithContext(ctx context.Context) *DeleteKubernetesCredentialParams

NewDeleteKubernetesCredentialParamsWithContext creates a new DeleteKubernetesCredentialParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteKubernetesCredentialParamsWithHTTPClient

func NewDeleteKubernetesCredentialParamsWithHTTPClient(client *http.Client) *DeleteKubernetesCredentialParams

NewDeleteKubernetesCredentialParamsWithHTTPClient creates a new DeleteKubernetesCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteKubernetesCredentialParamsWithTimeout

func NewDeleteKubernetesCredentialParamsWithTimeout(timeout time.Duration) *DeleteKubernetesCredentialParams

NewDeleteKubernetesCredentialParamsWithTimeout creates a new DeleteKubernetesCredentialParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteKubernetesCredentialParams) SetContext

SetContext adds the context to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) SetID

SetID adds the id to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) SetTimeout

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

SetTimeout adds the timeout to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) WithContext

WithContext adds the context to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) WithID

WithID adds the id to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) WithTimeout

WithTimeout adds the timeout to the delete kubernetes credential params

func (*DeleteKubernetesCredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteKubernetesCredentialReader

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

DeleteKubernetesCredentialReader is a Reader for the DeleteKubernetesCredential structure.

func (*DeleteKubernetesCredentialReader) ReadResponse

func (o *DeleteKubernetesCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetKubernetesCredentialOK

type GetKubernetesCredentialOK struct {
	Payload *dynatrace.KubernetesCredentials
}

GetKubernetesCredentialOK handles this case with default header values.

successful operation

func NewGetKubernetesCredentialOK

func NewGetKubernetesCredentialOK() *GetKubernetesCredentialOK

NewGetKubernetesCredentialOK creates a GetKubernetesCredentialOK with default headers values

func (*GetKubernetesCredentialOK) Error

func (o *GetKubernetesCredentialOK) Error() string

func (*GetKubernetesCredentialOK) GetPayload

type GetKubernetesCredentialParams

type GetKubernetesCredentialParams struct {

	/*ID
	  The ID of the required Kubernetes credentials configuration.

	*/
	ID string

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

GetKubernetesCredentialParams contains all the parameters to send to the API endpoint for the get kubernetes credential operation typically these are written to a http.Request

func NewGetKubernetesCredentialParams

func NewGetKubernetesCredentialParams() *GetKubernetesCredentialParams

NewGetKubernetesCredentialParams creates a new GetKubernetesCredentialParams object with the default values initialized.

func NewGetKubernetesCredentialParamsWithContext

func NewGetKubernetesCredentialParamsWithContext(ctx context.Context) *GetKubernetesCredentialParams

NewGetKubernetesCredentialParamsWithContext creates a new GetKubernetesCredentialParams object with the default values initialized, and the ability to set a context for a request

func NewGetKubernetesCredentialParamsWithHTTPClient

func NewGetKubernetesCredentialParamsWithHTTPClient(client *http.Client) *GetKubernetesCredentialParams

NewGetKubernetesCredentialParamsWithHTTPClient creates a new GetKubernetesCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetKubernetesCredentialParamsWithTimeout

func NewGetKubernetesCredentialParamsWithTimeout(timeout time.Duration) *GetKubernetesCredentialParams

NewGetKubernetesCredentialParamsWithTimeout creates a new GetKubernetesCredentialParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetKubernetesCredentialParams) SetContext

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

SetContext adds the context to the get kubernetes credential params

func (*GetKubernetesCredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get kubernetes credential params

func (*GetKubernetesCredentialParams) SetID

SetID adds the id to the get kubernetes credential params

func (*GetKubernetesCredentialParams) SetTimeout

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

SetTimeout adds the timeout to the get kubernetes credential params

func (*GetKubernetesCredentialParams) WithContext

WithContext adds the context to the get kubernetes credential params

func (*GetKubernetesCredentialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get kubernetes credential params

func (*GetKubernetesCredentialParams) WithID

WithID adds the id to the get kubernetes credential params

func (*GetKubernetesCredentialParams) WithTimeout

WithTimeout adds the timeout to the get kubernetes credential params

func (*GetKubernetesCredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKubernetesCredentialReader

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

GetKubernetesCredentialReader is a Reader for the GetKubernetesCredential structure.

func (*GetKubernetesCredentialReader) ReadResponse

func (o *GetKubernetesCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetKubernetesCredentialsOK

type GetKubernetesCredentialsOK struct {
	Payload *dynatrace.StubList
}

GetKubernetesCredentialsOK handles this case with default header values.

successful operation

func NewGetKubernetesCredentialsOK

func NewGetKubernetesCredentialsOK() *GetKubernetesCredentialsOK

NewGetKubernetesCredentialsOK creates a GetKubernetesCredentialsOK with default headers values

func (*GetKubernetesCredentialsOK) Error

func (*GetKubernetesCredentialsOK) GetPayload

type GetKubernetesCredentialsParams

type GetKubernetesCredentialsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetKubernetesCredentialsParams contains all the parameters to send to the API endpoint for the get kubernetes credentials operation typically these are written to a http.Request

func NewGetKubernetesCredentialsParams

func NewGetKubernetesCredentialsParams() *GetKubernetesCredentialsParams

NewGetKubernetesCredentialsParams creates a new GetKubernetesCredentialsParams object with the default values initialized.

func NewGetKubernetesCredentialsParamsWithContext

func NewGetKubernetesCredentialsParamsWithContext(ctx context.Context) *GetKubernetesCredentialsParams

NewGetKubernetesCredentialsParamsWithContext creates a new GetKubernetesCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewGetKubernetesCredentialsParamsWithHTTPClient

func NewGetKubernetesCredentialsParamsWithHTTPClient(client *http.Client) *GetKubernetesCredentialsParams

NewGetKubernetesCredentialsParamsWithHTTPClient creates a new GetKubernetesCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetKubernetesCredentialsParamsWithTimeout

func NewGetKubernetesCredentialsParamsWithTimeout(timeout time.Duration) *GetKubernetesCredentialsParams

NewGetKubernetesCredentialsParamsWithTimeout creates a new GetKubernetesCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetKubernetesCredentialsParams) SetContext

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

SetContext adds the context to the get kubernetes credentials params

func (*GetKubernetesCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get kubernetes credentials params

func (*GetKubernetesCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the get kubernetes credentials params

func (*GetKubernetesCredentialsParams) WithContext

WithContext adds the context to the get kubernetes credentials params

func (*GetKubernetesCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get kubernetes credentials params

func (*GetKubernetesCredentialsParams) WithTimeout

WithTimeout adds the timeout to the get kubernetes credentials params

func (*GetKubernetesCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKubernetesCredentialsReader

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

GetKubernetesCredentialsReader is a Reader for the GetKubernetesCredentials structure.

func (*GetKubernetesCredentialsReader) ReadResponse

func (o *GetKubernetesCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateKubernetesCredentialBadRequest

type UpdateKubernetesCredentialBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateKubernetesCredentialBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateKubernetesCredentialBadRequest

func NewUpdateKubernetesCredentialBadRequest() *UpdateKubernetesCredentialBadRequest

NewUpdateKubernetesCredentialBadRequest creates a UpdateKubernetesCredentialBadRequest with default headers values

func (*UpdateKubernetesCredentialBadRequest) Error

func (*UpdateKubernetesCredentialBadRequest) GetPayload

type UpdateKubernetesCredentialCreated

type UpdateKubernetesCredentialCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UpdateKubernetesCredentialCreated handles this case with default header values.

Success. The new Kubernetes credentials configuration has been created. The response body contains the ID of the configuration.

func NewUpdateKubernetesCredentialCreated

func NewUpdateKubernetesCredentialCreated() *UpdateKubernetesCredentialCreated

NewUpdateKubernetesCredentialCreated creates a UpdateKubernetesCredentialCreated with default headers values

func (*UpdateKubernetesCredentialCreated) Error

func (*UpdateKubernetesCredentialCreated) GetPayload

type UpdateKubernetesCredentialNoContent

type UpdateKubernetesCredentialNoContent struct {
}

UpdateKubernetesCredentialNoContent handles this case with default header values.

Success. The Kubernetes credentials configuration has been updated. Response doesn't have a body.

func NewUpdateKubernetesCredentialNoContent

func NewUpdateKubernetesCredentialNoContent() *UpdateKubernetesCredentialNoContent

NewUpdateKubernetesCredentialNoContent creates a UpdateKubernetesCredentialNoContent with default headers values

func (*UpdateKubernetesCredentialNoContent) Error

type UpdateKubernetesCredentialParams

type UpdateKubernetesCredentialParams struct {

	/*Body
	  The JSON body of the request. Contains updated parameters of the Kubernetes credentials configuration.

	*/
	Body *dynatrace.KubernetesCredentials
	/*ID
	  The ID of the Kubernetes credentials configuration to be updated.

	*/
	ID string

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

UpdateKubernetesCredentialParams contains all the parameters to send to the API endpoint for the update kubernetes credential operation typically these are written to a http.Request

func NewUpdateKubernetesCredentialParams

func NewUpdateKubernetesCredentialParams() *UpdateKubernetesCredentialParams

NewUpdateKubernetesCredentialParams creates a new UpdateKubernetesCredentialParams object with the default values initialized.

func NewUpdateKubernetesCredentialParamsWithContext

func NewUpdateKubernetesCredentialParamsWithContext(ctx context.Context) *UpdateKubernetesCredentialParams

NewUpdateKubernetesCredentialParamsWithContext creates a new UpdateKubernetesCredentialParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateKubernetesCredentialParamsWithHTTPClient

func NewUpdateKubernetesCredentialParamsWithHTTPClient(client *http.Client) *UpdateKubernetesCredentialParams

NewUpdateKubernetesCredentialParamsWithHTTPClient creates a new UpdateKubernetesCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateKubernetesCredentialParamsWithTimeout

func NewUpdateKubernetesCredentialParamsWithTimeout(timeout time.Duration) *UpdateKubernetesCredentialParams

NewUpdateKubernetesCredentialParamsWithTimeout creates a new UpdateKubernetesCredentialParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateKubernetesCredentialParams) SetBody

SetBody adds the body to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) SetContext

SetContext adds the context to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) SetID

SetID adds the id to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) SetTimeout

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

SetTimeout adds the timeout to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) WithBody

WithBody adds the body to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) WithContext

WithContext adds the context to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) WithID

WithID adds the id to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) WithTimeout

WithTimeout adds the timeout to the update kubernetes credential params

func (*UpdateKubernetesCredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateKubernetesCredentialReader

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

UpdateKubernetesCredentialReader is a Reader for the UpdateKubernetesCredential structure.

func (*UpdateKubernetesCredentialReader) ReadResponse

func (o *UpdateKubernetesCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateCreateKubernetesCredentialBadRequest

type ValidateCreateKubernetesCredentialBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateKubernetesCredentialBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateKubernetesCredentialBadRequest

func NewValidateCreateKubernetesCredentialBadRequest() *ValidateCreateKubernetesCredentialBadRequest

NewValidateCreateKubernetesCredentialBadRequest creates a ValidateCreateKubernetesCredentialBadRequest with default headers values

func (*ValidateCreateKubernetesCredentialBadRequest) Error

func (*ValidateCreateKubernetesCredentialBadRequest) GetPayload

type ValidateCreateKubernetesCredentialNoContent

type ValidateCreateKubernetesCredentialNoContent struct {
}

ValidateCreateKubernetesCredentialNoContent handles this case with default header values.

Validated. The submitted configuration is valid. The response doesn't have a body.

func NewValidateCreateKubernetesCredentialNoContent

func NewValidateCreateKubernetesCredentialNoContent() *ValidateCreateKubernetesCredentialNoContent

NewValidateCreateKubernetesCredentialNoContent creates a ValidateCreateKubernetesCredentialNoContent with default headers values

func (*ValidateCreateKubernetesCredentialNoContent) Error

type ValidateCreateKubernetesCredentialParams

type ValidateCreateKubernetesCredentialParams struct {

	/*Body
	  The JSON body of the request. Contains the Kubernetes credentials configuration to be validated.

	*/
	Body *dynatrace.KubernetesCredentials

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

ValidateCreateKubernetesCredentialParams contains all the parameters to send to the API endpoint for the validate create kubernetes credential operation typically these are written to a http.Request

func NewValidateCreateKubernetesCredentialParams

func NewValidateCreateKubernetesCredentialParams() *ValidateCreateKubernetesCredentialParams

NewValidateCreateKubernetesCredentialParams creates a new ValidateCreateKubernetesCredentialParams object with the default values initialized.

func NewValidateCreateKubernetesCredentialParamsWithContext

func NewValidateCreateKubernetesCredentialParamsWithContext(ctx context.Context) *ValidateCreateKubernetesCredentialParams

NewValidateCreateKubernetesCredentialParamsWithContext creates a new ValidateCreateKubernetesCredentialParams object with the default values initialized, and the ability to set a context for a request

func NewValidateCreateKubernetesCredentialParamsWithHTTPClient

func NewValidateCreateKubernetesCredentialParamsWithHTTPClient(client *http.Client) *ValidateCreateKubernetesCredentialParams

NewValidateCreateKubernetesCredentialParamsWithHTTPClient creates a new ValidateCreateKubernetesCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateCreateKubernetesCredentialParamsWithTimeout

func NewValidateCreateKubernetesCredentialParamsWithTimeout(timeout time.Duration) *ValidateCreateKubernetesCredentialParams

NewValidateCreateKubernetesCredentialParamsWithTimeout creates a new ValidateCreateKubernetesCredentialParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateCreateKubernetesCredentialParams) SetBody

SetBody adds the body to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) SetContext

SetContext adds the context to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) SetTimeout

SetTimeout adds the timeout to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) WithBody

WithBody adds the body to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) WithContext

WithContext adds the context to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) WithTimeout

WithTimeout adds the timeout to the validate create kubernetes credential params

func (*ValidateCreateKubernetesCredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateKubernetesCredentialReader

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

ValidateCreateKubernetesCredentialReader is a Reader for the ValidateCreateKubernetesCredential structure.

func (*ValidateCreateKubernetesCredentialReader) ReadResponse

func (o *ValidateCreateKubernetesCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateUpdateKubernetesCredentialBadRequest

type ValidateUpdateKubernetesCredentialBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateKubernetesCredentialBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateKubernetesCredentialBadRequest

func NewValidateUpdateKubernetesCredentialBadRequest() *ValidateUpdateKubernetesCredentialBadRequest

NewValidateUpdateKubernetesCredentialBadRequest creates a ValidateUpdateKubernetesCredentialBadRequest with default headers values

func (*ValidateUpdateKubernetesCredentialBadRequest) Error

func (*ValidateUpdateKubernetesCredentialBadRequest) GetPayload

type ValidateUpdateKubernetesCredentialNoContent

type ValidateUpdateKubernetesCredentialNoContent struct {
}

ValidateUpdateKubernetesCredentialNoContent handles this case with default header values.

Validated. The submitted configuration is valid. The response doesn't have a body.

func NewValidateUpdateKubernetesCredentialNoContent

func NewValidateUpdateKubernetesCredentialNoContent() *ValidateUpdateKubernetesCredentialNoContent

NewValidateUpdateKubernetesCredentialNoContent creates a ValidateUpdateKubernetesCredentialNoContent with default headers values

func (*ValidateUpdateKubernetesCredentialNoContent) Error

type ValidateUpdateKubernetesCredentialParams

type ValidateUpdateKubernetesCredentialParams struct {

	/*Body
	  The JSON body of the request. Contains the Kubernetes credentials configuration to be validated.

	*/
	Body *dynatrace.KubernetesCredentials
	/*ID
	  The ID of the Kubernetes credentials configuration to be validated.

	*/
	ID string

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

ValidateUpdateKubernetesCredentialParams contains all the parameters to send to the API endpoint for the validate update kubernetes credential operation typically these are written to a http.Request

func NewValidateUpdateKubernetesCredentialParams

func NewValidateUpdateKubernetesCredentialParams() *ValidateUpdateKubernetesCredentialParams

NewValidateUpdateKubernetesCredentialParams creates a new ValidateUpdateKubernetesCredentialParams object with the default values initialized.

func NewValidateUpdateKubernetesCredentialParamsWithContext

func NewValidateUpdateKubernetesCredentialParamsWithContext(ctx context.Context) *ValidateUpdateKubernetesCredentialParams

NewValidateUpdateKubernetesCredentialParamsWithContext creates a new ValidateUpdateKubernetesCredentialParams object with the default values initialized, and the ability to set a context for a request

func NewValidateUpdateKubernetesCredentialParamsWithHTTPClient

func NewValidateUpdateKubernetesCredentialParamsWithHTTPClient(client *http.Client) *ValidateUpdateKubernetesCredentialParams

NewValidateUpdateKubernetesCredentialParamsWithHTTPClient creates a new ValidateUpdateKubernetesCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateUpdateKubernetesCredentialParamsWithTimeout

func NewValidateUpdateKubernetesCredentialParamsWithTimeout(timeout time.Duration) *ValidateUpdateKubernetesCredentialParams

NewValidateUpdateKubernetesCredentialParamsWithTimeout creates a new ValidateUpdateKubernetesCredentialParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateUpdateKubernetesCredentialParams) SetBody

SetBody adds the body to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) SetContext

SetContext adds the context to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) SetID

SetID adds the id to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) SetTimeout

SetTimeout adds the timeout to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) WithBody

WithBody adds the body to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) WithContext

WithContext adds the context to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) WithID

WithID adds the id to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) WithTimeout

WithTimeout adds the timeout to the validate update kubernetes credential params

func (*ValidateUpdateKubernetesCredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateKubernetesCredentialReader

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

ValidateUpdateKubernetesCredentialReader is a Reader for the ValidateUpdateKubernetesCredential structure.

func (*ValidateUpdateKubernetesCredentialReader) ReadResponse

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