equ8_config

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 equ8 config API

func (*Client) DeleteConfig deprecated

func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)

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

DeleteConfig delete equ8 config Delete equ8 config. Other detail info:

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

func (*Client) DeleteConfigShort

func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)

DeleteConfigShort delete equ8 config Delete equ8 config. Other detail info:

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

func (*Client) GetConfig deprecated

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

GetConfig get equ8 config Get equ8 config. Other detail info:

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

func (*Client) GetConfigShort

func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)

GetConfigShort get equ8 config Get equ8 config. Other detail info:

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateConfig deprecated

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

UpdateConfig create or update equ8 config Update equ8 config, create if not exists. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:EQU8CONFIG" , action=4 (UPDATE)

func (*Client) UpdateConfigShort

func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)

UpdateConfigShort create or update equ8 config Update equ8 config, create if not exists. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:EQU8CONFIG" , action=4 (UPDATE)

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new equ8 config API client.

type DeleteConfigNoContent

type DeleteConfigNoContent struct {
}

DeleteConfigNoContent handles this case with default header values.

Delete equ8 config successfully

func NewDeleteConfigNoContent

func NewDeleteConfigNoContent() *DeleteConfigNoContent

NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values

func (*DeleteConfigNoContent) Error

func (o *DeleteConfigNoContent) Error() string

type DeleteConfigParams

type DeleteConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

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

func NewDeleteConfigParams

func NewDeleteConfigParams() *DeleteConfigParams

NewDeleteConfigParams creates a new DeleteConfigParams object with the default values initialized.

func NewDeleteConfigParamsWithContext

func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams

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

func NewDeleteConfigParamsWithHTTPClient

func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams

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

func NewDeleteConfigParamsWithTimeout

func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams

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

func (*DeleteConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete config params

func (*DeleteConfigParams) SetContext

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

SetContext adds the context to the delete config params

func (*DeleteConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete config params

func (*DeleteConfigParams) SetNamespace

func (o *DeleteConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete config params

func (*DeleteConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WithContext

WithContext adds the context to the delete config params

func (*DeleteConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) WithNamespace

func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams

WithNamespace adds the namespace to the delete config params

func (*DeleteConfigParams) WithTimeout

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

WithTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteConfigReader

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

DeleteConfigReader is a Reader for the DeleteConfig structure.

func (*DeleteConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConfigInternalServerError

type GetConfigInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

GetConfigInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewGetConfigInternalServerError

func NewGetConfigInternalServerError() *GetConfigInternalServerError

NewGetConfigInternalServerError creates a GetConfigInternalServerError with default headers values

func (*GetConfigInternalServerError) Error

func (*GetConfigInternalServerError) GetPayload

func (*GetConfigInternalServerError) ToJSONString

func (o *GetConfigInternalServerError) ToJSONString() string

type GetConfigNotFound

type GetConfigNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetConfigNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11641</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>

func NewGetConfigNotFound

func NewGetConfigNotFound() *GetConfigNotFound

NewGetConfigNotFound creates a GetConfigNotFound with default headers values

func (*GetConfigNotFound) Error

func (o *GetConfigNotFound) Error() string

func (*GetConfigNotFound) GetPayload

func (*GetConfigNotFound) ToJSONString

func (o *GetConfigNotFound) ToJSONString() string

type GetConfigOK

type GetConfigOK struct {
	Payload *basicclientmodels.EQU8Config
}

GetConfigOK handles this case with default header values.

successful operation

func NewGetConfigOK

func NewGetConfigOK() *GetConfigOK

NewGetConfigOK creates a GetConfigOK with default headers values

func (*GetConfigOK) Error

func (o *GetConfigOK) Error() string

func (*GetConfigOK) GetPayload

func (o *GetConfigOK) GetPayload() *basicclientmodels.EQU8Config

func (*GetConfigOK) ToJSONString

func (o *GetConfigOK) ToJSONString() string

type GetConfigParams

type GetConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

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

func NewGetConfigParams

func NewGetConfigParams() *GetConfigParams

NewGetConfigParams creates a new GetConfigParams object with the default values initialized.

func NewGetConfigParamsWithContext

func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams

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

func NewGetConfigParamsWithHTTPClient

func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams

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

func NewGetConfigParamsWithTimeout

func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams

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

func (*GetConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get config params

func (*GetConfigParams) SetContext

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

SetContext adds the context to the get config params

func (*GetConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get config params

func (*GetConfigParams) SetNamespace

func (o *GetConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get config params

func (*GetConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get config params

func (*GetConfigParams) WithContext

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

WithContext adds the context to the get config params

func (*GetConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) WithNamespace

func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams

WithNamespace adds the namespace to the get config params

func (*GetConfigParams) WithTimeout

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

WithTimeout adds the timeout to the get config params

func (*GetConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetConfigReader

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

GetConfigReader is a Reader for the GetConfig structure.

func (*GetConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConfigBadRequest

type UpdateConfigBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateConfigBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>

func NewUpdateConfigBadRequest

func NewUpdateConfigBadRequest() *UpdateConfigBadRequest

NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values

func (*UpdateConfigBadRequest) Error

func (o *UpdateConfigBadRequest) Error() string

func (*UpdateConfigBadRequest) GetPayload

func (*UpdateConfigBadRequest) ToJSONString

func (o *UpdateConfigBadRequest) ToJSONString() string

type UpdateConfigInternalServerError

type UpdateConfigInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateConfigInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewUpdateConfigInternalServerError

func NewUpdateConfigInternalServerError() *UpdateConfigInternalServerError

NewUpdateConfigInternalServerError creates a UpdateConfigInternalServerError with default headers values

func (*UpdateConfigInternalServerError) Error

func (*UpdateConfigInternalServerError) GetPayload

func (*UpdateConfigInternalServerError) ToJSONString

func (o *UpdateConfigInternalServerError) ToJSONString() string

type UpdateConfigOK

type UpdateConfigOK struct {
	Payload *basicclientmodels.EQU8Config
}

UpdateConfigOK handles this case with default header values.

successful operation

func NewUpdateConfigOK

func NewUpdateConfigOK() *UpdateConfigOK

NewUpdateConfigOK creates a UpdateConfigOK with default headers values

func (*UpdateConfigOK) Error

func (o *UpdateConfigOK) Error() string

func (*UpdateConfigOK) GetPayload

func (o *UpdateConfigOK) GetPayload() *basicclientmodels.EQU8Config

func (*UpdateConfigOK) ToJSONString

func (o *UpdateConfigOK) ToJSONString() string

type UpdateConfigParams

type UpdateConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.ADTOForUpdateEQU8ConfigAPICall
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

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

func NewUpdateConfigParams

func NewUpdateConfigParams() *UpdateConfigParams

NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.

func NewUpdateConfigParamsWithContext

func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams

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

func NewUpdateConfigParamsWithHTTPClient

func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams

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

func NewUpdateConfigParamsWithTimeout

func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams

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

func (*UpdateConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update config params

func (*UpdateConfigParams) SetBody

SetBody adds the body to the update config params

func (*UpdateConfigParams) SetContext

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

SetContext adds the context to the update config params

func (*UpdateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update config params

func (*UpdateConfigParams) SetNamespace

func (o *UpdateConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update config params

func (*UpdateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WithBody

WithBody adds the body to the update config params

func (*UpdateConfigParams) WithContext

WithContext adds the context to the update config params

func (*UpdateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) WithNamespace

func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams

WithNamespace adds the namespace to the update config params

func (*UpdateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateConfigReader

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

UpdateConfigReader is a Reader for the UpdateConfig structure.

func (*UpdateConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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