Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLogAllocationConfig(params *CreateLogAllocationConfigParams, opts ...ClientOption) (*CreateLogAllocationConfigOK, error)
- func (a *Client) DeleteLogAllocationConfig(params *DeleteLogAllocationConfigParams, opts ...ClientOption) (*DeleteLogAllocationConfigOK, error)
- func (a *Client) ReadLogAllocationConfig(params *ReadLogAllocationConfigParams, opts ...ClientOption) (*ReadLogAllocationConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLogAllocationConfig(params *UpdateLogAllocationConfigParams, opts ...ClientOption) (*UpdateLogAllocationConfigOK, error)
- type ClientOption
- type ClientService
- type CreateLogAllocationConfigBadRequest
- func (o *CreateLogAllocationConfigBadRequest) Code() int
- func (o *CreateLogAllocationConfigBadRequest) Error() string
- func (o *CreateLogAllocationConfigBadRequest) GetPayload() *models.APIError
- func (o *CreateLogAllocationConfigBadRequest) IsClientError() bool
- func (o *CreateLogAllocationConfigBadRequest) IsCode(code int) bool
- func (o *CreateLogAllocationConfigBadRequest) IsRedirect() bool
- func (o *CreateLogAllocationConfigBadRequest) IsServerError() bool
- func (o *CreateLogAllocationConfigBadRequest) IsSuccess() bool
- func (o *CreateLogAllocationConfigBadRequest) String() string
- type CreateLogAllocationConfigConflict
- func (o *CreateLogAllocationConfigConflict) Code() int
- func (o *CreateLogAllocationConfigConflict) Error() string
- func (o *CreateLogAllocationConfigConflict) GetPayload() *models.APIError
- func (o *CreateLogAllocationConfigConflict) IsClientError() bool
- func (o *CreateLogAllocationConfigConflict) IsCode(code int) bool
- func (o *CreateLogAllocationConfigConflict) IsRedirect() bool
- func (o *CreateLogAllocationConfigConflict) IsServerError() bool
- func (o *CreateLogAllocationConfigConflict) IsSuccess() bool
- func (o *CreateLogAllocationConfigConflict) String() string
- type CreateLogAllocationConfigDefault
- func (o *CreateLogAllocationConfigDefault) Code() int
- func (o *CreateLogAllocationConfigDefault) Error() string
- func (o *CreateLogAllocationConfigDefault) GetPayload() models.GenericError
- func (o *CreateLogAllocationConfigDefault) IsClientError() bool
- func (o *CreateLogAllocationConfigDefault) IsCode(code int) bool
- func (o *CreateLogAllocationConfigDefault) IsRedirect() bool
- func (o *CreateLogAllocationConfigDefault) IsServerError() bool
- func (o *CreateLogAllocationConfigDefault) IsSuccess() bool
- func (o *CreateLogAllocationConfigDefault) String() string
- type CreateLogAllocationConfigInternalServerError
- func (o *CreateLogAllocationConfigInternalServerError) Code() int
- func (o *CreateLogAllocationConfigInternalServerError) Error() string
- func (o *CreateLogAllocationConfigInternalServerError) GetPayload() *models.APIError
- func (o *CreateLogAllocationConfigInternalServerError) IsClientError() bool
- func (o *CreateLogAllocationConfigInternalServerError) IsCode(code int) bool
- func (o *CreateLogAllocationConfigInternalServerError) IsRedirect() bool
- func (o *CreateLogAllocationConfigInternalServerError) IsServerError() bool
- func (o *CreateLogAllocationConfigInternalServerError) IsSuccess() bool
- func (o *CreateLogAllocationConfigInternalServerError) String() string
- type CreateLogAllocationConfigOK
- func (o *CreateLogAllocationConfigOK) Code() int
- func (o *CreateLogAllocationConfigOK) Error() string
- func (o *CreateLogAllocationConfigOK) GetPayload() *models.ConfigunstableCreateLogAllocationConfigResponse
- func (o *CreateLogAllocationConfigOK) IsClientError() bool
- func (o *CreateLogAllocationConfigOK) IsCode(code int) bool
- func (o *CreateLogAllocationConfigOK) IsRedirect() bool
- func (o *CreateLogAllocationConfigOK) IsServerError() bool
- func (o *CreateLogAllocationConfigOK) IsSuccess() bool
- func (o *CreateLogAllocationConfigOK) String() string
- type CreateLogAllocationConfigParams
- func NewCreateLogAllocationConfigParams() *CreateLogAllocationConfigParams
- func NewCreateLogAllocationConfigParamsWithContext(ctx context.Context) *CreateLogAllocationConfigParams
- func NewCreateLogAllocationConfigParamsWithHTTPClient(client *http.Client) *CreateLogAllocationConfigParams
- func NewCreateLogAllocationConfigParamsWithTimeout(timeout time.Duration) *CreateLogAllocationConfigParams
- func (o *CreateLogAllocationConfigParams) SetBody(body *models.ConfigunstableCreateLogAllocationConfigRequest)
- func (o *CreateLogAllocationConfigParams) SetContext(ctx context.Context)
- func (o *CreateLogAllocationConfigParams) SetDefaults()
- func (o *CreateLogAllocationConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateLogAllocationConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateLogAllocationConfigParams) WithBody(body *models.ConfigunstableCreateLogAllocationConfigRequest) *CreateLogAllocationConfigParams
- func (o *CreateLogAllocationConfigParams) WithContext(ctx context.Context) *CreateLogAllocationConfigParams
- func (o *CreateLogAllocationConfigParams) WithDefaults() *CreateLogAllocationConfigParams
- func (o *CreateLogAllocationConfigParams) WithHTTPClient(client *http.Client) *CreateLogAllocationConfigParams
- func (o *CreateLogAllocationConfigParams) WithTimeout(timeout time.Duration) *CreateLogAllocationConfigParams
- func (o *CreateLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLogAllocationConfigReader
- type DeleteLogAllocationConfigBadRequest
- func (o *DeleteLogAllocationConfigBadRequest) Code() int
- func (o *DeleteLogAllocationConfigBadRequest) Error() string
- func (o *DeleteLogAllocationConfigBadRequest) GetPayload() *models.APIError
- func (o *DeleteLogAllocationConfigBadRequest) IsClientError() bool
- func (o *DeleteLogAllocationConfigBadRequest) IsCode(code int) bool
- func (o *DeleteLogAllocationConfigBadRequest) IsRedirect() bool
- func (o *DeleteLogAllocationConfigBadRequest) IsServerError() bool
- func (o *DeleteLogAllocationConfigBadRequest) IsSuccess() bool
- func (o *DeleteLogAllocationConfigBadRequest) String() string
- type DeleteLogAllocationConfigDefault
- func (o *DeleteLogAllocationConfigDefault) Code() int
- func (o *DeleteLogAllocationConfigDefault) Error() string
- func (o *DeleteLogAllocationConfigDefault) GetPayload() models.GenericError
- func (o *DeleteLogAllocationConfigDefault) IsClientError() bool
- func (o *DeleteLogAllocationConfigDefault) IsCode(code int) bool
- func (o *DeleteLogAllocationConfigDefault) IsRedirect() bool
- func (o *DeleteLogAllocationConfigDefault) IsServerError() bool
- func (o *DeleteLogAllocationConfigDefault) IsSuccess() bool
- func (o *DeleteLogAllocationConfigDefault) String() string
- type DeleteLogAllocationConfigInternalServerError
- func (o *DeleteLogAllocationConfigInternalServerError) Code() int
- func (o *DeleteLogAllocationConfigInternalServerError) Error() string
- func (o *DeleteLogAllocationConfigInternalServerError) GetPayload() *models.APIError
- func (o *DeleteLogAllocationConfigInternalServerError) IsClientError() bool
- func (o *DeleteLogAllocationConfigInternalServerError) IsCode(code int) bool
- func (o *DeleteLogAllocationConfigInternalServerError) IsRedirect() bool
- func (o *DeleteLogAllocationConfigInternalServerError) IsServerError() bool
- func (o *DeleteLogAllocationConfigInternalServerError) IsSuccess() bool
- func (o *DeleteLogAllocationConfigInternalServerError) String() string
- type DeleteLogAllocationConfigNotFound
- func (o *DeleteLogAllocationConfigNotFound) Code() int
- func (o *DeleteLogAllocationConfigNotFound) Error() string
- func (o *DeleteLogAllocationConfigNotFound) GetPayload() *models.APIError
- func (o *DeleteLogAllocationConfigNotFound) IsClientError() bool
- func (o *DeleteLogAllocationConfigNotFound) IsCode(code int) bool
- func (o *DeleteLogAllocationConfigNotFound) IsRedirect() bool
- func (o *DeleteLogAllocationConfigNotFound) IsServerError() bool
- func (o *DeleteLogAllocationConfigNotFound) IsSuccess() bool
- func (o *DeleteLogAllocationConfigNotFound) String() string
- type DeleteLogAllocationConfigOK
- func (o *DeleteLogAllocationConfigOK) Code() int
- func (o *DeleteLogAllocationConfigOK) Error() string
- func (o *DeleteLogAllocationConfigOK) GetPayload() models.ConfigunstableDeleteLogAllocationConfigResponse
- func (o *DeleteLogAllocationConfigOK) IsClientError() bool
- func (o *DeleteLogAllocationConfigOK) IsCode(code int) bool
- func (o *DeleteLogAllocationConfigOK) IsRedirect() bool
- func (o *DeleteLogAllocationConfigOK) IsServerError() bool
- func (o *DeleteLogAllocationConfigOK) IsSuccess() bool
- func (o *DeleteLogAllocationConfigOK) String() string
- type DeleteLogAllocationConfigParams
- func NewDeleteLogAllocationConfigParams() *DeleteLogAllocationConfigParams
- func NewDeleteLogAllocationConfigParamsWithContext(ctx context.Context) *DeleteLogAllocationConfigParams
- func NewDeleteLogAllocationConfigParamsWithHTTPClient(client *http.Client) *DeleteLogAllocationConfigParams
- func NewDeleteLogAllocationConfigParamsWithTimeout(timeout time.Duration) *DeleteLogAllocationConfigParams
- func (o *DeleteLogAllocationConfigParams) SetContext(ctx context.Context)
- func (o *DeleteLogAllocationConfigParams) SetDefaults()
- func (o *DeleteLogAllocationConfigParams) SetDryRun(dryRun *bool)
- func (o *DeleteLogAllocationConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLogAllocationConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLogAllocationConfigParams) WithContext(ctx context.Context) *DeleteLogAllocationConfigParams
- func (o *DeleteLogAllocationConfigParams) WithDefaults() *DeleteLogAllocationConfigParams
- func (o *DeleteLogAllocationConfigParams) WithDryRun(dryRun *bool) *DeleteLogAllocationConfigParams
- func (o *DeleteLogAllocationConfigParams) WithHTTPClient(client *http.Client) *DeleteLogAllocationConfigParams
- func (o *DeleteLogAllocationConfigParams) WithTimeout(timeout time.Duration) *DeleteLogAllocationConfigParams
- func (o *DeleteLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLogAllocationConfigReader
- type ReadLogAllocationConfigDefault
- func (o *ReadLogAllocationConfigDefault) Code() int
- func (o *ReadLogAllocationConfigDefault) Error() string
- func (o *ReadLogAllocationConfigDefault) GetPayload() models.GenericError
- func (o *ReadLogAllocationConfigDefault) IsClientError() bool
- func (o *ReadLogAllocationConfigDefault) IsCode(code int) bool
- func (o *ReadLogAllocationConfigDefault) IsRedirect() bool
- func (o *ReadLogAllocationConfigDefault) IsServerError() bool
- func (o *ReadLogAllocationConfigDefault) IsSuccess() bool
- func (o *ReadLogAllocationConfigDefault) String() string
- type ReadLogAllocationConfigInternalServerError
- func (o *ReadLogAllocationConfigInternalServerError) Code() int
- func (o *ReadLogAllocationConfigInternalServerError) Error() string
- func (o *ReadLogAllocationConfigInternalServerError) GetPayload() *models.APIError
- func (o *ReadLogAllocationConfigInternalServerError) IsClientError() bool
- func (o *ReadLogAllocationConfigInternalServerError) IsCode(code int) bool
- func (o *ReadLogAllocationConfigInternalServerError) IsRedirect() bool
- func (o *ReadLogAllocationConfigInternalServerError) IsServerError() bool
- func (o *ReadLogAllocationConfigInternalServerError) IsSuccess() bool
- func (o *ReadLogAllocationConfigInternalServerError) String() string
- type ReadLogAllocationConfigNotFound
- func (o *ReadLogAllocationConfigNotFound) Code() int
- func (o *ReadLogAllocationConfigNotFound) Error() string
- func (o *ReadLogAllocationConfigNotFound) GetPayload() *models.APIError
- func (o *ReadLogAllocationConfigNotFound) IsClientError() bool
- func (o *ReadLogAllocationConfigNotFound) IsCode(code int) bool
- func (o *ReadLogAllocationConfigNotFound) IsRedirect() bool
- func (o *ReadLogAllocationConfigNotFound) IsServerError() bool
- func (o *ReadLogAllocationConfigNotFound) IsSuccess() bool
- func (o *ReadLogAllocationConfigNotFound) String() string
- type ReadLogAllocationConfigOK
- func (o *ReadLogAllocationConfigOK) Code() int
- func (o *ReadLogAllocationConfigOK) Error() string
- func (o *ReadLogAllocationConfigOK) GetPayload() *models.ConfigunstableReadLogAllocationConfigResponse
- func (o *ReadLogAllocationConfigOK) IsClientError() bool
- func (o *ReadLogAllocationConfigOK) IsCode(code int) bool
- func (o *ReadLogAllocationConfigOK) IsRedirect() bool
- func (o *ReadLogAllocationConfigOK) IsServerError() bool
- func (o *ReadLogAllocationConfigOK) IsSuccess() bool
- func (o *ReadLogAllocationConfigOK) String() string
- type ReadLogAllocationConfigParams
- func NewReadLogAllocationConfigParams() *ReadLogAllocationConfigParams
- func NewReadLogAllocationConfigParamsWithContext(ctx context.Context) *ReadLogAllocationConfigParams
- func NewReadLogAllocationConfigParamsWithHTTPClient(client *http.Client) *ReadLogAllocationConfigParams
- func NewReadLogAllocationConfigParamsWithTimeout(timeout time.Duration) *ReadLogAllocationConfigParams
- func (o *ReadLogAllocationConfigParams) SetContext(ctx context.Context)
- func (o *ReadLogAllocationConfigParams) SetDefaults()
- func (o *ReadLogAllocationConfigParams) SetHTTPClient(client *http.Client)
- func (o *ReadLogAllocationConfigParams) SetTimeout(timeout time.Duration)
- func (o *ReadLogAllocationConfigParams) WithContext(ctx context.Context) *ReadLogAllocationConfigParams
- func (o *ReadLogAllocationConfigParams) WithDefaults() *ReadLogAllocationConfigParams
- func (o *ReadLogAllocationConfigParams) WithHTTPClient(client *http.Client) *ReadLogAllocationConfigParams
- func (o *ReadLogAllocationConfigParams) WithTimeout(timeout time.Duration) *ReadLogAllocationConfigParams
- func (o *ReadLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadLogAllocationConfigReader
- type UpdateLogAllocationConfigBadRequest
- func (o *UpdateLogAllocationConfigBadRequest) Code() int
- func (o *UpdateLogAllocationConfigBadRequest) Error() string
- func (o *UpdateLogAllocationConfigBadRequest) GetPayload() *models.APIError
- func (o *UpdateLogAllocationConfigBadRequest) IsClientError() bool
- func (o *UpdateLogAllocationConfigBadRequest) IsCode(code int) bool
- func (o *UpdateLogAllocationConfigBadRequest) IsRedirect() bool
- func (o *UpdateLogAllocationConfigBadRequest) IsServerError() bool
- func (o *UpdateLogAllocationConfigBadRequest) IsSuccess() bool
- func (o *UpdateLogAllocationConfigBadRequest) String() string
- type UpdateLogAllocationConfigDefault
- func (o *UpdateLogAllocationConfigDefault) Code() int
- func (o *UpdateLogAllocationConfigDefault) Error() string
- func (o *UpdateLogAllocationConfigDefault) GetPayload() models.GenericError
- func (o *UpdateLogAllocationConfigDefault) IsClientError() bool
- func (o *UpdateLogAllocationConfigDefault) IsCode(code int) bool
- func (o *UpdateLogAllocationConfigDefault) IsRedirect() bool
- func (o *UpdateLogAllocationConfigDefault) IsServerError() bool
- func (o *UpdateLogAllocationConfigDefault) IsSuccess() bool
- func (o *UpdateLogAllocationConfigDefault) String() string
- type UpdateLogAllocationConfigInternalServerError
- func (o *UpdateLogAllocationConfigInternalServerError) Code() int
- func (o *UpdateLogAllocationConfigInternalServerError) Error() string
- func (o *UpdateLogAllocationConfigInternalServerError) GetPayload() *models.APIError
- func (o *UpdateLogAllocationConfigInternalServerError) IsClientError() bool
- func (o *UpdateLogAllocationConfigInternalServerError) IsCode(code int) bool
- func (o *UpdateLogAllocationConfigInternalServerError) IsRedirect() bool
- func (o *UpdateLogAllocationConfigInternalServerError) IsServerError() bool
- func (o *UpdateLogAllocationConfigInternalServerError) IsSuccess() bool
- func (o *UpdateLogAllocationConfigInternalServerError) String() string
- type UpdateLogAllocationConfigNotFound
- func (o *UpdateLogAllocationConfigNotFound) Code() int
- func (o *UpdateLogAllocationConfigNotFound) Error() string
- func (o *UpdateLogAllocationConfigNotFound) GetPayload() *models.APIError
- func (o *UpdateLogAllocationConfigNotFound) IsClientError() bool
- func (o *UpdateLogAllocationConfigNotFound) IsCode(code int) bool
- func (o *UpdateLogAllocationConfigNotFound) IsRedirect() bool
- func (o *UpdateLogAllocationConfigNotFound) IsServerError() bool
- func (o *UpdateLogAllocationConfigNotFound) IsSuccess() bool
- func (o *UpdateLogAllocationConfigNotFound) String() string
- type UpdateLogAllocationConfigOK
- func (o *UpdateLogAllocationConfigOK) Code() int
- func (o *UpdateLogAllocationConfigOK) Error() string
- func (o *UpdateLogAllocationConfigOK) GetPayload() *models.ConfigunstableUpdateLogAllocationConfigResponse
- func (o *UpdateLogAllocationConfigOK) IsClientError() bool
- func (o *UpdateLogAllocationConfigOK) IsCode(code int) bool
- func (o *UpdateLogAllocationConfigOK) IsRedirect() bool
- func (o *UpdateLogAllocationConfigOK) IsServerError() bool
- func (o *UpdateLogAllocationConfigOK) IsSuccess() bool
- func (o *UpdateLogAllocationConfigOK) String() string
- type UpdateLogAllocationConfigParams
- func NewUpdateLogAllocationConfigParams() *UpdateLogAllocationConfigParams
- func NewUpdateLogAllocationConfigParamsWithContext(ctx context.Context) *UpdateLogAllocationConfigParams
- func NewUpdateLogAllocationConfigParamsWithHTTPClient(client *http.Client) *UpdateLogAllocationConfigParams
- func NewUpdateLogAllocationConfigParamsWithTimeout(timeout time.Duration) *UpdateLogAllocationConfigParams
- func (o *UpdateLogAllocationConfigParams) SetBody(body *models.ConfigunstableUpdateLogAllocationConfigRequest)
- func (o *UpdateLogAllocationConfigParams) SetContext(ctx context.Context)
- func (o *UpdateLogAllocationConfigParams) SetDefaults()
- func (o *UpdateLogAllocationConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLogAllocationConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLogAllocationConfigParams) WithBody(body *models.ConfigunstableUpdateLogAllocationConfigRequest) *UpdateLogAllocationConfigParams
- func (o *UpdateLogAllocationConfigParams) WithContext(ctx context.Context) *UpdateLogAllocationConfigParams
- func (o *UpdateLogAllocationConfigParams) WithDefaults() *UpdateLogAllocationConfigParams
- func (o *UpdateLogAllocationConfigParams) WithHTTPClient(client *http.Client) *UpdateLogAllocationConfigParams
- func (o *UpdateLogAllocationConfigParams) WithTimeout(timeout time.Duration) *UpdateLogAllocationConfigParams
- func (o *UpdateLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLogAllocationConfigReader
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 log allocation config API
func (*Client) CreateLogAllocationConfig ¶
func (a *Client) CreateLogAllocationConfig(params *CreateLogAllocationConfigParams, opts ...ClientOption) (*CreateLogAllocationConfigOK, error)
CreateLogAllocationConfig create log allocation config API
func (*Client) DeleteLogAllocationConfig ¶
func (a *Client) DeleteLogAllocationConfig(params *DeleteLogAllocationConfigParams, opts ...ClientOption) (*DeleteLogAllocationConfigOK, error)
DeleteLogAllocationConfig delete log allocation config API
func (*Client) ReadLogAllocationConfig ¶
func (a *Client) ReadLogAllocationConfig(params *ReadLogAllocationConfigParams, opts ...ClientOption) (*ReadLogAllocationConfigOK, error)
ReadLogAllocationConfig read log allocation config API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLogAllocationConfig ¶
func (a *Client) UpdateLogAllocationConfig(params *UpdateLogAllocationConfigParams, opts ...ClientOption) (*UpdateLogAllocationConfigOK, error)
UpdateLogAllocationConfig update log allocation config API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateLogAllocationConfig(params *CreateLogAllocationConfigParams, opts ...ClientOption) (*CreateLogAllocationConfigOK, error) DeleteLogAllocationConfig(params *DeleteLogAllocationConfigParams, opts ...ClientOption) (*DeleteLogAllocationConfigOK, error) ReadLogAllocationConfig(params *ReadLogAllocationConfigParams, opts ...ClientOption) (*ReadLogAllocationConfigOK, error) UpdateLogAllocationConfig(params *UpdateLogAllocationConfigParams, opts ...ClientOption) (*UpdateLogAllocationConfigOK, 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 log allocation config API client.
type CreateLogAllocationConfigBadRequest ¶
CreateLogAllocationConfigBadRequest describes a response with status code 400, with default header values.
Cannot create the LogAllocationConfig because the request is invalid.
func NewCreateLogAllocationConfigBadRequest ¶
func NewCreateLogAllocationConfigBadRequest() *CreateLogAllocationConfigBadRequest
NewCreateLogAllocationConfigBadRequest creates a CreateLogAllocationConfigBadRequest with default headers values
func (*CreateLogAllocationConfigBadRequest) Code ¶
func (o *CreateLogAllocationConfigBadRequest) Code() int
Code gets the status code for the create log allocation config bad request response
func (*CreateLogAllocationConfigBadRequest) Error ¶
func (o *CreateLogAllocationConfigBadRequest) Error() string
func (*CreateLogAllocationConfigBadRequest) GetPayload ¶
func (o *CreateLogAllocationConfigBadRequest) GetPayload() *models.APIError
func (*CreateLogAllocationConfigBadRequest) IsClientError ¶
func (o *CreateLogAllocationConfigBadRequest) IsClientError() bool
IsClientError returns true when this create log allocation config bad request response has a 4xx status code
func (*CreateLogAllocationConfigBadRequest) IsCode ¶
func (o *CreateLogAllocationConfigBadRequest) IsCode(code int) bool
IsCode returns true when this create log allocation config bad request response a status code equal to that given
func (*CreateLogAllocationConfigBadRequest) IsRedirect ¶
func (o *CreateLogAllocationConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this create log allocation config bad request response has a 3xx status code
func (*CreateLogAllocationConfigBadRequest) IsServerError ¶
func (o *CreateLogAllocationConfigBadRequest) IsServerError() bool
IsServerError returns true when this create log allocation config bad request response has a 5xx status code
func (*CreateLogAllocationConfigBadRequest) IsSuccess ¶
func (o *CreateLogAllocationConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this create log allocation config bad request response has a 2xx status code
func (*CreateLogAllocationConfigBadRequest) String ¶
func (o *CreateLogAllocationConfigBadRequest) String() string
type CreateLogAllocationConfigConflict ¶
CreateLogAllocationConfigConflict describes a response with status code 409, with default header values.
Cannot create the LogAllocationConfig because there is a conflict with an existing LogAllocationConfig.
func NewCreateLogAllocationConfigConflict ¶
func NewCreateLogAllocationConfigConflict() *CreateLogAllocationConfigConflict
NewCreateLogAllocationConfigConflict creates a CreateLogAllocationConfigConflict with default headers values
func (*CreateLogAllocationConfigConflict) Code ¶
func (o *CreateLogAllocationConfigConflict) Code() int
Code gets the status code for the create log allocation config conflict response
func (*CreateLogAllocationConfigConflict) Error ¶
func (o *CreateLogAllocationConfigConflict) Error() string
func (*CreateLogAllocationConfigConflict) GetPayload ¶
func (o *CreateLogAllocationConfigConflict) GetPayload() *models.APIError
func (*CreateLogAllocationConfigConflict) IsClientError ¶
func (o *CreateLogAllocationConfigConflict) IsClientError() bool
IsClientError returns true when this create log allocation config conflict response has a 4xx status code
func (*CreateLogAllocationConfigConflict) IsCode ¶
func (o *CreateLogAllocationConfigConflict) IsCode(code int) bool
IsCode returns true when this create log allocation config conflict response a status code equal to that given
func (*CreateLogAllocationConfigConflict) IsRedirect ¶
func (o *CreateLogAllocationConfigConflict) IsRedirect() bool
IsRedirect returns true when this create log allocation config conflict response has a 3xx status code
func (*CreateLogAllocationConfigConflict) IsServerError ¶
func (o *CreateLogAllocationConfigConflict) IsServerError() bool
IsServerError returns true when this create log allocation config conflict response has a 5xx status code
func (*CreateLogAllocationConfigConflict) IsSuccess ¶
func (o *CreateLogAllocationConfigConflict) IsSuccess() bool
IsSuccess returns true when this create log allocation config conflict response has a 2xx status code
func (*CreateLogAllocationConfigConflict) String ¶
func (o *CreateLogAllocationConfigConflict) String() string
type CreateLogAllocationConfigDefault ¶
type CreateLogAllocationConfigDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateLogAllocationConfigDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateLogAllocationConfigDefault ¶
func NewCreateLogAllocationConfigDefault(code int) *CreateLogAllocationConfigDefault
NewCreateLogAllocationConfigDefault creates a CreateLogAllocationConfigDefault with default headers values
func (*CreateLogAllocationConfigDefault) Code ¶
func (o *CreateLogAllocationConfigDefault) Code() int
Code gets the status code for the create log allocation config default response
func (*CreateLogAllocationConfigDefault) Error ¶
func (o *CreateLogAllocationConfigDefault) Error() string
func (*CreateLogAllocationConfigDefault) GetPayload ¶
func (o *CreateLogAllocationConfigDefault) GetPayload() models.GenericError
func (*CreateLogAllocationConfigDefault) IsClientError ¶
func (o *CreateLogAllocationConfigDefault) IsClientError() bool
IsClientError returns true when this create log allocation config default response has a 4xx status code
func (*CreateLogAllocationConfigDefault) IsCode ¶
func (o *CreateLogAllocationConfigDefault) IsCode(code int) bool
IsCode returns true when this create log allocation config default response a status code equal to that given
func (*CreateLogAllocationConfigDefault) IsRedirect ¶
func (o *CreateLogAllocationConfigDefault) IsRedirect() bool
IsRedirect returns true when this create log allocation config default response has a 3xx status code
func (*CreateLogAllocationConfigDefault) IsServerError ¶
func (o *CreateLogAllocationConfigDefault) IsServerError() bool
IsServerError returns true when this create log allocation config default response has a 5xx status code
func (*CreateLogAllocationConfigDefault) IsSuccess ¶
func (o *CreateLogAllocationConfigDefault) IsSuccess() bool
IsSuccess returns true when this create log allocation config default response has a 2xx status code
func (*CreateLogAllocationConfigDefault) String ¶
func (o *CreateLogAllocationConfigDefault) String() string
type CreateLogAllocationConfigInternalServerError ¶
CreateLogAllocationConfigInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateLogAllocationConfigInternalServerError ¶
func NewCreateLogAllocationConfigInternalServerError() *CreateLogAllocationConfigInternalServerError
NewCreateLogAllocationConfigInternalServerError creates a CreateLogAllocationConfigInternalServerError with default headers values
func (*CreateLogAllocationConfigInternalServerError) Code ¶
func (o *CreateLogAllocationConfigInternalServerError) Code() int
Code gets the status code for the create log allocation config internal server error response
func (*CreateLogAllocationConfigInternalServerError) Error ¶
func (o *CreateLogAllocationConfigInternalServerError) Error() string
func (*CreateLogAllocationConfigInternalServerError) GetPayload ¶
func (o *CreateLogAllocationConfigInternalServerError) GetPayload() *models.APIError
func (*CreateLogAllocationConfigInternalServerError) IsClientError ¶
func (o *CreateLogAllocationConfigInternalServerError) IsClientError() bool
IsClientError returns true when this create log allocation config internal server error response has a 4xx status code
func (*CreateLogAllocationConfigInternalServerError) IsCode ¶
func (o *CreateLogAllocationConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this create log allocation config internal server error response a status code equal to that given
func (*CreateLogAllocationConfigInternalServerError) IsRedirect ¶
func (o *CreateLogAllocationConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this create log allocation config internal server error response has a 3xx status code
func (*CreateLogAllocationConfigInternalServerError) IsServerError ¶
func (o *CreateLogAllocationConfigInternalServerError) IsServerError() bool
IsServerError returns true when this create log allocation config internal server error response has a 5xx status code
func (*CreateLogAllocationConfigInternalServerError) IsSuccess ¶
func (o *CreateLogAllocationConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this create log allocation config internal server error response has a 2xx status code
func (*CreateLogAllocationConfigInternalServerError) String ¶
func (o *CreateLogAllocationConfigInternalServerError) String() string
type CreateLogAllocationConfigOK ¶
type CreateLogAllocationConfigOK struct {
Payload *models.ConfigunstableCreateLogAllocationConfigResponse
}
CreateLogAllocationConfigOK describes a response with status code 200, with default header values.
A successful response containing the created LogAllocationConfig.
func NewCreateLogAllocationConfigOK ¶
func NewCreateLogAllocationConfigOK() *CreateLogAllocationConfigOK
NewCreateLogAllocationConfigOK creates a CreateLogAllocationConfigOK with default headers values
func (*CreateLogAllocationConfigOK) Code ¶
func (o *CreateLogAllocationConfigOK) Code() int
Code gets the status code for the create log allocation config o k response
func (*CreateLogAllocationConfigOK) Error ¶
func (o *CreateLogAllocationConfigOK) Error() string
func (*CreateLogAllocationConfigOK) GetPayload ¶
func (o *CreateLogAllocationConfigOK) GetPayload() *models.ConfigunstableCreateLogAllocationConfigResponse
func (*CreateLogAllocationConfigOK) IsClientError ¶
func (o *CreateLogAllocationConfigOK) IsClientError() bool
IsClientError returns true when this create log allocation config o k response has a 4xx status code
func (*CreateLogAllocationConfigOK) IsCode ¶
func (o *CreateLogAllocationConfigOK) IsCode(code int) bool
IsCode returns true when this create log allocation config o k response a status code equal to that given
func (*CreateLogAllocationConfigOK) IsRedirect ¶
func (o *CreateLogAllocationConfigOK) IsRedirect() bool
IsRedirect returns true when this create log allocation config o k response has a 3xx status code
func (*CreateLogAllocationConfigOK) IsServerError ¶
func (o *CreateLogAllocationConfigOK) IsServerError() bool
IsServerError returns true when this create log allocation config o k response has a 5xx status code
func (*CreateLogAllocationConfigOK) IsSuccess ¶
func (o *CreateLogAllocationConfigOK) IsSuccess() bool
IsSuccess returns true when this create log allocation config o k response has a 2xx status code
func (*CreateLogAllocationConfigOK) String ¶
func (o *CreateLogAllocationConfigOK) String() string
type CreateLogAllocationConfigParams ¶
type CreateLogAllocationConfigParams struct { // Body. Body *models.ConfigunstableCreateLogAllocationConfigRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLogAllocationConfigParams contains all the parameters to send to the API endpoint
for the create log allocation config operation. Typically these are written to a http.Request.
func NewCreateLogAllocationConfigParams ¶
func NewCreateLogAllocationConfigParams() *CreateLogAllocationConfigParams
NewCreateLogAllocationConfigParams creates a new CreateLogAllocationConfigParams 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 NewCreateLogAllocationConfigParamsWithContext ¶
func NewCreateLogAllocationConfigParamsWithContext(ctx context.Context) *CreateLogAllocationConfigParams
NewCreateLogAllocationConfigParamsWithContext creates a new CreateLogAllocationConfigParams object with the ability to set a context for a request.
func NewCreateLogAllocationConfigParamsWithHTTPClient ¶
func NewCreateLogAllocationConfigParamsWithHTTPClient(client *http.Client) *CreateLogAllocationConfigParams
NewCreateLogAllocationConfigParamsWithHTTPClient creates a new CreateLogAllocationConfigParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLogAllocationConfigParamsWithTimeout ¶
func NewCreateLogAllocationConfigParamsWithTimeout(timeout time.Duration) *CreateLogAllocationConfigParams
NewCreateLogAllocationConfigParamsWithTimeout creates a new CreateLogAllocationConfigParams object with the ability to set a timeout on a request.
func (*CreateLogAllocationConfigParams) SetBody ¶
func (o *CreateLogAllocationConfigParams) SetBody(body *models.ConfigunstableCreateLogAllocationConfigRequest)
SetBody adds the body to the create log allocation config params
func (*CreateLogAllocationConfigParams) SetContext ¶
func (o *CreateLogAllocationConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create log allocation config params
func (*CreateLogAllocationConfigParams) SetDefaults ¶
func (o *CreateLogAllocationConfigParams) SetDefaults()
SetDefaults hydrates default values in the create log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogAllocationConfigParams) SetHTTPClient ¶
func (o *CreateLogAllocationConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create log allocation config params
func (*CreateLogAllocationConfigParams) SetTimeout ¶
func (o *CreateLogAllocationConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create log allocation config params
func (*CreateLogAllocationConfigParams) WithBody ¶
func (o *CreateLogAllocationConfigParams) WithBody(body *models.ConfigunstableCreateLogAllocationConfigRequest) *CreateLogAllocationConfigParams
WithBody adds the body to the create log allocation config params
func (*CreateLogAllocationConfigParams) WithContext ¶
func (o *CreateLogAllocationConfigParams) WithContext(ctx context.Context) *CreateLogAllocationConfigParams
WithContext adds the context to the create log allocation config params
func (*CreateLogAllocationConfigParams) WithDefaults ¶
func (o *CreateLogAllocationConfigParams) WithDefaults() *CreateLogAllocationConfigParams
WithDefaults hydrates default values in the create log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogAllocationConfigParams) WithHTTPClient ¶
func (o *CreateLogAllocationConfigParams) WithHTTPClient(client *http.Client) *CreateLogAllocationConfigParams
WithHTTPClient adds the HTTPClient to the create log allocation config params
func (*CreateLogAllocationConfigParams) WithTimeout ¶
func (o *CreateLogAllocationConfigParams) WithTimeout(timeout time.Duration) *CreateLogAllocationConfigParams
WithTimeout adds the timeout to the create log allocation config params
func (*CreateLogAllocationConfigParams) WriteToRequest ¶
func (o *CreateLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLogAllocationConfigReader ¶
type CreateLogAllocationConfigReader struct {
// contains filtered or unexported fields
}
CreateLogAllocationConfigReader is a Reader for the CreateLogAllocationConfig structure.
func (*CreateLogAllocationConfigReader) ReadResponse ¶
func (o *CreateLogAllocationConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLogAllocationConfigBadRequest ¶
DeleteLogAllocationConfigBadRequest describes a response with status code 400, with default header values.
Cannot delete the LogAllocationConfig because it is in use.
func NewDeleteLogAllocationConfigBadRequest ¶
func NewDeleteLogAllocationConfigBadRequest() *DeleteLogAllocationConfigBadRequest
NewDeleteLogAllocationConfigBadRequest creates a DeleteLogAllocationConfigBadRequest with default headers values
func (*DeleteLogAllocationConfigBadRequest) Code ¶
func (o *DeleteLogAllocationConfigBadRequest) Code() int
Code gets the status code for the delete log allocation config bad request response
func (*DeleteLogAllocationConfigBadRequest) Error ¶
func (o *DeleteLogAllocationConfigBadRequest) Error() string
func (*DeleteLogAllocationConfigBadRequest) GetPayload ¶
func (o *DeleteLogAllocationConfigBadRequest) GetPayload() *models.APIError
func (*DeleteLogAllocationConfigBadRequest) IsClientError ¶
func (o *DeleteLogAllocationConfigBadRequest) IsClientError() bool
IsClientError returns true when this delete log allocation config bad request response has a 4xx status code
func (*DeleteLogAllocationConfigBadRequest) IsCode ¶
func (o *DeleteLogAllocationConfigBadRequest) IsCode(code int) bool
IsCode returns true when this delete log allocation config bad request response a status code equal to that given
func (*DeleteLogAllocationConfigBadRequest) IsRedirect ¶
func (o *DeleteLogAllocationConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this delete log allocation config bad request response has a 3xx status code
func (*DeleteLogAllocationConfigBadRequest) IsServerError ¶
func (o *DeleteLogAllocationConfigBadRequest) IsServerError() bool
IsServerError returns true when this delete log allocation config bad request response has a 5xx status code
func (*DeleteLogAllocationConfigBadRequest) IsSuccess ¶
func (o *DeleteLogAllocationConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this delete log allocation config bad request response has a 2xx status code
func (*DeleteLogAllocationConfigBadRequest) String ¶
func (o *DeleteLogAllocationConfigBadRequest) String() string
type DeleteLogAllocationConfigDefault ¶
type DeleteLogAllocationConfigDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteLogAllocationConfigDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteLogAllocationConfigDefault ¶
func NewDeleteLogAllocationConfigDefault(code int) *DeleteLogAllocationConfigDefault
NewDeleteLogAllocationConfigDefault creates a DeleteLogAllocationConfigDefault with default headers values
func (*DeleteLogAllocationConfigDefault) Code ¶
func (o *DeleteLogAllocationConfigDefault) Code() int
Code gets the status code for the delete log allocation config default response
func (*DeleteLogAllocationConfigDefault) Error ¶
func (o *DeleteLogAllocationConfigDefault) Error() string
func (*DeleteLogAllocationConfigDefault) GetPayload ¶
func (o *DeleteLogAllocationConfigDefault) GetPayload() models.GenericError
func (*DeleteLogAllocationConfigDefault) IsClientError ¶
func (o *DeleteLogAllocationConfigDefault) IsClientError() bool
IsClientError returns true when this delete log allocation config default response has a 4xx status code
func (*DeleteLogAllocationConfigDefault) IsCode ¶
func (o *DeleteLogAllocationConfigDefault) IsCode(code int) bool
IsCode returns true when this delete log allocation config default response a status code equal to that given
func (*DeleteLogAllocationConfigDefault) IsRedirect ¶
func (o *DeleteLogAllocationConfigDefault) IsRedirect() bool
IsRedirect returns true when this delete log allocation config default response has a 3xx status code
func (*DeleteLogAllocationConfigDefault) IsServerError ¶
func (o *DeleteLogAllocationConfigDefault) IsServerError() bool
IsServerError returns true when this delete log allocation config default response has a 5xx status code
func (*DeleteLogAllocationConfigDefault) IsSuccess ¶
func (o *DeleteLogAllocationConfigDefault) IsSuccess() bool
IsSuccess returns true when this delete log allocation config default response has a 2xx status code
func (*DeleteLogAllocationConfigDefault) String ¶
func (o *DeleteLogAllocationConfigDefault) String() string
type DeleteLogAllocationConfigInternalServerError ¶
DeleteLogAllocationConfigInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteLogAllocationConfigInternalServerError ¶
func NewDeleteLogAllocationConfigInternalServerError() *DeleteLogAllocationConfigInternalServerError
NewDeleteLogAllocationConfigInternalServerError creates a DeleteLogAllocationConfigInternalServerError with default headers values
func (*DeleteLogAllocationConfigInternalServerError) Code ¶
func (o *DeleteLogAllocationConfigInternalServerError) Code() int
Code gets the status code for the delete log allocation config internal server error response
func (*DeleteLogAllocationConfigInternalServerError) Error ¶
func (o *DeleteLogAllocationConfigInternalServerError) Error() string
func (*DeleteLogAllocationConfigInternalServerError) GetPayload ¶
func (o *DeleteLogAllocationConfigInternalServerError) GetPayload() *models.APIError
func (*DeleteLogAllocationConfigInternalServerError) IsClientError ¶
func (o *DeleteLogAllocationConfigInternalServerError) IsClientError() bool
IsClientError returns true when this delete log allocation config internal server error response has a 4xx status code
func (*DeleteLogAllocationConfigInternalServerError) IsCode ¶
func (o *DeleteLogAllocationConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this delete log allocation config internal server error response a status code equal to that given
func (*DeleteLogAllocationConfigInternalServerError) IsRedirect ¶
func (o *DeleteLogAllocationConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete log allocation config internal server error response has a 3xx status code
func (*DeleteLogAllocationConfigInternalServerError) IsServerError ¶
func (o *DeleteLogAllocationConfigInternalServerError) IsServerError() bool
IsServerError returns true when this delete log allocation config internal server error response has a 5xx status code
func (*DeleteLogAllocationConfigInternalServerError) IsSuccess ¶
func (o *DeleteLogAllocationConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete log allocation config internal server error response has a 2xx status code
func (*DeleteLogAllocationConfigInternalServerError) String ¶
func (o *DeleteLogAllocationConfigInternalServerError) String() string
type DeleteLogAllocationConfigNotFound ¶
DeleteLogAllocationConfigNotFound describes a response with status code 404, with default header values.
Cannot delete the LogAllocationConfig because the slug does not exist.
func NewDeleteLogAllocationConfigNotFound ¶
func NewDeleteLogAllocationConfigNotFound() *DeleteLogAllocationConfigNotFound
NewDeleteLogAllocationConfigNotFound creates a DeleteLogAllocationConfigNotFound with default headers values
func (*DeleteLogAllocationConfigNotFound) Code ¶
func (o *DeleteLogAllocationConfigNotFound) Code() int
Code gets the status code for the delete log allocation config not found response
func (*DeleteLogAllocationConfigNotFound) Error ¶
func (o *DeleteLogAllocationConfigNotFound) Error() string
func (*DeleteLogAllocationConfigNotFound) GetPayload ¶
func (o *DeleteLogAllocationConfigNotFound) GetPayload() *models.APIError
func (*DeleteLogAllocationConfigNotFound) IsClientError ¶
func (o *DeleteLogAllocationConfigNotFound) IsClientError() bool
IsClientError returns true when this delete log allocation config not found response has a 4xx status code
func (*DeleteLogAllocationConfigNotFound) IsCode ¶
func (o *DeleteLogAllocationConfigNotFound) IsCode(code int) bool
IsCode returns true when this delete log allocation config not found response a status code equal to that given
func (*DeleteLogAllocationConfigNotFound) IsRedirect ¶
func (o *DeleteLogAllocationConfigNotFound) IsRedirect() bool
IsRedirect returns true when this delete log allocation config not found response has a 3xx status code
func (*DeleteLogAllocationConfigNotFound) IsServerError ¶
func (o *DeleteLogAllocationConfigNotFound) IsServerError() bool
IsServerError returns true when this delete log allocation config not found response has a 5xx status code
func (*DeleteLogAllocationConfigNotFound) IsSuccess ¶
func (o *DeleteLogAllocationConfigNotFound) IsSuccess() bool
IsSuccess returns true when this delete log allocation config not found response has a 2xx status code
func (*DeleteLogAllocationConfigNotFound) String ¶
func (o *DeleteLogAllocationConfigNotFound) String() string
type DeleteLogAllocationConfigOK ¶
type DeleteLogAllocationConfigOK struct {
Payload models.ConfigunstableDeleteLogAllocationConfigResponse
}
DeleteLogAllocationConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteLogAllocationConfigOK ¶
func NewDeleteLogAllocationConfigOK() *DeleteLogAllocationConfigOK
NewDeleteLogAllocationConfigOK creates a DeleteLogAllocationConfigOK with default headers values
func (*DeleteLogAllocationConfigOK) Code ¶
func (o *DeleteLogAllocationConfigOK) Code() int
Code gets the status code for the delete log allocation config o k response
func (*DeleteLogAllocationConfigOK) Error ¶
func (o *DeleteLogAllocationConfigOK) Error() string
func (*DeleteLogAllocationConfigOK) GetPayload ¶
func (o *DeleteLogAllocationConfigOK) GetPayload() models.ConfigunstableDeleteLogAllocationConfigResponse
func (*DeleteLogAllocationConfigOK) IsClientError ¶
func (o *DeleteLogAllocationConfigOK) IsClientError() bool
IsClientError returns true when this delete log allocation config o k response has a 4xx status code
func (*DeleteLogAllocationConfigOK) IsCode ¶
func (o *DeleteLogAllocationConfigOK) IsCode(code int) bool
IsCode returns true when this delete log allocation config o k response a status code equal to that given
func (*DeleteLogAllocationConfigOK) IsRedirect ¶
func (o *DeleteLogAllocationConfigOK) IsRedirect() bool
IsRedirect returns true when this delete log allocation config o k response has a 3xx status code
func (*DeleteLogAllocationConfigOK) IsServerError ¶
func (o *DeleteLogAllocationConfigOK) IsServerError() bool
IsServerError returns true when this delete log allocation config o k response has a 5xx status code
func (*DeleteLogAllocationConfigOK) IsSuccess ¶
func (o *DeleteLogAllocationConfigOK) IsSuccess() bool
IsSuccess returns true when this delete log allocation config o k response has a 2xx status code
func (*DeleteLogAllocationConfigOK) String ¶
func (o *DeleteLogAllocationConfigOK) String() string
type DeleteLogAllocationConfigParams ¶
type DeleteLogAllocationConfigParams struct { // DryRun. DryRun *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLogAllocationConfigParams contains all the parameters to send to the API endpoint
for the delete log allocation config operation. Typically these are written to a http.Request.
func NewDeleteLogAllocationConfigParams ¶
func NewDeleteLogAllocationConfigParams() *DeleteLogAllocationConfigParams
NewDeleteLogAllocationConfigParams creates a new DeleteLogAllocationConfigParams 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 NewDeleteLogAllocationConfigParamsWithContext ¶
func NewDeleteLogAllocationConfigParamsWithContext(ctx context.Context) *DeleteLogAllocationConfigParams
NewDeleteLogAllocationConfigParamsWithContext creates a new DeleteLogAllocationConfigParams object with the ability to set a context for a request.
func NewDeleteLogAllocationConfigParamsWithHTTPClient ¶
func NewDeleteLogAllocationConfigParamsWithHTTPClient(client *http.Client) *DeleteLogAllocationConfigParams
NewDeleteLogAllocationConfigParamsWithHTTPClient creates a new DeleteLogAllocationConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLogAllocationConfigParamsWithTimeout ¶
func NewDeleteLogAllocationConfigParamsWithTimeout(timeout time.Duration) *DeleteLogAllocationConfigParams
NewDeleteLogAllocationConfigParamsWithTimeout creates a new DeleteLogAllocationConfigParams object with the ability to set a timeout on a request.
func (*DeleteLogAllocationConfigParams) SetContext ¶
func (o *DeleteLogAllocationConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) SetDefaults ¶
func (o *DeleteLogAllocationConfigParams) SetDefaults()
SetDefaults hydrates default values in the delete log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLogAllocationConfigParams) SetDryRun ¶
func (o *DeleteLogAllocationConfigParams) SetDryRun(dryRun *bool)
SetDryRun adds the dryRun to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) SetHTTPClient ¶
func (o *DeleteLogAllocationConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) SetTimeout ¶
func (o *DeleteLogAllocationConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) WithContext ¶
func (o *DeleteLogAllocationConfigParams) WithContext(ctx context.Context) *DeleteLogAllocationConfigParams
WithContext adds the context to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) WithDefaults ¶
func (o *DeleteLogAllocationConfigParams) WithDefaults() *DeleteLogAllocationConfigParams
WithDefaults hydrates default values in the delete log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLogAllocationConfigParams) WithDryRun ¶
func (o *DeleteLogAllocationConfigParams) WithDryRun(dryRun *bool) *DeleteLogAllocationConfigParams
WithDryRun adds the dryRun to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) WithHTTPClient ¶
func (o *DeleteLogAllocationConfigParams) WithHTTPClient(client *http.Client) *DeleteLogAllocationConfigParams
WithHTTPClient adds the HTTPClient to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) WithTimeout ¶
func (o *DeleteLogAllocationConfigParams) WithTimeout(timeout time.Duration) *DeleteLogAllocationConfigParams
WithTimeout adds the timeout to the delete log allocation config params
func (*DeleteLogAllocationConfigParams) WriteToRequest ¶
func (o *DeleteLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLogAllocationConfigReader ¶
type DeleteLogAllocationConfigReader struct {
// contains filtered or unexported fields
}
DeleteLogAllocationConfigReader is a Reader for the DeleteLogAllocationConfig structure.
func (*DeleteLogAllocationConfigReader) ReadResponse ¶
func (o *DeleteLogAllocationConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadLogAllocationConfigDefault ¶
type ReadLogAllocationConfigDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadLogAllocationConfigDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadLogAllocationConfigDefault ¶
func NewReadLogAllocationConfigDefault(code int) *ReadLogAllocationConfigDefault
NewReadLogAllocationConfigDefault creates a ReadLogAllocationConfigDefault with default headers values
func (*ReadLogAllocationConfigDefault) Code ¶
func (o *ReadLogAllocationConfigDefault) Code() int
Code gets the status code for the read log allocation config default response
func (*ReadLogAllocationConfigDefault) Error ¶
func (o *ReadLogAllocationConfigDefault) Error() string
func (*ReadLogAllocationConfigDefault) GetPayload ¶
func (o *ReadLogAllocationConfigDefault) GetPayload() models.GenericError
func (*ReadLogAllocationConfigDefault) IsClientError ¶
func (o *ReadLogAllocationConfigDefault) IsClientError() bool
IsClientError returns true when this read log allocation config default response has a 4xx status code
func (*ReadLogAllocationConfigDefault) IsCode ¶
func (o *ReadLogAllocationConfigDefault) IsCode(code int) bool
IsCode returns true when this read log allocation config default response a status code equal to that given
func (*ReadLogAllocationConfigDefault) IsRedirect ¶
func (o *ReadLogAllocationConfigDefault) IsRedirect() bool
IsRedirect returns true when this read log allocation config default response has a 3xx status code
func (*ReadLogAllocationConfigDefault) IsServerError ¶
func (o *ReadLogAllocationConfigDefault) IsServerError() bool
IsServerError returns true when this read log allocation config default response has a 5xx status code
func (*ReadLogAllocationConfigDefault) IsSuccess ¶
func (o *ReadLogAllocationConfigDefault) IsSuccess() bool
IsSuccess returns true when this read log allocation config default response has a 2xx status code
func (*ReadLogAllocationConfigDefault) String ¶
func (o *ReadLogAllocationConfigDefault) String() string
type ReadLogAllocationConfigInternalServerError ¶
ReadLogAllocationConfigInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadLogAllocationConfigInternalServerError ¶
func NewReadLogAllocationConfigInternalServerError() *ReadLogAllocationConfigInternalServerError
NewReadLogAllocationConfigInternalServerError creates a ReadLogAllocationConfigInternalServerError with default headers values
func (*ReadLogAllocationConfigInternalServerError) Code ¶
func (o *ReadLogAllocationConfigInternalServerError) Code() int
Code gets the status code for the read log allocation config internal server error response
func (*ReadLogAllocationConfigInternalServerError) Error ¶
func (o *ReadLogAllocationConfigInternalServerError) Error() string
func (*ReadLogAllocationConfigInternalServerError) GetPayload ¶
func (o *ReadLogAllocationConfigInternalServerError) GetPayload() *models.APIError
func (*ReadLogAllocationConfigInternalServerError) IsClientError ¶
func (o *ReadLogAllocationConfigInternalServerError) IsClientError() bool
IsClientError returns true when this read log allocation config internal server error response has a 4xx status code
func (*ReadLogAllocationConfigInternalServerError) IsCode ¶
func (o *ReadLogAllocationConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this read log allocation config internal server error response a status code equal to that given
func (*ReadLogAllocationConfigInternalServerError) IsRedirect ¶
func (o *ReadLogAllocationConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this read log allocation config internal server error response has a 3xx status code
func (*ReadLogAllocationConfigInternalServerError) IsServerError ¶
func (o *ReadLogAllocationConfigInternalServerError) IsServerError() bool
IsServerError returns true when this read log allocation config internal server error response has a 5xx status code
func (*ReadLogAllocationConfigInternalServerError) IsSuccess ¶
func (o *ReadLogAllocationConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this read log allocation config internal server error response has a 2xx status code
func (*ReadLogAllocationConfigInternalServerError) String ¶
func (o *ReadLogAllocationConfigInternalServerError) String() string
type ReadLogAllocationConfigNotFound ¶
ReadLogAllocationConfigNotFound describes a response with status code 404, with default header values.
Cannot read the LogAllocationConfig because LogAllocationConfig has not been created.
func NewReadLogAllocationConfigNotFound ¶
func NewReadLogAllocationConfigNotFound() *ReadLogAllocationConfigNotFound
NewReadLogAllocationConfigNotFound creates a ReadLogAllocationConfigNotFound with default headers values
func (*ReadLogAllocationConfigNotFound) Code ¶
func (o *ReadLogAllocationConfigNotFound) Code() int
Code gets the status code for the read log allocation config not found response
func (*ReadLogAllocationConfigNotFound) Error ¶
func (o *ReadLogAllocationConfigNotFound) Error() string
func (*ReadLogAllocationConfigNotFound) GetPayload ¶
func (o *ReadLogAllocationConfigNotFound) GetPayload() *models.APIError
func (*ReadLogAllocationConfigNotFound) IsClientError ¶
func (o *ReadLogAllocationConfigNotFound) IsClientError() bool
IsClientError returns true when this read log allocation config not found response has a 4xx status code
func (*ReadLogAllocationConfigNotFound) IsCode ¶
func (o *ReadLogAllocationConfigNotFound) IsCode(code int) bool
IsCode returns true when this read log allocation config not found response a status code equal to that given
func (*ReadLogAllocationConfigNotFound) IsRedirect ¶
func (o *ReadLogAllocationConfigNotFound) IsRedirect() bool
IsRedirect returns true when this read log allocation config not found response has a 3xx status code
func (*ReadLogAllocationConfigNotFound) IsServerError ¶
func (o *ReadLogAllocationConfigNotFound) IsServerError() bool
IsServerError returns true when this read log allocation config not found response has a 5xx status code
func (*ReadLogAllocationConfigNotFound) IsSuccess ¶
func (o *ReadLogAllocationConfigNotFound) IsSuccess() bool
IsSuccess returns true when this read log allocation config not found response has a 2xx status code
func (*ReadLogAllocationConfigNotFound) String ¶
func (o *ReadLogAllocationConfigNotFound) String() string
type ReadLogAllocationConfigOK ¶
type ReadLogAllocationConfigOK struct {
Payload *models.ConfigunstableReadLogAllocationConfigResponse
}
ReadLogAllocationConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewReadLogAllocationConfigOK ¶
func NewReadLogAllocationConfigOK() *ReadLogAllocationConfigOK
NewReadLogAllocationConfigOK creates a ReadLogAllocationConfigOK with default headers values
func (*ReadLogAllocationConfigOK) Code ¶
func (o *ReadLogAllocationConfigOK) Code() int
Code gets the status code for the read log allocation config o k response
func (*ReadLogAllocationConfigOK) Error ¶
func (o *ReadLogAllocationConfigOK) Error() string
func (*ReadLogAllocationConfigOK) GetPayload ¶
func (o *ReadLogAllocationConfigOK) GetPayload() *models.ConfigunstableReadLogAllocationConfigResponse
func (*ReadLogAllocationConfigOK) IsClientError ¶
func (o *ReadLogAllocationConfigOK) IsClientError() bool
IsClientError returns true when this read log allocation config o k response has a 4xx status code
func (*ReadLogAllocationConfigOK) IsCode ¶
func (o *ReadLogAllocationConfigOK) IsCode(code int) bool
IsCode returns true when this read log allocation config o k response a status code equal to that given
func (*ReadLogAllocationConfigOK) IsRedirect ¶
func (o *ReadLogAllocationConfigOK) IsRedirect() bool
IsRedirect returns true when this read log allocation config o k response has a 3xx status code
func (*ReadLogAllocationConfigOK) IsServerError ¶
func (o *ReadLogAllocationConfigOK) IsServerError() bool
IsServerError returns true when this read log allocation config o k response has a 5xx status code
func (*ReadLogAllocationConfigOK) IsSuccess ¶
func (o *ReadLogAllocationConfigOK) IsSuccess() bool
IsSuccess returns true when this read log allocation config o k response has a 2xx status code
func (*ReadLogAllocationConfigOK) String ¶
func (o *ReadLogAllocationConfigOK) String() string
type ReadLogAllocationConfigParams ¶
type ReadLogAllocationConfigParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadLogAllocationConfigParams contains all the parameters to send to the API endpoint
for the read log allocation config operation. Typically these are written to a http.Request.
func NewReadLogAllocationConfigParams ¶
func NewReadLogAllocationConfigParams() *ReadLogAllocationConfigParams
NewReadLogAllocationConfigParams creates a new ReadLogAllocationConfigParams 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 NewReadLogAllocationConfigParamsWithContext ¶
func NewReadLogAllocationConfigParamsWithContext(ctx context.Context) *ReadLogAllocationConfigParams
NewReadLogAllocationConfigParamsWithContext creates a new ReadLogAllocationConfigParams object with the ability to set a context for a request.
func NewReadLogAllocationConfigParamsWithHTTPClient ¶
func NewReadLogAllocationConfigParamsWithHTTPClient(client *http.Client) *ReadLogAllocationConfigParams
NewReadLogAllocationConfigParamsWithHTTPClient creates a new ReadLogAllocationConfigParams object with the ability to set a custom HTTPClient for a request.
func NewReadLogAllocationConfigParamsWithTimeout ¶
func NewReadLogAllocationConfigParamsWithTimeout(timeout time.Duration) *ReadLogAllocationConfigParams
NewReadLogAllocationConfigParamsWithTimeout creates a new ReadLogAllocationConfigParams object with the ability to set a timeout on a request.
func (*ReadLogAllocationConfigParams) SetContext ¶
func (o *ReadLogAllocationConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the read log allocation config params
func (*ReadLogAllocationConfigParams) SetDefaults ¶
func (o *ReadLogAllocationConfigParams) SetDefaults()
SetDefaults hydrates default values in the read log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLogAllocationConfigParams) SetHTTPClient ¶
func (o *ReadLogAllocationConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read log allocation config params
func (*ReadLogAllocationConfigParams) SetTimeout ¶
func (o *ReadLogAllocationConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read log allocation config params
func (*ReadLogAllocationConfigParams) WithContext ¶
func (o *ReadLogAllocationConfigParams) WithContext(ctx context.Context) *ReadLogAllocationConfigParams
WithContext adds the context to the read log allocation config params
func (*ReadLogAllocationConfigParams) WithDefaults ¶
func (o *ReadLogAllocationConfigParams) WithDefaults() *ReadLogAllocationConfigParams
WithDefaults hydrates default values in the read log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLogAllocationConfigParams) WithHTTPClient ¶
func (o *ReadLogAllocationConfigParams) WithHTTPClient(client *http.Client) *ReadLogAllocationConfigParams
WithHTTPClient adds the HTTPClient to the read log allocation config params
func (*ReadLogAllocationConfigParams) WithTimeout ¶
func (o *ReadLogAllocationConfigParams) WithTimeout(timeout time.Duration) *ReadLogAllocationConfigParams
WithTimeout adds the timeout to the read log allocation config params
func (*ReadLogAllocationConfigParams) WriteToRequest ¶
func (o *ReadLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadLogAllocationConfigReader ¶
type ReadLogAllocationConfigReader struct {
// contains filtered or unexported fields
}
ReadLogAllocationConfigReader is a Reader for the ReadLogAllocationConfig structure.
func (*ReadLogAllocationConfigReader) ReadResponse ¶
func (o *ReadLogAllocationConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLogAllocationConfigBadRequest ¶
UpdateLogAllocationConfigBadRequest describes a response with status code 400, with default header values.
Cannot update the LogAllocationConfig because the request is invalid.
func NewUpdateLogAllocationConfigBadRequest ¶
func NewUpdateLogAllocationConfigBadRequest() *UpdateLogAllocationConfigBadRequest
NewUpdateLogAllocationConfigBadRequest creates a UpdateLogAllocationConfigBadRequest with default headers values
func (*UpdateLogAllocationConfigBadRequest) Code ¶
func (o *UpdateLogAllocationConfigBadRequest) Code() int
Code gets the status code for the update log allocation config bad request response
func (*UpdateLogAllocationConfigBadRequest) Error ¶
func (o *UpdateLogAllocationConfigBadRequest) Error() string
func (*UpdateLogAllocationConfigBadRequest) GetPayload ¶
func (o *UpdateLogAllocationConfigBadRequest) GetPayload() *models.APIError
func (*UpdateLogAllocationConfigBadRequest) IsClientError ¶
func (o *UpdateLogAllocationConfigBadRequest) IsClientError() bool
IsClientError returns true when this update log allocation config bad request response has a 4xx status code
func (*UpdateLogAllocationConfigBadRequest) IsCode ¶
func (o *UpdateLogAllocationConfigBadRequest) IsCode(code int) bool
IsCode returns true when this update log allocation config bad request response a status code equal to that given
func (*UpdateLogAllocationConfigBadRequest) IsRedirect ¶
func (o *UpdateLogAllocationConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this update log allocation config bad request response has a 3xx status code
func (*UpdateLogAllocationConfigBadRequest) IsServerError ¶
func (o *UpdateLogAllocationConfigBadRequest) IsServerError() bool
IsServerError returns true when this update log allocation config bad request response has a 5xx status code
func (*UpdateLogAllocationConfigBadRequest) IsSuccess ¶
func (o *UpdateLogAllocationConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this update log allocation config bad request response has a 2xx status code
func (*UpdateLogAllocationConfigBadRequest) String ¶
func (o *UpdateLogAllocationConfigBadRequest) String() string
type UpdateLogAllocationConfigDefault ¶
type UpdateLogAllocationConfigDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateLogAllocationConfigDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateLogAllocationConfigDefault ¶
func NewUpdateLogAllocationConfigDefault(code int) *UpdateLogAllocationConfigDefault
NewUpdateLogAllocationConfigDefault creates a UpdateLogAllocationConfigDefault with default headers values
func (*UpdateLogAllocationConfigDefault) Code ¶
func (o *UpdateLogAllocationConfigDefault) Code() int
Code gets the status code for the update log allocation config default response
func (*UpdateLogAllocationConfigDefault) Error ¶
func (o *UpdateLogAllocationConfigDefault) Error() string
func (*UpdateLogAllocationConfigDefault) GetPayload ¶
func (o *UpdateLogAllocationConfigDefault) GetPayload() models.GenericError
func (*UpdateLogAllocationConfigDefault) IsClientError ¶
func (o *UpdateLogAllocationConfigDefault) IsClientError() bool
IsClientError returns true when this update log allocation config default response has a 4xx status code
func (*UpdateLogAllocationConfigDefault) IsCode ¶
func (o *UpdateLogAllocationConfigDefault) IsCode(code int) bool
IsCode returns true when this update log allocation config default response a status code equal to that given
func (*UpdateLogAllocationConfigDefault) IsRedirect ¶
func (o *UpdateLogAllocationConfigDefault) IsRedirect() bool
IsRedirect returns true when this update log allocation config default response has a 3xx status code
func (*UpdateLogAllocationConfigDefault) IsServerError ¶
func (o *UpdateLogAllocationConfigDefault) IsServerError() bool
IsServerError returns true when this update log allocation config default response has a 5xx status code
func (*UpdateLogAllocationConfigDefault) IsSuccess ¶
func (o *UpdateLogAllocationConfigDefault) IsSuccess() bool
IsSuccess returns true when this update log allocation config default response has a 2xx status code
func (*UpdateLogAllocationConfigDefault) String ¶
func (o *UpdateLogAllocationConfigDefault) String() string
type UpdateLogAllocationConfigInternalServerError ¶
UpdateLogAllocationConfigInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateLogAllocationConfigInternalServerError ¶
func NewUpdateLogAllocationConfigInternalServerError() *UpdateLogAllocationConfigInternalServerError
NewUpdateLogAllocationConfigInternalServerError creates a UpdateLogAllocationConfigInternalServerError with default headers values
func (*UpdateLogAllocationConfigInternalServerError) Code ¶
func (o *UpdateLogAllocationConfigInternalServerError) Code() int
Code gets the status code for the update log allocation config internal server error response
func (*UpdateLogAllocationConfigInternalServerError) Error ¶
func (o *UpdateLogAllocationConfigInternalServerError) Error() string
func (*UpdateLogAllocationConfigInternalServerError) GetPayload ¶
func (o *UpdateLogAllocationConfigInternalServerError) GetPayload() *models.APIError
func (*UpdateLogAllocationConfigInternalServerError) IsClientError ¶
func (o *UpdateLogAllocationConfigInternalServerError) IsClientError() bool
IsClientError returns true when this update log allocation config internal server error response has a 4xx status code
func (*UpdateLogAllocationConfigInternalServerError) IsCode ¶
func (o *UpdateLogAllocationConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this update log allocation config internal server error response a status code equal to that given
func (*UpdateLogAllocationConfigInternalServerError) IsRedirect ¶
func (o *UpdateLogAllocationConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this update log allocation config internal server error response has a 3xx status code
func (*UpdateLogAllocationConfigInternalServerError) IsServerError ¶
func (o *UpdateLogAllocationConfigInternalServerError) IsServerError() bool
IsServerError returns true when this update log allocation config internal server error response has a 5xx status code
func (*UpdateLogAllocationConfigInternalServerError) IsSuccess ¶
func (o *UpdateLogAllocationConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this update log allocation config internal server error response has a 2xx status code
func (*UpdateLogAllocationConfigInternalServerError) String ¶
func (o *UpdateLogAllocationConfigInternalServerError) String() string
type UpdateLogAllocationConfigNotFound ¶
UpdateLogAllocationConfigNotFound describes a response with status code 404, with default header values.
Cannot update the LogAllocationConfig because LogAllocationConfig has not been created.
func NewUpdateLogAllocationConfigNotFound ¶
func NewUpdateLogAllocationConfigNotFound() *UpdateLogAllocationConfigNotFound
NewUpdateLogAllocationConfigNotFound creates a UpdateLogAllocationConfigNotFound with default headers values
func (*UpdateLogAllocationConfigNotFound) Code ¶
func (o *UpdateLogAllocationConfigNotFound) Code() int
Code gets the status code for the update log allocation config not found response
func (*UpdateLogAllocationConfigNotFound) Error ¶
func (o *UpdateLogAllocationConfigNotFound) Error() string
func (*UpdateLogAllocationConfigNotFound) GetPayload ¶
func (o *UpdateLogAllocationConfigNotFound) GetPayload() *models.APIError
func (*UpdateLogAllocationConfigNotFound) IsClientError ¶
func (o *UpdateLogAllocationConfigNotFound) IsClientError() bool
IsClientError returns true when this update log allocation config not found response has a 4xx status code
func (*UpdateLogAllocationConfigNotFound) IsCode ¶
func (o *UpdateLogAllocationConfigNotFound) IsCode(code int) bool
IsCode returns true when this update log allocation config not found response a status code equal to that given
func (*UpdateLogAllocationConfigNotFound) IsRedirect ¶
func (o *UpdateLogAllocationConfigNotFound) IsRedirect() bool
IsRedirect returns true when this update log allocation config not found response has a 3xx status code
func (*UpdateLogAllocationConfigNotFound) IsServerError ¶
func (o *UpdateLogAllocationConfigNotFound) IsServerError() bool
IsServerError returns true when this update log allocation config not found response has a 5xx status code
func (*UpdateLogAllocationConfigNotFound) IsSuccess ¶
func (o *UpdateLogAllocationConfigNotFound) IsSuccess() bool
IsSuccess returns true when this update log allocation config not found response has a 2xx status code
func (*UpdateLogAllocationConfigNotFound) String ¶
func (o *UpdateLogAllocationConfigNotFound) String() string
type UpdateLogAllocationConfigOK ¶
type UpdateLogAllocationConfigOK struct {
Payload *models.ConfigunstableUpdateLogAllocationConfigResponse
}
UpdateLogAllocationConfigOK describes a response with status code 200, with default header values.
A successful response containing the updated LogAllocationConfig.
func NewUpdateLogAllocationConfigOK ¶
func NewUpdateLogAllocationConfigOK() *UpdateLogAllocationConfigOK
NewUpdateLogAllocationConfigOK creates a UpdateLogAllocationConfigOK with default headers values
func (*UpdateLogAllocationConfigOK) Code ¶
func (o *UpdateLogAllocationConfigOK) Code() int
Code gets the status code for the update log allocation config o k response
func (*UpdateLogAllocationConfigOK) Error ¶
func (o *UpdateLogAllocationConfigOK) Error() string
func (*UpdateLogAllocationConfigOK) GetPayload ¶
func (o *UpdateLogAllocationConfigOK) GetPayload() *models.ConfigunstableUpdateLogAllocationConfigResponse
func (*UpdateLogAllocationConfigOK) IsClientError ¶
func (o *UpdateLogAllocationConfigOK) IsClientError() bool
IsClientError returns true when this update log allocation config o k response has a 4xx status code
func (*UpdateLogAllocationConfigOK) IsCode ¶
func (o *UpdateLogAllocationConfigOK) IsCode(code int) bool
IsCode returns true when this update log allocation config o k response a status code equal to that given
func (*UpdateLogAllocationConfigOK) IsRedirect ¶
func (o *UpdateLogAllocationConfigOK) IsRedirect() bool
IsRedirect returns true when this update log allocation config o k response has a 3xx status code
func (*UpdateLogAllocationConfigOK) IsServerError ¶
func (o *UpdateLogAllocationConfigOK) IsServerError() bool
IsServerError returns true when this update log allocation config o k response has a 5xx status code
func (*UpdateLogAllocationConfigOK) IsSuccess ¶
func (o *UpdateLogAllocationConfigOK) IsSuccess() bool
IsSuccess returns true when this update log allocation config o k response has a 2xx status code
func (*UpdateLogAllocationConfigOK) String ¶
func (o *UpdateLogAllocationConfigOK) String() string
type UpdateLogAllocationConfigParams ¶
type UpdateLogAllocationConfigParams struct { // Body. Body *models.ConfigunstableUpdateLogAllocationConfigRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLogAllocationConfigParams contains all the parameters to send to the API endpoint
for the update log allocation config operation. Typically these are written to a http.Request.
func NewUpdateLogAllocationConfigParams ¶
func NewUpdateLogAllocationConfigParams() *UpdateLogAllocationConfigParams
NewUpdateLogAllocationConfigParams creates a new UpdateLogAllocationConfigParams 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 NewUpdateLogAllocationConfigParamsWithContext ¶
func NewUpdateLogAllocationConfigParamsWithContext(ctx context.Context) *UpdateLogAllocationConfigParams
NewUpdateLogAllocationConfigParamsWithContext creates a new UpdateLogAllocationConfigParams object with the ability to set a context for a request.
func NewUpdateLogAllocationConfigParamsWithHTTPClient ¶
func NewUpdateLogAllocationConfigParamsWithHTTPClient(client *http.Client) *UpdateLogAllocationConfigParams
NewUpdateLogAllocationConfigParamsWithHTTPClient creates a new UpdateLogAllocationConfigParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLogAllocationConfigParamsWithTimeout ¶
func NewUpdateLogAllocationConfigParamsWithTimeout(timeout time.Duration) *UpdateLogAllocationConfigParams
NewUpdateLogAllocationConfigParamsWithTimeout creates a new UpdateLogAllocationConfigParams object with the ability to set a timeout on a request.
func (*UpdateLogAllocationConfigParams) SetBody ¶
func (o *UpdateLogAllocationConfigParams) SetBody(body *models.ConfigunstableUpdateLogAllocationConfigRequest)
SetBody adds the body to the update log allocation config params
func (*UpdateLogAllocationConfigParams) SetContext ¶
func (o *UpdateLogAllocationConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update log allocation config params
func (*UpdateLogAllocationConfigParams) SetDefaults ¶
func (o *UpdateLogAllocationConfigParams) SetDefaults()
SetDefaults hydrates default values in the update log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLogAllocationConfigParams) SetHTTPClient ¶
func (o *UpdateLogAllocationConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update log allocation config params
func (*UpdateLogAllocationConfigParams) SetTimeout ¶
func (o *UpdateLogAllocationConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update log allocation config params
func (*UpdateLogAllocationConfigParams) WithBody ¶
func (o *UpdateLogAllocationConfigParams) WithBody(body *models.ConfigunstableUpdateLogAllocationConfigRequest) *UpdateLogAllocationConfigParams
WithBody adds the body to the update log allocation config params
func (*UpdateLogAllocationConfigParams) WithContext ¶
func (o *UpdateLogAllocationConfigParams) WithContext(ctx context.Context) *UpdateLogAllocationConfigParams
WithContext adds the context to the update log allocation config params
func (*UpdateLogAllocationConfigParams) WithDefaults ¶
func (o *UpdateLogAllocationConfigParams) WithDefaults() *UpdateLogAllocationConfigParams
WithDefaults hydrates default values in the update log allocation config params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLogAllocationConfigParams) WithHTTPClient ¶
func (o *UpdateLogAllocationConfigParams) WithHTTPClient(client *http.Client) *UpdateLogAllocationConfigParams
WithHTTPClient adds the HTTPClient to the update log allocation config params
func (*UpdateLogAllocationConfigParams) WithTimeout ¶
func (o *UpdateLogAllocationConfigParams) WithTimeout(timeout time.Duration) *UpdateLogAllocationConfigParams
WithTimeout adds the timeout to the update log allocation config params
func (*UpdateLogAllocationConfigParams) WriteToRequest ¶
func (o *UpdateLogAllocationConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLogAllocationConfigReader ¶
type UpdateLogAllocationConfigReader struct {
// contains filtered or unexported fields
}
UpdateLogAllocationConfigReader is a Reader for the UpdateLogAllocationConfig structure.
func (*UpdateLogAllocationConfigReader) ReadResponse ¶
func (o *UpdateLogAllocationConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_log_allocation_config_parameters.go
- create_log_allocation_config_responses.go
- delete_log_allocation_config_parameters.go
- delete_log_allocation_config_responses.go
- log_allocation_config_client.go
- read_log_allocation_config_parameters.go
- read_log_allocation_config_responses.go
- update_log_allocation_config_parameters.go
- update_log_allocation_config_responses.go