resource_plugins

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 12 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 ApplyResourcePluginConflict added in v0.3.8

type ApplyResourcePluginConflict struct {
	Payload *models.ErrorResponse
}

ApplyResourcePluginConflict describes a response with status code 409, with default header values.

Conflict

func NewApplyResourcePluginConflict added in v0.3.8

func NewApplyResourcePluginConflict() *ApplyResourcePluginConflict

NewApplyResourcePluginConflict creates a ApplyResourcePluginConflict with default headers values

func (*ApplyResourcePluginConflict) Code added in v0.3.8

func (o *ApplyResourcePluginConflict) Code() int

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

func (*ApplyResourcePluginConflict) Error added in v0.3.8

func (*ApplyResourcePluginConflict) GetPayload added in v0.3.8

func (*ApplyResourcePluginConflict) IsClientError added in v0.3.8

func (o *ApplyResourcePluginConflict) IsClientError() bool

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

func (*ApplyResourcePluginConflict) IsCode added in v0.3.8

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

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

func (*ApplyResourcePluginConflict) IsRedirect added in v0.3.8

func (o *ApplyResourcePluginConflict) IsRedirect() bool

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

func (*ApplyResourcePluginConflict) IsServerError added in v0.3.8

func (o *ApplyResourcePluginConflict) IsServerError() bool

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

func (*ApplyResourcePluginConflict) IsSuccess added in v0.3.8

func (o *ApplyResourcePluginConflict) IsSuccess() bool

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

func (*ApplyResourcePluginConflict) String added in v0.3.8

func (o *ApplyResourcePluginConflict) String() 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 a resource plugin version
	*/
	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) (any, 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

Creates a new version of a resource plugin. The body's `name` field carries the wire form `bareName[@semver]` (e.g. `my-plugin@1.2.0`); its bare part must match the URL path name. A bare-name form (no `@`) publishes the default version `0.0.0`. Versions are immutable; PUTting an existing (name, version) pair returns 409. The version suffix must be a concrete semver; "latest" is only accepted on the read and delete query parameters.

func (*Client) DeleteResourcePlugin

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

DeleteResourcePlugin deletes a resource plugin

Delete a resource plugin version. Omit the version query parameter to delete the latest version. Deletion is blocked when any sandbox references the specific version being deleted.

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. Omit the version query parameter to get the latest version.

func (*Client) ListResourcePluginVersions added in v0.3.8

func (a *Client) ListResourcePluginVersions(params *ListResourcePluginVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourcePluginVersionsOK, error)

ListResourcePluginVersions lists versions of a resource plugin

List every published version of the named resource plugin.

func (*Client) ListResourcePlugins

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

ListResourcePlugins lists resource plugins

List resource plugins under the specified Signadot org. By default returns only the highest-semver version of each plugin. Pass `?version=all` to expand the response into one row per published (name, version), sorted by name then semver-descending. `?version=latest` is accepted as an explicit alias for the default.

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 may be used to customize the behavior of 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)

	ListResourcePluginVersions(params *ListResourcePluginVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourcePluginVersionsOK, 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.

func NewClientWithBasicAuth added in v0.3.8

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new resource plugins API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.3.8

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new resource plugins API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

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

	/* Version.

	   Resource plugin version (semver); omit for latest
	*/
	Version *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) SetVersion added in v0.3.8

func (o *DeleteResourcePluginParams) SetVersion(version *string)

SetVersion adds the version 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) WithVersion added in v0.3.8

WithVersion adds the version 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) (any, 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

	/* Version.

	   Resource plugin version (semver); omit for latest
	*/
	Version *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) SetVersion added in v0.3.8

func (o *GetResourcePluginParams) SetVersion(version *string)

SetVersion adds the version 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) WithVersion added in v0.3.8

func (o *GetResourcePluginParams) WithVersion(version *string) *GetResourcePluginParams

WithVersion adds the version 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) (any, 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 ListResourcePluginVersionsBadGateway added in v0.3.8

type ListResourcePluginVersionsBadGateway struct {
	Payload *models.ErrorResponse
}

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

Bad Gateway

func NewListResourcePluginVersionsBadGateway added in v0.3.8

func NewListResourcePluginVersionsBadGateway() *ListResourcePluginVersionsBadGateway

NewListResourcePluginVersionsBadGateway creates a ListResourcePluginVersionsBadGateway with default headers values

func (*ListResourcePluginVersionsBadGateway) Code added in v0.3.8

Code gets the status code for the list resource plugin versions bad gateway response

func (*ListResourcePluginVersionsBadGateway) Error added in v0.3.8

func (*ListResourcePluginVersionsBadGateway) GetPayload added in v0.3.8

func (*ListResourcePluginVersionsBadGateway) IsClientError added in v0.3.8

func (o *ListResourcePluginVersionsBadGateway) IsClientError() bool

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

func (*ListResourcePluginVersionsBadGateway) IsCode added in v0.3.8

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

func (*ListResourcePluginVersionsBadGateway) IsRedirect added in v0.3.8

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

func (*ListResourcePluginVersionsBadGateway) IsServerError added in v0.3.8

func (o *ListResourcePluginVersionsBadGateway) IsServerError() bool

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

func (*ListResourcePluginVersionsBadGateway) IsSuccess added in v0.3.8

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

func (*ListResourcePluginVersionsBadGateway) String added in v0.3.8

type ListResourcePluginVersionsBadRequest added in v0.3.8

type ListResourcePluginVersionsBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad Request

func NewListResourcePluginVersionsBadRequest added in v0.3.8

func NewListResourcePluginVersionsBadRequest() *ListResourcePluginVersionsBadRequest

NewListResourcePluginVersionsBadRequest creates a ListResourcePluginVersionsBadRequest with default headers values

func (*ListResourcePluginVersionsBadRequest) Code added in v0.3.8

Code gets the status code for the list resource plugin versions bad request response

func (*ListResourcePluginVersionsBadRequest) Error added in v0.3.8

func (*ListResourcePluginVersionsBadRequest) GetPayload added in v0.3.8

func (*ListResourcePluginVersionsBadRequest) IsClientError added in v0.3.8

func (o *ListResourcePluginVersionsBadRequest) IsClientError() bool

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

func (*ListResourcePluginVersionsBadRequest) IsCode added in v0.3.8

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

func (*ListResourcePluginVersionsBadRequest) IsRedirect added in v0.3.8

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

func (*ListResourcePluginVersionsBadRequest) IsServerError added in v0.3.8

func (o *ListResourcePluginVersionsBadRequest) IsServerError() bool

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

func (*ListResourcePluginVersionsBadRequest) IsSuccess added in v0.3.8

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

func (*ListResourcePluginVersionsBadRequest) String added in v0.3.8

type ListResourcePluginVersionsOK added in v0.3.8

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

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

OK

func NewListResourcePluginVersionsOK added in v0.3.8

func NewListResourcePluginVersionsOK() *ListResourcePluginVersionsOK

NewListResourcePluginVersionsOK creates a ListResourcePluginVersionsOK with default headers values

func (*ListResourcePluginVersionsOK) Code added in v0.3.8

Code gets the status code for the list resource plugin versions o k response

func (*ListResourcePluginVersionsOK) Error added in v0.3.8

func (*ListResourcePluginVersionsOK) GetPayload added in v0.3.8

func (*ListResourcePluginVersionsOK) IsClientError added in v0.3.8

func (o *ListResourcePluginVersionsOK) IsClientError() bool

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

func (*ListResourcePluginVersionsOK) IsCode added in v0.3.8

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

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

func (*ListResourcePluginVersionsOK) IsRedirect added in v0.3.8

func (o *ListResourcePluginVersionsOK) IsRedirect() bool

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

func (*ListResourcePluginVersionsOK) IsServerError added in v0.3.8

func (o *ListResourcePluginVersionsOK) IsServerError() bool

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

func (*ListResourcePluginVersionsOK) IsSuccess added in v0.3.8

func (o *ListResourcePluginVersionsOK) IsSuccess() bool

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

func (*ListResourcePluginVersionsOK) String added in v0.3.8

type ListResourcePluginVersionsParams added in v0.3.8

type ListResourcePluginVersionsParams struct {

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* PluginName.

	   Resource plugin name
	*/
	PluginName string

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

ListResourcePluginVersionsParams contains all the parameters to send to the API endpoint

for the list resource plugin versions operation.

Typically these are written to a http.Request.

func NewListResourcePluginVersionsParams added in v0.3.8

func NewListResourcePluginVersionsParams() *ListResourcePluginVersionsParams

NewListResourcePluginVersionsParams creates a new ListResourcePluginVersionsParams 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 NewListResourcePluginVersionsParamsWithContext added in v0.3.8

func NewListResourcePluginVersionsParamsWithContext(ctx context.Context) *ListResourcePluginVersionsParams

NewListResourcePluginVersionsParamsWithContext creates a new ListResourcePluginVersionsParams object with the ability to set a context for a request.

func NewListResourcePluginVersionsParamsWithHTTPClient added in v0.3.8

func NewListResourcePluginVersionsParamsWithHTTPClient(client *http.Client) *ListResourcePluginVersionsParams

NewListResourcePluginVersionsParamsWithHTTPClient creates a new ListResourcePluginVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewListResourcePluginVersionsParamsWithTimeout added in v0.3.8

func NewListResourcePluginVersionsParamsWithTimeout(timeout time.Duration) *ListResourcePluginVersionsParams

NewListResourcePluginVersionsParamsWithTimeout creates a new ListResourcePluginVersionsParams object with the ability to set a timeout on a request.

func (*ListResourcePluginVersionsParams) SetContext added in v0.3.8

SetContext adds the context to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) SetDefaults added in v0.3.8

func (o *ListResourcePluginVersionsParams) SetDefaults()

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

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

func (*ListResourcePluginVersionsParams) SetHTTPClient added in v0.3.8

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

SetHTTPClient adds the HTTPClient to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) SetOrgName added in v0.3.8

func (o *ListResourcePluginVersionsParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) SetPluginName added in v0.3.8

func (o *ListResourcePluginVersionsParams) SetPluginName(pluginName string)

SetPluginName adds the pluginName to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) SetTimeout added in v0.3.8

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

SetTimeout adds the timeout to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) WithContext added in v0.3.8

WithContext adds the context to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) WithDefaults added in v0.3.8

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

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

func (*ListResourcePluginVersionsParams) WithHTTPClient added in v0.3.8

WithHTTPClient adds the HTTPClient to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) WithOrgName added in v0.3.8

WithOrgName adds the orgName to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) WithPluginName added in v0.3.8

WithPluginName adds the pluginName to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) WithTimeout added in v0.3.8

WithTimeout adds the timeout to the list resource plugin versions params

func (*ListResourcePluginVersionsParams) WriteToRequest added in v0.3.8

WriteToRequest writes these params to a swagger request

type ListResourcePluginVersionsReader added in v0.3.8

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

ListResourcePluginVersionsReader is a Reader for the ListResourcePluginVersions structure.

func (*ListResourcePluginVersionsReader) ReadResponse added in v0.3.8

func (o *ListResourcePluginVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListResourcePluginVersionsUnauthorized added in v0.3.8

type ListResourcePluginVersionsUnauthorized struct {
	Payload *models.ErrorResponse
}

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

Unauthorized

func NewListResourcePluginVersionsUnauthorized added in v0.3.8

func NewListResourcePluginVersionsUnauthorized() *ListResourcePluginVersionsUnauthorized

NewListResourcePluginVersionsUnauthorized creates a ListResourcePluginVersionsUnauthorized with default headers values

func (*ListResourcePluginVersionsUnauthorized) Code added in v0.3.8

Code gets the status code for the list resource plugin versions unauthorized response

func (*ListResourcePluginVersionsUnauthorized) Error added in v0.3.8

func (*ListResourcePluginVersionsUnauthorized) GetPayload added in v0.3.8

func (*ListResourcePluginVersionsUnauthorized) IsClientError added in v0.3.8

func (o *ListResourcePluginVersionsUnauthorized) IsClientError() bool

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

func (*ListResourcePluginVersionsUnauthorized) IsCode added in v0.3.8

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

func (*ListResourcePluginVersionsUnauthorized) IsRedirect added in v0.3.8

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

func (*ListResourcePluginVersionsUnauthorized) IsServerError added in v0.3.8

func (o *ListResourcePluginVersionsUnauthorized) IsServerError() bool

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

func (*ListResourcePluginVersionsUnauthorized) IsSuccess added in v0.3.8

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

func (*ListResourcePluginVersionsUnauthorized) String added in v0.3.8

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

	/* Version.

	   'latest' (default) returns only the highest-semver version of each plugin; 'all' returns every published version
	*/
	Version *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) SetVersion added in v0.3.8

func (o *ListResourcePluginsParams) SetVersion(version *string)

SetVersion adds the version 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) WithVersion added in v0.3.8

WithVersion adds the version 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) (any, 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