service_plugin_config

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for service plugin config API

func (*Client) DeleteServicePluginConfig deprecated

Deprecated: 2022-08-10 - Use DeleteServicePluginConfigShort instead.

DeleteServicePluginConfig delete service plugin config Delete service plugin config. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:CONFIG:SERVICEPLUGIN, action=8 (DELETE)

func (*Client) DeleteServicePluginConfigShort

func (a *Client) DeleteServicePluginConfigShort(params *DeleteServicePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServicePluginConfigNoContent, error)

DeleteServicePluginConfigShort delete service plugin config Delete service plugin config. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:CONFIG:SERVICEPLUGIN, action=8 (DELETE)

func (*Client) GetServicePluginConfig deprecated

func (a *Client) GetServicePluginConfig(params *GetServicePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetServicePluginConfigOK, error)

Deprecated: 2022-08-10 - Use GetServicePluginConfigShort instead.

GetServicePluginConfig get service plugin config Get service plugin config. Other detail info:

  • Required permission : resource= ADMIN:NAMESPACE:{namespace}:CONFIG:SERVICEPLUGIN , action=2 (READ)

func (*Client) GetServicePluginConfigShort

func (a *Client) GetServicePluginConfigShort(params *GetServicePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetServicePluginConfigOK, error)

GetServicePluginConfigShort get service plugin config Get service plugin config. Other detail info:

  • Required permission : resource= ADMIN:NAMESPACE:{namespace}:CONFIG:SERVICEPLUGIN , action=2 (READ)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateServicePluginConfig deprecated

Deprecated: 2022-08-10 - Use UpdateServicePluginConfigShort instead.

UpdateServicePluginConfig update service plugin config service Update catalog config. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:CONFIG:SERVICEPLUGIN, action=4 (UPDATE)
  • Returns : updated service plugin config

func (*Client) UpdateServicePluginConfigShort

func (a *Client) UpdateServicePluginConfigShort(params *UpdateServicePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServicePluginConfigOK, error)

UpdateServicePluginConfigShort update service plugin config service Update catalog config. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:CONFIG:SERVICEPLUGIN, action=4 (UPDATE)
  • Returns : updated service plugin config

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new service plugin config API client.

type DeleteServicePluginConfigNoContent

type DeleteServicePluginConfigNoContent struct {
}

DeleteServicePluginConfigNoContent handles this case with default header values.

Delete successfully

func NewDeleteServicePluginConfigNoContent

func NewDeleteServicePluginConfigNoContent() *DeleteServicePluginConfigNoContent

NewDeleteServicePluginConfigNoContent creates a DeleteServicePluginConfigNoContent with default headers values

func (*DeleteServicePluginConfigNoContent) Error

type DeleteServicePluginConfigParams

type DeleteServicePluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string

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

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

func NewDeleteServicePluginConfigParams

func NewDeleteServicePluginConfigParams() *DeleteServicePluginConfigParams

NewDeleteServicePluginConfigParams creates a new DeleteServicePluginConfigParams object with the default values initialized.

func NewDeleteServicePluginConfigParamsWithContext

func NewDeleteServicePluginConfigParamsWithContext(ctx context.Context) *DeleteServicePluginConfigParams

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

func NewDeleteServicePluginConfigParamsWithHTTPClient

func NewDeleteServicePluginConfigParamsWithHTTPClient(client *http.Client) *DeleteServicePluginConfigParams

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

func NewDeleteServicePluginConfigParamsWithTimeout

func NewDeleteServicePluginConfigParamsWithTimeout(timeout time.Duration) *DeleteServicePluginConfigParams

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

func (*DeleteServicePluginConfigParams) SetAuthInfoWriter

func (o *DeleteServicePluginConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete service plugin config params

func (*DeleteServicePluginConfigParams) SetContext

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

SetContext adds the context to the delete service plugin config params

func (*DeleteServicePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service plugin config params

func (*DeleteServicePluginConfigParams) SetHTTPClientTransport

func (o *DeleteServicePluginConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete service plugin config params

func (*DeleteServicePluginConfigParams) SetNamespace

func (o *DeleteServicePluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete service plugin config params

func (*DeleteServicePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete service plugin config params

func (*DeleteServicePluginConfigParams) WithContext

WithContext adds the context to the delete service plugin config params

func (*DeleteServicePluginConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service plugin config params

func (*DeleteServicePluginConfigParams) WithNamespace

WithNamespace adds the namespace to the delete service plugin config params

func (*DeleteServicePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the delete service plugin config params

func (*DeleteServicePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServicePluginConfigReader

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

DeleteServicePluginConfigReader is a Reader for the DeleteServicePluginConfig structure.

func (*DeleteServicePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServicePluginConfigOK

type GetServicePluginConfigOK struct {
	Payload *platformclientmodels.ServicePluginConfigInfo
}

GetServicePluginConfigOK handles this case with default header values.

successful operation

func NewGetServicePluginConfigOK

func NewGetServicePluginConfigOK() *GetServicePluginConfigOK

NewGetServicePluginConfigOK creates a GetServicePluginConfigOK with default headers values

func (*GetServicePluginConfigOK) Error

func (o *GetServicePluginConfigOK) Error() string

func (*GetServicePluginConfigOK) GetPayload

func (*GetServicePluginConfigOK) ToJSONString

func (o *GetServicePluginConfigOK) ToJSONString() string

type GetServicePluginConfigParams

type GetServicePluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string

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

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

func NewGetServicePluginConfigParams

func NewGetServicePluginConfigParams() *GetServicePluginConfigParams

NewGetServicePluginConfigParams creates a new GetServicePluginConfigParams object with the default values initialized.

func NewGetServicePluginConfigParamsWithContext

func NewGetServicePluginConfigParamsWithContext(ctx context.Context) *GetServicePluginConfigParams

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

func NewGetServicePluginConfigParamsWithHTTPClient

func NewGetServicePluginConfigParamsWithHTTPClient(client *http.Client) *GetServicePluginConfigParams

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

func NewGetServicePluginConfigParamsWithTimeout

func NewGetServicePluginConfigParamsWithTimeout(timeout time.Duration) *GetServicePluginConfigParams

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

func (*GetServicePluginConfigParams) SetAuthInfoWriter

func (o *GetServicePluginConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get service plugin config params

func (*GetServicePluginConfigParams) SetContext

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

SetContext adds the context to the get service plugin config params

func (*GetServicePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service plugin config params

func (*GetServicePluginConfigParams) SetHTTPClientTransport

func (o *GetServicePluginConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get service plugin config params

func (*GetServicePluginConfigParams) SetNamespace

func (o *GetServicePluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get service plugin config params

func (*GetServicePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get service plugin config params

func (*GetServicePluginConfigParams) WithContext

WithContext adds the context to the get service plugin config params

func (*GetServicePluginConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service plugin config params

func (*GetServicePluginConfigParams) WithNamespace

WithNamespace adds the namespace to the get service plugin config params

func (*GetServicePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the get service plugin config params

func (*GetServicePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServicePluginConfigReader

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

GetServicePluginConfigReader is a Reader for the GetServicePluginConfig structure.

func (*GetServicePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServicePluginConfigOK

type UpdateServicePluginConfigOK struct {
	Payload *platformclientmodels.ServicePluginConfigInfo
}

UpdateServicePluginConfigOK handles this case with default header values.

successful operation

func NewUpdateServicePluginConfigOK

func NewUpdateServicePluginConfigOK() *UpdateServicePluginConfigOK

NewUpdateServicePluginConfigOK creates a UpdateServicePluginConfigOK with default headers values

func (*UpdateServicePluginConfigOK) Error

func (*UpdateServicePluginConfigOK) GetPayload

func (*UpdateServicePluginConfigOK) ToJSONString

func (o *UpdateServicePluginConfigOK) ToJSONString() string

type UpdateServicePluginConfigParams

type UpdateServicePluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ServicePluginConfigUpdate
	/*Namespace*/
	Namespace string

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

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

func NewUpdateServicePluginConfigParams

func NewUpdateServicePluginConfigParams() *UpdateServicePluginConfigParams

NewUpdateServicePluginConfigParams creates a new UpdateServicePluginConfigParams object with the default values initialized.

func NewUpdateServicePluginConfigParamsWithContext

func NewUpdateServicePluginConfigParamsWithContext(ctx context.Context) *UpdateServicePluginConfigParams

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

func NewUpdateServicePluginConfigParamsWithHTTPClient

func NewUpdateServicePluginConfigParamsWithHTTPClient(client *http.Client) *UpdateServicePluginConfigParams

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

func NewUpdateServicePluginConfigParamsWithTimeout

func NewUpdateServicePluginConfigParamsWithTimeout(timeout time.Duration) *UpdateServicePluginConfigParams

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

func (*UpdateServicePluginConfigParams) SetAuthInfoWriter

func (o *UpdateServicePluginConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update service plugin config params

func (*UpdateServicePluginConfigParams) SetBody

SetBody adds the body to the update service plugin config params

func (*UpdateServicePluginConfigParams) SetContext

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

SetContext adds the context to the update service plugin config params

func (*UpdateServicePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service plugin config params

func (*UpdateServicePluginConfigParams) SetHTTPClientTransport

func (o *UpdateServicePluginConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update service plugin config params

func (*UpdateServicePluginConfigParams) SetNamespace

func (o *UpdateServicePluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update service plugin config params

func (*UpdateServicePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update service plugin config params

func (*UpdateServicePluginConfigParams) WithBody

WithBody adds the body to the update service plugin config params

func (*UpdateServicePluginConfigParams) WithContext

WithContext adds the context to the update service plugin config params

func (*UpdateServicePluginConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service plugin config params

func (*UpdateServicePluginConfigParams) WithNamespace

WithNamespace adds the namespace to the update service plugin config params

func (*UpdateServicePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the update service plugin config params

func (*UpdateServicePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServicePluginConfigReader

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

UpdateServicePluginConfigReader is a Reader for the UpdateServicePluginConfig structure.

func (*UpdateServicePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServicePluginConfigUnprocessableEntity

type UpdateServicePluginConfigUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateServicePluginConfigUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdateServicePluginConfigUnprocessableEntity

func NewUpdateServicePluginConfigUnprocessableEntity() *UpdateServicePluginConfigUnprocessableEntity

NewUpdateServicePluginConfigUnprocessableEntity creates a UpdateServicePluginConfigUnprocessableEntity with default headers values

func (*UpdateServicePluginConfigUnprocessableEntity) Error

func (*UpdateServicePluginConfigUnprocessableEntity) GetPayload

func (*UpdateServicePluginConfigUnprocessableEntity) ToJSONString

Jump to

Keyboard shortcuts

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