Documentation ¶
Index ¶
- type ApplyResourcePluginBadGateway
- func (o *ApplyResourcePluginBadGateway) Code() int
- func (o *ApplyResourcePluginBadGateway) Error() string
- func (o *ApplyResourcePluginBadGateway) GetPayload() *models.ErrorResponse
- func (o *ApplyResourcePluginBadGateway) IsClientError() bool
- func (o *ApplyResourcePluginBadGateway) IsCode(code int) bool
- func (o *ApplyResourcePluginBadGateway) IsRedirect() bool
- func (o *ApplyResourcePluginBadGateway) IsServerError() bool
- func (o *ApplyResourcePluginBadGateway) IsSuccess() bool
- func (o *ApplyResourcePluginBadGateway) String() string
- type ApplyResourcePluginBadRequest
- func (o *ApplyResourcePluginBadRequest) Code() int
- func (o *ApplyResourcePluginBadRequest) Error() string
- func (o *ApplyResourcePluginBadRequest) GetPayload() *models.ErrorResponse
- func (o *ApplyResourcePluginBadRequest) IsClientError() bool
- func (o *ApplyResourcePluginBadRequest) IsCode(code int) bool
- func (o *ApplyResourcePluginBadRequest) IsRedirect() bool
- func (o *ApplyResourcePluginBadRequest) IsServerError() bool
- func (o *ApplyResourcePluginBadRequest) IsSuccess() bool
- func (o *ApplyResourcePluginBadRequest) String() string
- type ApplyResourcePluginOK
- func (o *ApplyResourcePluginOK) Code() int
- func (o *ApplyResourcePluginOK) Error() string
- func (o *ApplyResourcePluginOK) GetPayload() models.EmptyResponse
- func (o *ApplyResourcePluginOK) IsClientError() bool
- func (o *ApplyResourcePluginOK) IsCode(code int) bool
- func (o *ApplyResourcePluginOK) IsRedirect() bool
- func (o *ApplyResourcePluginOK) IsServerError() bool
- func (o *ApplyResourcePluginOK) IsSuccess() bool
- func (o *ApplyResourcePluginOK) String() string
- type ApplyResourcePluginParams
- func NewApplyResourcePluginParams() *ApplyResourcePluginParams
- func NewApplyResourcePluginParamsWithContext(ctx context.Context) *ApplyResourcePluginParams
- func NewApplyResourcePluginParamsWithHTTPClient(client *http.Client) *ApplyResourcePluginParams
- func NewApplyResourcePluginParamsWithTimeout(timeout time.Duration) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) SetContext(ctx context.Context)
- func (o *ApplyResourcePluginParams) SetData(data *models.ResourcePlugin)
- func (o *ApplyResourcePluginParams) SetDefaults()
- func (o *ApplyResourcePluginParams) SetHTTPClient(client *http.Client)
- func (o *ApplyResourcePluginParams) SetOrgName(orgName string)
- func (o *ApplyResourcePluginParams) SetPluginName(pluginName string)
- func (o *ApplyResourcePluginParams) SetTimeout(timeout time.Duration)
- func (o *ApplyResourcePluginParams) WithContext(ctx context.Context) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WithData(data *models.ResourcePlugin) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WithDefaults() *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WithHTTPClient(client *http.Client) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WithOrgName(orgName string) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WithPluginName(pluginName string) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WithTimeout(timeout time.Duration) *ApplyResourcePluginParams
- func (o *ApplyResourcePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplyResourcePluginReader
- type ApplyResourcePluginUnauthorized
- func (o *ApplyResourcePluginUnauthorized) Code() int
- func (o *ApplyResourcePluginUnauthorized) Error() string
- func (o *ApplyResourcePluginUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ApplyResourcePluginUnauthorized) IsClientError() bool
- func (o *ApplyResourcePluginUnauthorized) IsCode(code int) bool
- func (o *ApplyResourcePluginUnauthorized) IsRedirect() bool
- func (o *ApplyResourcePluginUnauthorized) IsServerError() bool
- func (o *ApplyResourcePluginUnauthorized) IsSuccess() bool
- func (o *ApplyResourcePluginUnauthorized) String() string
- type Client
- func (a *Client) ApplyResourcePlugin(params *ApplyResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ApplyResourcePluginOK, error)
- func (a *Client) DeleteResourcePlugin(params *DeleteResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteResourcePluginOK, error)
- func (a *Client) GetResourcePlugin(params *GetResourcePluginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourcePluginOK, error)
- func (a *Client) ListResourcePlugins(params *ListResourcePluginsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListResourcePluginsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteResourcePluginBadGateway
- func (o *DeleteResourcePluginBadGateway) Code() int
- func (o *DeleteResourcePluginBadGateway) Error() string
- func (o *DeleteResourcePluginBadGateway) GetPayload() *models.ErrorResponse
- func (o *DeleteResourcePluginBadGateway) IsClientError() bool
- func (o *DeleteResourcePluginBadGateway) IsCode(code int) bool
- func (o *DeleteResourcePluginBadGateway) IsRedirect() bool
- func (o *DeleteResourcePluginBadGateway) IsServerError() bool
- func (o *DeleteResourcePluginBadGateway) IsSuccess() bool
- func (o *DeleteResourcePluginBadGateway) String() string
- type DeleteResourcePluginBadRequest
- func (o *DeleteResourcePluginBadRequest) Code() int
- func (o *DeleteResourcePluginBadRequest) Error() string
- func (o *DeleteResourcePluginBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteResourcePluginBadRequest) IsClientError() bool
- func (o *DeleteResourcePluginBadRequest) IsCode(code int) bool
- func (o *DeleteResourcePluginBadRequest) IsRedirect() bool
- func (o *DeleteResourcePluginBadRequest) IsServerError() bool
- func (o *DeleteResourcePluginBadRequest) IsSuccess() bool
- func (o *DeleteResourcePluginBadRequest) String() string
- type DeleteResourcePluginOK
- func (o *DeleteResourcePluginOK) Code() int
- func (o *DeleteResourcePluginOK) Error() string
- func (o *DeleteResourcePluginOK) GetPayload() models.EmptyResponse
- func (o *DeleteResourcePluginOK) IsClientError() bool
- func (o *DeleteResourcePluginOK) IsCode(code int) bool
- func (o *DeleteResourcePluginOK) IsRedirect() bool
- func (o *DeleteResourcePluginOK) IsServerError() bool
- func (o *DeleteResourcePluginOK) IsSuccess() bool
- func (o *DeleteResourcePluginOK) String() string
- type DeleteResourcePluginParams
- func NewDeleteResourcePluginParams() *DeleteResourcePluginParams
- func NewDeleteResourcePluginParamsWithContext(ctx context.Context) *DeleteResourcePluginParams
- func NewDeleteResourcePluginParamsWithHTTPClient(client *http.Client) *DeleteResourcePluginParams
- func NewDeleteResourcePluginParamsWithTimeout(timeout time.Duration) *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) SetContext(ctx context.Context)
- func (o *DeleteResourcePluginParams) SetDefaults()
- func (o *DeleteResourcePluginParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResourcePluginParams) SetOrgName(orgName string)
- func (o *DeleteResourcePluginParams) SetPluginName(pluginName string)
- func (o *DeleteResourcePluginParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResourcePluginParams) WithContext(ctx context.Context) *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) WithDefaults() *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) WithHTTPClient(client *http.Client) *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) WithOrgName(orgName string) *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) WithPluginName(pluginName string) *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) WithTimeout(timeout time.Duration) *DeleteResourcePluginParams
- func (o *DeleteResourcePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResourcePluginReader
- type DeleteResourcePluginUnauthorized
- func (o *DeleteResourcePluginUnauthorized) Code() int
- func (o *DeleteResourcePluginUnauthorized) Error() string
- func (o *DeleteResourcePluginUnauthorized) GetPayload() *models.ErrorResponse
- func (o *DeleteResourcePluginUnauthorized) IsClientError() bool
- func (o *DeleteResourcePluginUnauthorized) IsCode(code int) bool
- func (o *DeleteResourcePluginUnauthorized) IsRedirect() bool
- func (o *DeleteResourcePluginUnauthorized) IsServerError() bool
- func (o *DeleteResourcePluginUnauthorized) IsSuccess() bool
- func (o *DeleteResourcePluginUnauthorized) String() string
- type GetResourcePluginBadGateway
- func (o *GetResourcePluginBadGateway) Code() int
- func (o *GetResourcePluginBadGateway) Error() string
- func (o *GetResourcePluginBadGateway) GetPayload() *models.ErrorResponse
- func (o *GetResourcePluginBadGateway) IsClientError() bool
- func (o *GetResourcePluginBadGateway) IsCode(code int) bool
- func (o *GetResourcePluginBadGateway) IsRedirect() bool
- func (o *GetResourcePluginBadGateway) IsServerError() bool
- func (o *GetResourcePluginBadGateway) IsSuccess() bool
- func (o *GetResourcePluginBadGateway) String() string
- type GetResourcePluginBadRequest
- func (o *GetResourcePluginBadRequest) Code() int
- func (o *GetResourcePluginBadRequest) Error() string
- func (o *GetResourcePluginBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetResourcePluginBadRequest) IsClientError() bool
- func (o *GetResourcePluginBadRequest) IsCode(code int) bool
- func (o *GetResourcePluginBadRequest) IsRedirect() bool
- func (o *GetResourcePluginBadRequest) IsServerError() bool
- func (o *GetResourcePluginBadRequest) IsSuccess() bool
- func (o *GetResourcePluginBadRequest) String() string
- type GetResourcePluginOK
- func (o *GetResourcePluginOK) Code() int
- func (o *GetResourcePluginOK) Error() string
- func (o *GetResourcePluginOK) GetPayload() *models.ResourcePlugin
- func (o *GetResourcePluginOK) IsClientError() bool
- func (o *GetResourcePluginOK) IsCode(code int) bool
- func (o *GetResourcePluginOK) IsRedirect() bool
- func (o *GetResourcePluginOK) IsServerError() bool
- func (o *GetResourcePluginOK) IsSuccess() bool
- func (o *GetResourcePluginOK) String() string
- type GetResourcePluginParams
- func NewGetResourcePluginParams() *GetResourcePluginParams
- func NewGetResourcePluginParamsWithContext(ctx context.Context) *GetResourcePluginParams
- func NewGetResourcePluginParamsWithHTTPClient(client *http.Client) *GetResourcePluginParams
- func NewGetResourcePluginParamsWithTimeout(timeout time.Duration) *GetResourcePluginParams
- func (o *GetResourcePluginParams) SetContext(ctx context.Context)
- func (o *GetResourcePluginParams) SetDefaults()
- func (o *GetResourcePluginParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcePluginParams) SetOrgName(orgName string)
- func (o *GetResourcePluginParams) SetPluginName(pluginName string)
- func (o *GetResourcePluginParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcePluginParams) WithContext(ctx context.Context) *GetResourcePluginParams
- func (o *GetResourcePluginParams) WithDefaults() *GetResourcePluginParams
- func (o *GetResourcePluginParams) WithHTTPClient(client *http.Client) *GetResourcePluginParams
- func (o *GetResourcePluginParams) WithOrgName(orgName string) *GetResourcePluginParams
- func (o *GetResourcePluginParams) WithPluginName(pluginName string) *GetResourcePluginParams
- func (o *GetResourcePluginParams) WithTimeout(timeout time.Duration) *GetResourcePluginParams
- func (o *GetResourcePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcePluginReader
- type GetResourcePluginUnauthorized
- func (o *GetResourcePluginUnauthorized) Code() int
- func (o *GetResourcePluginUnauthorized) Error() string
- func (o *GetResourcePluginUnauthorized) GetPayload() *models.ErrorResponse
- func (o *GetResourcePluginUnauthorized) IsClientError() bool
- func (o *GetResourcePluginUnauthorized) IsCode(code int) bool
- func (o *GetResourcePluginUnauthorized) IsRedirect() bool
- func (o *GetResourcePluginUnauthorized) IsServerError() bool
- func (o *GetResourcePluginUnauthorized) IsSuccess() bool
- func (o *GetResourcePluginUnauthorized) String() string
- type ListResourcePluginsBadGateway
- func (o *ListResourcePluginsBadGateway) Code() int
- func (o *ListResourcePluginsBadGateway) Error() string
- func (o *ListResourcePluginsBadGateway) GetPayload() *models.ErrorResponse
- func (o *ListResourcePluginsBadGateway) IsClientError() bool
- func (o *ListResourcePluginsBadGateway) IsCode(code int) bool
- func (o *ListResourcePluginsBadGateway) IsRedirect() bool
- func (o *ListResourcePluginsBadGateway) IsServerError() bool
- func (o *ListResourcePluginsBadGateway) IsSuccess() bool
- func (o *ListResourcePluginsBadGateway) String() string
- type ListResourcePluginsBadRequest
- func (o *ListResourcePluginsBadRequest) Code() int
- func (o *ListResourcePluginsBadRequest) Error() string
- func (o *ListResourcePluginsBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListResourcePluginsBadRequest) IsClientError() bool
- func (o *ListResourcePluginsBadRequest) IsCode(code int) bool
- func (o *ListResourcePluginsBadRequest) IsRedirect() bool
- func (o *ListResourcePluginsBadRequest) IsServerError() bool
- func (o *ListResourcePluginsBadRequest) IsSuccess() bool
- func (o *ListResourcePluginsBadRequest) String() string
- type ListResourcePluginsOK
- func (o *ListResourcePluginsOK) Code() int
- func (o *ListResourcePluginsOK) Error() string
- func (o *ListResourcePluginsOK) GetPayload() []*models.ResourcePlugin
- func (o *ListResourcePluginsOK) IsClientError() bool
- func (o *ListResourcePluginsOK) IsCode(code int) bool
- func (o *ListResourcePluginsOK) IsRedirect() bool
- func (o *ListResourcePluginsOK) IsServerError() bool
- func (o *ListResourcePluginsOK) IsSuccess() bool
- func (o *ListResourcePluginsOK) String() string
- type ListResourcePluginsParams
- func NewListResourcePluginsParams() *ListResourcePluginsParams
- func NewListResourcePluginsParamsWithContext(ctx context.Context) *ListResourcePluginsParams
- func NewListResourcePluginsParamsWithHTTPClient(client *http.Client) *ListResourcePluginsParams
- func NewListResourcePluginsParamsWithTimeout(timeout time.Duration) *ListResourcePluginsParams
- func (o *ListResourcePluginsParams) SetContext(ctx context.Context)
- func (o *ListResourcePluginsParams) SetDefaults()
- func (o *ListResourcePluginsParams) SetHTTPClient(client *http.Client)
- func (o *ListResourcePluginsParams) SetOrgName(orgName string)
- func (o *ListResourcePluginsParams) SetTimeout(timeout time.Duration)
- func (o *ListResourcePluginsParams) WithContext(ctx context.Context) *ListResourcePluginsParams
- func (o *ListResourcePluginsParams) WithDefaults() *ListResourcePluginsParams
- func (o *ListResourcePluginsParams) WithHTTPClient(client *http.Client) *ListResourcePluginsParams
- func (o *ListResourcePluginsParams) WithOrgName(orgName string) *ListResourcePluginsParams
- func (o *ListResourcePluginsParams) WithTimeout(timeout time.Duration) *ListResourcePluginsParams
- func (o *ListResourcePluginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListResourcePluginsReader
- type ListResourcePluginsUnauthorized
- func (o *ListResourcePluginsUnauthorized) Code() int
- func (o *ListResourcePluginsUnauthorized) Error() string
- func (o *ListResourcePluginsUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ListResourcePluginsUnauthorized) IsClientError() bool
- func (o *ListResourcePluginsUnauthorized) IsCode(code int) bool
- func (o *ListResourcePluginsUnauthorized) IsRedirect() bool
- func (o *ListResourcePluginsUnauthorized) IsServerError() bool
- func (o *ListResourcePluginsUnauthorized) IsSuccess() bool
- func (o *ListResourcePluginsUnauthorized) String() string
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 ¶
func (o *ApplyResourcePluginBadGateway) Code() int
Code gets the status code for the apply resource plugin bad gateway response
func (*ApplyResourcePluginBadGateway) Error ¶
func (o *ApplyResourcePluginBadGateway) Error() string
func (*ApplyResourcePluginBadGateway) GetPayload ¶
func (o *ApplyResourcePluginBadGateway) GetPayload() *models.ErrorResponse
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 ¶
func (o *ApplyResourcePluginBadGateway) String() 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 ¶
func (o *ApplyResourcePluginBadRequest) Code() int
Code gets the status code for the apply resource plugin bad request response
func (*ApplyResourcePluginBadRequest) Error ¶
func (o *ApplyResourcePluginBadRequest) Error() string
func (*ApplyResourcePluginBadRequest) GetPayload ¶
func (o *ApplyResourcePluginBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *ApplyResourcePluginBadRequest) 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 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 ¶
func (o *ApplyResourcePluginParams) SetData(data *models.ResourcePlugin)
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 ¶
func (o *ApplyResourcePluginParams) WithContext(ctx context.Context) *ApplyResourcePluginParams
WithContext adds the context to the apply resource plugin params
func (*ApplyResourcePluginParams) WithData ¶
func (o *ApplyResourcePluginParams) WithData(data *models.ResourcePlugin) *ApplyResourcePluginParams
WithData adds the data to the apply resource plugin params
func (*ApplyResourcePluginParams) WithDefaults ¶
func (o *ApplyResourcePluginParams) WithDefaults() *ApplyResourcePluginParams
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 ¶
func (o *ApplyResourcePluginParams) WithOrgName(orgName string) *ApplyResourcePluginParams
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 ¶
func (o *ApplyResourcePluginParams) WithTimeout(timeout time.Duration) *ApplyResourcePluginParams
WithTimeout adds the timeout to the apply resource plugin params
func (*ApplyResourcePluginParams) WriteToRequest ¶
func (o *ApplyResourcePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *ApplyResourcePluginUnauthorized) Code() int
Code gets the status code for the apply resource plugin unauthorized response
func (*ApplyResourcePluginUnauthorized) Error ¶
func (o *ApplyResourcePluginUnauthorized) Error() string
func (*ApplyResourcePluginUnauthorized) GetPayload ¶
func (o *ApplyResourcePluginUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *ApplyResourcePluginUnauthorized) String() 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 ¶
func (o *DeleteResourcePluginBadGateway) Code() int
Code gets the status code for the delete resource plugin bad gateway response
func (*DeleteResourcePluginBadGateway) Error ¶
func (o *DeleteResourcePluginBadGateway) Error() string
func (*DeleteResourcePluginBadGateway) GetPayload ¶
func (o *DeleteResourcePluginBadGateway) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteResourcePluginBadGateway) String() 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 ¶
func (o *DeleteResourcePluginBadRequest) Code() int
Code gets the status code for the delete resource plugin bad request response
func (*DeleteResourcePluginBadRequest) Error ¶
func (o *DeleteResourcePluginBadRequest) Error() string
func (*DeleteResourcePluginBadRequest) GetPayload ¶
func (o *DeleteResourcePluginBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteResourcePluginBadRequest) String() 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 (o *DeleteResourcePluginOK) GetPayload() models.EmptyResponse
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 ¶
func (o *DeleteResourcePluginParams) WithContext(ctx context.Context) *DeleteResourcePluginParams
WithContext adds the context to the delete resource plugin params
func (*DeleteResourcePluginParams) WithDefaults ¶
func (o *DeleteResourcePluginParams) WithDefaults() *DeleteResourcePluginParams
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 ¶
func (o *DeleteResourcePluginParams) WithHTTPClient(client *http.Client) *DeleteResourcePluginParams
WithHTTPClient adds the HTTPClient to the delete resource plugin params
func (*DeleteResourcePluginParams) WithOrgName ¶
func (o *DeleteResourcePluginParams) WithOrgName(orgName string) *DeleteResourcePluginParams
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 ¶
func (o *DeleteResourcePluginParams) WithTimeout(timeout time.Duration) *DeleteResourcePluginParams
WithTimeout adds the timeout to the delete resource plugin params
func (*DeleteResourcePluginParams) WriteToRequest ¶
func (o *DeleteResourcePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *DeleteResourcePluginUnauthorized) Code() int
Code gets the status code for the delete resource plugin unauthorized response
func (*DeleteResourcePluginUnauthorized) Error ¶
func (o *DeleteResourcePluginUnauthorized) Error() string
func (*DeleteResourcePluginUnauthorized) GetPayload ¶
func (o *DeleteResourcePluginUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteResourcePluginUnauthorized) String() 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 (o *GetResourcePluginBadGateway) Error() string
func (*GetResourcePluginBadGateway) GetPayload ¶
func (o *GetResourcePluginBadGateway) GetPayload() *models.ErrorResponse
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 (o *GetResourcePluginBadRequest) Error() string
func (*GetResourcePluginBadRequest) GetPayload ¶
func (o *GetResourcePluginBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetResourcePluginParams) WithContext(ctx context.Context) *GetResourcePluginParams
WithContext adds the context to the get resource plugin params
func (*GetResourcePluginParams) WithDefaults ¶
func (o *GetResourcePluginParams) WithDefaults() *GetResourcePluginParams
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 ¶
func (o *GetResourcePluginParams) WithTimeout(timeout time.Duration) *GetResourcePluginParams
WithTimeout adds the timeout to the get resource plugin params
func (*GetResourcePluginParams) WriteToRequest ¶
func (o *GetResourcePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetResourcePluginUnauthorized) Code() int
Code gets the status code for the get resource plugin unauthorized response
func (*GetResourcePluginUnauthorized) Error ¶
func (o *GetResourcePluginUnauthorized) Error() string
func (*GetResourcePluginUnauthorized) GetPayload ¶
func (o *GetResourcePluginUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetResourcePluginUnauthorized) String() 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 ¶
func (o *ListResourcePluginsBadGateway) Code() int
Code gets the status code for the list resource plugins bad gateway response
func (*ListResourcePluginsBadGateway) Error ¶
func (o *ListResourcePluginsBadGateway) Error() string
func (*ListResourcePluginsBadGateway) GetPayload ¶
func (o *ListResourcePluginsBadGateway) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListResourcePluginsBadGateway) String() 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 ¶
func (o *ListResourcePluginsBadRequest) Code() int
Code gets the status code for the list resource plugins bad request response
func (*ListResourcePluginsBadRequest) Error ¶
func (o *ListResourcePluginsBadRequest) Error() string
func (*ListResourcePluginsBadRequest) GetPayload ¶
func (o *ListResourcePluginsBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListResourcePluginsBadRequest) String() 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 ¶
func (o *ListResourcePluginsParams) WithContext(ctx context.Context) *ListResourcePluginsParams
WithContext adds the context to the list resource plugins params
func (*ListResourcePluginsParams) WithDefaults ¶
func (o *ListResourcePluginsParams) WithDefaults() *ListResourcePluginsParams
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 ¶
func (o *ListResourcePluginsParams) WithOrgName(orgName string) *ListResourcePluginsParams
WithOrgName adds the orgName to the list resource plugins params
func (*ListResourcePluginsParams) WithTimeout ¶
func (o *ListResourcePluginsParams) WithTimeout(timeout time.Duration) *ListResourcePluginsParams
WithTimeout adds the timeout to the list resource plugins params
func (*ListResourcePluginsParams) WriteToRequest ¶
func (o *ListResourcePluginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *ListResourcePluginsUnauthorized) Code() int
Code gets the status code for the list resource plugins unauthorized response
func (*ListResourcePluginsUnauthorized) Error ¶
func (o *ListResourcePluginsUnauthorized) Error() string
func (*ListResourcePluginsUnauthorized) GetPayload ¶
func (o *ListResourcePluginsUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListResourcePluginsUnauthorized) String() string
Source Files ¶
- apply_resource_plugin_parameters.go
- apply_resource_plugin_responses.go
- delete_resource_plugin_parameters.go
- delete_resource_plugin_responses.go
- get_resource_plugin_parameters.go
- get_resource_plugin_responses.go
- list_resource_plugins_parameters.go
- list_resource_plugins_responses.go
- resource_plugins_client.go