plugins

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: 11 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 plugins API

func (*Client) CreatePluginEndpoint

func (a *Client) CreatePluginEndpoint(params *CreatePluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePluginEndpointCreated, error)

CreatePluginEndpoint creates a new endpoint for the specified active gate plugin

The body must not provide an ID of the endpoint, as IDs are automatically assigned.

func (*Client) DeletePluginBinary

DeletePluginBinary deletes the z IP file of the specified plugin

Deletion of the plugin file uninstalls the plugin, making it unavailable for use.

func (*Client) DeletePluginEndpoint

DeletePluginEndpoint deletes an existing endpoint of the active gate plugin

func (*Client) GetActiveGatePlugins

func (a *Client) GetActiveGatePlugins(params *GetActiveGatePluginsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveGatePluginsOK, error)

GetActiveGatePlugins lists available active gate plugin modules

func (*Client) GetPlugin

func (a *Client) GetPlugin(params *GetPluginParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginOK, error)

GetPlugin lists the properties of the specified plugin

func (*Client) GetPluginBinary

func (a *Client) GetPluginBinary(params *GetPluginBinaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginBinaryOK, error)

GetPluginBinary downloads the z IP file of the specified plugin

func (*Client) GetPluginEndpoint

func (a *Client) GetPluginEndpoint(params *GetPluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginEndpointOK, error)

GetPluginEndpoint gets parameters of the specified endpoint of the active gate plugin

func (*Client) GetPluginEndpoints

func (a *Client) GetPluginEndpoints(params *GetPluginEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginEndpointsOK, error)

GetPluginEndpoints lists endpoints of the specified active gate plugin

func (*Client) GetPluginStates

func (a *Client) GetPluginStates(params *GetPluginStatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginStatesOK, error)

GetPluginStates lists the states of the specified plugin

func (*Client) GetPlugins

func (a *Client) GetPlugins(params *GetPluginsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginsOK, error)

GetPlugins lists all uploaded plugins

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePluginEndpoint

UpdatePluginEndpoint updates an existing endpoint of the active gate plugin

func (*Client) UploadPlugin

func (a *Client) UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, error)

UploadPlugin uploads a z IP plugin file

func (*Client) ValidateCreatePluginEndpoint

ValidateCreatePluginEndpoint validates the payload for the p o s t plugins id endpoints request

func (*Client) ValidateUploadPlugin

ValidateUploadPlugin validates a z IP plugin file for p o s t plugins request

type ClientService

type ClientService interface {
	CreatePluginEndpoint(params *CreatePluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePluginEndpointCreated, error)

	DeletePluginBinary(params *DeletePluginBinaryParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginBinaryNoContent, error)

	DeletePluginEndpoint(params *DeletePluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginEndpointNoContent, error)

	GetActiveGatePlugins(params *GetActiveGatePluginsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveGatePluginsOK, error)

	GetPlugin(params *GetPluginParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginOK, error)

	GetPluginBinary(params *GetPluginBinaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginBinaryOK, error)

	GetPluginEndpoint(params *GetPluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginEndpointOK, error)

	GetPluginEndpoints(params *GetPluginEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginEndpointsOK, error)

	GetPluginStates(params *GetPluginStatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginStatesOK, error)

	GetPlugins(params *GetPluginsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginsOK, error)

	UpdatePluginEndpoint(params *UpdatePluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePluginEndpointNoContent, error)

	UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, error)

	ValidateCreatePluginEndpoint(params *ValidateCreatePluginEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreatePluginEndpointNoContent, error)

	ValidateUploadPlugin(params *ValidateUploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUploadPluginNoContent, 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 plugins API client.

type CreatePluginEndpointBadRequest

type CreatePluginEndpointBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreatePluginEndpointBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreatePluginEndpointBadRequest

func NewCreatePluginEndpointBadRequest() *CreatePluginEndpointBadRequest

NewCreatePluginEndpointBadRequest creates a CreatePluginEndpointBadRequest with default headers values

func (*CreatePluginEndpointBadRequest) Error

func (*CreatePluginEndpointBadRequest) GetPayload

type CreatePluginEndpointCreated

type CreatePluginEndpointCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreatePluginEndpointCreated handles this case with default header values.

Success. The plugin endpoint has been created. Response contains the ID of the new endpoint.

func NewCreatePluginEndpointCreated

func NewCreatePluginEndpointCreated() *CreatePluginEndpointCreated

NewCreatePluginEndpointCreated creates a CreatePluginEndpointCreated with default headers values

func (*CreatePluginEndpointCreated) Error

func (*CreatePluginEndpointCreated) GetPayload

type CreatePluginEndpointParams

type CreatePluginEndpointParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new plugin endpoint.

	*/
	Body *dynatrace.RemotePluginEndpoint
	/*ID
	  The ID of the plugin where you want to create an endpoint.

	*/
	ID string

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

CreatePluginEndpointParams contains all the parameters to send to the API endpoint for the create plugin endpoint operation typically these are written to a http.Request

func NewCreatePluginEndpointParams

func NewCreatePluginEndpointParams() *CreatePluginEndpointParams

NewCreatePluginEndpointParams creates a new CreatePluginEndpointParams object with the default values initialized.

func NewCreatePluginEndpointParamsWithContext

func NewCreatePluginEndpointParamsWithContext(ctx context.Context) *CreatePluginEndpointParams

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

func NewCreatePluginEndpointParamsWithHTTPClient

func NewCreatePluginEndpointParamsWithHTTPClient(client *http.Client) *CreatePluginEndpointParams

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

func NewCreatePluginEndpointParamsWithTimeout

func NewCreatePluginEndpointParamsWithTimeout(timeout time.Duration) *CreatePluginEndpointParams

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

func (*CreatePluginEndpointParams) SetBody

SetBody adds the body to the create plugin endpoint params

func (*CreatePluginEndpointParams) SetContext

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

SetContext adds the context to the create plugin endpoint params

func (*CreatePluginEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create plugin endpoint params

func (*CreatePluginEndpointParams) SetID

func (o *CreatePluginEndpointParams) SetID(id string)

SetID adds the id to the create plugin endpoint params

func (*CreatePluginEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the create plugin endpoint params

func (*CreatePluginEndpointParams) WithBody

WithBody adds the body to the create plugin endpoint params

func (*CreatePluginEndpointParams) WithContext

WithContext adds the context to the create plugin endpoint params

func (*CreatePluginEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create plugin endpoint params

func (*CreatePluginEndpointParams) WithID

WithID adds the id to the create plugin endpoint params

func (*CreatePluginEndpointParams) WithTimeout

WithTimeout adds the timeout to the create plugin endpoint params

func (*CreatePluginEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePluginEndpointReader

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

CreatePluginEndpointReader is a Reader for the CreatePluginEndpoint structure.

func (*CreatePluginEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePluginBinaryNoContent

type DeletePluginBinaryNoContent struct {
}

DeletePluginBinaryNoContent handles this case with default header values.

Deleted. Response doesn't have a body.

func NewDeletePluginBinaryNoContent

func NewDeletePluginBinaryNoContent() *DeletePluginBinaryNoContent

NewDeletePluginBinaryNoContent creates a DeletePluginBinaryNoContent with default headers values

func (*DeletePluginBinaryNoContent) Error

type DeletePluginBinaryParams

type DeletePluginBinaryParams struct {

	/*ID
	  The ID of the plugin to be deleted.

	*/
	ID string

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

DeletePluginBinaryParams contains all the parameters to send to the API endpoint for the delete plugin binary operation typically these are written to a http.Request

func NewDeletePluginBinaryParams

func NewDeletePluginBinaryParams() *DeletePluginBinaryParams

NewDeletePluginBinaryParams creates a new DeletePluginBinaryParams object with the default values initialized.

func NewDeletePluginBinaryParamsWithContext

func NewDeletePluginBinaryParamsWithContext(ctx context.Context) *DeletePluginBinaryParams

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

func NewDeletePluginBinaryParamsWithHTTPClient

func NewDeletePluginBinaryParamsWithHTTPClient(client *http.Client) *DeletePluginBinaryParams

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

func NewDeletePluginBinaryParamsWithTimeout

func NewDeletePluginBinaryParamsWithTimeout(timeout time.Duration) *DeletePluginBinaryParams

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

func (*DeletePluginBinaryParams) SetContext

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

SetContext adds the context to the delete plugin binary params

func (*DeletePluginBinaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete plugin binary params

func (*DeletePluginBinaryParams) SetID

func (o *DeletePluginBinaryParams) SetID(id string)

SetID adds the id to the delete plugin binary params

func (*DeletePluginBinaryParams) SetTimeout

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

SetTimeout adds the timeout to the delete plugin binary params

func (*DeletePluginBinaryParams) WithContext

WithContext adds the context to the delete plugin binary params

func (*DeletePluginBinaryParams) WithHTTPClient

func (o *DeletePluginBinaryParams) WithHTTPClient(client *http.Client) *DeletePluginBinaryParams

WithHTTPClient adds the HTTPClient to the delete plugin binary params

func (*DeletePluginBinaryParams) WithID

WithID adds the id to the delete plugin binary params

func (*DeletePluginBinaryParams) WithTimeout

WithTimeout adds the timeout to the delete plugin binary params

func (*DeletePluginBinaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePluginBinaryReader

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

DeletePluginBinaryReader is a Reader for the DeletePluginBinary structure.

func (*DeletePluginBinaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePluginEndpointNoContent

type DeletePluginEndpointNoContent struct {
}

DeletePluginEndpointNoContent handles this case with default header values.

Deleted. Response doesn't have a body.

func NewDeletePluginEndpointNoContent

func NewDeletePluginEndpointNoContent() *DeletePluginEndpointNoContent

NewDeletePluginEndpointNoContent creates a DeletePluginEndpointNoContent with default headers values

func (*DeletePluginEndpointNoContent) Error

type DeletePluginEndpointParams

type DeletePluginEndpointParams struct {

	/*EndpointID
	  The ID of the endpoint to be deleted.

	*/
	EndpointID string
	/*ID
	  The ID of the plugin where you want to delete an endpoint.

	*/
	ID string

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

DeletePluginEndpointParams contains all the parameters to send to the API endpoint for the delete plugin endpoint operation typically these are written to a http.Request

func NewDeletePluginEndpointParams

func NewDeletePluginEndpointParams() *DeletePluginEndpointParams

NewDeletePluginEndpointParams creates a new DeletePluginEndpointParams object with the default values initialized.

func NewDeletePluginEndpointParamsWithContext

func NewDeletePluginEndpointParamsWithContext(ctx context.Context) *DeletePluginEndpointParams

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

func NewDeletePluginEndpointParamsWithHTTPClient

func NewDeletePluginEndpointParamsWithHTTPClient(client *http.Client) *DeletePluginEndpointParams

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

func NewDeletePluginEndpointParamsWithTimeout

func NewDeletePluginEndpointParamsWithTimeout(timeout time.Duration) *DeletePluginEndpointParams

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

func (*DeletePluginEndpointParams) SetContext

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

SetContext adds the context to the delete plugin endpoint params

func (*DeletePluginEndpointParams) SetEndpointID

func (o *DeletePluginEndpointParams) SetEndpointID(endpointID string)

SetEndpointID adds the endpointId to the delete plugin endpoint params

func (*DeletePluginEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete plugin endpoint params

func (*DeletePluginEndpointParams) SetID

func (o *DeletePluginEndpointParams) SetID(id string)

SetID adds the id to the delete plugin endpoint params

func (*DeletePluginEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the delete plugin endpoint params

func (*DeletePluginEndpointParams) WithContext

WithContext adds the context to the delete plugin endpoint params

func (*DeletePluginEndpointParams) WithEndpointID

func (o *DeletePluginEndpointParams) WithEndpointID(endpointID string) *DeletePluginEndpointParams

WithEndpointID adds the endpointID to the delete plugin endpoint params

func (*DeletePluginEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete plugin endpoint params

func (*DeletePluginEndpointParams) WithID

WithID adds the id to the delete plugin endpoint params

func (*DeletePluginEndpointParams) WithTimeout

WithTimeout adds the timeout to the delete plugin endpoint params

func (*DeletePluginEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePluginEndpointReader

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

DeletePluginEndpointReader is a Reader for the DeletePluginEndpoint structure.

func (*DeletePluginEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetActiveGatePluginsOK

type GetActiveGatePluginsOK struct {
	Payload *dynatrace.StubList
}

GetActiveGatePluginsOK handles this case with default header values.

Success. The response contains IDs of ActiveGate plugin modules. Use them to configure plugin endpoints.

func NewGetActiveGatePluginsOK

func NewGetActiveGatePluginsOK() *GetActiveGatePluginsOK

NewGetActiveGatePluginsOK creates a GetActiveGatePluginsOK with default headers values

func (*GetActiveGatePluginsOK) Error

func (o *GetActiveGatePluginsOK) Error() string

func (*GetActiveGatePluginsOK) GetPayload

func (o *GetActiveGatePluginsOK) GetPayload() *dynatrace.StubList

type GetActiveGatePluginsParams

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

GetActiveGatePluginsParams contains all the parameters to send to the API endpoint for the get active gate plugins operation typically these are written to a http.Request

func NewGetActiveGatePluginsParams

func NewGetActiveGatePluginsParams() *GetActiveGatePluginsParams

NewGetActiveGatePluginsParams creates a new GetActiveGatePluginsParams object with the default values initialized.

func NewGetActiveGatePluginsParamsWithContext

func NewGetActiveGatePluginsParamsWithContext(ctx context.Context) *GetActiveGatePluginsParams

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

func NewGetActiveGatePluginsParamsWithHTTPClient

func NewGetActiveGatePluginsParamsWithHTTPClient(client *http.Client) *GetActiveGatePluginsParams

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

func NewGetActiveGatePluginsParamsWithTimeout

func NewGetActiveGatePluginsParamsWithTimeout(timeout time.Duration) *GetActiveGatePluginsParams

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

func (*GetActiveGatePluginsParams) SetContext

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

SetContext adds the context to the get active gate plugins params

func (*GetActiveGatePluginsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get active gate plugins params

func (*GetActiveGatePluginsParams) SetTimeout

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

SetTimeout adds the timeout to the get active gate plugins params

func (*GetActiveGatePluginsParams) WithContext

WithContext adds the context to the get active gate plugins params

func (*GetActiveGatePluginsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get active gate plugins params

func (*GetActiveGatePluginsParams) WithTimeout

WithTimeout adds the timeout to the get active gate plugins params

func (*GetActiveGatePluginsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetActiveGatePluginsReader

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

GetActiveGatePluginsReader is a Reader for the GetActiveGatePlugins structure.

func (*GetActiveGatePluginsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginBinaryOK

type GetPluginBinaryOK struct {
	Payload dynatrace.OutputStream
}

GetPluginBinaryOK handles this case with default header values.

successful operation

func NewGetPluginBinaryOK

func NewGetPluginBinaryOK() *GetPluginBinaryOK

NewGetPluginBinaryOK creates a GetPluginBinaryOK with default headers values

func (*GetPluginBinaryOK) Error

func (o *GetPluginBinaryOK) Error() string

func (*GetPluginBinaryOK) GetPayload

func (o *GetPluginBinaryOK) GetPayload() dynatrace.OutputStream

type GetPluginBinaryParams

type GetPluginBinaryParams struct {

	/*ID
	  The ID of the plugin you want to download.

	*/
	ID string

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

GetPluginBinaryParams contains all the parameters to send to the API endpoint for the get plugin binary operation typically these are written to a http.Request

func NewGetPluginBinaryParams

func NewGetPluginBinaryParams() *GetPluginBinaryParams

NewGetPluginBinaryParams creates a new GetPluginBinaryParams object with the default values initialized.

func NewGetPluginBinaryParamsWithContext

func NewGetPluginBinaryParamsWithContext(ctx context.Context) *GetPluginBinaryParams

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

func NewGetPluginBinaryParamsWithHTTPClient

func NewGetPluginBinaryParamsWithHTTPClient(client *http.Client) *GetPluginBinaryParams

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

func NewGetPluginBinaryParamsWithTimeout

func NewGetPluginBinaryParamsWithTimeout(timeout time.Duration) *GetPluginBinaryParams

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

func (*GetPluginBinaryParams) SetContext

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

SetContext adds the context to the get plugin binary params

func (*GetPluginBinaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin binary params

func (*GetPluginBinaryParams) SetID

func (o *GetPluginBinaryParams) SetID(id string)

SetID adds the id to the get plugin binary params

func (*GetPluginBinaryParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin binary params

func (*GetPluginBinaryParams) WithContext

WithContext adds the context to the get plugin binary params

func (*GetPluginBinaryParams) WithHTTPClient

func (o *GetPluginBinaryParams) WithHTTPClient(client *http.Client) *GetPluginBinaryParams

WithHTTPClient adds the HTTPClient to the get plugin binary params

func (*GetPluginBinaryParams) WithID

WithID adds the id to the get plugin binary params

func (*GetPluginBinaryParams) WithTimeout

func (o *GetPluginBinaryParams) WithTimeout(timeout time.Duration) *GetPluginBinaryParams

WithTimeout adds the timeout to the get plugin binary params

func (*GetPluginBinaryParams) WriteToRequest

func (o *GetPluginBinaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPluginBinaryReader

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

GetPluginBinaryReader is a Reader for the GetPluginBinary structure.

func (*GetPluginBinaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginEndpointOK

type GetPluginEndpointOK struct {
	Payload *dynatrace.RemotePluginEndpoint
}

GetPluginEndpointOK handles this case with default header values.

successful operation

func NewGetPluginEndpointOK

func NewGetPluginEndpointOK() *GetPluginEndpointOK

NewGetPluginEndpointOK creates a GetPluginEndpointOK with default headers values

func (*GetPluginEndpointOK) Error

func (o *GetPluginEndpointOK) Error() string

func (*GetPluginEndpointOK) GetPayload

type GetPluginEndpointParams

type GetPluginEndpointParams struct {

	/*EndpointID
	  The ID of the required endpoint.

	*/
	EndpointID string
	/*ID
	  The ID of the required plugin.

	*/
	ID string

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

GetPluginEndpointParams contains all the parameters to send to the API endpoint for the get plugin endpoint operation typically these are written to a http.Request

func NewGetPluginEndpointParams

func NewGetPluginEndpointParams() *GetPluginEndpointParams

NewGetPluginEndpointParams creates a new GetPluginEndpointParams object with the default values initialized.

func NewGetPluginEndpointParamsWithContext

func NewGetPluginEndpointParamsWithContext(ctx context.Context) *GetPluginEndpointParams

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

func NewGetPluginEndpointParamsWithHTTPClient

func NewGetPluginEndpointParamsWithHTTPClient(client *http.Client) *GetPluginEndpointParams

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

func NewGetPluginEndpointParamsWithTimeout

func NewGetPluginEndpointParamsWithTimeout(timeout time.Duration) *GetPluginEndpointParams

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

func (*GetPluginEndpointParams) SetContext

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

SetContext adds the context to the get plugin endpoint params

func (*GetPluginEndpointParams) SetEndpointID

func (o *GetPluginEndpointParams) SetEndpointID(endpointID string)

SetEndpointID adds the endpointId to the get plugin endpoint params

func (*GetPluginEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin endpoint params

func (*GetPluginEndpointParams) SetID

func (o *GetPluginEndpointParams) SetID(id string)

SetID adds the id to the get plugin endpoint params

func (*GetPluginEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin endpoint params

func (*GetPluginEndpointParams) WithContext

WithContext adds the context to the get plugin endpoint params

func (*GetPluginEndpointParams) WithEndpointID

func (o *GetPluginEndpointParams) WithEndpointID(endpointID string) *GetPluginEndpointParams

WithEndpointID adds the endpointID to the get plugin endpoint params

func (*GetPluginEndpointParams) WithHTTPClient

func (o *GetPluginEndpointParams) WithHTTPClient(client *http.Client) *GetPluginEndpointParams

WithHTTPClient adds the HTTPClient to the get plugin endpoint params

func (*GetPluginEndpointParams) WithID

WithID adds the id to the get plugin endpoint params

func (*GetPluginEndpointParams) WithTimeout

WithTimeout adds the timeout to the get plugin endpoint params

func (*GetPluginEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPluginEndpointReader

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

GetPluginEndpointReader is a Reader for the GetPluginEndpoint structure.

func (*GetPluginEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginEndpointsOK

type GetPluginEndpointsOK struct {
	Payload *dynatrace.StubList
}

GetPluginEndpointsOK handles this case with default header values.

successful operation

func NewGetPluginEndpointsOK

func NewGetPluginEndpointsOK() *GetPluginEndpointsOK

NewGetPluginEndpointsOK creates a GetPluginEndpointsOK with default headers values

func (*GetPluginEndpointsOK) Error

func (o *GetPluginEndpointsOK) Error() string

func (*GetPluginEndpointsOK) GetPayload

func (o *GetPluginEndpointsOK) GetPayload() *dynatrace.StubList

type GetPluginEndpointsParams

type GetPluginEndpointsParams struct {

	/*ID
	  The ID of the required plugin.

	*/
	ID string

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

GetPluginEndpointsParams contains all the parameters to send to the API endpoint for the get plugin endpoints operation typically these are written to a http.Request

func NewGetPluginEndpointsParams

func NewGetPluginEndpointsParams() *GetPluginEndpointsParams

NewGetPluginEndpointsParams creates a new GetPluginEndpointsParams object with the default values initialized.

func NewGetPluginEndpointsParamsWithContext

func NewGetPluginEndpointsParamsWithContext(ctx context.Context) *GetPluginEndpointsParams

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

func NewGetPluginEndpointsParamsWithHTTPClient

func NewGetPluginEndpointsParamsWithHTTPClient(client *http.Client) *GetPluginEndpointsParams

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

func NewGetPluginEndpointsParamsWithTimeout

func NewGetPluginEndpointsParamsWithTimeout(timeout time.Duration) *GetPluginEndpointsParams

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

func (*GetPluginEndpointsParams) SetContext

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

SetContext adds the context to the get plugin endpoints params

func (*GetPluginEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin endpoints params

func (*GetPluginEndpointsParams) SetID

func (o *GetPluginEndpointsParams) SetID(id string)

SetID adds the id to the get plugin endpoints params

func (*GetPluginEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin endpoints params

func (*GetPluginEndpointsParams) WithContext

WithContext adds the context to the get plugin endpoints params

func (*GetPluginEndpointsParams) WithHTTPClient

func (o *GetPluginEndpointsParams) WithHTTPClient(client *http.Client) *GetPluginEndpointsParams

WithHTTPClient adds the HTTPClient to the get plugin endpoints params

func (*GetPluginEndpointsParams) WithID

WithID adds the id to the get plugin endpoints params

func (*GetPluginEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get plugin endpoints params

func (*GetPluginEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPluginEndpointsReader

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

GetPluginEndpointsReader is a Reader for the GetPluginEndpoints structure.

func (*GetPluginEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginOK

type GetPluginOK struct {
	Payload *dynatrace.Plugin
}

GetPluginOK handles this case with default header values.

successful operation

func NewGetPluginOK

func NewGetPluginOK() *GetPluginOK

NewGetPluginOK creates a GetPluginOK with default headers values

func (*GetPluginOK) Error

func (o *GetPluginOK) Error() string

func (*GetPluginOK) GetPayload

func (o *GetPluginOK) GetPayload() *dynatrace.Plugin

type GetPluginParams

type GetPluginParams struct {

	/*ID
	  The ID of the required plugin.

	*/
	ID string

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

GetPluginParams contains all the parameters to send to the API endpoint for the get plugin operation typically these are written to a http.Request

func NewGetPluginParams

func NewGetPluginParams() *GetPluginParams

NewGetPluginParams creates a new GetPluginParams object with the default values initialized.

func NewGetPluginParamsWithContext

func NewGetPluginParamsWithContext(ctx context.Context) *GetPluginParams

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

func NewGetPluginParamsWithHTTPClient

func NewGetPluginParamsWithHTTPClient(client *http.Client) *GetPluginParams

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

func NewGetPluginParamsWithTimeout

func NewGetPluginParamsWithTimeout(timeout time.Duration) *GetPluginParams

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

func (*GetPluginParams) SetContext

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

SetContext adds the context to the get plugin params

func (*GetPluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin params

func (*GetPluginParams) SetID

func (o *GetPluginParams) SetID(id string)

SetID adds the id to the get plugin params

func (*GetPluginParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin params

func (*GetPluginParams) WithContext

func (o *GetPluginParams) WithContext(ctx context.Context) *GetPluginParams

WithContext adds the context to the get plugin params

func (*GetPluginParams) WithHTTPClient

func (o *GetPluginParams) WithHTTPClient(client *http.Client) *GetPluginParams

WithHTTPClient adds the HTTPClient to the get plugin params

func (*GetPluginParams) WithID

func (o *GetPluginParams) WithID(id string) *GetPluginParams

WithID adds the id to the get plugin params

func (*GetPluginParams) WithTimeout

func (o *GetPluginParams) WithTimeout(timeout time.Duration) *GetPluginParams

WithTimeout adds the timeout to the get plugin params

func (*GetPluginParams) WriteToRequest

func (o *GetPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPluginReader

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

GetPluginReader is a Reader for the GetPlugin structure.

func (*GetPluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginStatesOK

type GetPluginStatesOK struct {
	Payload *dynatrace.PluginStateList
}

GetPluginStatesOK handles this case with default header values.

successful operation

func NewGetPluginStatesOK

func NewGetPluginStatesOK() *GetPluginStatesOK

NewGetPluginStatesOK creates a GetPluginStatesOK with default headers values

func (*GetPluginStatesOK) Error

func (o *GetPluginStatesOK) Error() string

func (*GetPluginStatesOK) GetPayload

func (o *GetPluginStatesOK) GetPayload() *dynatrace.PluginStateList

type GetPluginStatesParams

type GetPluginStatesParams struct {

	/*ID
	  The ID of the required plugin.

	*/
	ID string

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

GetPluginStatesParams contains all the parameters to send to the API endpoint for the get plugin states operation typically these are written to a http.Request

func NewGetPluginStatesParams

func NewGetPluginStatesParams() *GetPluginStatesParams

NewGetPluginStatesParams creates a new GetPluginStatesParams object with the default values initialized.

func NewGetPluginStatesParamsWithContext

func NewGetPluginStatesParamsWithContext(ctx context.Context) *GetPluginStatesParams

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

func NewGetPluginStatesParamsWithHTTPClient

func NewGetPluginStatesParamsWithHTTPClient(client *http.Client) *GetPluginStatesParams

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

func NewGetPluginStatesParamsWithTimeout

func NewGetPluginStatesParamsWithTimeout(timeout time.Duration) *GetPluginStatesParams

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

func (*GetPluginStatesParams) SetContext

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

SetContext adds the context to the get plugin states params

func (*GetPluginStatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin states params

func (*GetPluginStatesParams) SetID

func (o *GetPluginStatesParams) SetID(id string)

SetID adds the id to the get plugin states params

func (*GetPluginStatesParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin states params

func (*GetPluginStatesParams) WithContext

WithContext adds the context to the get plugin states params

func (*GetPluginStatesParams) WithHTTPClient

func (o *GetPluginStatesParams) WithHTTPClient(client *http.Client) *GetPluginStatesParams

WithHTTPClient adds the HTTPClient to the get plugin states params

func (*GetPluginStatesParams) WithID

WithID adds the id to the get plugin states params

func (*GetPluginStatesParams) WithTimeout

func (o *GetPluginStatesParams) WithTimeout(timeout time.Duration) *GetPluginStatesParams

WithTimeout adds the timeout to the get plugin states params

func (*GetPluginStatesParams) WriteToRequest

func (o *GetPluginStatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPluginStatesReader

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

GetPluginStatesReader is a Reader for the GetPluginStates structure.

func (*GetPluginStatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginsOK

type GetPluginsOK struct {
	Payload *dynatrace.StubList
}

GetPluginsOK handles this case with default header values.

successful operation

func NewGetPluginsOK

func NewGetPluginsOK() *GetPluginsOK

NewGetPluginsOK creates a GetPluginsOK with default headers values

func (*GetPluginsOK) Error

func (o *GetPluginsOK) Error() string

func (*GetPluginsOK) GetPayload

func (o *GetPluginsOK) GetPayload() *dynatrace.StubList

type GetPluginsParams

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

GetPluginsParams contains all the parameters to send to the API endpoint for the get plugins operation typically these are written to a http.Request

func NewGetPluginsParams

func NewGetPluginsParams() *GetPluginsParams

NewGetPluginsParams creates a new GetPluginsParams object with the default values initialized.

func NewGetPluginsParamsWithContext

func NewGetPluginsParamsWithContext(ctx context.Context) *GetPluginsParams

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

func NewGetPluginsParamsWithHTTPClient

func NewGetPluginsParamsWithHTTPClient(client *http.Client) *GetPluginsParams

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

func NewGetPluginsParamsWithTimeout

func NewGetPluginsParamsWithTimeout(timeout time.Duration) *GetPluginsParams

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

func (*GetPluginsParams) SetContext

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

SetContext adds the context to the get plugins params

func (*GetPluginsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugins params

func (*GetPluginsParams) SetTimeout

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

SetTimeout adds the timeout to the get plugins params

func (*GetPluginsParams) WithContext

func (o *GetPluginsParams) WithContext(ctx context.Context) *GetPluginsParams

WithContext adds the context to the get plugins params

func (*GetPluginsParams) WithHTTPClient

func (o *GetPluginsParams) WithHTTPClient(client *http.Client) *GetPluginsParams

WithHTTPClient adds the HTTPClient to the get plugins params

func (*GetPluginsParams) WithTimeout

func (o *GetPluginsParams) WithTimeout(timeout time.Duration) *GetPluginsParams

WithTimeout adds the timeout to the get plugins params

func (*GetPluginsParams) WriteToRequest

func (o *GetPluginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPluginsReader

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

GetPluginsReader is a Reader for the GetPlugins structure.

func (*GetPluginsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePluginEndpointBadRequest

type UpdatePluginEndpointBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdatePluginEndpointBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdatePluginEndpointBadRequest

func NewUpdatePluginEndpointBadRequest() *UpdatePluginEndpointBadRequest

NewUpdatePluginEndpointBadRequest creates a UpdatePluginEndpointBadRequest with default headers values

func (*UpdatePluginEndpointBadRequest) Error

func (*UpdatePluginEndpointBadRequest) GetPayload

type UpdatePluginEndpointNoContent

type UpdatePluginEndpointNoContent struct {
}

UpdatePluginEndpointNoContent handles this case with default header values.

Success. The endpoint has been updated. Response doesn't have a body.

func NewUpdatePluginEndpointNoContent

func NewUpdatePluginEndpointNoContent() *UpdatePluginEndpointNoContent

NewUpdatePluginEndpointNoContent creates a UpdatePluginEndpointNoContent with default headers values

func (*UpdatePluginEndpointNoContent) Error

type UpdatePluginEndpointParams

type UpdatePluginEndpointParams struct {

	/*Body
	  The JSON body of the request. Contains updated parameters of the plugin endpoint.

	*/
	Body *dynatrace.RemotePluginEndpoint
	/*EndpointID
	  The ID of the endpoint to be updated.

	If you set the endpoint ID in the body as well, it must match this ID.

	*/
	EndpointID string
	/*ID
	  The ID of the plugin where you want to update an endpoint.

	If you set the plugin ID in the body as well, it must match this ID.

	*/
	ID string

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

UpdatePluginEndpointParams contains all the parameters to send to the API endpoint for the update plugin endpoint operation typically these are written to a http.Request

func NewUpdatePluginEndpointParams

func NewUpdatePluginEndpointParams() *UpdatePluginEndpointParams

NewUpdatePluginEndpointParams creates a new UpdatePluginEndpointParams object with the default values initialized.

func NewUpdatePluginEndpointParamsWithContext

func NewUpdatePluginEndpointParamsWithContext(ctx context.Context) *UpdatePluginEndpointParams

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

func NewUpdatePluginEndpointParamsWithHTTPClient

func NewUpdatePluginEndpointParamsWithHTTPClient(client *http.Client) *UpdatePluginEndpointParams

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

func NewUpdatePluginEndpointParamsWithTimeout

func NewUpdatePluginEndpointParamsWithTimeout(timeout time.Duration) *UpdatePluginEndpointParams

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

func (*UpdatePluginEndpointParams) SetBody

SetBody adds the body to the update plugin endpoint params

func (*UpdatePluginEndpointParams) SetContext

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

SetContext adds the context to the update plugin endpoint params

func (*UpdatePluginEndpointParams) SetEndpointID

func (o *UpdatePluginEndpointParams) SetEndpointID(endpointID string)

SetEndpointID adds the endpointId to the update plugin endpoint params

func (*UpdatePluginEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update plugin endpoint params

func (*UpdatePluginEndpointParams) SetID

func (o *UpdatePluginEndpointParams) SetID(id string)

SetID adds the id to the update plugin endpoint params

func (*UpdatePluginEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WithBody

WithBody adds the body to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WithContext

WithContext adds the context to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WithEndpointID

func (o *UpdatePluginEndpointParams) WithEndpointID(endpointID string) *UpdatePluginEndpointParams

WithEndpointID adds the endpointID to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WithID

WithID adds the id to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WithTimeout

WithTimeout adds the timeout to the update plugin endpoint params

func (*UpdatePluginEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePluginEndpointReader

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

UpdatePluginEndpointReader is a Reader for the UpdatePluginEndpoint structure.

func (*UpdatePluginEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadPluginBadRequest

type UploadPluginBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UploadPluginBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUploadPluginBadRequest

func NewUploadPluginBadRequest() *UploadPluginBadRequest

NewUploadPluginBadRequest creates a UploadPluginBadRequest with default headers values

func (*UploadPluginBadRequest) Error

func (o *UploadPluginBadRequest) Error() string

func (*UploadPluginBadRequest) GetPayload

type UploadPluginCreated

type UploadPluginCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UploadPluginCreated handles this case with default header values.

Success. Plugin has been uploaded. Response contains the ID of the plugin.

func NewUploadPluginCreated

func NewUploadPluginCreated() *UploadPluginCreated

NewUploadPluginCreated creates a UploadPluginCreated with default headers values

func (*UploadPluginCreated) Error

func (o *UploadPluginCreated) Error() string

func (*UploadPluginCreated) GetPayload

type UploadPluginParams

type UploadPluginParams struct {

	/*Body
	  Plugin ZIP file to be uploaded.

	 File name must match the **name** field in the `plugin.json` file.

	For example, for the plugin whose **name** is `custom.remote.python.demo`, the name of the plugin file must be `custom.remote.python.demo.zip`.

	*/
	Body dynatrace.InputStream
	/*OverrideAlerts
	  Use plugin-defined thresholds for alerts (`true`) or user-defined thresholds (`false`).

	 Plugin-defined thresholds are stored in the `plugin.json` file.

	If not set, user-defined thresholds are used.

	*/
	OverrideAlerts *bool

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

UploadPluginParams contains all the parameters to send to the API endpoint for the upload plugin operation typically these are written to a http.Request

func NewUploadPluginParams

func NewUploadPluginParams() *UploadPluginParams

NewUploadPluginParams creates a new UploadPluginParams object with the default values initialized.

func NewUploadPluginParamsWithContext

func NewUploadPluginParamsWithContext(ctx context.Context) *UploadPluginParams

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

func NewUploadPluginParamsWithHTTPClient

func NewUploadPluginParamsWithHTTPClient(client *http.Client) *UploadPluginParams

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

func NewUploadPluginParamsWithTimeout

func NewUploadPluginParamsWithTimeout(timeout time.Duration) *UploadPluginParams

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

func (*UploadPluginParams) SetBody

func (o *UploadPluginParams) SetBody(body dynatrace.InputStream)

SetBody adds the body to the upload plugin params

func (*UploadPluginParams) SetContext

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

SetContext adds the context to the upload plugin params

func (*UploadPluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload plugin params

func (*UploadPluginParams) SetOverrideAlerts

func (o *UploadPluginParams) SetOverrideAlerts(overrideAlerts *bool)

SetOverrideAlerts adds the overrideAlerts to the upload plugin params

func (*UploadPluginParams) SetTimeout

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

SetTimeout adds the timeout to the upload plugin params

func (*UploadPluginParams) WithBody

WithBody adds the body to the upload plugin params

func (*UploadPluginParams) WithContext

WithContext adds the context to the upload plugin params

func (*UploadPluginParams) WithHTTPClient

func (o *UploadPluginParams) WithHTTPClient(client *http.Client) *UploadPluginParams

WithHTTPClient adds the HTTPClient to the upload plugin params

func (*UploadPluginParams) WithOverrideAlerts

func (o *UploadPluginParams) WithOverrideAlerts(overrideAlerts *bool) *UploadPluginParams

WithOverrideAlerts adds the overrideAlerts to the upload plugin params

func (*UploadPluginParams) WithTimeout

func (o *UploadPluginParams) WithTimeout(timeout time.Duration) *UploadPluginParams

WithTimeout adds the timeout to the upload plugin params

func (*UploadPluginParams) WriteToRequest

func (o *UploadPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UploadPluginReader

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

UploadPluginReader is a Reader for the UploadPlugin structure.

func (*UploadPluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateCreatePluginEndpointBadRequest

type ValidateCreatePluginEndpointBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreatePluginEndpointBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreatePluginEndpointBadRequest

func NewValidateCreatePluginEndpointBadRequest() *ValidateCreatePluginEndpointBadRequest

NewValidateCreatePluginEndpointBadRequest creates a ValidateCreatePluginEndpointBadRequest with default headers values

func (*ValidateCreatePluginEndpointBadRequest) Error

func (*ValidateCreatePluginEndpointBadRequest) GetPayload

type ValidateCreatePluginEndpointNoContent

type ValidateCreatePluginEndpointNoContent struct {
}

ValidateCreatePluginEndpointNoContent handles this case with default header values.

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

func NewValidateCreatePluginEndpointNoContent

func NewValidateCreatePluginEndpointNoContent() *ValidateCreatePluginEndpointNoContent

NewValidateCreatePluginEndpointNoContent creates a ValidateCreatePluginEndpointNoContent with default headers values

func (*ValidateCreatePluginEndpointNoContent) Error

type ValidateCreatePluginEndpointParams

type ValidateCreatePluginEndpointParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new plugin endpoint.

	*/
	Body *dynatrace.RemotePluginEndpoint
	/*ID
	  The ID of the required plugin.

	*/
	ID string

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

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

func NewValidateCreatePluginEndpointParams

func NewValidateCreatePluginEndpointParams() *ValidateCreatePluginEndpointParams

NewValidateCreatePluginEndpointParams creates a new ValidateCreatePluginEndpointParams object with the default values initialized.

func NewValidateCreatePluginEndpointParamsWithContext

func NewValidateCreatePluginEndpointParamsWithContext(ctx context.Context) *ValidateCreatePluginEndpointParams

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

func NewValidateCreatePluginEndpointParamsWithHTTPClient

func NewValidateCreatePluginEndpointParamsWithHTTPClient(client *http.Client) *ValidateCreatePluginEndpointParams

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

func NewValidateCreatePluginEndpointParamsWithTimeout

func NewValidateCreatePluginEndpointParamsWithTimeout(timeout time.Duration) *ValidateCreatePluginEndpointParams

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

func (*ValidateCreatePluginEndpointParams) SetBody

SetBody adds the body to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) SetContext

SetContext adds the context to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) SetID

SetID adds the id to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) WithBody

WithBody adds the body to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) WithContext

WithContext adds the context to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) WithID

WithID adds the id to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) WithTimeout

WithTimeout adds the timeout to the validate create plugin endpoint params

func (*ValidateCreatePluginEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreatePluginEndpointReader

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

ValidateCreatePluginEndpointReader is a Reader for the ValidateCreatePluginEndpoint structure.

func (*ValidateCreatePluginEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUploadPluginBadRequest

type ValidateUploadPluginBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUploadPluginBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUploadPluginBadRequest

func NewValidateUploadPluginBadRequest() *ValidateUploadPluginBadRequest

NewValidateUploadPluginBadRequest creates a ValidateUploadPluginBadRequest with default headers values

func (*ValidateUploadPluginBadRequest) Error

func (*ValidateUploadPluginBadRequest) GetPayload

type ValidateUploadPluginNoContent

type ValidateUploadPluginNoContent struct {
}

ValidateUploadPluginNoContent handles this case with default header values.

Validated. The submitted plugin is valid. Response doesn't have a body.

func NewValidateUploadPluginNoContent

func NewValidateUploadPluginNoContent() *ValidateUploadPluginNoContent

NewValidateUploadPluginNoContent creates a ValidateUploadPluginNoContent with default headers values

func (*ValidateUploadPluginNoContent) Error

type ValidateUploadPluginParams

type ValidateUploadPluginParams struct {

	/*Body
	 The ZIP plugin file to be uploaded.

	The file name must match the ID of the plugin. Example: `custom.remote.python.demo.zip`

	*/
	Body dynatrace.InputStream
	/*JSONOnly
	 Validate only the `plugin.json` file (`true`) or the entire plugin structure (`false`).

	If not set, the entire plugin is validated.

	*/
	JSONOnly *bool

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

ValidateUploadPluginParams contains all the parameters to send to the API endpoint for the validate upload plugin operation typically these are written to a http.Request

func NewValidateUploadPluginParams

func NewValidateUploadPluginParams() *ValidateUploadPluginParams

NewValidateUploadPluginParams creates a new ValidateUploadPluginParams object with the default values initialized.

func NewValidateUploadPluginParamsWithContext

func NewValidateUploadPluginParamsWithContext(ctx context.Context) *ValidateUploadPluginParams

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

func NewValidateUploadPluginParamsWithHTTPClient

func NewValidateUploadPluginParamsWithHTTPClient(client *http.Client) *ValidateUploadPluginParams

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

func NewValidateUploadPluginParamsWithTimeout

func NewValidateUploadPluginParamsWithTimeout(timeout time.Duration) *ValidateUploadPluginParams

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

func (*ValidateUploadPluginParams) SetBody

SetBody adds the body to the validate upload plugin params

func (*ValidateUploadPluginParams) SetContext

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

SetContext adds the context to the validate upload plugin params

func (*ValidateUploadPluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate upload plugin params

func (*ValidateUploadPluginParams) SetJSONOnly

func (o *ValidateUploadPluginParams) SetJSONOnly(jSONOnly *bool)

SetJSONOnly adds the jsonOnly to the validate upload plugin params

func (*ValidateUploadPluginParams) SetTimeout

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

SetTimeout adds the timeout to the validate upload plugin params

func (*ValidateUploadPluginParams) WithBody

WithBody adds the body to the validate upload plugin params

func (*ValidateUploadPluginParams) WithContext

WithContext adds the context to the validate upload plugin params

func (*ValidateUploadPluginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate upload plugin params

func (*ValidateUploadPluginParams) WithJSONOnly

func (o *ValidateUploadPluginParams) WithJSONOnly(jSONOnly *bool) *ValidateUploadPluginParams

WithJSONOnly adds the jSONOnly to the validate upload plugin params

func (*ValidateUploadPluginParams) WithTimeout

WithTimeout adds the timeout to the validate upload plugin params

func (*ValidateUploadPluginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUploadPluginReader

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

ValidateUploadPluginReader is a Reader for the ValidateUploadPlugin structure.

func (*ValidateUploadPluginReader) ReadResponse

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