Documentation ¶
Index ¶
- type CacheFlushCreateCreated
- type CacheFlushCreateParams
- func NewCacheFlushCreateParams() *CacheFlushCreateParams
- func NewCacheFlushCreateParamsWithContext(ctx context.Context) *CacheFlushCreateParams
- func NewCacheFlushCreateParamsWithHTTPClient(client *http.Client) *CacheFlushCreateParams
- func NewCacheFlushCreateParamsWithTimeout(timeout time.Duration) *CacheFlushCreateParams
- func (o *CacheFlushCreateParams) SetBody(body *models.ConfigCacheFlush)
- func (o *CacheFlushCreateParams) SetContext(ctx context.Context)
- func (o *CacheFlushCreateParams) SetDefaults()
- func (o *CacheFlushCreateParams) SetHTTPClient(client *http.Client)
- func (o *CacheFlushCreateParams) SetTimeout(timeout time.Duration)
- func (o *CacheFlushCreateParams) WithBody(body *models.ConfigCacheFlush) *CacheFlushCreateParams
- func (o *CacheFlushCreateParams) WithContext(ctx context.Context) *CacheFlushCreateParams
- func (o *CacheFlushCreateParams) WithDefaults() *CacheFlushCreateParams
- func (o *CacheFlushCreateParams) WithHTTPClient(client *http.Client) *CacheFlushCreateParams
- func (o *CacheFlushCreateParams) WithTimeout(timeout time.Duration) *CacheFlushCreateParams
- func (o *CacheFlushCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CacheFlushCreateReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheFlushCreateCreated ¶
type CacheFlushCreateCreated struct {
Payload models.ProtobufEmpty
}
CacheFlushCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewCacheFlushCreateCreated ¶
func NewCacheFlushCreateCreated() *CacheFlushCreateCreated
NewCacheFlushCreateCreated creates a CacheFlushCreateCreated with default headers values
func (*CacheFlushCreateCreated) Error ¶
func (o *CacheFlushCreateCreated) Error() string
func (*CacheFlushCreateCreated) GetPayload ¶
func (o *CacheFlushCreateCreated) GetPayload() models.ProtobufEmpty
type CacheFlushCreateParams ¶
type CacheFlushCreateParams struct { // Body. Body *models.ConfigCacheFlush Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CacheFlushCreateParams contains all the parameters to send to the API endpoint
for the cache flush create operation. Typically these are written to a http.Request.
func NewCacheFlushCreateParams ¶
func NewCacheFlushCreateParams() *CacheFlushCreateParams
NewCacheFlushCreateParams creates a new CacheFlushCreateParams 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 NewCacheFlushCreateParamsWithContext ¶
func NewCacheFlushCreateParamsWithContext(ctx context.Context) *CacheFlushCreateParams
NewCacheFlushCreateParamsWithContext creates a new CacheFlushCreateParams object with the ability to set a context for a request.
func NewCacheFlushCreateParamsWithHTTPClient ¶
func NewCacheFlushCreateParamsWithHTTPClient(client *http.Client) *CacheFlushCreateParams
NewCacheFlushCreateParamsWithHTTPClient creates a new CacheFlushCreateParams object with the ability to set a custom HTTPClient for a request.
func NewCacheFlushCreateParamsWithTimeout ¶
func NewCacheFlushCreateParamsWithTimeout(timeout time.Duration) *CacheFlushCreateParams
NewCacheFlushCreateParamsWithTimeout creates a new CacheFlushCreateParams object with the ability to set a timeout on a request.
func (*CacheFlushCreateParams) SetBody ¶
func (o *CacheFlushCreateParams) SetBody(body *models.ConfigCacheFlush)
SetBody adds the body to the cache flush create params
func (*CacheFlushCreateParams) SetContext ¶
func (o *CacheFlushCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the cache flush create params
func (*CacheFlushCreateParams) SetDefaults ¶
func (o *CacheFlushCreateParams) SetDefaults()
SetDefaults hydrates default values in the cache flush create params (not the query body).
All values with no default are reset to their zero value.
func (*CacheFlushCreateParams) SetHTTPClient ¶
func (o *CacheFlushCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cache flush create params
func (*CacheFlushCreateParams) SetTimeout ¶
func (o *CacheFlushCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cache flush create params
func (*CacheFlushCreateParams) WithBody ¶
func (o *CacheFlushCreateParams) WithBody(body *models.ConfigCacheFlush) *CacheFlushCreateParams
WithBody adds the body to the cache flush create params
func (*CacheFlushCreateParams) WithContext ¶
func (o *CacheFlushCreateParams) WithContext(ctx context.Context) *CacheFlushCreateParams
WithContext adds the context to the cache flush create params
func (*CacheFlushCreateParams) WithDefaults ¶
func (o *CacheFlushCreateParams) WithDefaults() *CacheFlushCreateParams
WithDefaults hydrates default values in the cache flush create params (not the query body).
All values with no default are reset to their zero value.
func (*CacheFlushCreateParams) WithHTTPClient ¶
func (o *CacheFlushCreateParams) WithHTTPClient(client *http.Client) *CacheFlushCreateParams
WithHTTPClient adds the HTTPClient to the cache flush create params
func (*CacheFlushCreateParams) WithTimeout ¶
func (o *CacheFlushCreateParams) WithTimeout(timeout time.Duration) *CacheFlushCreateParams
WithTimeout adds the timeout to the cache flush create params
func (*CacheFlushCreateParams) WriteToRequest ¶
func (o *CacheFlushCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CacheFlushCreateReader ¶
type CacheFlushCreateReader struct {
// contains filtered or unexported fields
}
CacheFlushCreateReader is a Reader for the CacheFlushCreate structure.
func (*CacheFlushCreateReader) ReadResponse ¶
func (o *CacheFlushCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cache flush API
func (*Client) CacheFlushCreate ¶
func (a *Client) CacheFlushCreate(params *CacheFlushCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CacheFlushCreateCreated, error)
CacheFlushCreate creates the cache flush object Use this method to create a Cache Flush object.
The Cache Flush object is for removing entries from the DNS cache on a host. The host must be available and running DNS for this to succeed.
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 { CacheFlushCreate(params *CacheFlushCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CacheFlushCreateCreated, 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 cache flush API client.