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 config API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new config API client.
func (*Client) GetConfig ¶
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
GetConfig gets server configuration
Get server configuration.
func (*Client) PatchConfig ¶
func (a *Client) PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter) (*PatchConfigOK, error)
PatchConfig patches update server configuration
Patch/update server configurationm and then return the patched configuration.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetConfigDefault ¶
GetConfigDefault handles this case with default header values.
Unexpected error
func NewGetConfigDefault ¶
func NewGetConfigDefault(code int) *GetConfigDefault
NewGetConfigDefault creates a GetConfigDefault with default headers values
func (*GetConfigDefault) Code ¶
func (o *GetConfigDefault) Code() int
Code gets the status code for the get config default response
func (*GetConfigDefault) Error ¶
func (o *GetConfigDefault) Error() string
type GetConfigOK ¶
type GetConfigOK struct {
Payload GetConfigOKBodyBody
}
GetConfigOK handles this case with default header values.
configuration object
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
type GetConfigOKBodyBody ¶
type GetConfigOKBodyBody interface{}
GetConfigOKBodyBody get config o k body body
swagger:model GetConfigOKBodyBody
type GetConfigParams ¶
type GetConfigParams struct { }
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 (*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 recieved o.
type PatchConfigDefault ¶
PatchConfigDefault handles this case with default header values.
Unexpected error
func NewPatchConfigDefault ¶
func NewPatchConfigDefault(code int) *PatchConfigDefault
NewPatchConfigDefault creates a PatchConfigDefault with default headers values
func (*PatchConfigDefault) Code ¶
func (o *PatchConfigDefault) Code() int
Code gets the status code for the patch config default response
func (*PatchConfigDefault) Error ¶
func (o *PatchConfigDefault) Error() string
type PatchConfigOK ¶
type PatchConfigOK struct {
Payload PatchConfigOKBodyBody
}
PatchConfigOK handles this case with default header values.
An array of configuration objects
func NewPatchConfigOK ¶
func NewPatchConfigOK() *PatchConfigOK
NewPatchConfigOK creates a PatchConfigOK with default headers values
func (*PatchConfigOK) Error ¶
func (o *PatchConfigOK) Error() string
type PatchConfigOKBodyBody ¶
type PatchConfigOKBodyBody interface{}
PatchConfigOKBodyBody patch config o k body body
swagger:model PatchConfigOKBodyBody
type PatchConfigParams ¶
type PatchConfigParams struct {
/*Body*/
Body interface{}
}
PatchConfigParams contains all the parameters to send to the API endpoint for the patch config operation typically these are written to a http.Request
func NewPatchConfigParams ¶
func NewPatchConfigParams() *PatchConfigParams
NewPatchConfigParams creates a new PatchConfigParams object with the default values initialized.
func (*PatchConfigParams) WithBody ¶
func (o *PatchConfigParams) WithBody(Body interface{}) *PatchConfigParams
WithBody adds the body to the patch config params
func (*PatchConfigParams) WriteToRequest ¶
func (o *PatchConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchConfigReader ¶
type PatchConfigReader struct {
// contains filtered or unexported fields
}
PatchConfigReader is a Reader for the PatchConfig structure.
func (*PatchConfigReader) ReadResponse ¶
func (o *PatchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.