Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCredential(params *CreateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCredentialCreated, error)
- func (a *Client) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
- func (a *Client) GetCredential(params *GetCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOK, error)
- func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCredential(params *UpdateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCredentialCreated, *UpdateCredentialNoContent, error)
- type ClientService
- type CreateCredentialBadRequest
- type CreateCredentialCreated
- type CreateCredentialParams
- func NewCreateCredentialParams() *CreateCredentialParams
- func NewCreateCredentialParamsWithContext(ctx context.Context) *CreateCredentialParams
- func NewCreateCredentialParamsWithHTTPClient(client *http.Client) *CreateCredentialParams
- func NewCreateCredentialParamsWithTimeout(timeout time.Duration) *CreateCredentialParams
- func (o *CreateCredentialParams) SetBody(body dynatrace.Credentials)
- func (o *CreateCredentialParams) SetContext(ctx context.Context)
- func (o *CreateCredentialParams) SetHTTPClient(client *http.Client)
- func (o *CreateCredentialParams) SetTimeout(timeout time.Duration)
- func (o *CreateCredentialParams) WithBody(body dynatrace.Credentials) *CreateCredentialParams
- func (o *CreateCredentialParams) WithContext(ctx context.Context) *CreateCredentialParams
- func (o *CreateCredentialParams) WithHTTPClient(client *http.Client) *CreateCredentialParams
- func (o *CreateCredentialParams) WithTimeout(timeout time.Duration) *CreateCredentialParams
- func (o *CreateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCredentialReader
- type DeleteCredentialNoContent
- type DeleteCredentialParams
- func NewDeleteCredentialParams() *DeleteCredentialParams
- func NewDeleteCredentialParamsWithContext(ctx context.Context) *DeleteCredentialParams
- func NewDeleteCredentialParamsWithHTTPClient(client *http.Client) *DeleteCredentialParams
- func NewDeleteCredentialParamsWithTimeout(timeout time.Duration) *DeleteCredentialParams
- func (o *DeleteCredentialParams) SetContext(ctx context.Context)
- func (o *DeleteCredentialParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCredentialParams) SetID(id string)
- func (o *DeleteCredentialParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCredentialParams) WithContext(ctx context.Context) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithHTTPClient(client *http.Client) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithID(id string) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithTimeout(timeout time.Duration) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCredentialReader
- type GetCredentialOK
- type GetCredentialParams
- func (o *GetCredentialParams) SetContext(ctx context.Context)
- func (o *GetCredentialParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialParams) SetID(id string)
- func (o *GetCredentialParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialParams) WithContext(ctx context.Context) *GetCredentialParams
- func (o *GetCredentialParams) WithHTTPClient(client *http.Client) *GetCredentialParams
- func (o *GetCredentialParams) WithID(id string) *GetCredentialParams
- func (o *GetCredentialParams) WithTimeout(timeout time.Duration) *GetCredentialParams
- func (o *GetCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialReader
- type GetCredentialsOK
- type GetCredentialsParams
- func NewGetCredentialsParams() *GetCredentialsParams
- func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
- func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
- func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) SetContext(ctx context.Context)
- func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialsParams) SetType(typeVar *string)
- func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
- func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
- func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) WithType(typeVar *string) *GetCredentialsParams
- func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialsReader
- type UpdateCredentialBadRequest
- type UpdateCredentialCreated
- type UpdateCredentialNoContent
- type UpdateCredentialParams
- func NewUpdateCredentialParams() *UpdateCredentialParams
- func NewUpdateCredentialParamsWithContext(ctx context.Context) *UpdateCredentialParams
- func NewUpdateCredentialParamsWithHTTPClient(client *http.Client) *UpdateCredentialParams
- func NewUpdateCredentialParamsWithTimeout(timeout time.Duration) *UpdateCredentialParams
- func (o *UpdateCredentialParams) SetBody(body dynatrace.Credentials)
- func (o *UpdateCredentialParams) SetContext(ctx context.Context)
- func (o *UpdateCredentialParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCredentialParams) SetID(id string)
- func (o *UpdateCredentialParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCredentialParams) WithBody(body dynatrace.Credentials) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithContext(ctx context.Context) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithHTTPClient(client *http.Client) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithID(id string) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithTimeout(timeout time.Duration) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCredentialReader
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 credential vault API
func (*Client) CreateCredential ¶
func (a *Client) CreateCredential(params *CreateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCredentialCreated, error)
CreateCredential creates a new credentials set pipe maturity e a r l y a d o p t e r
The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.
func (*Client) DeleteCredential ¶
func (a *Client) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
DeleteCredential deletes the specified credentials set pipe maturity e a r l y a d o p t e r
func (*Client) GetCredential ¶
func (a *Client) GetCredential(params *GetCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOK, error)
GetCredential gets the metadata of the specified credentials set pipe maturity e a r l y a d o p t e r
The credentials set itself (username/certificate and password) is not included in the response.
func (*Client) GetCredentials ¶
func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
GetCredentials lists all sets of credentials for synthetic monitors stored in your environment 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) UpdateCredential ¶
func (a *Client) UpdateCredential(params *UpdateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCredentialCreated, *UpdateCredentialNoContent, error)
UpdateCredential updates the specified credentials set pipe maturity e a r l y a d o p t e r
type ClientService ¶
type ClientService interface { CreateCredential(params *CreateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCredentialCreated, error) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error) GetCredential(params *GetCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOK, error) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error) UpdateCredential(params *UpdateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCredentialCreated, *UpdateCredentialNoContent, 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 credential vault API client.
type CreateCredentialBadRequest ¶
type CreateCredentialBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
CreateCredentialBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewCreateCredentialBadRequest ¶
func NewCreateCredentialBadRequest() *CreateCredentialBadRequest
NewCreateCredentialBadRequest creates a CreateCredentialBadRequest with default headers values
func (*CreateCredentialBadRequest) Error ¶
func (o *CreateCredentialBadRequest) Error() string
func (*CreateCredentialBadRequest) GetPayload ¶
func (o *CreateCredentialBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type CreateCredentialCreated ¶
type CreateCredentialCreated struct {
Payload *dynatrace.CredentialsResponseElement
}
CreateCredentialCreated handles this case with default header values.
Success. The new credentials set has been created. The response contains the ID of the set.
func NewCreateCredentialCreated ¶
func NewCreateCredentialCreated() *CreateCredentialCreated
NewCreateCredentialCreated creates a CreateCredentialCreated with default headers values
func (*CreateCredentialCreated) Error ¶
func (o *CreateCredentialCreated) Error() string
func (*CreateCredentialCreated) GetPayload ¶
func (o *CreateCredentialCreated) GetPayload() *dynatrace.CredentialsResponseElement
type CreateCredentialParams ¶
type CreateCredentialParams struct { /*Body The JSON body of the request. Contains parameters of the new credentials set. */ Body dynatrace.Credentials Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCredentialParams contains all the parameters to send to the API endpoint for the create credential operation typically these are written to a http.Request
func NewCreateCredentialParams ¶
func NewCreateCredentialParams() *CreateCredentialParams
NewCreateCredentialParams creates a new CreateCredentialParams object with the default values initialized.
func NewCreateCredentialParamsWithContext ¶
func NewCreateCredentialParamsWithContext(ctx context.Context) *CreateCredentialParams
NewCreateCredentialParamsWithContext creates a new CreateCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewCreateCredentialParamsWithHTTPClient ¶
func NewCreateCredentialParamsWithHTTPClient(client *http.Client) *CreateCredentialParams
NewCreateCredentialParamsWithHTTPClient creates a new CreateCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateCredentialParamsWithTimeout ¶
func NewCreateCredentialParamsWithTimeout(timeout time.Duration) *CreateCredentialParams
NewCreateCredentialParamsWithTimeout creates a new CreateCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateCredentialParams) SetBody ¶
func (o *CreateCredentialParams) SetBody(body dynatrace.Credentials)
SetBody adds the body to the create credential params
func (*CreateCredentialParams) SetContext ¶
func (o *CreateCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the create credential params
func (*CreateCredentialParams) SetHTTPClient ¶
func (o *CreateCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create credential params
func (*CreateCredentialParams) SetTimeout ¶
func (o *CreateCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create credential params
func (*CreateCredentialParams) WithBody ¶
func (o *CreateCredentialParams) WithBody(body dynatrace.Credentials) *CreateCredentialParams
WithBody adds the body to the create credential params
func (*CreateCredentialParams) WithContext ¶
func (o *CreateCredentialParams) WithContext(ctx context.Context) *CreateCredentialParams
WithContext adds the context to the create credential params
func (*CreateCredentialParams) WithHTTPClient ¶
func (o *CreateCredentialParams) WithHTTPClient(client *http.Client) *CreateCredentialParams
WithHTTPClient adds the HTTPClient to the create credential params
func (*CreateCredentialParams) WithTimeout ¶
func (o *CreateCredentialParams) WithTimeout(timeout time.Duration) *CreateCredentialParams
WithTimeout adds the timeout to the create credential params
func (*CreateCredentialParams) WriteToRequest ¶
func (o *CreateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCredentialReader ¶
type CreateCredentialReader struct {
// contains filtered or unexported fields
}
CreateCredentialReader is a Reader for the CreateCredential structure.
func (*CreateCredentialReader) ReadResponse ¶
func (o *CreateCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCredentialNoContent ¶
type DeleteCredentialNoContent struct { }
DeleteCredentialNoContent handles this case with default header values.
Success. The credentials set has been deleted. Response doesn't have a body.
func NewDeleteCredentialNoContent ¶
func NewDeleteCredentialNoContent() *DeleteCredentialNoContent
NewDeleteCredentialNoContent creates a DeleteCredentialNoContent with default headers values
func (*DeleteCredentialNoContent) Error ¶
func (o *DeleteCredentialNoContent) Error() string
type DeleteCredentialParams ¶
type DeleteCredentialParams struct { /*ID The ID of the credentials set to be deleted. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCredentialParams contains all the parameters to send to the API endpoint for the delete credential operation typically these are written to a http.Request
func NewDeleteCredentialParams ¶
func NewDeleteCredentialParams() *DeleteCredentialParams
NewDeleteCredentialParams creates a new DeleteCredentialParams object with the default values initialized.
func NewDeleteCredentialParamsWithContext ¶
func NewDeleteCredentialParamsWithContext(ctx context.Context) *DeleteCredentialParams
NewDeleteCredentialParamsWithContext creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCredentialParamsWithHTTPClient ¶
func NewDeleteCredentialParamsWithHTTPClient(client *http.Client) *DeleteCredentialParams
NewDeleteCredentialParamsWithHTTPClient creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCredentialParamsWithTimeout ¶
func NewDeleteCredentialParamsWithTimeout(timeout time.Duration) *DeleteCredentialParams
NewDeleteCredentialParamsWithTimeout creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCredentialParams) SetContext ¶
func (o *DeleteCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the delete credential params
func (*DeleteCredentialParams) SetHTTPClient ¶
func (o *DeleteCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete credential params
func (*DeleteCredentialParams) SetID ¶
func (o *DeleteCredentialParams) SetID(id string)
SetID adds the id to the delete credential params
func (*DeleteCredentialParams) SetTimeout ¶
func (o *DeleteCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete credential params
func (*DeleteCredentialParams) WithContext ¶
func (o *DeleteCredentialParams) WithContext(ctx context.Context) *DeleteCredentialParams
WithContext adds the context to the delete credential params
func (*DeleteCredentialParams) WithHTTPClient ¶
func (o *DeleteCredentialParams) WithHTTPClient(client *http.Client) *DeleteCredentialParams
WithHTTPClient adds the HTTPClient to the delete credential params
func (*DeleteCredentialParams) WithID ¶
func (o *DeleteCredentialParams) WithID(id string) *DeleteCredentialParams
WithID adds the id to the delete credential params
func (*DeleteCredentialParams) WithTimeout ¶
func (o *DeleteCredentialParams) WithTimeout(timeout time.Duration) *DeleteCredentialParams
WithTimeout adds the timeout to the delete credential params
func (*DeleteCredentialParams) WriteToRequest ¶
func (o *DeleteCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCredentialReader ¶
type DeleteCredentialReader struct {
// contains filtered or unexported fields
}
DeleteCredentialReader is a Reader for the DeleteCredential structure.
func (*DeleteCredentialReader) ReadResponse ¶
func (o *DeleteCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialOK ¶
type GetCredentialOK struct {
Payload *dynatrace.CredentialsResponseElement
}
GetCredentialOK handles this case with default header values.
Success. The response contains the metadata of the credentials set.
func NewGetCredentialOK ¶
func NewGetCredentialOK() *GetCredentialOK
NewGetCredentialOK creates a GetCredentialOK with default headers values
func (*GetCredentialOK) Error ¶
func (o *GetCredentialOK) Error() string
func (*GetCredentialOK) GetPayload ¶
func (o *GetCredentialOK) GetPayload() *dynatrace.CredentialsResponseElement
type GetCredentialParams ¶
type GetCredentialParams struct { /*ID The Dynatrace entity ID of the required credentials set. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialParams contains all the parameters to send to the API endpoint for the get credential operation typically these are written to a http.Request
func NewGetCredentialParams ¶
func NewGetCredentialParams() *GetCredentialParams
NewGetCredentialParams creates a new GetCredentialParams object with the default values initialized.
func NewGetCredentialParamsWithContext ¶
func NewGetCredentialParamsWithContext(ctx context.Context) *GetCredentialParams
NewGetCredentialParamsWithContext creates a new GetCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewGetCredentialParamsWithHTTPClient ¶
func NewGetCredentialParamsWithHTTPClient(client *http.Client) *GetCredentialParams
NewGetCredentialParamsWithHTTPClient creates a new GetCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCredentialParamsWithTimeout ¶
func NewGetCredentialParamsWithTimeout(timeout time.Duration) *GetCredentialParams
NewGetCredentialParamsWithTimeout creates a new GetCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCredentialParams) SetContext ¶
func (o *GetCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the get credential params
func (*GetCredentialParams) SetHTTPClient ¶
func (o *GetCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credential params
func (*GetCredentialParams) SetID ¶
func (o *GetCredentialParams) SetID(id string)
SetID adds the id to the get credential params
func (*GetCredentialParams) SetTimeout ¶
func (o *GetCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credential params
func (*GetCredentialParams) WithContext ¶
func (o *GetCredentialParams) WithContext(ctx context.Context) *GetCredentialParams
WithContext adds the context to the get credential params
func (*GetCredentialParams) WithHTTPClient ¶
func (o *GetCredentialParams) WithHTTPClient(client *http.Client) *GetCredentialParams
WithHTTPClient adds the HTTPClient to the get credential params
func (*GetCredentialParams) WithID ¶
func (o *GetCredentialParams) WithID(id string) *GetCredentialParams
WithID adds the id to the get credential params
func (*GetCredentialParams) WithTimeout ¶
func (o *GetCredentialParams) WithTimeout(timeout time.Duration) *GetCredentialParams
WithTimeout adds the timeout to the get credential params
func (*GetCredentialParams) WriteToRequest ¶
func (o *GetCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialReader ¶
type GetCredentialReader struct {
// contains filtered or unexported fields
}
GetCredentialReader is a Reader for the GetCredential structure.
func (*GetCredentialReader) ReadResponse ¶
func (o *GetCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialsOK ¶
type GetCredentialsOK struct {
Payload *dynatrace.CredentialsList
}
GetCredentialsOK handles this case with default header values.
successful operation
func NewGetCredentialsOK ¶
func NewGetCredentialsOK() *GetCredentialsOK
NewGetCredentialsOK creates a GetCredentialsOK with default headers values
func (*GetCredentialsOK) Error ¶
func (o *GetCredentialsOK) Error() string
func (*GetCredentialsOK) GetPayload ¶
func (o *GetCredentialsOK) GetPayload() *dynatrace.CredentialsList
type GetCredentialsParams ¶
type GetCredentialsParams struct { /*Type Filters the result by the specified credentials type. */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialsParams contains all the parameters to send to the API endpoint for the get credentials operation typically these are written to a http.Request
func NewGetCredentialsParams ¶
func NewGetCredentialsParams() *GetCredentialsParams
NewGetCredentialsParams creates a new GetCredentialsParams object with the default values initialized.
func NewGetCredentialsParamsWithContext ¶
func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCredentialsParamsWithHTTPClient ¶
func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
NewGetCredentialsParamsWithHTTPClient creates a new GetCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCredentialsParamsWithTimeout ¶
func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
NewGetCredentialsParamsWithTimeout creates a new GetCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCredentialsParams) SetContext ¶
func (o *GetCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get credentials params
func (*GetCredentialsParams) SetHTTPClient ¶
func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) SetTimeout ¶
func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) SetType ¶
func (o *GetCredentialsParams) SetType(typeVar *string)
SetType adds the type to the get credentials params
func (*GetCredentialsParams) WithContext ¶
func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
WithContext adds the context to the get credentials params
func (*GetCredentialsParams) WithHTTPClient ¶
func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
WithHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) WithTimeout ¶
func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
WithTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WithType ¶
func (o *GetCredentialsParams) WithType(typeVar *string) *GetCredentialsParams
WithType adds the typeVar to the get credentials params
func (*GetCredentialsParams) WriteToRequest ¶
func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialsReader ¶
type GetCredentialsReader struct {
// contains filtered or unexported fields
}
GetCredentialsReader is a Reader for the GetCredentials structure.
func (*GetCredentialsReader) ReadResponse ¶
func (o *GetCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCredentialBadRequest ¶
type UpdateCredentialBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
UpdateCredentialBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewUpdateCredentialBadRequest ¶
func NewUpdateCredentialBadRequest() *UpdateCredentialBadRequest
NewUpdateCredentialBadRequest creates a UpdateCredentialBadRequest with default headers values
func (*UpdateCredentialBadRequest) Error ¶
func (o *UpdateCredentialBadRequest) Error() string
func (*UpdateCredentialBadRequest) GetPayload ¶
func (o *UpdateCredentialBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type UpdateCredentialCreated ¶
type UpdateCredentialCreated struct {
Payload *dynatrace.CredentialsResponseElement
}
UpdateCredentialCreated handles this case with default header values.
Success. The new credentials set has been created. The response contains the ID of the set.
func NewUpdateCredentialCreated ¶
func NewUpdateCredentialCreated() *UpdateCredentialCreated
NewUpdateCredentialCreated creates a UpdateCredentialCreated with default headers values
func (*UpdateCredentialCreated) Error ¶
func (o *UpdateCredentialCreated) Error() string
func (*UpdateCredentialCreated) GetPayload ¶
func (o *UpdateCredentialCreated) GetPayload() *dynatrace.CredentialsResponseElement
type UpdateCredentialNoContent ¶
type UpdateCredentialNoContent struct { }
UpdateCredentialNoContent handles this case with default header values.
Success. The credentials set has been updated. Response doesn't have a body.
func NewUpdateCredentialNoContent ¶
func NewUpdateCredentialNoContent() *UpdateCredentialNoContent
NewUpdateCredentialNoContent creates a UpdateCredentialNoContent with default headers values
func (*UpdateCredentialNoContent) Error ¶
func (o *UpdateCredentialNoContent) Error() string
type UpdateCredentialParams ¶
type UpdateCredentialParams struct { /*Body The JSON body of the request. Contains updated parameters of the credentials set. */ Body dynatrace.Credentials /*ID The Dynatrace entity ID of the credentials set to be updated. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCredentialParams contains all the parameters to send to the API endpoint for the update credential operation typically these are written to a http.Request
func NewUpdateCredentialParams ¶
func NewUpdateCredentialParams() *UpdateCredentialParams
NewUpdateCredentialParams creates a new UpdateCredentialParams object with the default values initialized.
func NewUpdateCredentialParamsWithContext ¶
func NewUpdateCredentialParamsWithContext(ctx context.Context) *UpdateCredentialParams
NewUpdateCredentialParamsWithContext creates a new UpdateCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCredentialParamsWithHTTPClient ¶
func NewUpdateCredentialParamsWithHTTPClient(client *http.Client) *UpdateCredentialParams
NewUpdateCredentialParamsWithHTTPClient creates a new UpdateCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCredentialParamsWithTimeout ¶
func NewUpdateCredentialParamsWithTimeout(timeout time.Duration) *UpdateCredentialParams
NewUpdateCredentialParamsWithTimeout creates a new UpdateCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCredentialParams) SetBody ¶
func (o *UpdateCredentialParams) SetBody(body dynatrace.Credentials)
SetBody adds the body to the update credential params
func (*UpdateCredentialParams) SetContext ¶
func (o *UpdateCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the update credential params
func (*UpdateCredentialParams) SetHTTPClient ¶
func (o *UpdateCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update credential params
func (*UpdateCredentialParams) SetID ¶
func (o *UpdateCredentialParams) SetID(id string)
SetID adds the id to the update credential params
func (*UpdateCredentialParams) SetTimeout ¶
func (o *UpdateCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update credential params
func (*UpdateCredentialParams) WithBody ¶
func (o *UpdateCredentialParams) WithBody(body dynatrace.Credentials) *UpdateCredentialParams
WithBody adds the body to the update credential params
func (*UpdateCredentialParams) WithContext ¶
func (o *UpdateCredentialParams) WithContext(ctx context.Context) *UpdateCredentialParams
WithContext adds the context to the update credential params
func (*UpdateCredentialParams) WithHTTPClient ¶
func (o *UpdateCredentialParams) WithHTTPClient(client *http.Client) *UpdateCredentialParams
WithHTTPClient adds the HTTPClient to the update credential params
func (*UpdateCredentialParams) WithID ¶
func (o *UpdateCredentialParams) WithID(id string) *UpdateCredentialParams
WithID adds the id to the update credential params
func (*UpdateCredentialParams) WithTimeout ¶
func (o *UpdateCredentialParams) WithTimeout(timeout time.Duration) *UpdateCredentialParams
WithTimeout adds the timeout to the update credential params
func (*UpdateCredentialParams) WriteToRequest ¶
func (o *UpdateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCredentialReader ¶
type UpdateCredentialReader struct {
// contains filtered or unexported fields
}
UpdateCredentialReader is a Reader for the UpdateCredential structure.
func (*UpdateCredentialReader) ReadResponse ¶
func (o *UpdateCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_credential_parameters.go
- create_credential_responses.go
- credential_vault_client.go
- delete_credential_parameters.go
- delete_credential_responses.go
- get_credential_parameters.go
- get_credential_responses.go
- get_credentials_parameters.go
- get_credentials_responses.go
- update_credential_parameters.go
- update_credential_responses.go