resource_plugins

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyResourcePluginBadGateway

type ApplyResourcePluginBadGateway struct {
	Payload *models.ErrorResponse
}

ApplyResourcePluginBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewApplyResourcePluginBadGateway

func NewApplyResourcePluginBadGateway() *ApplyResourcePluginBadGateway

NewApplyResourcePluginBadGateway creates a ApplyResourcePluginBadGateway with default headers values

func (*ApplyResourcePluginBadGateway) Code

Code gets the status code for the apply resource plugin bad gateway response

func (*ApplyResourcePluginBadGateway) Error

func (*ApplyResourcePluginBadGateway) GetPayload

func (*ApplyResourcePluginBadGateway) IsClientError

func (o *ApplyResourcePluginBadGateway) IsClientError() bool

IsClientError returns true when this apply resource plugin bad gateway response has a 4xx status code

func (*ApplyResourcePluginBadGateway) IsCode

func (o *ApplyResourcePluginBadGateway) IsCode(code int) bool

IsCode returns true when this apply resource plugin bad gateway response a status code equal to that given

func (*ApplyResourcePluginBadGateway) IsRedirect

func (o *ApplyResourcePluginBadGateway) IsRedirect() bool

IsRedirect returns true when this apply resource plugin bad gateway response has a 3xx status code

func (*ApplyResourcePluginBadGateway) IsServerError

func (o *ApplyResourcePluginBadGateway) IsServerError() bool

IsServerError returns true when this apply resource plugin bad gateway response has a 5xx status code

func (*ApplyResourcePluginBadGateway) IsSuccess

func (o *ApplyResourcePluginBadGateway) IsSuccess() bool

IsSuccess returns true when this apply resource plugin bad gateway response has a 2xx status code

func (*ApplyResourcePluginBadGateway) String

type ApplyResourcePluginBadRequest

type ApplyResourcePluginBadRequest struct {
	Payload *models.ErrorResponse
}

ApplyResourcePluginBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewApplyResourcePluginBadRequest

func NewApplyResourcePluginBadRequest() *ApplyResourcePluginBadRequest

NewApplyResourcePluginBadRequest creates a ApplyResourcePluginBadRequest with default headers values

func (*ApplyResourcePluginBadRequest) Code

Code gets the status code for the apply resource plugin bad request response

func (*ApplyResourcePluginBadRequest) Error

func (*ApplyResourcePluginBadRequest) GetPayload

func (*ApplyResourcePluginBadRequest) IsClientError

func (o *ApplyResourcePluginBadRequest) IsClientError() bool

IsClientError returns true when this apply resource plugin bad request response has a 4xx status code

func (*ApplyResourcePluginBadRequest) IsCode

func (o *ApplyResourcePluginBadRequest) IsCode(code int) bool

IsCode returns true when this apply resource plugin bad request response a status code equal to that given

func (*ApplyResourcePluginBadRequest) IsRedirect

func (o *ApplyResourcePluginBadRequest) IsRedirect() bool

IsRedirect returns true when this apply resource plugin bad request response has a 3xx status code

func (*ApplyResourcePluginBadRequest) IsServerError

func (o *ApplyResourcePluginBadRequest) IsServerError() bool

IsServerError returns true when this apply resource plugin bad request response has a 5xx status code

func (*ApplyResourcePluginBadRequest) IsSuccess

func (o *ApplyResourcePluginBadRequest) IsSuccess() bool

IsSuccess returns true when this apply resource plugin bad request response has a 2xx status code

func (*ApplyResourcePluginBadRequest) String

type ApplyResourcePluginOK

type ApplyResourcePluginOK struct {
	Payload models.EmptyResponse
}

ApplyResourcePluginOK describes a response with status code 200, with default header values.

OK

func NewApplyResourcePluginOK

func NewApplyResourcePluginOK() *ApplyResourcePluginOK

NewApplyResourcePluginOK creates a ApplyResourcePluginOK with default headers values

func (*ApplyResourcePluginOK) Code

func (o *ApplyResourcePluginOK) Code() int

Code gets the status code for the apply resource plugin o k response

func (*ApplyResourcePluginOK) Error

func (o *ApplyResourcePluginOK) Error() string

func (*ApplyResourcePluginOK) GetPayload

func (o *ApplyResourcePluginOK) GetPayload() models.EmptyResponse

func (*ApplyResourcePluginOK) IsClientError

func (o *ApplyResourcePluginOK) IsClientError() bool

IsClientError returns true when this apply resource plugin o k response has a 4xx status code

func (*ApplyResourcePluginOK) IsCode

func (o *ApplyResourcePluginOK) IsCode(code int) bool

IsCode returns true when this apply resource plugin o k response a status code equal to that given

func (*ApplyResourcePluginOK) IsRedirect

func (o *ApplyResourcePluginOK) IsRedirect() bool

IsRedirect returns true when this apply resource plugin o k response has a 3xx status code

func (*ApplyResourcePluginOK) IsServerError

func (o *ApplyResourcePluginOK) IsServerError() bool

IsServerError returns true when this apply resource plugin o k response has a 5xx status code

func (*ApplyResourcePluginOK) IsSuccess

func (o *ApplyResourcePluginOK) IsSuccess() bool

IsSuccess returns true when this apply resource plugin o k response has a 2xx status code

func (*ApplyResourcePluginOK) String

func (o *ApplyResourcePluginOK) String() string

type ApplyResourcePluginParams

type ApplyResourcePluginParams struct {

	/* Data.

	   Request to create or update a resource plugin
	*/
	Data *models.ResourcePlugin

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* PluginName.

	   Resource plugin name
	*/
	PluginName string

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

ApplyResourcePluginParams contains all the parameters to send to the API endpoint

for the apply resource plugin operation.

Typically these are written to a http.Request.

func NewApplyResourcePluginParams

func NewApplyResourcePluginParams() *ApplyResourcePluginParams

NewApplyResourcePluginParams creates a new ApplyResourcePluginParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewApplyResourcePluginParamsWithContext

func NewApplyResourcePluginParamsWithContext(ctx context.Context) *ApplyResourcePluginParams

NewApplyResourcePluginParamsWithContext creates a new ApplyResourcePluginParams object with the ability to set a context for a request.

func NewApplyResourcePluginParamsWithHTTPClient

func NewApplyResourcePluginParamsWithHTTPClient(client *http.Client) *ApplyResourcePluginParams

NewApplyResourcePluginParamsWithHTTPClient creates a new ApplyResourcePluginParams object with the ability to set a custom HTTPClient for a request.

func NewApplyResourcePluginParamsWithTimeout

func NewApplyResourcePluginParamsWithTimeout(timeout time.Duration) *ApplyResourcePluginParams

NewApplyResourcePluginParamsWithTimeout creates a new ApplyResourcePluginParams object with the ability to set a timeout on a request.

func (*ApplyResourcePluginParams) SetContext

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

SetContext adds the context to the apply resource plugin params

func (*ApplyResourcePluginParams) SetData

SetData adds the data to the apply resource plugin params

func (*ApplyResourcePluginParams) SetDefaults

func (o *ApplyResourcePluginParams) SetDefaults()

SetDefaults hydrates default values in the apply resource plugin params (not the query body).

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

func (*ApplyResourcePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the apply resource plugin params

func (*ApplyResourcePluginParams) SetOrgName

func (o *ApplyResourcePluginParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the apply resource plugin params

func (*ApplyResourcePluginParams) SetPluginName

func (o *ApplyResourcePluginParams) SetPluginName(pluginName string)

SetPluginName adds the pluginName to the apply resource plugin params

func (*ApplyResourcePluginParams) SetTimeout

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

SetTimeout adds the timeout to the apply resource plugin params

func (*ApplyResourcePluginParams) WithContext

WithContext adds the context to the apply resource plugin params

func (*ApplyResourcePluginParams) WithData

WithData adds the data to the apply resource plugin params

func (*ApplyResourcePluginParams) WithDefaults

WithDefaults hydrates default values in the apply resource plugin params (not the query body).

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

func (*ApplyResourcePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the apply resource plugin params

func (*ApplyResourcePluginParams) WithOrgName

WithOrgName adds the orgName to the apply resource plugin params

func (*ApplyResourcePluginParams) WithPluginName

func (o *ApplyResourcePluginParams) WithPluginName(pluginName string) *ApplyResourcePluginParams

WithPluginName adds the pluginName to the apply resource plugin params

func (*ApplyResourcePluginParams) WithTimeout

WithTimeout adds the timeout to the apply resource plugin params

func (*ApplyResourcePluginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ApplyResourcePluginReader

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

ApplyResourcePluginReader is a Reader for the ApplyResourcePlugin structure.

func (*ApplyResourcePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ApplyResourcePluginUnauthorized

type ApplyResourcePluginUnauthorized struct {
	Payload *models.ErrorResponse
}

ApplyResourcePluginUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewApplyResourcePluginUnauthorized

func NewApplyResourcePluginUnauthorized() *ApplyResourcePluginUnauthorized

NewApplyResourcePluginUnauthorized creates a ApplyResourcePluginUnauthorized with default headers values

func (*ApplyResourcePluginUnauthorized) Code

Code gets the status code for the apply resource plugin unauthorized response

func (*ApplyResourcePluginUnauthorized) Error

func (*ApplyResourcePluginUnauthorized) GetPayload

func (*ApplyResourcePluginUnauthorized) IsClientError

func (o *ApplyResourcePluginUnauthorized) IsClientError() bool

IsClientError returns true when this apply resource plugin unauthorized response has a 4xx status code

func (*ApplyResourcePluginUnauthorized) IsCode

func (o *ApplyResourcePluginUnauthorized) IsCode(code int) bool

IsCode returns true when this apply resource plugin unauthorized response a status code equal to that given

func (*ApplyResourcePluginUnauthorized) IsRedirect

func (o *ApplyResourcePluginUnauthorized) IsRedirect() bool

IsRedirect returns true when this apply resource plugin unauthorized response has a 3xx status code

func (*ApplyResourcePluginUnauthorized) IsServerError

func (o *ApplyResourcePluginUnauthorized) IsServerError() bool

IsServerError returns true when this apply resource plugin unauthorized response has a 5xx status code

func (*ApplyResourcePluginUnauthorized) IsSuccess

func (o *ApplyResourcePluginUnauthorized) IsSuccess() bool

IsSuccess returns true when this apply resource plugin unauthorized response has a 2xx status code

func (*ApplyResourcePluginUnauthorized) String

type Client

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

Client for resource plugins API

func (*Client) ApplyResourcePlugin

func (a *Client) ApplyResourcePlugin(params *ApplyResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyResourcePluginOK, error)

ApplyResourcePlugin applies a resource plugin

Apply a resource plugin. Updates are not supported at this time.

func (*Client) DeleteResourcePlugin

func (a *Client) DeleteResourcePlugin(params *DeleteResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourcePluginOK, error)

DeleteResourcePlugin deletes a resource plugin

Delete the resource plugin by name

func (*Client) GetResourcePlugin

func (a *Client) GetResourcePlugin(params *GetResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourcePluginOK, error)

GetResourcePlugin gets the requested resource plugin

Get the specified resource plugin by name

func (*Client) ListResourcePlugins

func (a *Client) ListResourcePlugins(params *ListResourcePluginsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourcePluginsOK, error)

ListResourcePlugins lists resource plugins

List all resource plugins under the specified Signadot org.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ApplyResourcePlugin(params *ApplyResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyResourcePluginOK, error)

	DeleteResourcePlugin(params *DeleteResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourcePluginOK, error)

	GetResourcePlugin(params *GetResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourcePluginOK, error)

	ListResourcePlugins(params *ListResourcePluginsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourcePluginsOK, 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 resource plugins API client.

type DeleteResourcePluginBadGateway

type DeleteResourcePluginBadGateway struct {
	Payload *models.ErrorResponse
}

DeleteResourcePluginBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewDeleteResourcePluginBadGateway

func NewDeleteResourcePluginBadGateway() *DeleteResourcePluginBadGateway

NewDeleteResourcePluginBadGateway creates a DeleteResourcePluginBadGateway with default headers values

func (*DeleteResourcePluginBadGateway) Code

Code gets the status code for the delete resource plugin bad gateway response

func (*DeleteResourcePluginBadGateway) Error

func (*DeleteResourcePluginBadGateway) GetPayload

func (*DeleteResourcePluginBadGateway) IsClientError

func (o *DeleteResourcePluginBadGateway) IsClientError() bool

IsClientError returns true when this delete resource plugin bad gateway response has a 4xx status code

func (*DeleteResourcePluginBadGateway) IsCode

func (o *DeleteResourcePluginBadGateway) IsCode(code int) bool

IsCode returns true when this delete resource plugin bad gateway response a status code equal to that given

func (*DeleteResourcePluginBadGateway) IsRedirect

func (o *DeleteResourcePluginBadGateway) IsRedirect() bool

IsRedirect returns true when this delete resource plugin bad gateway response has a 3xx status code

func (*DeleteResourcePluginBadGateway) IsServerError

func (o *DeleteResourcePluginBadGateway) IsServerError() bool

IsServerError returns true when this delete resource plugin bad gateway response has a 5xx status code

func (*DeleteResourcePluginBadGateway) IsSuccess

func (o *DeleteResourcePluginBadGateway) IsSuccess() bool

IsSuccess returns true when this delete resource plugin bad gateway response has a 2xx status code

func (*DeleteResourcePluginBadGateway) String

type DeleteResourcePluginBadRequest

type DeleteResourcePluginBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteResourcePluginBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteResourcePluginBadRequest

func NewDeleteResourcePluginBadRequest() *DeleteResourcePluginBadRequest

NewDeleteResourcePluginBadRequest creates a DeleteResourcePluginBadRequest with default headers values

func (*DeleteResourcePluginBadRequest) Code

Code gets the status code for the delete resource plugin bad request response

func (*DeleteResourcePluginBadRequest) Error

func (*DeleteResourcePluginBadRequest) GetPayload

func (*DeleteResourcePluginBadRequest) IsClientError

func (o *DeleteResourcePluginBadRequest) IsClientError() bool

IsClientError returns true when this delete resource plugin bad request response has a 4xx status code

func (*DeleteResourcePluginBadRequest) IsCode

func (o *DeleteResourcePluginBadRequest) IsCode(code int) bool

IsCode returns true when this delete resource plugin bad request response a status code equal to that given

func (*DeleteResourcePluginBadRequest) IsRedirect

func (o *DeleteResourcePluginBadRequest) IsRedirect() bool

IsRedirect returns true when this delete resource plugin bad request response has a 3xx status code

func (*DeleteResourcePluginBadRequest) IsServerError

func (o *DeleteResourcePluginBadRequest) IsServerError() bool

IsServerError returns true when this delete resource plugin bad request response has a 5xx status code

func (*DeleteResourcePluginBadRequest) IsSuccess

func (o *DeleteResourcePluginBadRequest) IsSuccess() bool

IsSuccess returns true when this delete resource plugin bad request response has a 2xx status code

func (*DeleteResourcePluginBadRequest) String

type DeleteResourcePluginOK

type DeleteResourcePluginOK struct {
	Payload models.EmptyResponse
}

DeleteResourcePluginOK describes a response with status code 200, with default header values.

OK

func NewDeleteResourcePluginOK

func NewDeleteResourcePluginOK() *DeleteResourcePluginOK

NewDeleteResourcePluginOK creates a DeleteResourcePluginOK with default headers values

func (*DeleteResourcePluginOK) Code

func (o *DeleteResourcePluginOK) Code() int

Code gets the status code for the delete resource plugin o k response

func (*DeleteResourcePluginOK) Error

func (o *DeleteResourcePluginOK) Error() string

func (*DeleteResourcePluginOK) GetPayload

func (*DeleteResourcePluginOK) IsClientError

func (o *DeleteResourcePluginOK) IsClientError() bool

IsClientError returns true when this delete resource plugin o k response has a 4xx status code

func (*DeleteResourcePluginOK) IsCode

func (o *DeleteResourcePluginOK) IsCode(code int) bool

IsCode returns true when this delete resource plugin o k response a status code equal to that given

func (*DeleteResourcePluginOK) IsRedirect

func (o *DeleteResourcePluginOK) IsRedirect() bool

IsRedirect returns true when this delete resource plugin o k response has a 3xx status code

func (*DeleteResourcePluginOK) IsServerError

func (o *DeleteResourcePluginOK) IsServerError() bool

IsServerError returns true when this delete resource plugin o k response has a 5xx status code

func (*DeleteResourcePluginOK) IsSuccess

func (o *DeleteResourcePluginOK) IsSuccess() bool

IsSuccess returns true when this delete resource plugin o k response has a 2xx status code

func (*DeleteResourcePluginOK) String

func (o *DeleteResourcePluginOK) String() string

type DeleteResourcePluginParams

type DeleteResourcePluginParams struct {

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* PluginName.

	   Resource plugin name
	*/
	PluginName string

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

DeleteResourcePluginParams contains all the parameters to send to the API endpoint

for the delete resource plugin operation.

Typically these are written to a http.Request.

func NewDeleteResourcePluginParams

func NewDeleteResourcePluginParams() *DeleteResourcePluginParams

NewDeleteResourcePluginParams creates a new DeleteResourcePluginParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteResourcePluginParamsWithContext

func NewDeleteResourcePluginParamsWithContext(ctx context.Context) *DeleteResourcePluginParams

NewDeleteResourcePluginParamsWithContext creates a new DeleteResourcePluginParams object with the ability to set a context for a request.

func NewDeleteResourcePluginParamsWithHTTPClient

func NewDeleteResourcePluginParamsWithHTTPClient(client *http.Client) *DeleteResourcePluginParams

NewDeleteResourcePluginParamsWithHTTPClient creates a new DeleteResourcePluginParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteResourcePluginParamsWithTimeout

func NewDeleteResourcePluginParamsWithTimeout(timeout time.Duration) *DeleteResourcePluginParams

NewDeleteResourcePluginParamsWithTimeout creates a new DeleteResourcePluginParams object with the ability to set a timeout on a request.

func (*DeleteResourcePluginParams) SetContext

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

SetContext adds the context to the delete resource plugin params

func (*DeleteResourcePluginParams) SetDefaults

func (o *DeleteResourcePluginParams) SetDefaults()

SetDefaults hydrates default values in the delete resource plugin params (not the query body).

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

func (*DeleteResourcePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete resource plugin params

func (*DeleteResourcePluginParams) SetOrgName

func (o *DeleteResourcePluginParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the delete resource plugin params

func (*DeleteResourcePluginParams) SetPluginName

func (o *DeleteResourcePluginParams) SetPluginName(pluginName string)

SetPluginName adds the pluginName to the delete resource plugin params

func (*DeleteResourcePluginParams) SetTimeout

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

SetTimeout adds the timeout to the delete resource plugin params

func (*DeleteResourcePluginParams) WithContext

WithContext adds the context to the delete resource plugin params

func (*DeleteResourcePluginParams) WithDefaults

WithDefaults hydrates default values in the delete resource plugin params (not the query body).

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

func (*DeleteResourcePluginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete resource plugin params

func (*DeleteResourcePluginParams) WithOrgName

WithOrgName adds the orgName to the delete resource plugin params

func (*DeleteResourcePluginParams) WithPluginName

func (o *DeleteResourcePluginParams) WithPluginName(pluginName string) *DeleteResourcePluginParams

WithPluginName adds the pluginName to the delete resource plugin params

func (*DeleteResourcePluginParams) WithTimeout

WithTimeout adds the timeout to the delete resource plugin params

func (*DeleteResourcePluginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteResourcePluginReader

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

DeleteResourcePluginReader is a Reader for the DeleteResourcePlugin structure.

func (*DeleteResourcePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteResourcePluginUnauthorized

type DeleteResourcePluginUnauthorized struct {
	Payload *models.ErrorResponse
}

DeleteResourcePluginUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteResourcePluginUnauthorized

func NewDeleteResourcePluginUnauthorized() *DeleteResourcePluginUnauthorized

NewDeleteResourcePluginUnauthorized creates a DeleteResourcePluginUnauthorized with default headers values

func (*DeleteResourcePluginUnauthorized) Code

Code gets the status code for the delete resource plugin unauthorized response

func (*DeleteResourcePluginUnauthorized) Error

func (*DeleteResourcePluginUnauthorized) GetPayload

func (*DeleteResourcePluginUnauthorized) IsClientError

func (o *DeleteResourcePluginUnauthorized) IsClientError() bool

IsClientError returns true when this delete resource plugin unauthorized response has a 4xx status code

func (*DeleteResourcePluginUnauthorized) IsCode

func (o *DeleteResourcePluginUnauthorized) IsCode(code int) bool

IsCode returns true when this delete resource plugin unauthorized response a status code equal to that given

func (*DeleteResourcePluginUnauthorized) IsRedirect

func (o *DeleteResourcePluginUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete resource plugin unauthorized response has a 3xx status code

func (*DeleteResourcePluginUnauthorized) IsServerError

func (o *DeleteResourcePluginUnauthorized) IsServerError() bool

IsServerError returns true when this delete resource plugin unauthorized response has a 5xx status code

func (*DeleteResourcePluginUnauthorized) IsSuccess

func (o *DeleteResourcePluginUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete resource plugin unauthorized response has a 2xx status code

func (*DeleteResourcePluginUnauthorized) String

type GetResourcePluginBadGateway

type GetResourcePluginBadGateway struct {
	Payload *models.ErrorResponse
}

GetResourcePluginBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewGetResourcePluginBadGateway

func NewGetResourcePluginBadGateway() *GetResourcePluginBadGateway

NewGetResourcePluginBadGateway creates a GetResourcePluginBadGateway with default headers values

func (*GetResourcePluginBadGateway) Code

func (o *GetResourcePluginBadGateway) Code() int

Code gets the status code for the get resource plugin bad gateway response

func (*GetResourcePluginBadGateway) Error

func (*GetResourcePluginBadGateway) GetPayload

func (*GetResourcePluginBadGateway) IsClientError

func (o *GetResourcePluginBadGateway) IsClientError() bool

IsClientError returns true when this get resource plugin bad gateway response has a 4xx status code

func (*GetResourcePluginBadGateway) IsCode

func (o *GetResourcePluginBadGateway) IsCode(code int) bool

IsCode returns true when this get resource plugin bad gateway response a status code equal to that given

func (*GetResourcePluginBadGateway) IsRedirect

func (o *GetResourcePluginBadGateway) IsRedirect() bool

IsRedirect returns true when this get resource plugin bad gateway response has a 3xx status code

func (*GetResourcePluginBadGateway) IsServerError

func (o *GetResourcePluginBadGateway) IsServerError() bool

IsServerError returns true when this get resource plugin bad gateway response has a 5xx status code

func (*GetResourcePluginBadGateway) IsSuccess

func (o *GetResourcePluginBadGateway) IsSuccess() bool

IsSuccess returns true when this get resource plugin bad gateway response has a 2xx status code

func (*GetResourcePluginBadGateway) String

func (o *GetResourcePluginBadGateway) String() string

type GetResourcePluginBadRequest

type GetResourcePluginBadRequest struct {
	Payload *models.ErrorResponse
}

GetResourcePluginBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetResourcePluginBadRequest

func NewGetResourcePluginBadRequest() *GetResourcePluginBadRequest

NewGetResourcePluginBadRequest creates a GetResourcePluginBadRequest with default headers values

func (*GetResourcePluginBadRequest) Code

func (o *GetResourcePluginBadRequest) Code() int

Code gets the status code for the get resource plugin bad request response

func (*GetResourcePluginBadRequest) Error

func (*GetResourcePluginBadRequest) GetPayload

func (*GetResourcePluginBadRequest) IsClientError

func (o *GetResourcePluginBadRequest) IsClientError() bool

IsClientError returns true when this get resource plugin bad request response has a 4xx status code

func (*GetResourcePluginBadRequest) IsCode

func (o *GetResourcePluginBadRequest) IsCode(code int) bool

IsCode returns true when this get resource plugin bad request response a status code equal to that given

func (*GetResourcePluginBadRequest) IsRedirect

func (o *GetResourcePluginBadRequest) IsRedirect() bool

IsRedirect returns true when this get resource plugin bad request response has a 3xx status code

func (*GetResourcePluginBadRequest) IsServerError

func (o *GetResourcePluginBadRequest) IsServerError() bool

IsServerError returns true when this get resource plugin bad request response has a 5xx status code

func (*GetResourcePluginBadRequest) IsSuccess

func (o *GetResourcePluginBadRequest) IsSuccess() bool

IsSuccess returns true when this get resource plugin bad request response has a 2xx status code

func (*GetResourcePluginBadRequest) String

func (o *GetResourcePluginBadRequest) String() string

type GetResourcePluginOK

type GetResourcePluginOK struct {
	Payload *models.ResourcePlugin
}

GetResourcePluginOK describes a response with status code 200, with default header values.

OK

func NewGetResourcePluginOK

func NewGetResourcePluginOK() *GetResourcePluginOK

NewGetResourcePluginOK creates a GetResourcePluginOK with default headers values

func (*GetResourcePluginOK) Code

func (o *GetResourcePluginOK) Code() int

Code gets the status code for the get resource plugin o k response

func (*GetResourcePluginOK) Error

func (o *GetResourcePluginOK) Error() string

func (*GetResourcePluginOK) GetPayload

func (o *GetResourcePluginOK) GetPayload() *models.ResourcePlugin

func (*GetResourcePluginOK) IsClientError

func (o *GetResourcePluginOK) IsClientError() bool

IsClientError returns true when this get resource plugin o k response has a 4xx status code

func (*GetResourcePluginOK) IsCode

func (o *GetResourcePluginOK) IsCode(code int) bool

IsCode returns true when this get resource plugin o k response a status code equal to that given

func (*GetResourcePluginOK) IsRedirect

func (o *GetResourcePluginOK) IsRedirect() bool

IsRedirect returns true when this get resource plugin o k response has a 3xx status code

func (*GetResourcePluginOK) IsServerError

func (o *GetResourcePluginOK) IsServerError() bool

IsServerError returns true when this get resource plugin o k response has a 5xx status code

func (*GetResourcePluginOK) IsSuccess

func (o *GetResourcePluginOK) IsSuccess() bool

IsSuccess returns true when this get resource plugin o k response has a 2xx status code

func (*GetResourcePluginOK) String

func (o *GetResourcePluginOK) String() string

type GetResourcePluginParams

type GetResourcePluginParams struct {

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* PluginName.

	   Resource plugin name
	*/
	PluginName string

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

GetResourcePluginParams contains all the parameters to send to the API endpoint

for the get resource plugin operation.

Typically these are written to a http.Request.

func NewGetResourcePluginParams

func NewGetResourcePluginParams() *GetResourcePluginParams

NewGetResourcePluginParams creates a new GetResourcePluginParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetResourcePluginParamsWithContext

func NewGetResourcePluginParamsWithContext(ctx context.Context) *GetResourcePluginParams

NewGetResourcePluginParamsWithContext creates a new GetResourcePluginParams object with the ability to set a context for a request.

func NewGetResourcePluginParamsWithHTTPClient

func NewGetResourcePluginParamsWithHTTPClient(client *http.Client) *GetResourcePluginParams

NewGetResourcePluginParamsWithHTTPClient creates a new GetResourcePluginParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourcePluginParamsWithTimeout

func NewGetResourcePluginParamsWithTimeout(timeout time.Duration) *GetResourcePluginParams

NewGetResourcePluginParamsWithTimeout creates a new GetResourcePluginParams object with the ability to set a timeout on a request.

func (*GetResourcePluginParams) SetContext

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

SetContext adds the context to the get resource plugin params

func (*GetResourcePluginParams) SetDefaults

func (o *GetResourcePluginParams) SetDefaults()

SetDefaults hydrates default values in the get resource plugin params (not the query body).

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

func (*GetResourcePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource plugin params

func (*GetResourcePluginParams) SetOrgName

func (o *GetResourcePluginParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get resource plugin params

func (*GetResourcePluginParams) SetPluginName

func (o *GetResourcePluginParams) SetPluginName(pluginName string)

SetPluginName adds the pluginName to the get resource plugin params

func (*GetResourcePluginParams) SetTimeout

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

SetTimeout adds the timeout to the get resource plugin params

func (*GetResourcePluginParams) WithContext

WithContext adds the context to the get resource plugin params

func (*GetResourcePluginParams) WithDefaults

WithDefaults hydrates default values in the get resource plugin params (not the query body).

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

func (*GetResourcePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get resource plugin params

func (*GetResourcePluginParams) WithOrgName

func (o *GetResourcePluginParams) WithOrgName(orgName string) *GetResourcePluginParams

WithOrgName adds the orgName to the get resource plugin params

func (*GetResourcePluginParams) WithPluginName

func (o *GetResourcePluginParams) WithPluginName(pluginName string) *GetResourcePluginParams

WithPluginName adds the pluginName to the get resource plugin params

func (*GetResourcePluginParams) WithTimeout

WithTimeout adds the timeout to the get resource plugin params

func (*GetResourcePluginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourcePluginReader

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

GetResourcePluginReader is a Reader for the GetResourcePlugin structure.

func (*GetResourcePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourcePluginUnauthorized

type GetResourcePluginUnauthorized struct {
	Payload *models.ErrorResponse
}

GetResourcePluginUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourcePluginUnauthorized

func NewGetResourcePluginUnauthorized() *GetResourcePluginUnauthorized

NewGetResourcePluginUnauthorized creates a GetResourcePluginUnauthorized with default headers values

func (*GetResourcePluginUnauthorized) Code

Code gets the status code for the get resource plugin unauthorized response

func (*GetResourcePluginUnauthorized) Error

func (*GetResourcePluginUnauthorized) GetPayload

func (*GetResourcePluginUnauthorized) IsClientError

func (o *GetResourcePluginUnauthorized) IsClientError() bool

IsClientError returns true when this get resource plugin unauthorized response has a 4xx status code

func (*GetResourcePluginUnauthorized) IsCode

func (o *GetResourcePluginUnauthorized) IsCode(code int) bool

IsCode returns true when this get resource plugin unauthorized response a status code equal to that given

func (*GetResourcePluginUnauthorized) IsRedirect

func (o *GetResourcePluginUnauthorized) IsRedirect() bool

IsRedirect returns true when this get resource plugin unauthorized response has a 3xx status code

func (*GetResourcePluginUnauthorized) IsServerError

func (o *GetResourcePluginUnauthorized) IsServerError() bool

IsServerError returns true when this get resource plugin unauthorized response has a 5xx status code

func (*GetResourcePluginUnauthorized) IsSuccess

func (o *GetResourcePluginUnauthorized) IsSuccess() bool

IsSuccess returns true when this get resource plugin unauthorized response has a 2xx status code

func (*GetResourcePluginUnauthorized) String

type ListResourcePluginsBadGateway

type ListResourcePluginsBadGateway struct {
	Payload *models.ErrorResponse
}

ListResourcePluginsBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewListResourcePluginsBadGateway

func NewListResourcePluginsBadGateway() *ListResourcePluginsBadGateway

NewListResourcePluginsBadGateway creates a ListResourcePluginsBadGateway with default headers values

func (*ListResourcePluginsBadGateway) Code

Code gets the status code for the list resource plugins bad gateway response

func (*ListResourcePluginsBadGateway) Error

func (*ListResourcePluginsBadGateway) GetPayload

func (*ListResourcePluginsBadGateway) IsClientError

func (o *ListResourcePluginsBadGateway) IsClientError() bool

IsClientError returns true when this list resource plugins bad gateway response has a 4xx status code

func (*ListResourcePluginsBadGateway) IsCode

func (o *ListResourcePluginsBadGateway) IsCode(code int) bool

IsCode returns true when this list resource plugins bad gateway response a status code equal to that given

func (*ListResourcePluginsBadGateway) IsRedirect

func (o *ListResourcePluginsBadGateway) IsRedirect() bool

IsRedirect returns true when this list resource plugins bad gateway response has a 3xx status code

func (*ListResourcePluginsBadGateway) IsServerError

func (o *ListResourcePluginsBadGateway) IsServerError() bool

IsServerError returns true when this list resource plugins bad gateway response has a 5xx status code

func (*ListResourcePluginsBadGateway) IsSuccess

func (o *ListResourcePluginsBadGateway) IsSuccess() bool

IsSuccess returns true when this list resource plugins bad gateway response has a 2xx status code

func (*ListResourcePluginsBadGateway) String

type ListResourcePluginsBadRequest

type ListResourcePluginsBadRequest struct {
	Payload *models.ErrorResponse
}

ListResourcePluginsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListResourcePluginsBadRequest

func NewListResourcePluginsBadRequest() *ListResourcePluginsBadRequest

NewListResourcePluginsBadRequest creates a ListResourcePluginsBadRequest with default headers values

func (*ListResourcePluginsBadRequest) Code

Code gets the status code for the list resource plugins bad request response

func (*ListResourcePluginsBadRequest) Error

func (*ListResourcePluginsBadRequest) GetPayload

func (*ListResourcePluginsBadRequest) IsClientError

func (o *ListResourcePluginsBadRequest) IsClientError() bool

IsClientError returns true when this list resource plugins bad request response has a 4xx status code

func (*ListResourcePluginsBadRequest) IsCode

func (o *ListResourcePluginsBadRequest) IsCode(code int) bool

IsCode returns true when this list resource plugins bad request response a status code equal to that given

func (*ListResourcePluginsBadRequest) IsRedirect

func (o *ListResourcePluginsBadRequest) IsRedirect() bool

IsRedirect returns true when this list resource plugins bad request response has a 3xx status code

func (*ListResourcePluginsBadRequest) IsServerError

func (o *ListResourcePluginsBadRequest) IsServerError() bool

IsServerError returns true when this list resource plugins bad request response has a 5xx status code

func (*ListResourcePluginsBadRequest) IsSuccess

func (o *ListResourcePluginsBadRequest) IsSuccess() bool

IsSuccess returns true when this list resource plugins bad request response has a 2xx status code

func (*ListResourcePluginsBadRequest) String

type ListResourcePluginsOK

type ListResourcePluginsOK struct {
	Payload []*models.ResourcePlugin
}

ListResourcePluginsOK describes a response with status code 200, with default header values.

OK

func NewListResourcePluginsOK

func NewListResourcePluginsOK() *ListResourcePluginsOK

NewListResourcePluginsOK creates a ListResourcePluginsOK with default headers values

func (*ListResourcePluginsOK) Code

func (o *ListResourcePluginsOK) Code() int

Code gets the status code for the list resource plugins o k response

func (*ListResourcePluginsOK) Error

func (o *ListResourcePluginsOK) Error() string

func (*ListResourcePluginsOK) GetPayload

func (o *ListResourcePluginsOK) GetPayload() []*models.ResourcePlugin

func (*ListResourcePluginsOK) IsClientError

func (o *ListResourcePluginsOK) IsClientError() bool

IsClientError returns true when this list resource plugins o k response has a 4xx status code

func (*ListResourcePluginsOK) IsCode

func (o *ListResourcePluginsOK) IsCode(code int) bool

IsCode returns true when this list resource plugins o k response a status code equal to that given

func (*ListResourcePluginsOK) IsRedirect

func (o *ListResourcePluginsOK) IsRedirect() bool

IsRedirect returns true when this list resource plugins o k response has a 3xx status code

func (*ListResourcePluginsOK) IsServerError

func (o *ListResourcePluginsOK) IsServerError() bool

IsServerError returns true when this list resource plugins o k response has a 5xx status code

func (*ListResourcePluginsOK) IsSuccess

func (o *ListResourcePluginsOK) IsSuccess() bool

IsSuccess returns true when this list resource plugins o k response has a 2xx status code

func (*ListResourcePluginsOK) String

func (o *ListResourcePluginsOK) String() string

type ListResourcePluginsParams

type ListResourcePluginsParams struct {

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

ListResourcePluginsParams contains all the parameters to send to the API endpoint

for the list resource plugins operation.

Typically these are written to a http.Request.

func NewListResourcePluginsParams

func NewListResourcePluginsParams() *ListResourcePluginsParams

NewListResourcePluginsParams creates a new ListResourcePluginsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListResourcePluginsParamsWithContext

func NewListResourcePluginsParamsWithContext(ctx context.Context) *ListResourcePluginsParams

NewListResourcePluginsParamsWithContext creates a new ListResourcePluginsParams object with the ability to set a context for a request.

func NewListResourcePluginsParamsWithHTTPClient

func NewListResourcePluginsParamsWithHTTPClient(client *http.Client) *ListResourcePluginsParams

NewListResourcePluginsParamsWithHTTPClient creates a new ListResourcePluginsParams object with the ability to set a custom HTTPClient for a request.

func NewListResourcePluginsParamsWithTimeout

func NewListResourcePluginsParamsWithTimeout(timeout time.Duration) *ListResourcePluginsParams

NewListResourcePluginsParamsWithTimeout creates a new ListResourcePluginsParams object with the ability to set a timeout on a request.

func (*ListResourcePluginsParams) SetContext

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

SetContext adds the context to the list resource plugins params

func (*ListResourcePluginsParams) SetDefaults

func (o *ListResourcePluginsParams) SetDefaults()

SetDefaults hydrates default values in the list resource plugins params (not the query body).

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

func (*ListResourcePluginsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list resource plugins params

func (*ListResourcePluginsParams) SetOrgName

func (o *ListResourcePluginsParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the list resource plugins params

func (*ListResourcePluginsParams) SetTimeout

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

SetTimeout adds the timeout to the list resource plugins params

func (*ListResourcePluginsParams) WithContext

WithContext adds the context to the list resource plugins params

func (*ListResourcePluginsParams) WithDefaults

WithDefaults hydrates default values in the list resource plugins params (not the query body).

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

func (*ListResourcePluginsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list resource plugins params

func (*ListResourcePluginsParams) WithOrgName

WithOrgName adds the orgName to the list resource plugins params

func (*ListResourcePluginsParams) WithTimeout

WithTimeout adds the timeout to the list resource plugins params

func (*ListResourcePluginsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListResourcePluginsReader

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

ListResourcePluginsReader is a Reader for the ListResourcePlugins structure.

func (*ListResourcePluginsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListResourcePluginsUnauthorized

type ListResourcePluginsUnauthorized struct {
	Payload *models.ErrorResponse
}

ListResourcePluginsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListResourcePluginsUnauthorized

func NewListResourcePluginsUnauthorized() *ListResourcePluginsUnauthorized

NewListResourcePluginsUnauthorized creates a ListResourcePluginsUnauthorized with default headers values

func (*ListResourcePluginsUnauthorized) Code

Code gets the status code for the list resource plugins unauthorized response

func (*ListResourcePluginsUnauthorized) Error

func (*ListResourcePluginsUnauthorized) GetPayload

func (*ListResourcePluginsUnauthorized) IsClientError

func (o *ListResourcePluginsUnauthorized) IsClientError() bool

IsClientError returns true when this list resource plugins unauthorized response has a 4xx status code

func (*ListResourcePluginsUnauthorized) IsCode

func (o *ListResourcePluginsUnauthorized) IsCode(code int) bool

IsCode returns true when this list resource plugins unauthorized response a status code equal to that given

func (*ListResourcePluginsUnauthorized) IsRedirect

func (o *ListResourcePluginsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list resource plugins unauthorized response has a 3xx status code

func (*ListResourcePluginsUnauthorized) IsServerError

func (o *ListResourcePluginsUnauthorized) IsServerError() bool

IsServerError returns true when this list resource plugins unauthorized response has a 5xx status code

func (*ListResourcePluginsUnauthorized) IsSuccess

func (o *ListResourcePluginsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list resource plugins unauthorized response has a 2xx status code

func (*ListResourcePluginsUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL