Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLogScaleAction(params *CreateLogScaleActionParams, opts ...ClientOption) (*CreateLogScaleActionOK, error)
- func (a *Client) DeleteLogScaleAction(params *DeleteLogScaleActionParams, opts ...ClientOption) (*DeleteLogScaleActionOK, error)
- func (a *Client) ListLogScaleActions(params *ListLogScaleActionsParams, opts ...ClientOption) (*ListLogScaleActionsOK, error)
- func (a *Client) ReadLogScaleAction(params *ReadLogScaleActionParams, opts ...ClientOption) (*ReadLogScaleActionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLogScaleAction(params *UpdateLogScaleActionParams, opts ...ClientOption) (*UpdateLogScaleActionOK, error)
- type ClientOption
- type ClientService
- type CreateLogScaleActionBadRequest
- func (o *CreateLogScaleActionBadRequest) Code() int
- func (o *CreateLogScaleActionBadRequest) Error() string
- func (o *CreateLogScaleActionBadRequest) GetPayload() *models.APIError
- func (o *CreateLogScaleActionBadRequest) IsClientError() bool
- func (o *CreateLogScaleActionBadRequest) IsCode(code int) bool
- func (o *CreateLogScaleActionBadRequest) IsRedirect() bool
- func (o *CreateLogScaleActionBadRequest) IsServerError() bool
- func (o *CreateLogScaleActionBadRequest) IsSuccess() bool
- func (o *CreateLogScaleActionBadRequest) String() string
- type CreateLogScaleActionConflict
- func (o *CreateLogScaleActionConflict) Code() int
- func (o *CreateLogScaleActionConflict) Error() string
- func (o *CreateLogScaleActionConflict) GetPayload() *models.APIError
- func (o *CreateLogScaleActionConflict) IsClientError() bool
- func (o *CreateLogScaleActionConflict) IsCode(code int) bool
- func (o *CreateLogScaleActionConflict) IsRedirect() bool
- func (o *CreateLogScaleActionConflict) IsServerError() bool
- func (o *CreateLogScaleActionConflict) IsSuccess() bool
- func (o *CreateLogScaleActionConflict) String() string
- type CreateLogScaleActionDefault
- func (o *CreateLogScaleActionDefault) Code() int
- func (o *CreateLogScaleActionDefault) Error() string
- func (o *CreateLogScaleActionDefault) GetPayload() models.GenericError
- func (o *CreateLogScaleActionDefault) IsClientError() bool
- func (o *CreateLogScaleActionDefault) IsCode(code int) bool
- func (o *CreateLogScaleActionDefault) IsRedirect() bool
- func (o *CreateLogScaleActionDefault) IsServerError() bool
- func (o *CreateLogScaleActionDefault) IsSuccess() bool
- func (o *CreateLogScaleActionDefault) String() string
- type CreateLogScaleActionInternalServerError
- func (o *CreateLogScaleActionInternalServerError) Code() int
- func (o *CreateLogScaleActionInternalServerError) Error() string
- func (o *CreateLogScaleActionInternalServerError) GetPayload() *models.APIError
- func (o *CreateLogScaleActionInternalServerError) IsClientError() bool
- func (o *CreateLogScaleActionInternalServerError) IsCode(code int) bool
- func (o *CreateLogScaleActionInternalServerError) IsRedirect() bool
- func (o *CreateLogScaleActionInternalServerError) IsServerError() bool
- func (o *CreateLogScaleActionInternalServerError) IsSuccess() bool
- func (o *CreateLogScaleActionInternalServerError) String() string
- type CreateLogScaleActionOK
- func (o *CreateLogScaleActionOK) Code() int
- func (o *CreateLogScaleActionOK) Error() string
- func (o *CreateLogScaleActionOK) GetPayload() *models.Configv1CreateLogScaleActionResponse
- func (o *CreateLogScaleActionOK) IsClientError() bool
- func (o *CreateLogScaleActionOK) IsCode(code int) bool
- func (o *CreateLogScaleActionOK) IsRedirect() bool
- func (o *CreateLogScaleActionOK) IsServerError() bool
- func (o *CreateLogScaleActionOK) IsSuccess() bool
- func (o *CreateLogScaleActionOK) String() string
- type CreateLogScaleActionParams
- func NewCreateLogScaleActionParams() *CreateLogScaleActionParams
- func NewCreateLogScaleActionParamsWithContext(ctx context.Context) *CreateLogScaleActionParams
- func NewCreateLogScaleActionParamsWithHTTPClient(client *http.Client) *CreateLogScaleActionParams
- func NewCreateLogScaleActionParamsWithTimeout(timeout time.Duration) *CreateLogScaleActionParams
- func (o *CreateLogScaleActionParams) SetBody(body *models.Configv1CreateLogScaleActionRequest)
- func (o *CreateLogScaleActionParams) SetContext(ctx context.Context)
- func (o *CreateLogScaleActionParams) SetDefaults()
- func (o *CreateLogScaleActionParams) SetHTTPClient(client *http.Client)
- func (o *CreateLogScaleActionParams) SetTimeout(timeout time.Duration)
- func (o *CreateLogScaleActionParams) WithBody(body *models.Configv1CreateLogScaleActionRequest) *CreateLogScaleActionParams
- func (o *CreateLogScaleActionParams) WithContext(ctx context.Context) *CreateLogScaleActionParams
- func (o *CreateLogScaleActionParams) WithDefaults() *CreateLogScaleActionParams
- func (o *CreateLogScaleActionParams) WithHTTPClient(client *http.Client) *CreateLogScaleActionParams
- func (o *CreateLogScaleActionParams) WithTimeout(timeout time.Duration) *CreateLogScaleActionParams
- func (o *CreateLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLogScaleActionReader
- type DeleteLogScaleActionBadRequest
- func (o *DeleteLogScaleActionBadRequest) Code() int
- func (o *DeleteLogScaleActionBadRequest) Error() string
- func (o *DeleteLogScaleActionBadRequest) GetPayload() *models.APIError
- func (o *DeleteLogScaleActionBadRequest) IsClientError() bool
- func (o *DeleteLogScaleActionBadRequest) IsCode(code int) bool
- func (o *DeleteLogScaleActionBadRequest) IsRedirect() bool
- func (o *DeleteLogScaleActionBadRequest) IsServerError() bool
- func (o *DeleteLogScaleActionBadRequest) IsSuccess() bool
- func (o *DeleteLogScaleActionBadRequest) String() string
- type DeleteLogScaleActionDefault
- func (o *DeleteLogScaleActionDefault) Code() int
- func (o *DeleteLogScaleActionDefault) Error() string
- func (o *DeleteLogScaleActionDefault) GetPayload() models.GenericError
- func (o *DeleteLogScaleActionDefault) IsClientError() bool
- func (o *DeleteLogScaleActionDefault) IsCode(code int) bool
- func (o *DeleteLogScaleActionDefault) IsRedirect() bool
- func (o *DeleteLogScaleActionDefault) IsServerError() bool
- func (o *DeleteLogScaleActionDefault) IsSuccess() bool
- func (o *DeleteLogScaleActionDefault) String() string
- type DeleteLogScaleActionInternalServerError
- func (o *DeleteLogScaleActionInternalServerError) Code() int
- func (o *DeleteLogScaleActionInternalServerError) Error() string
- func (o *DeleteLogScaleActionInternalServerError) GetPayload() *models.APIError
- func (o *DeleteLogScaleActionInternalServerError) IsClientError() bool
- func (o *DeleteLogScaleActionInternalServerError) IsCode(code int) bool
- func (o *DeleteLogScaleActionInternalServerError) IsRedirect() bool
- func (o *DeleteLogScaleActionInternalServerError) IsServerError() bool
- func (o *DeleteLogScaleActionInternalServerError) IsSuccess() bool
- func (o *DeleteLogScaleActionInternalServerError) String() string
- type DeleteLogScaleActionNotFound
- func (o *DeleteLogScaleActionNotFound) Code() int
- func (o *DeleteLogScaleActionNotFound) Error() string
- func (o *DeleteLogScaleActionNotFound) GetPayload() *models.APIError
- func (o *DeleteLogScaleActionNotFound) IsClientError() bool
- func (o *DeleteLogScaleActionNotFound) IsCode(code int) bool
- func (o *DeleteLogScaleActionNotFound) IsRedirect() bool
- func (o *DeleteLogScaleActionNotFound) IsServerError() bool
- func (o *DeleteLogScaleActionNotFound) IsSuccess() bool
- func (o *DeleteLogScaleActionNotFound) String() string
- type DeleteLogScaleActionOK
- func (o *DeleteLogScaleActionOK) Code() int
- func (o *DeleteLogScaleActionOK) Error() string
- func (o *DeleteLogScaleActionOK) GetPayload() models.Configv1DeleteLogScaleActionResponse
- func (o *DeleteLogScaleActionOK) IsClientError() bool
- func (o *DeleteLogScaleActionOK) IsCode(code int) bool
- func (o *DeleteLogScaleActionOK) IsRedirect() bool
- func (o *DeleteLogScaleActionOK) IsServerError() bool
- func (o *DeleteLogScaleActionOK) IsSuccess() bool
- func (o *DeleteLogScaleActionOK) String() string
- type DeleteLogScaleActionParams
- func NewDeleteLogScaleActionParams() *DeleteLogScaleActionParams
- func NewDeleteLogScaleActionParamsWithContext(ctx context.Context) *DeleteLogScaleActionParams
- func NewDeleteLogScaleActionParamsWithHTTPClient(client *http.Client) *DeleteLogScaleActionParams
- func NewDeleteLogScaleActionParamsWithTimeout(timeout time.Duration) *DeleteLogScaleActionParams
- func (o *DeleteLogScaleActionParams) SetContext(ctx context.Context)
- func (o *DeleteLogScaleActionParams) SetDefaults()
- func (o *DeleteLogScaleActionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLogScaleActionParams) SetSlug(slug string)
- func (o *DeleteLogScaleActionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLogScaleActionParams) WithContext(ctx context.Context) *DeleteLogScaleActionParams
- func (o *DeleteLogScaleActionParams) WithDefaults() *DeleteLogScaleActionParams
- func (o *DeleteLogScaleActionParams) WithHTTPClient(client *http.Client) *DeleteLogScaleActionParams
- func (o *DeleteLogScaleActionParams) WithSlug(slug string) *DeleteLogScaleActionParams
- func (o *DeleteLogScaleActionParams) WithTimeout(timeout time.Duration) *DeleteLogScaleActionParams
- func (o *DeleteLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLogScaleActionReader
- type ListLogScaleActionsDefault
- func (o *ListLogScaleActionsDefault) Code() int
- func (o *ListLogScaleActionsDefault) Error() string
- func (o *ListLogScaleActionsDefault) GetPayload() models.GenericError
- func (o *ListLogScaleActionsDefault) IsClientError() bool
- func (o *ListLogScaleActionsDefault) IsCode(code int) bool
- func (o *ListLogScaleActionsDefault) IsRedirect() bool
- func (o *ListLogScaleActionsDefault) IsServerError() bool
- func (o *ListLogScaleActionsDefault) IsSuccess() bool
- func (o *ListLogScaleActionsDefault) String() string
- type ListLogScaleActionsInternalServerError
- func (o *ListLogScaleActionsInternalServerError) Code() int
- func (o *ListLogScaleActionsInternalServerError) Error() string
- func (o *ListLogScaleActionsInternalServerError) GetPayload() *models.APIError
- func (o *ListLogScaleActionsInternalServerError) IsClientError() bool
- func (o *ListLogScaleActionsInternalServerError) IsCode(code int) bool
- func (o *ListLogScaleActionsInternalServerError) IsRedirect() bool
- func (o *ListLogScaleActionsInternalServerError) IsServerError() bool
- func (o *ListLogScaleActionsInternalServerError) IsSuccess() bool
- func (o *ListLogScaleActionsInternalServerError) String() string
- type ListLogScaleActionsOK
- func (o *ListLogScaleActionsOK) Code() int
- func (o *ListLogScaleActionsOK) Error() string
- func (o *ListLogScaleActionsOK) GetPayload() *models.Configv1ListLogScaleActionsResponse
- func (o *ListLogScaleActionsOK) IsClientError() bool
- func (o *ListLogScaleActionsOK) IsCode(code int) bool
- func (o *ListLogScaleActionsOK) IsRedirect() bool
- func (o *ListLogScaleActionsOK) IsServerError() bool
- func (o *ListLogScaleActionsOK) IsSuccess() bool
- func (o *ListLogScaleActionsOK) String() string
- type ListLogScaleActionsParams
- func NewListLogScaleActionsParams() *ListLogScaleActionsParams
- func NewListLogScaleActionsParamsWithContext(ctx context.Context) *ListLogScaleActionsParams
- func NewListLogScaleActionsParamsWithHTTPClient(client *http.Client) *ListLogScaleActionsParams
- func NewListLogScaleActionsParamsWithTimeout(timeout time.Duration) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) SetContext(ctx context.Context)
- func (o *ListLogScaleActionsParams) SetDefaults()
- func (o *ListLogScaleActionsParams) SetHTTPClient(client *http.Client)
- func (o *ListLogScaleActionsParams) SetNames(names []string)
- func (o *ListLogScaleActionsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListLogScaleActionsParams) SetPageToken(pageToken *string)
- func (o *ListLogScaleActionsParams) SetSlugs(slugs []string)
- func (o *ListLogScaleActionsParams) SetTimeout(timeout time.Duration)
- func (o *ListLogScaleActionsParams) WithContext(ctx context.Context) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithDefaults() *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithHTTPClient(client *http.Client) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithNames(names []string) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithPageMaxSize(pageMaxSize *int64) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithPageToken(pageToken *string) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithSlugs(slugs []string) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WithTimeout(timeout time.Duration) *ListLogScaleActionsParams
- func (o *ListLogScaleActionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListLogScaleActionsReader
- type ReadLogScaleActionDefault
- func (o *ReadLogScaleActionDefault) Code() int
- func (o *ReadLogScaleActionDefault) Error() string
- func (o *ReadLogScaleActionDefault) GetPayload() models.GenericError
- func (o *ReadLogScaleActionDefault) IsClientError() bool
- func (o *ReadLogScaleActionDefault) IsCode(code int) bool
- func (o *ReadLogScaleActionDefault) IsRedirect() bool
- func (o *ReadLogScaleActionDefault) IsServerError() bool
- func (o *ReadLogScaleActionDefault) IsSuccess() bool
- func (o *ReadLogScaleActionDefault) String() string
- type ReadLogScaleActionInternalServerError
- func (o *ReadLogScaleActionInternalServerError) Code() int
- func (o *ReadLogScaleActionInternalServerError) Error() string
- func (o *ReadLogScaleActionInternalServerError) GetPayload() *models.APIError
- func (o *ReadLogScaleActionInternalServerError) IsClientError() bool
- func (o *ReadLogScaleActionInternalServerError) IsCode(code int) bool
- func (o *ReadLogScaleActionInternalServerError) IsRedirect() bool
- func (o *ReadLogScaleActionInternalServerError) IsServerError() bool
- func (o *ReadLogScaleActionInternalServerError) IsSuccess() bool
- func (o *ReadLogScaleActionInternalServerError) String() string
- type ReadLogScaleActionNotFound
- func (o *ReadLogScaleActionNotFound) Code() int
- func (o *ReadLogScaleActionNotFound) Error() string
- func (o *ReadLogScaleActionNotFound) GetPayload() *models.APIError
- func (o *ReadLogScaleActionNotFound) IsClientError() bool
- func (o *ReadLogScaleActionNotFound) IsCode(code int) bool
- func (o *ReadLogScaleActionNotFound) IsRedirect() bool
- func (o *ReadLogScaleActionNotFound) IsServerError() bool
- func (o *ReadLogScaleActionNotFound) IsSuccess() bool
- func (o *ReadLogScaleActionNotFound) String() string
- type ReadLogScaleActionOK
- func (o *ReadLogScaleActionOK) Code() int
- func (o *ReadLogScaleActionOK) Error() string
- func (o *ReadLogScaleActionOK) GetPayload() *models.Configv1ReadLogScaleActionResponse
- func (o *ReadLogScaleActionOK) IsClientError() bool
- func (o *ReadLogScaleActionOK) IsCode(code int) bool
- func (o *ReadLogScaleActionOK) IsRedirect() bool
- func (o *ReadLogScaleActionOK) IsServerError() bool
- func (o *ReadLogScaleActionOK) IsSuccess() bool
- func (o *ReadLogScaleActionOK) String() string
- type ReadLogScaleActionParams
- func NewReadLogScaleActionParams() *ReadLogScaleActionParams
- func NewReadLogScaleActionParamsWithContext(ctx context.Context) *ReadLogScaleActionParams
- func NewReadLogScaleActionParamsWithHTTPClient(client *http.Client) *ReadLogScaleActionParams
- func NewReadLogScaleActionParamsWithTimeout(timeout time.Duration) *ReadLogScaleActionParams
- func (o *ReadLogScaleActionParams) SetContext(ctx context.Context)
- func (o *ReadLogScaleActionParams) SetDefaults()
- func (o *ReadLogScaleActionParams) SetHTTPClient(client *http.Client)
- func (o *ReadLogScaleActionParams) SetSlug(slug string)
- func (o *ReadLogScaleActionParams) SetTimeout(timeout time.Duration)
- func (o *ReadLogScaleActionParams) WithContext(ctx context.Context) *ReadLogScaleActionParams
- func (o *ReadLogScaleActionParams) WithDefaults() *ReadLogScaleActionParams
- func (o *ReadLogScaleActionParams) WithHTTPClient(client *http.Client) *ReadLogScaleActionParams
- func (o *ReadLogScaleActionParams) WithSlug(slug string) *ReadLogScaleActionParams
- func (o *ReadLogScaleActionParams) WithTimeout(timeout time.Duration) *ReadLogScaleActionParams
- func (o *ReadLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadLogScaleActionReader
- type UpdateLogScaleActionBadRequest
- func (o *UpdateLogScaleActionBadRequest) Code() int
- func (o *UpdateLogScaleActionBadRequest) Error() string
- func (o *UpdateLogScaleActionBadRequest) GetPayload() *models.APIError
- func (o *UpdateLogScaleActionBadRequest) IsClientError() bool
- func (o *UpdateLogScaleActionBadRequest) IsCode(code int) bool
- func (o *UpdateLogScaleActionBadRequest) IsRedirect() bool
- func (o *UpdateLogScaleActionBadRequest) IsServerError() bool
- func (o *UpdateLogScaleActionBadRequest) IsSuccess() bool
- func (o *UpdateLogScaleActionBadRequest) String() string
- type UpdateLogScaleActionConflict
- func (o *UpdateLogScaleActionConflict) Code() int
- func (o *UpdateLogScaleActionConflict) Error() string
- func (o *UpdateLogScaleActionConflict) GetPayload() *models.APIError
- func (o *UpdateLogScaleActionConflict) IsClientError() bool
- func (o *UpdateLogScaleActionConflict) IsCode(code int) bool
- func (o *UpdateLogScaleActionConflict) IsRedirect() bool
- func (o *UpdateLogScaleActionConflict) IsServerError() bool
- func (o *UpdateLogScaleActionConflict) IsSuccess() bool
- func (o *UpdateLogScaleActionConflict) String() string
- type UpdateLogScaleActionDefault
- func (o *UpdateLogScaleActionDefault) Code() int
- func (o *UpdateLogScaleActionDefault) Error() string
- func (o *UpdateLogScaleActionDefault) GetPayload() models.GenericError
- func (o *UpdateLogScaleActionDefault) IsClientError() bool
- func (o *UpdateLogScaleActionDefault) IsCode(code int) bool
- func (o *UpdateLogScaleActionDefault) IsRedirect() bool
- func (o *UpdateLogScaleActionDefault) IsServerError() bool
- func (o *UpdateLogScaleActionDefault) IsSuccess() bool
- func (o *UpdateLogScaleActionDefault) String() string
- type UpdateLogScaleActionInternalServerError
- func (o *UpdateLogScaleActionInternalServerError) Code() int
- func (o *UpdateLogScaleActionInternalServerError) Error() string
- func (o *UpdateLogScaleActionInternalServerError) GetPayload() *models.APIError
- func (o *UpdateLogScaleActionInternalServerError) IsClientError() bool
- func (o *UpdateLogScaleActionInternalServerError) IsCode(code int) bool
- func (o *UpdateLogScaleActionInternalServerError) IsRedirect() bool
- func (o *UpdateLogScaleActionInternalServerError) IsServerError() bool
- func (o *UpdateLogScaleActionInternalServerError) IsSuccess() bool
- func (o *UpdateLogScaleActionInternalServerError) String() string
- type UpdateLogScaleActionNotFound
- func (o *UpdateLogScaleActionNotFound) Code() int
- func (o *UpdateLogScaleActionNotFound) Error() string
- func (o *UpdateLogScaleActionNotFound) GetPayload() *models.APIError
- func (o *UpdateLogScaleActionNotFound) IsClientError() bool
- func (o *UpdateLogScaleActionNotFound) IsCode(code int) bool
- func (o *UpdateLogScaleActionNotFound) IsRedirect() bool
- func (o *UpdateLogScaleActionNotFound) IsServerError() bool
- func (o *UpdateLogScaleActionNotFound) IsSuccess() bool
- func (o *UpdateLogScaleActionNotFound) String() string
- type UpdateLogScaleActionOK
- func (o *UpdateLogScaleActionOK) Code() int
- func (o *UpdateLogScaleActionOK) Error() string
- func (o *UpdateLogScaleActionOK) GetPayload() *models.Configv1UpdateLogScaleActionResponse
- func (o *UpdateLogScaleActionOK) IsClientError() bool
- func (o *UpdateLogScaleActionOK) IsCode(code int) bool
- func (o *UpdateLogScaleActionOK) IsRedirect() bool
- func (o *UpdateLogScaleActionOK) IsServerError() bool
- func (o *UpdateLogScaleActionOK) IsSuccess() bool
- func (o *UpdateLogScaleActionOK) String() string
- type UpdateLogScaleActionParams
- func NewUpdateLogScaleActionParams() *UpdateLogScaleActionParams
- func NewUpdateLogScaleActionParamsWithContext(ctx context.Context) *UpdateLogScaleActionParams
- func NewUpdateLogScaleActionParamsWithHTTPClient(client *http.Client) *UpdateLogScaleActionParams
- func NewUpdateLogScaleActionParamsWithTimeout(timeout time.Duration) *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) SetBody(body *models.ConfigV1UpdateLogScaleActionBody)
- func (o *UpdateLogScaleActionParams) SetContext(ctx context.Context)
- func (o *UpdateLogScaleActionParams) SetDefaults()
- func (o *UpdateLogScaleActionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLogScaleActionParams) SetSlug(slug string)
- func (o *UpdateLogScaleActionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLogScaleActionParams) WithBody(body *models.ConfigV1UpdateLogScaleActionBody) *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) WithContext(ctx context.Context) *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) WithDefaults() *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) WithHTTPClient(client *http.Client) *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) WithSlug(slug string) *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) WithTimeout(timeout time.Duration) *UpdateLogScaleActionParams
- func (o *UpdateLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLogScaleActionReader
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 scale action API
func (*Client) CreateLogScaleAction ¶
func (a *Client) CreateLogScaleAction(params *CreateLogScaleActionParams, opts ...ClientOption) (*CreateLogScaleActionOK, error)
CreateLogScaleAction create log scale action API
func (*Client) DeleteLogScaleAction ¶
func (a *Client) DeleteLogScaleAction(params *DeleteLogScaleActionParams, opts ...ClientOption) (*DeleteLogScaleActionOK, error)
DeleteLogScaleAction delete log scale action API
func (*Client) ListLogScaleActions ¶
func (a *Client) ListLogScaleActions(params *ListLogScaleActionsParams, opts ...ClientOption) (*ListLogScaleActionsOK, error)
ListLogScaleActions list log scale actions API
func (*Client) ReadLogScaleAction ¶
func (a *Client) ReadLogScaleAction(params *ReadLogScaleActionParams, opts ...ClientOption) (*ReadLogScaleActionOK, error)
ReadLogScaleAction read log scale action API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLogScaleAction ¶
func (a *Client) UpdateLogScaleAction(params *UpdateLogScaleActionParams, opts ...ClientOption) (*UpdateLogScaleActionOK, error)
UpdateLogScaleAction update log scale action API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateLogScaleAction(params *CreateLogScaleActionParams, opts ...ClientOption) (*CreateLogScaleActionOK, error) DeleteLogScaleAction(params *DeleteLogScaleActionParams, opts ...ClientOption) (*DeleteLogScaleActionOK, error) ListLogScaleActions(params *ListLogScaleActionsParams, opts ...ClientOption) (*ListLogScaleActionsOK, error) ReadLogScaleAction(params *ReadLogScaleActionParams, opts ...ClientOption) (*ReadLogScaleActionOK, error) UpdateLogScaleAction(params *UpdateLogScaleActionParams, opts ...ClientOption) (*UpdateLogScaleActionOK, 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 scale action API client.
type CreateLogScaleActionBadRequest ¶
CreateLogScaleActionBadRequest describes a response with status code 400, with default header values.
Cannot create the LogScaleAction because the request is invalid.
func NewCreateLogScaleActionBadRequest ¶
func NewCreateLogScaleActionBadRequest() *CreateLogScaleActionBadRequest
NewCreateLogScaleActionBadRequest creates a CreateLogScaleActionBadRequest with default headers values
func (*CreateLogScaleActionBadRequest) Code ¶
func (o *CreateLogScaleActionBadRequest) Code() int
Code gets the status code for the create log scale action bad request response
func (*CreateLogScaleActionBadRequest) Error ¶
func (o *CreateLogScaleActionBadRequest) Error() string
func (*CreateLogScaleActionBadRequest) GetPayload ¶
func (o *CreateLogScaleActionBadRequest) GetPayload() *models.APIError
func (*CreateLogScaleActionBadRequest) IsClientError ¶
func (o *CreateLogScaleActionBadRequest) IsClientError() bool
IsClientError returns true when this create log scale action bad request response has a 4xx status code
func (*CreateLogScaleActionBadRequest) IsCode ¶
func (o *CreateLogScaleActionBadRequest) IsCode(code int) bool
IsCode returns true when this create log scale action bad request response a status code equal to that given
func (*CreateLogScaleActionBadRequest) IsRedirect ¶
func (o *CreateLogScaleActionBadRequest) IsRedirect() bool
IsRedirect returns true when this create log scale action bad request response has a 3xx status code
func (*CreateLogScaleActionBadRequest) IsServerError ¶
func (o *CreateLogScaleActionBadRequest) IsServerError() bool
IsServerError returns true when this create log scale action bad request response has a 5xx status code
func (*CreateLogScaleActionBadRequest) IsSuccess ¶
func (o *CreateLogScaleActionBadRequest) IsSuccess() bool
IsSuccess returns true when this create log scale action bad request response has a 2xx status code
func (*CreateLogScaleActionBadRequest) String ¶
func (o *CreateLogScaleActionBadRequest) String() string
type CreateLogScaleActionConflict ¶
CreateLogScaleActionConflict describes a response with status code 409, with default header values.
Cannot create the LogScaleAction because there is a conflict with an existing LogScaleAction.
func NewCreateLogScaleActionConflict ¶
func NewCreateLogScaleActionConflict() *CreateLogScaleActionConflict
NewCreateLogScaleActionConflict creates a CreateLogScaleActionConflict with default headers values
func (*CreateLogScaleActionConflict) Code ¶
func (o *CreateLogScaleActionConflict) Code() int
Code gets the status code for the create log scale action conflict response
func (*CreateLogScaleActionConflict) Error ¶
func (o *CreateLogScaleActionConflict) Error() string
func (*CreateLogScaleActionConflict) GetPayload ¶
func (o *CreateLogScaleActionConflict) GetPayload() *models.APIError
func (*CreateLogScaleActionConflict) IsClientError ¶
func (o *CreateLogScaleActionConflict) IsClientError() bool
IsClientError returns true when this create log scale action conflict response has a 4xx status code
func (*CreateLogScaleActionConflict) IsCode ¶
func (o *CreateLogScaleActionConflict) IsCode(code int) bool
IsCode returns true when this create log scale action conflict response a status code equal to that given
func (*CreateLogScaleActionConflict) IsRedirect ¶
func (o *CreateLogScaleActionConflict) IsRedirect() bool
IsRedirect returns true when this create log scale action conflict response has a 3xx status code
func (*CreateLogScaleActionConflict) IsServerError ¶
func (o *CreateLogScaleActionConflict) IsServerError() bool
IsServerError returns true when this create log scale action conflict response has a 5xx status code
func (*CreateLogScaleActionConflict) IsSuccess ¶
func (o *CreateLogScaleActionConflict) IsSuccess() bool
IsSuccess returns true when this create log scale action conflict response has a 2xx status code
func (*CreateLogScaleActionConflict) String ¶
func (o *CreateLogScaleActionConflict) String() string
type CreateLogScaleActionDefault ¶
type CreateLogScaleActionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateLogScaleActionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateLogScaleActionDefault ¶
func NewCreateLogScaleActionDefault(code int) *CreateLogScaleActionDefault
NewCreateLogScaleActionDefault creates a CreateLogScaleActionDefault with default headers values
func (*CreateLogScaleActionDefault) Code ¶
func (o *CreateLogScaleActionDefault) Code() int
Code gets the status code for the create log scale action default response
func (*CreateLogScaleActionDefault) Error ¶
func (o *CreateLogScaleActionDefault) Error() string
func (*CreateLogScaleActionDefault) GetPayload ¶
func (o *CreateLogScaleActionDefault) GetPayload() models.GenericError
func (*CreateLogScaleActionDefault) IsClientError ¶
func (o *CreateLogScaleActionDefault) IsClientError() bool
IsClientError returns true when this create log scale action default response has a 4xx status code
func (*CreateLogScaleActionDefault) IsCode ¶
func (o *CreateLogScaleActionDefault) IsCode(code int) bool
IsCode returns true when this create log scale action default response a status code equal to that given
func (*CreateLogScaleActionDefault) IsRedirect ¶
func (o *CreateLogScaleActionDefault) IsRedirect() bool
IsRedirect returns true when this create log scale action default response has a 3xx status code
func (*CreateLogScaleActionDefault) IsServerError ¶
func (o *CreateLogScaleActionDefault) IsServerError() bool
IsServerError returns true when this create log scale action default response has a 5xx status code
func (*CreateLogScaleActionDefault) IsSuccess ¶
func (o *CreateLogScaleActionDefault) IsSuccess() bool
IsSuccess returns true when this create log scale action default response has a 2xx status code
func (*CreateLogScaleActionDefault) String ¶
func (o *CreateLogScaleActionDefault) String() string
type CreateLogScaleActionInternalServerError ¶
CreateLogScaleActionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateLogScaleActionInternalServerError ¶
func NewCreateLogScaleActionInternalServerError() *CreateLogScaleActionInternalServerError
NewCreateLogScaleActionInternalServerError creates a CreateLogScaleActionInternalServerError with default headers values
func (*CreateLogScaleActionInternalServerError) Code ¶
func (o *CreateLogScaleActionInternalServerError) Code() int
Code gets the status code for the create log scale action internal server error response
func (*CreateLogScaleActionInternalServerError) Error ¶
func (o *CreateLogScaleActionInternalServerError) Error() string
func (*CreateLogScaleActionInternalServerError) GetPayload ¶
func (o *CreateLogScaleActionInternalServerError) GetPayload() *models.APIError
func (*CreateLogScaleActionInternalServerError) IsClientError ¶
func (o *CreateLogScaleActionInternalServerError) IsClientError() bool
IsClientError returns true when this create log scale action internal server error response has a 4xx status code
func (*CreateLogScaleActionInternalServerError) IsCode ¶
func (o *CreateLogScaleActionInternalServerError) IsCode(code int) bool
IsCode returns true when this create log scale action internal server error response a status code equal to that given
func (*CreateLogScaleActionInternalServerError) IsRedirect ¶
func (o *CreateLogScaleActionInternalServerError) IsRedirect() bool
IsRedirect returns true when this create log scale action internal server error response has a 3xx status code
func (*CreateLogScaleActionInternalServerError) IsServerError ¶
func (o *CreateLogScaleActionInternalServerError) IsServerError() bool
IsServerError returns true when this create log scale action internal server error response has a 5xx status code
func (*CreateLogScaleActionInternalServerError) IsSuccess ¶
func (o *CreateLogScaleActionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create log scale action internal server error response has a 2xx status code
func (*CreateLogScaleActionInternalServerError) String ¶
func (o *CreateLogScaleActionInternalServerError) String() string
type CreateLogScaleActionOK ¶
type CreateLogScaleActionOK struct {
Payload *models.Configv1CreateLogScaleActionResponse
}
CreateLogScaleActionOK describes a response with status code 200, with default header values.
A successful response containing the created LogScaleAction.
func NewCreateLogScaleActionOK ¶
func NewCreateLogScaleActionOK() *CreateLogScaleActionOK
NewCreateLogScaleActionOK creates a CreateLogScaleActionOK with default headers values
func (*CreateLogScaleActionOK) Code ¶
func (o *CreateLogScaleActionOK) Code() int
Code gets the status code for the create log scale action o k response
func (*CreateLogScaleActionOK) Error ¶
func (o *CreateLogScaleActionOK) Error() string
func (*CreateLogScaleActionOK) GetPayload ¶
func (o *CreateLogScaleActionOK) GetPayload() *models.Configv1CreateLogScaleActionResponse
func (*CreateLogScaleActionOK) IsClientError ¶
func (o *CreateLogScaleActionOK) IsClientError() bool
IsClientError returns true when this create log scale action o k response has a 4xx status code
func (*CreateLogScaleActionOK) IsCode ¶
func (o *CreateLogScaleActionOK) IsCode(code int) bool
IsCode returns true when this create log scale action o k response a status code equal to that given
func (*CreateLogScaleActionOK) IsRedirect ¶
func (o *CreateLogScaleActionOK) IsRedirect() bool
IsRedirect returns true when this create log scale action o k response has a 3xx status code
func (*CreateLogScaleActionOK) IsServerError ¶
func (o *CreateLogScaleActionOK) IsServerError() bool
IsServerError returns true when this create log scale action o k response has a 5xx status code
func (*CreateLogScaleActionOK) IsSuccess ¶
func (o *CreateLogScaleActionOK) IsSuccess() bool
IsSuccess returns true when this create log scale action o k response has a 2xx status code
func (*CreateLogScaleActionOK) String ¶
func (o *CreateLogScaleActionOK) String() string
type CreateLogScaleActionParams ¶
type CreateLogScaleActionParams struct { // Body. Body *models.Configv1CreateLogScaleActionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLogScaleActionParams contains all the parameters to send to the API endpoint
for the create log scale action operation. Typically these are written to a http.Request.
func NewCreateLogScaleActionParams ¶
func NewCreateLogScaleActionParams() *CreateLogScaleActionParams
NewCreateLogScaleActionParams creates a new CreateLogScaleActionParams 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 NewCreateLogScaleActionParamsWithContext ¶
func NewCreateLogScaleActionParamsWithContext(ctx context.Context) *CreateLogScaleActionParams
NewCreateLogScaleActionParamsWithContext creates a new CreateLogScaleActionParams object with the ability to set a context for a request.
func NewCreateLogScaleActionParamsWithHTTPClient ¶
func NewCreateLogScaleActionParamsWithHTTPClient(client *http.Client) *CreateLogScaleActionParams
NewCreateLogScaleActionParamsWithHTTPClient creates a new CreateLogScaleActionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLogScaleActionParamsWithTimeout ¶
func NewCreateLogScaleActionParamsWithTimeout(timeout time.Duration) *CreateLogScaleActionParams
NewCreateLogScaleActionParamsWithTimeout creates a new CreateLogScaleActionParams object with the ability to set a timeout on a request.
func (*CreateLogScaleActionParams) SetBody ¶
func (o *CreateLogScaleActionParams) SetBody(body *models.Configv1CreateLogScaleActionRequest)
SetBody adds the body to the create log scale action params
func (*CreateLogScaleActionParams) SetContext ¶
func (o *CreateLogScaleActionParams) SetContext(ctx context.Context)
SetContext adds the context to the create log scale action params
func (*CreateLogScaleActionParams) SetDefaults ¶
func (o *CreateLogScaleActionParams) SetDefaults()
SetDefaults hydrates default values in the create log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogScaleActionParams) SetHTTPClient ¶
func (o *CreateLogScaleActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create log scale action params
func (*CreateLogScaleActionParams) SetTimeout ¶
func (o *CreateLogScaleActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create log scale action params
func (*CreateLogScaleActionParams) WithBody ¶
func (o *CreateLogScaleActionParams) WithBody(body *models.Configv1CreateLogScaleActionRequest) *CreateLogScaleActionParams
WithBody adds the body to the create log scale action params
func (*CreateLogScaleActionParams) WithContext ¶
func (o *CreateLogScaleActionParams) WithContext(ctx context.Context) *CreateLogScaleActionParams
WithContext adds the context to the create log scale action params
func (*CreateLogScaleActionParams) WithDefaults ¶
func (o *CreateLogScaleActionParams) WithDefaults() *CreateLogScaleActionParams
WithDefaults hydrates default values in the create log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogScaleActionParams) WithHTTPClient ¶
func (o *CreateLogScaleActionParams) WithHTTPClient(client *http.Client) *CreateLogScaleActionParams
WithHTTPClient adds the HTTPClient to the create log scale action params
func (*CreateLogScaleActionParams) WithTimeout ¶
func (o *CreateLogScaleActionParams) WithTimeout(timeout time.Duration) *CreateLogScaleActionParams
WithTimeout adds the timeout to the create log scale action params
func (*CreateLogScaleActionParams) WriteToRequest ¶
func (o *CreateLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLogScaleActionReader ¶
type CreateLogScaleActionReader struct {
// contains filtered or unexported fields
}
CreateLogScaleActionReader is a Reader for the CreateLogScaleAction structure.
func (*CreateLogScaleActionReader) ReadResponse ¶
func (o *CreateLogScaleActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLogScaleActionBadRequest ¶
DeleteLogScaleActionBadRequest describes a response with status code 400, with default header values.
Cannot delete the LogScaleAction because it is in use.
func NewDeleteLogScaleActionBadRequest ¶
func NewDeleteLogScaleActionBadRequest() *DeleteLogScaleActionBadRequest
NewDeleteLogScaleActionBadRequest creates a DeleteLogScaleActionBadRequest with default headers values
func (*DeleteLogScaleActionBadRequest) Code ¶
func (o *DeleteLogScaleActionBadRequest) Code() int
Code gets the status code for the delete log scale action bad request response
func (*DeleteLogScaleActionBadRequest) Error ¶
func (o *DeleteLogScaleActionBadRequest) Error() string
func (*DeleteLogScaleActionBadRequest) GetPayload ¶
func (o *DeleteLogScaleActionBadRequest) GetPayload() *models.APIError
func (*DeleteLogScaleActionBadRequest) IsClientError ¶
func (o *DeleteLogScaleActionBadRequest) IsClientError() bool
IsClientError returns true when this delete log scale action bad request response has a 4xx status code
func (*DeleteLogScaleActionBadRequest) IsCode ¶
func (o *DeleteLogScaleActionBadRequest) IsCode(code int) bool
IsCode returns true when this delete log scale action bad request response a status code equal to that given
func (*DeleteLogScaleActionBadRequest) IsRedirect ¶
func (o *DeleteLogScaleActionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete log scale action bad request response has a 3xx status code
func (*DeleteLogScaleActionBadRequest) IsServerError ¶
func (o *DeleteLogScaleActionBadRequest) IsServerError() bool
IsServerError returns true when this delete log scale action bad request response has a 5xx status code
func (*DeleteLogScaleActionBadRequest) IsSuccess ¶
func (o *DeleteLogScaleActionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete log scale action bad request response has a 2xx status code
func (*DeleteLogScaleActionBadRequest) String ¶
func (o *DeleteLogScaleActionBadRequest) String() string
type DeleteLogScaleActionDefault ¶
type DeleteLogScaleActionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteLogScaleActionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteLogScaleActionDefault ¶
func NewDeleteLogScaleActionDefault(code int) *DeleteLogScaleActionDefault
NewDeleteLogScaleActionDefault creates a DeleteLogScaleActionDefault with default headers values
func (*DeleteLogScaleActionDefault) Code ¶
func (o *DeleteLogScaleActionDefault) Code() int
Code gets the status code for the delete log scale action default response
func (*DeleteLogScaleActionDefault) Error ¶
func (o *DeleteLogScaleActionDefault) Error() string
func (*DeleteLogScaleActionDefault) GetPayload ¶
func (o *DeleteLogScaleActionDefault) GetPayload() models.GenericError
func (*DeleteLogScaleActionDefault) IsClientError ¶
func (o *DeleteLogScaleActionDefault) IsClientError() bool
IsClientError returns true when this delete log scale action default response has a 4xx status code
func (*DeleteLogScaleActionDefault) IsCode ¶
func (o *DeleteLogScaleActionDefault) IsCode(code int) bool
IsCode returns true when this delete log scale action default response a status code equal to that given
func (*DeleteLogScaleActionDefault) IsRedirect ¶
func (o *DeleteLogScaleActionDefault) IsRedirect() bool
IsRedirect returns true when this delete log scale action default response has a 3xx status code
func (*DeleteLogScaleActionDefault) IsServerError ¶
func (o *DeleteLogScaleActionDefault) IsServerError() bool
IsServerError returns true when this delete log scale action default response has a 5xx status code
func (*DeleteLogScaleActionDefault) IsSuccess ¶
func (o *DeleteLogScaleActionDefault) IsSuccess() bool
IsSuccess returns true when this delete log scale action default response has a 2xx status code
func (*DeleteLogScaleActionDefault) String ¶
func (o *DeleteLogScaleActionDefault) String() string
type DeleteLogScaleActionInternalServerError ¶
DeleteLogScaleActionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteLogScaleActionInternalServerError ¶
func NewDeleteLogScaleActionInternalServerError() *DeleteLogScaleActionInternalServerError
NewDeleteLogScaleActionInternalServerError creates a DeleteLogScaleActionInternalServerError with default headers values
func (*DeleteLogScaleActionInternalServerError) Code ¶
func (o *DeleteLogScaleActionInternalServerError) Code() int
Code gets the status code for the delete log scale action internal server error response
func (*DeleteLogScaleActionInternalServerError) Error ¶
func (o *DeleteLogScaleActionInternalServerError) Error() string
func (*DeleteLogScaleActionInternalServerError) GetPayload ¶
func (o *DeleteLogScaleActionInternalServerError) GetPayload() *models.APIError
func (*DeleteLogScaleActionInternalServerError) IsClientError ¶
func (o *DeleteLogScaleActionInternalServerError) IsClientError() bool
IsClientError returns true when this delete log scale action internal server error response has a 4xx status code
func (*DeleteLogScaleActionInternalServerError) IsCode ¶
func (o *DeleteLogScaleActionInternalServerError) IsCode(code int) bool
IsCode returns true when this delete log scale action internal server error response a status code equal to that given
func (*DeleteLogScaleActionInternalServerError) IsRedirect ¶
func (o *DeleteLogScaleActionInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete log scale action internal server error response has a 3xx status code
func (*DeleteLogScaleActionInternalServerError) IsServerError ¶
func (o *DeleteLogScaleActionInternalServerError) IsServerError() bool
IsServerError returns true when this delete log scale action internal server error response has a 5xx status code
func (*DeleteLogScaleActionInternalServerError) IsSuccess ¶
func (o *DeleteLogScaleActionInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete log scale action internal server error response has a 2xx status code
func (*DeleteLogScaleActionInternalServerError) String ¶
func (o *DeleteLogScaleActionInternalServerError) String() string
type DeleteLogScaleActionNotFound ¶
DeleteLogScaleActionNotFound describes a response with status code 404, with default header values.
Cannot delete the LogScaleAction because the slug does not exist.
func NewDeleteLogScaleActionNotFound ¶
func NewDeleteLogScaleActionNotFound() *DeleteLogScaleActionNotFound
NewDeleteLogScaleActionNotFound creates a DeleteLogScaleActionNotFound with default headers values
func (*DeleteLogScaleActionNotFound) Code ¶
func (o *DeleteLogScaleActionNotFound) Code() int
Code gets the status code for the delete log scale action not found response
func (*DeleteLogScaleActionNotFound) Error ¶
func (o *DeleteLogScaleActionNotFound) Error() string
func (*DeleteLogScaleActionNotFound) GetPayload ¶
func (o *DeleteLogScaleActionNotFound) GetPayload() *models.APIError
func (*DeleteLogScaleActionNotFound) IsClientError ¶
func (o *DeleteLogScaleActionNotFound) IsClientError() bool
IsClientError returns true when this delete log scale action not found response has a 4xx status code
func (*DeleteLogScaleActionNotFound) IsCode ¶
func (o *DeleteLogScaleActionNotFound) IsCode(code int) bool
IsCode returns true when this delete log scale action not found response a status code equal to that given
func (*DeleteLogScaleActionNotFound) IsRedirect ¶
func (o *DeleteLogScaleActionNotFound) IsRedirect() bool
IsRedirect returns true when this delete log scale action not found response has a 3xx status code
func (*DeleteLogScaleActionNotFound) IsServerError ¶
func (o *DeleteLogScaleActionNotFound) IsServerError() bool
IsServerError returns true when this delete log scale action not found response has a 5xx status code
func (*DeleteLogScaleActionNotFound) IsSuccess ¶
func (o *DeleteLogScaleActionNotFound) IsSuccess() bool
IsSuccess returns true when this delete log scale action not found response has a 2xx status code
func (*DeleteLogScaleActionNotFound) String ¶
func (o *DeleteLogScaleActionNotFound) String() string
type DeleteLogScaleActionOK ¶
type DeleteLogScaleActionOK struct {
Payload models.Configv1DeleteLogScaleActionResponse
}
DeleteLogScaleActionOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteLogScaleActionOK ¶
func NewDeleteLogScaleActionOK() *DeleteLogScaleActionOK
NewDeleteLogScaleActionOK creates a DeleteLogScaleActionOK with default headers values
func (*DeleteLogScaleActionOK) Code ¶
func (o *DeleteLogScaleActionOK) Code() int
Code gets the status code for the delete log scale action o k response
func (*DeleteLogScaleActionOK) Error ¶
func (o *DeleteLogScaleActionOK) Error() string
func (*DeleteLogScaleActionOK) GetPayload ¶
func (o *DeleteLogScaleActionOK) GetPayload() models.Configv1DeleteLogScaleActionResponse
func (*DeleteLogScaleActionOK) IsClientError ¶
func (o *DeleteLogScaleActionOK) IsClientError() bool
IsClientError returns true when this delete log scale action o k response has a 4xx status code
func (*DeleteLogScaleActionOK) IsCode ¶
func (o *DeleteLogScaleActionOK) IsCode(code int) bool
IsCode returns true when this delete log scale action o k response a status code equal to that given
func (*DeleteLogScaleActionOK) IsRedirect ¶
func (o *DeleteLogScaleActionOK) IsRedirect() bool
IsRedirect returns true when this delete log scale action o k response has a 3xx status code
func (*DeleteLogScaleActionOK) IsServerError ¶
func (o *DeleteLogScaleActionOK) IsServerError() bool
IsServerError returns true when this delete log scale action o k response has a 5xx status code
func (*DeleteLogScaleActionOK) IsSuccess ¶
func (o *DeleteLogScaleActionOK) IsSuccess() bool
IsSuccess returns true when this delete log scale action o k response has a 2xx status code
func (*DeleteLogScaleActionOK) String ¶
func (o *DeleteLogScaleActionOK) String() string
type DeleteLogScaleActionParams ¶
type DeleteLogScaleActionParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLogScaleActionParams contains all the parameters to send to the API endpoint
for the delete log scale action operation. Typically these are written to a http.Request.
func NewDeleteLogScaleActionParams ¶
func NewDeleteLogScaleActionParams() *DeleteLogScaleActionParams
NewDeleteLogScaleActionParams creates a new DeleteLogScaleActionParams 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 NewDeleteLogScaleActionParamsWithContext ¶
func NewDeleteLogScaleActionParamsWithContext(ctx context.Context) *DeleteLogScaleActionParams
NewDeleteLogScaleActionParamsWithContext creates a new DeleteLogScaleActionParams object with the ability to set a context for a request.
func NewDeleteLogScaleActionParamsWithHTTPClient ¶
func NewDeleteLogScaleActionParamsWithHTTPClient(client *http.Client) *DeleteLogScaleActionParams
NewDeleteLogScaleActionParamsWithHTTPClient creates a new DeleteLogScaleActionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLogScaleActionParamsWithTimeout ¶
func NewDeleteLogScaleActionParamsWithTimeout(timeout time.Duration) *DeleteLogScaleActionParams
NewDeleteLogScaleActionParamsWithTimeout creates a new DeleteLogScaleActionParams object with the ability to set a timeout on a request.
func (*DeleteLogScaleActionParams) SetContext ¶
func (o *DeleteLogScaleActionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete log scale action params
func (*DeleteLogScaleActionParams) SetDefaults ¶
func (o *DeleteLogScaleActionParams) SetDefaults()
SetDefaults hydrates default values in the delete log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLogScaleActionParams) SetHTTPClient ¶
func (o *DeleteLogScaleActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete log scale action params
func (*DeleteLogScaleActionParams) SetSlug ¶
func (o *DeleteLogScaleActionParams) SetSlug(slug string)
SetSlug adds the slug to the delete log scale action params
func (*DeleteLogScaleActionParams) SetTimeout ¶
func (o *DeleteLogScaleActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete log scale action params
func (*DeleteLogScaleActionParams) WithContext ¶
func (o *DeleteLogScaleActionParams) WithContext(ctx context.Context) *DeleteLogScaleActionParams
WithContext adds the context to the delete log scale action params
func (*DeleteLogScaleActionParams) WithDefaults ¶
func (o *DeleteLogScaleActionParams) WithDefaults() *DeleteLogScaleActionParams
WithDefaults hydrates default values in the delete log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLogScaleActionParams) WithHTTPClient ¶
func (o *DeleteLogScaleActionParams) WithHTTPClient(client *http.Client) *DeleteLogScaleActionParams
WithHTTPClient adds the HTTPClient to the delete log scale action params
func (*DeleteLogScaleActionParams) WithSlug ¶
func (o *DeleteLogScaleActionParams) WithSlug(slug string) *DeleteLogScaleActionParams
WithSlug adds the slug to the delete log scale action params
func (*DeleteLogScaleActionParams) WithTimeout ¶
func (o *DeleteLogScaleActionParams) WithTimeout(timeout time.Duration) *DeleteLogScaleActionParams
WithTimeout adds the timeout to the delete log scale action params
func (*DeleteLogScaleActionParams) WriteToRequest ¶
func (o *DeleteLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLogScaleActionReader ¶
type DeleteLogScaleActionReader struct {
// contains filtered or unexported fields
}
DeleteLogScaleActionReader is a Reader for the DeleteLogScaleAction structure.
func (*DeleteLogScaleActionReader) ReadResponse ¶
func (o *DeleteLogScaleActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListLogScaleActionsDefault ¶
type ListLogScaleActionsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListLogScaleActionsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListLogScaleActionsDefault ¶
func NewListLogScaleActionsDefault(code int) *ListLogScaleActionsDefault
NewListLogScaleActionsDefault creates a ListLogScaleActionsDefault with default headers values
func (*ListLogScaleActionsDefault) Code ¶
func (o *ListLogScaleActionsDefault) Code() int
Code gets the status code for the list log scale actions default response
func (*ListLogScaleActionsDefault) Error ¶
func (o *ListLogScaleActionsDefault) Error() string
func (*ListLogScaleActionsDefault) GetPayload ¶
func (o *ListLogScaleActionsDefault) GetPayload() models.GenericError
func (*ListLogScaleActionsDefault) IsClientError ¶
func (o *ListLogScaleActionsDefault) IsClientError() bool
IsClientError returns true when this list log scale actions default response has a 4xx status code
func (*ListLogScaleActionsDefault) IsCode ¶
func (o *ListLogScaleActionsDefault) IsCode(code int) bool
IsCode returns true when this list log scale actions default response a status code equal to that given
func (*ListLogScaleActionsDefault) IsRedirect ¶
func (o *ListLogScaleActionsDefault) IsRedirect() bool
IsRedirect returns true when this list log scale actions default response has a 3xx status code
func (*ListLogScaleActionsDefault) IsServerError ¶
func (o *ListLogScaleActionsDefault) IsServerError() bool
IsServerError returns true when this list log scale actions default response has a 5xx status code
func (*ListLogScaleActionsDefault) IsSuccess ¶
func (o *ListLogScaleActionsDefault) IsSuccess() bool
IsSuccess returns true when this list log scale actions default response has a 2xx status code
func (*ListLogScaleActionsDefault) String ¶
func (o *ListLogScaleActionsDefault) String() string
type ListLogScaleActionsInternalServerError ¶
ListLogScaleActionsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListLogScaleActionsInternalServerError ¶
func NewListLogScaleActionsInternalServerError() *ListLogScaleActionsInternalServerError
NewListLogScaleActionsInternalServerError creates a ListLogScaleActionsInternalServerError with default headers values
func (*ListLogScaleActionsInternalServerError) Code ¶
func (o *ListLogScaleActionsInternalServerError) Code() int
Code gets the status code for the list log scale actions internal server error response
func (*ListLogScaleActionsInternalServerError) Error ¶
func (o *ListLogScaleActionsInternalServerError) Error() string
func (*ListLogScaleActionsInternalServerError) GetPayload ¶
func (o *ListLogScaleActionsInternalServerError) GetPayload() *models.APIError
func (*ListLogScaleActionsInternalServerError) IsClientError ¶
func (o *ListLogScaleActionsInternalServerError) IsClientError() bool
IsClientError returns true when this list log scale actions internal server error response has a 4xx status code
func (*ListLogScaleActionsInternalServerError) IsCode ¶
func (o *ListLogScaleActionsInternalServerError) IsCode(code int) bool
IsCode returns true when this list log scale actions internal server error response a status code equal to that given
func (*ListLogScaleActionsInternalServerError) IsRedirect ¶
func (o *ListLogScaleActionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list log scale actions internal server error response has a 3xx status code
func (*ListLogScaleActionsInternalServerError) IsServerError ¶
func (o *ListLogScaleActionsInternalServerError) IsServerError() bool
IsServerError returns true when this list log scale actions internal server error response has a 5xx status code
func (*ListLogScaleActionsInternalServerError) IsSuccess ¶
func (o *ListLogScaleActionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list log scale actions internal server error response has a 2xx status code
func (*ListLogScaleActionsInternalServerError) String ¶
func (o *ListLogScaleActionsInternalServerError) String() string
type ListLogScaleActionsOK ¶
type ListLogScaleActionsOK struct {
Payload *models.Configv1ListLogScaleActionsResponse
}
ListLogScaleActionsOK describes a response with status code 200, with default header values.
A successful response.
func NewListLogScaleActionsOK ¶
func NewListLogScaleActionsOK() *ListLogScaleActionsOK
NewListLogScaleActionsOK creates a ListLogScaleActionsOK with default headers values
func (*ListLogScaleActionsOK) Code ¶
func (o *ListLogScaleActionsOK) Code() int
Code gets the status code for the list log scale actions o k response
func (*ListLogScaleActionsOK) Error ¶
func (o *ListLogScaleActionsOK) Error() string
func (*ListLogScaleActionsOK) GetPayload ¶
func (o *ListLogScaleActionsOK) GetPayload() *models.Configv1ListLogScaleActionsResponse
func (*ListLogScaleActionsOK) IsClientError ¶
func (o *ListLogScaleActionsOK) IsClientError() bool
IsClientError returns true when this list log scale actions o k response has a 4xx status code
func (*ListLogScaleActionsOK) IsCode ¶
func (o *ListLogScaleActionsOK) IsCode(code int) bool
IsCode returns true when this list log scale actions o k response a status code equal to that given
func (*ListLogScaleActionsOK) IsRedirect ¶
func (o *ListLogScaleActionsOK) IsRedirect() bool
IsRedirect returns true when this list log scale actions o k response has a 3xx status code
func (*ListLogScaleActionsOK) IsServerError ¶
func (o *ListLogScaleActionsOK) IsServerError() bool
IsServerError returns true when this list log scale actions o k response has a 5xx status code
func (*ListLogScaleActionsOK) IsSuccess ¶
func (o *ListLogScaleActionsOK) IsSuccess() bool
IsSuccess returns true when this list log scale actions o k response has a 2xx status code
func (*ListLogScaleActionsOK) String ¶
func (o *ListLogScaleActionsOK) String() string
type ListLogScaleActionsParams ¶
type ListLogScaleActionsParams struct { /* Names. Filters results by name, where any LogScaleAction with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any LogScaleAction with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListLogScaleActionsParams contains all the parameters to send to the API endpoint
for the list log scale actions operation. Typically these are written to a http.Request.
func NewListLogScaleActionsParams ¶
func NewListLogScaleActionsParams() *ListLogScaleActionsParams
NewListLogScaleActionsParams creates a new ListLogScaleActionsParams 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 NewListLogScaleActionsParamsWithContext ¶
func NewListLogScaleActionsParamsWithContext(ctx context.Context) *ListLogScaleActionsParams
NewListLogScaleActionsParamsWithContext creates a new ListLogScaleActionsParams object with the ability to set a context for a request.
func NewListLogScaleActionsParamsWithHTTPClient ¶
func NewListLogScaleActionsParamsWithHTTPClient(client *http.Client) *ListLogScaleActionsParams
NewListLogScaleActionsParamsWithHTTPClient creates a new ListLogScaleActionsParams object with the ability to set a custom HTTPClient for a request.
func NewListLogScaleActionsParamsWithTimeout ¶
func NewListLogScaleActionsParamsWithTimeout(timeout time.Duration) *ListLogScaleActionsParams
NewListLogScaleActionsParamsWithTimeout creates a new ListLogScaleActionsParams object with the ability to set a timeout on a request.
func (*ListLogScaleActionsParams) SetContext ¶
func (o *ListLogScaleActionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list log scale actions params
func (*ListLogScaleActionsParams) SetDefaults ¶
func (o *ListLogScaleActionsParams) SetDefaults()
SetDefaults hydrates default values in the list log scale actions params (not the query body).
All values with no default are reset to their zero value.
func (*ListLogScaleActionsParams) SetHTTPClient ¶
func (o *ListLogScaleActionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list log scale actions params
func (*ListLogScaleActionsParams) SetNames ¶
func (o *ListLogScaleActionsParams) SetNames(names []string)
SetNames adds the names to the list log scale actions params
func (*ListLogScaleActionsParams) SetPageMaxSize ¶
func (o *ListLogScaleActionsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list log scale actions params
func (*ListLogScaleActionsParams) SetPageToken ¶
func (o *ListLogScaleActionsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list log scale actions params
func (*ListLogScaleActionsParams) SetSlugs ¶
func (o *ListLogScaleActionsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list log scale actions params
func (*ListLogScaleActionsParams) SetTimeout ¶
func (o *ListLogScaleActionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list log scale actions params
func (*ListLogScaleActionsParams) WithContext ¶
func (o *ListLogScaleActionsParams) WithContext(ctx context.Context) *ListLogScaleActionsParams
WithContext adds the context to the list log scale actions params
func (*ListLogScaleActionsParams) WithDefaults ¶
func (o *ListLogScaleActionsParams) WithDefaults() *ListLogScaleActionsParams
WithDefaults hydrates default values in the list log scale actions params (not the query body).
All values with no default are reset to their zero value.
func (*ListLogScaleActionsParams) WithHTTPClient ¶
func (o *ListLogScaleActionsParams) WithHTTPClient(client *http.Client) *ListLogScaleActionsParams
WithHTTPClient adds the HTTPClient to the list log scale actions params
func (*ListLogScaleActionsParams) WithNames ¶
func (o *ListLogScaleActionsParams) WithNames(names []string) *ListLogScaleActionsParams
WithNames adds the names to the list log scale actions params
func (*ListLogScaleActionsParams) WithPageMaxSize ¶
func (o *ListLogScaleActionsParams) WithPageMaxSize(pageMaxSize *int64) *ListLogScaleActionsParams
WithPageMaxSize adds the pageMaxSize to the list log scale actions params
func (*ListLogScaleActionsParams) WithPageToken ¶
func (o *ListLogScaleActionsParams) WithPageToken(pageToken *string) *ListLogScaleActionsParams
WithPageToken adds the pageToken to the list log scale actions params
func (*ListLogScaleActionsParams) WithSlugs ¶
func (o *ListLogScaleActionsParams) WithSlugs(slugs []string) *ListLogScaleActionsParams
WithSlugs adds the slugs to the list log scale actions params
func (*ListLogScaleActionsParams) WithTimeout ¶
func (o *ListLogScaleActionsParams) WithTimeout(timeout time.Duration) *ListLogScaleActionsParams
WithTimeout adds the timeout to the list log scale actions params
func (*ListLogScaleActionsParams) WriteToRequest ¶
func (o *ListLogScaleActionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListLogScaleActionsReader ¶
type ListLogScaleActionsReader struct {
// contains filtered or unexported fields
}
ListLogScaleActionsReader is a Reader for the ListLogScaleActions structure.
func (*ListLogScaleActionsReader) ReadResponse ¶
func (o *ListLogScaleActionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadLogScaleActionDefault ¶
type ReadLogScaleActionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadLogScaleActionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadLogScaleActionDefault ¶
func NewReadLogScaleActionDefault(code int) *ReadLogScaleActionDefault
NewReadLogScaleActionDefault creates a ReadLogScaleActionDefault with default headers values
func (*ReadLogScaleActionDefault) Code ¶
func (o *ReadLogScaleActionDefault) Code() int
Code gets the status code for the read log scale action default response
func (*ReadLogScaleActionDefault) Error ¶
func (o *ReadLogScaleActionDefault) Error() string
func (*ReadLogScaleActionDefault) GetPayload ¶
func (o *ReadLogScaleActionDefault) GetPayload() models.GenericError
func (*ReadLogScaleActionDefault) IsClientError ¶
func (o *ReadLogScaleActionDefault) IsClientError() bool
IsClientError returns true when this read log scale action default response has a 4xx status code
func (*ReadLogScaleActionDefault) IsCode ¶
func (o *ReadLogScaleActionDefault) IsCode(code int) bool
IsCode returns true when this read log scale action default response a status code equal to that given
func (*ReadLogScaleActionDefault) IsRedirect ¶
func (o *ReadLogScaleActionDefault) IsRedirect() bool
IsRedirect returns true when this read log scale action default response has a 3xx status code
func (*ReadLogScaleActionDefault) IsServerError ¶
func (o *ReadLogScaleActionDefault) IsServerError() bool
IsServerError returns true when this read log scale action default response has a 5xx status code
func (*ReadLogScaleActionDefault) IsSuccess ¶
func (o *ReadLogScaleActionDefault) IsSuccess() bool
IsSuccess returns true when this read log scale action default response has a 2xx status code
func (*ReadLogScaleActionDefault) String ¶
func (o *ReadLogScaleActionDefault) String() string
type ReadLogScaleActionInternalServerError ¶
ReadLogScaleActionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadLogScaleActionInternalServerError ¶
func NewReadLogScaleActionInternalServerError() *ReadLogScaleActionInternalServerError
NewReadLogScaleActionInternalServerError creates a ReadLogScaleActionInternalServerError with default headers values
func (*ReadLogScaleActionInternalServerError) Code ¶
func (o *ReadLogScaleActionInternalServerError) Code() int
Code gets the status code for the read log scale action internal server error response
func (*ReadLogScaleActionInternalServerError) Error ¶
func (o *ReadLogScaleActionInternalServerError) Error() string
func (*ReadLogScaleActionInternalServerError) GetPayload ¶
func (o *ReadLogScaleActionInternalServerError) GetPayload() *models.APIError
func (*ReadLogScaleActionInternalServerError) IsClientError ¶
func (o *ReadLogScaleActionInternalServerError) IsClientError() bool
IsClientError returns true when this read log scale action internal server error response has a 4xx status code
func (*ReadLogScaleActionInternalServerError) IsCode ¶
func (o *ReadLogScaleActionInternalServerError) IsCode(code int) bool
IsCode returns true when this read log scale action internal server error response a status code equal to that given
func (*ReadLogScaleActionInternalServerError) IsRedirect ¶
func (o *ReadLogScaleActionInternalServerError) IsRedirect() bool
IsRedirect returns true when this read log scale action internal server error response has a 3xx status code
func (*ReadLogScaleActionInternalServerError) IsServerError ¶
func (o *ReadLogScaleActionInternalServerError) IsServerError() bool
IsServerError returns true when this read log scale action internal server error response has a 5xx status code
func (*ReadLogScaleActionInternalServerError) IsSuccess ¶
func (o *ReadLogScaleActionInternalServerError) IsSuccess() bool
IsSuccess returns true when this read log scale action internal server error response has a 2xx status code
func (*ReadLogScaleActionInternalServerError) String ¶
func (o *ReadLogScaleActionInternalServerError) String() string
type ReadLogScaleActionNotFound ¶
ReadLogScaleActionNotFound describes a response with status code 404, with default header values.
Cannot read the LogScaleAction because the slug does not exist.
func NewReadLogScaleActionNotFound ¶
func NewReadLogScaleActionNotFound() *ReadLogScaleActionNotFound
NewReadLogScaleActionNotFound creates a ReadLogScaleActionNotFound with default headers values
func (*ReadLogScaleActionNotFound) Code ¶
func (o *ReadLogScaleActionNotFound) Code() int
Code gets the status code for the read log scale action not found response
func (*ReadLogScaleActionNotFound) Error ¶
func (o *ReadLogScaleActionNotFound) Error() string
func (*ReadLogScaleActionNotFound) GetPayload ¶
func (o *ReadLogScaleActionNotFound) GetPayload() *models.APIError
func (*ReadLogScaleActionNotFound) IsClientError ¶
func (o *ReadLogScaleActionNotFound) IsClientError() bool
IsClientError returns true when this read log scale action not found response has a 4xx status code
func (*ReadLogScaleActionNotFound) IsCode ¶
func (o *ReadLogScaleActionNotFound) IsCode(code int) bool
IsCode returns true when this read log scale action not found response a status code equal to that given
func (*ReadLogScaleActionNotFound) IsRedirect ¶
func (o *ReadLogScaleActionNotFound) IsRedirect() bool
IsRedirect returns true when this read log scale action not found response has a 3xx status code
func (*ReadLogScaleActionNotFound) IsServerError ¶
func (o *ReadLogScaleActionNotFound) IsServerError() bool
IsServerError returns true when this read log scale action not found response has a 5xx status code
func (*ReadLogScaleActionNotFound) IsSuccess ¶
func (o *ReadLogScaleActionNotFound) IsSuccess() bool
IsSuccess returns true when this read log scale action not found response has a 2xx status code
func (*ReadLogScaleActionNotFound) String ¶
func (o *ReadLogScaleActionNotFound) String() string
type ReadLogScaleActionOK ¶
type ReadLogScaleActionOK struct {
Payload *models.Configv1ReadLogScaleActionResponse
}
ReadLogScaleActionOK describes a response with status code 200, with default header values.
A successful response.
func NewReadLogScaleActionOK ¶
func NewReadLogScaleActionOK() *ReadLogScaleActionOK
NewReadLogScaleActionOK creates a ReadLogScaleActionOK with default headers values
func (*ReadLogScaleActionOK) Code ¶
func (o *ReadLogScaleActionOK) Code() int
Code gets the status code for the read log scale action o k response
func (*ReadLogScaleActionOK) Error ¶
func (o *ReadLogScaleActionOK) Error() string
func (*ReadLogScaleActionOK) GetPayload ¶
func (o *ReadLogScaleActionOK) GetPayload() *models.Configv1ReadLogScaleActionResponse
func (*ReadLogScaleActionOK) IsClientError ¶
func (o *ReadLogScaleActionOK) IsClientError() bool
IsClientError returns true when this read log scale action o k response has a 4xx status code
func (*ReadLogScaleActionOK) IsCode ¶
func (o *ReadLogScaleActionOK) IsCode(code int) bool
IsCode returns true when this read log scale action o k response a status code equal to that given
func (*ReadLogScaleActionOK) IsRedirect ¶
func (o *ReadLogScaleActionOK) IsRedirect() bool
IsRedirect returns true when this read log scale action o k response has a 3xx status code
func (*ReadLogScaleActionOK) IsServerError ¶
func (o *ReadLogScaleActionOK) IsServerError() bool
IsServerError returns true when this read log scale action o k response has a 5xx status code
func (*ReadLogScaleActionOK) IsSuccess ¶
func (o *ReadLogScaleActionOK) IsSuccess() bool
IsSuccess returns true when this read log scale action o k response has a 2xx status code
func (*ReadLogScaleActionOK) String ¶
func (o *ReadLogScaleActionOK) String() string
type ReadLogScaleActionParams ¶
type ReadLogScaleActionParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadLogScaleActionParams contains all the parameters to send to the API endpoint
for the read log scale action operation. Typically these are written to a http.Request.
func NewReadLogScaleActionParams ¶
func NewReadLogScaleActionParams() *ReadLogScaleActionParams
NewReadLogScaleActionParams creates a new ReadLogScaleActionParams 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 NewReadLogScaleActionParamsWithContext ¶
func NewReadLogScaleActionParamsWithContext(ctx context.Context) *ReadLogScaleActionParams
NewReadLogScaleActionParamsWithContext creates a new ReadLogScaleActionParams object with the ability to set a context for a request.
func NewReadLogScaleActionParamsWithHTTPClient ¶
func NewReadLogScaleActionParamsWithHTTPClient(client *http.Client) *ReadLogScaleActionParams
NewReadLogScaleActionParamsWithHTTPClient creates a new ReadLogScaleActionParams object with the ability to set a custom HTTPClient for a request.
func NewReadLogScaleActionParamsWithTimeout ¶
func NewReadLogScaleActionParamsWithTimeout(timeout time.Duration) *ReadLogScaleActionParams
NewReadLogScaleActionParamsWithTimeout creates a new ReadLogScaleActionParams object with the ability to set a timeout on a request.
func (*ReadLogScaleActionParams) SetContext ¶
func (o *ReadLogScaleActionParams) SetContext(ctx context.Context)
SetContext adds the context to the read log scale action params
func (*ReadLogScaleActionParams) SetDefaults ¶
func (o *ReadLogScaleActionParams) SetDefaults()
SetDefaults hydrates default values in the read log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLogScaleActionParams) SetHTTPClient ¶
func (o *ReadLogScaleActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read log scale action params
func (*ReadLogScaleActionParams) SetSlug ¶
func (o *ReadLogScaleActionParams) SetSlug(slug string)
SetSlug adds the slug to the read log scale action params
func (*ReadLogScaleActionParams) SetTimeout ¶
func (o *ReadLogScaleActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read log scale action params
func (*ReadLogScaleActionParams) WithContext ¶
func (o *ReadLogScaleActionParams) WithContext(ctx context.Context) *ReadLogScaleActionParams
WithContext adds the context to the read log scale action params
func (*ReadLogScaleActionParams) WithDefaults ¶
func (o *ReadLogScaleActionParams) WithDefaults() *ReadLogScaleActionParams
WithDefaults hydrates default values in the read log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLogScaleActionParams) WithHTTPClient ¶
func (o *ReadLogScaleActionParams) WithHTTPClient(client *http.Client) *ReadLogScaleActionParams
WithHTTPClient adds the HTTPClient to the read log scale action params
func (*ReadLogScaleActionParams) WithSlug ¶
func (o *ReadLogScaleActionParams) WithSlug(slug string) *ReadLogScaleActionParams
WithSlug adds the slug to the read log scale action params
func (*ReadLogScaleActionParams) WithTimeout ¶
func (o *ReadLogScaleActionParams) WithTimeout(timeout time.Duration) *ReadLogScaleActionParams
WithTimeout adds the timeout to the read log scale action params
func (*ReadLogScaleActionParams) WriteToRequest ¶
func (o *ReadLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadLogScaleActionReader ¶
type ReadLogScaleActionReader struct {
// contains filtered or unexported fields
}
ReadLogScaleActionReader is a Reader for the ReadLogScaleAction structure.
func (*ReadLogScaleActionReader) ReadResponse ¶
func (o *ReadLogScaleActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLogScaleActionBadRequest ¶
UpdateLogScaleActionBadRequest describes a response with status code 400, with default header values.
Cannot update the LogScaleAction because the request is invalid.
func NewUpdateLogScaleActionBadRequest ¶
func NewUpdateLogScaleActionBadRequest() *UpdateLogScaleActionBadRequest
NewUpdateLogScaleActionBadRequest creates a UpdateLogScaleActionBadRequest with default headers values
func (*UpdateLogScaleActionBadRequest) Code ¶
func (o *UpdateLogScaleActionBadRequest) Code() int
Code gets the status code for the update log scale action bad request response
func (*UpdateLogScaleActionBadRequest) Error ¶
func (o *UpdateLogScaleActionBadRequest) Error() string
func (*UpdateLogScaleActionBadRequest) GetPayload ¶
func (o *UpdateLogScaleActionBadRequest) GetPayload() *models.APIError
func (*UpdateLogScaleActionBadRequest) IsClientError ¶
func (o *UpdateLogScaleActionBadRequest) IsClientError() bool
IsClientError returns true when this update log scale action bad request response has a 4xx status code
func (*UpdateLogScaleActionBadRequest) IsCode ¶
func (o *UpdateLogScaleActionBadRequest) IsCode(code int) bool
IsCode returns true when this update log scale action bad request response a status code equal to that given
func (*UpdateLogScaleActionBadRequest) IsRedirect ¶
func (o *UpdateLogScaleActionBadRequest) IsRedirect() bool
IsRedirect returns true when this update log scale action bad request response has a 3xx status code
func (*UpdateLogScaleActionBadRequest) IsServerError ¶
func (o *UpdateLogScaleActionBadRequest) IsServerError() bool
IsServerError returns true when this update log scale action bad request response has a 5xx status code
func (*UpdateLogScaleActionBadRequest) IsSuccess ¶
func (o *UpdateLogScaleActionBadRequest) IsSuccess() bool
IsSuccess returns true when this update log scale action bad request response has a 2xx status code
func (*UpdateLogScaleActionBadRequest) String ¶
func (o *UpdateLogScaleActionBadRequest) String() string
type UpdateLogScaleActionConflict ¶
UpdateLogScaleActionConflict describes a response with status code 409, with default header values.
Cannot update the LogScaleAction because there is a conflict with an existing LogScaleAction.
func NewUpdateLogScaleActionConflict ¶
func NewUpdateLogScaleActionConflict() *UpdateLogScaleActionConflict
NewUpdateLogScaleActionConflict creates a UpdateLogScaleActionConflict with default headers values
func (*UpdateLogScaleActionConflict) Code ¶
func (o *UpdateLogScaleActionConflict) Code() int
Code gets the status code for the update log scale action conflict response
func (*UpdateLogScaleActionConflict) Error ¶
func (o *UpdateLogScaleActionConflict) Error() string
func (*UpdateLogScaleActionConflict) GetPayload ¶
func (o *UpdateLogScaleActionConflict) GetPayload() *models.APIError
func (*UpdateLogScaleActionConflict) IsClientError ¶
func (o *UpdateLogScaleActionConflict) IsClientError() bool
IsClientError returns true when this update log scale action conflict response has a 4xx status code
func (*UpdateLogScaleActionConflict) IsCode ¶
func (o *UpdateLogScaleActionConflict) IsCode(code int) bool
IsCode returns true when this update log scale action conflict response a status code equal to that given
func (*UpdateLogScaleActionConflict) IsRedirect ¶
func (o *UpdateLogScaleActionConflict) IsRedirect() bool
IsRedirect returns true when this update log scale action conflict response has a 3xx status code
func (*UpdateLogScaleActionConflict) IsServerError ¶
func (o *UpdateLogScaleActionConflict) IsServerError() bool
IsServerError returns true when this update log scale action conflict response has a 5xx status code
func (*UpdateLogScaleActionConflict) IsSuccess ¶
func (o *UpdateLogScaleActionConflict) IsSuccess() bool
IsSuccess returns true when this update log scale action conflict response has a 2xx status code
func (*UpdateLogScaleActionConflict) String ¶
func (o *UpdateLogScaleActionConflict) String() string
type UpdateLogScaleActionDefault ¶
type UpdateLogScaleActionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateLogScaleActionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateLogScaleActionDefault ¶
func NewUpdateLogScaleActionDefault(code int) *UpdateLogScaleActionDefault
NewUpdateLogScaleActionDefault creates a UpdateLogScaleActionDefault with default headers values
func (*UpdateLogScaleActionDefault) Code ¶
func (o *UpdateLogScaleActionDefault) Code() int
Code gets the status code for the update log scale action default response
func (*UpdateLogScaleActionDefault) Error ¶
func (o *UpdateLogScaleActionDefault) Error() string
func (*UpdateLogScaleActionDefault) GetPayload ¶
func (o *UpdateLogScaleActionDefault) GetPayload() models.GenericError
func (*UpdateLogScaleActionDefault) IsClientError ¶
func (o *UpdateLogScaleActionDefault) IsClientError() bool
IsClientError returns true when this update log scale action default response has a 4xx status code
func (*UpdateLogScaleActionDefault) IsCode ¶
func (o *UpdateLogScaleActionDefault) IsCode(code int) bool
IsCode returns true when this update log scale action default response a status code equal to that given
func (*UpdateLogScaleActionDefault) IsRedirect ¶
func (o *UpdateLogScaleActionDefault) IsRedirect() bool
IsRedirect returns true when this update log scale action default response has a 3xx status code
func (*UpdateLogScaleActionDefault) IsServerError ¶
func (o *UpdateLogScaleActionDefault) IsServerError() bool
IsServerError returns true when this update log scale action default response has a 5xx status code
func (*UpdateLogScaleActionDefault) IsSuccess ¶
func (o *UpdateLogScaleActionDefault) IsSuccess() bool
IsSuccess returns true when this update log scale action default response has a 2xx status code
func (*UpdateLogScaleActionDefault) String ¶
func (o *UpdateLogScaleActionDefault) String() string
type UpdateLogScaleActionInternalServerError ¶
UpdateLogScaleActionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateLogScaleActionInternalServerError ¶
func NewUpdateLogScaleActionInternalServerError() *UpdateLogScaleActionInternalServerError
NewUpdateLogScaleActionInternalServerError creates a UpdateLogScaleActionInternalServerError with default headers values
func (*UpdateLogScaleActionInternalServerError) Code ¶
func (o *UpdateLogScaleActionInternalServerError) Code() int
Code gets the status code for the update log scale action internal server error response
func (*UpdateLogScaleActionInternalServerError) Error ¶
func (o *UpdateLogScaleActionInternalServerError) Error() string
func (*UpdateLogScaleActionInternalServerError) GetPayload ¶
func (o *UpdateLogScaleActionInternalServerError) GetPayload() *models.APIError
func (*UpdateLogScaleActionInternalServerError) IsClientError ¶
func (o *UpdateLogScaleActionInternalServerError) IsClientError() bool
IsClientError returns true when this update log scale action internal server error response has a 4xx status code
func (*UpdateLogScaleActionInternalServerError) IsCode ¶
func (o *UpdateLogScaleActionInternalServerError) IsCode(code int) bool
IsCode returns true when this update log scale action internal server error response a status code equal to that given
func (*UpdateLogScaleActionInternalServerError) IsRedirect ¶
func (o *UpdateLogScaleActionInternalServerError) IsRedirect() bool
IsRedirect returns true when this update log scale action internal server error response has a 3xx status code
func (*UpdateLogScaleActionInternalServerError) IsServerError ¶
func (o *UpdateLogScaleActionInternalServerError) IsServerError() bool
IsServerError returns true when this update log scale action internal server error response has a 5xx status code
func (*UpdateLogScaleActionInternalServerError) IsSuccess ¶
func (o *UpdateLogScaleActionInternalServerError) IsSuccess() bool
IsSuccess returns true when this update log scale action internal server error response has a 2xx status code
func (*UpdateLogScaleActionInternalServerError) String ¶
func (o *UpdateLogScaleActionInternalServerError) String() string
type UpdateLogScaleActionNotFound ¶
UpdateLogScaleActionNotFound describes a response with status code 404, with default header values.
Cannot update the LogScaleAction because the slug does not exist.
func NewUpdateLogScaleActionNotFound ¶
func NewUpdateLogScaleActionNotFound() *UpdateLogScaleActionNotFound
NewUpdateLogScaleActionNotFound creates a UpdateLogScaleActionNotFound with default headers values
func (*UpdateLogScaleActionNotFound) Code ¶
func (o *UpdateLogScaleActionNotFound) Code() int
Code gets the status code for the update log scale action not found response
func (*UpdateLogScaleActionNotFound) Error ¶
func (o *UpdateLogScaleActionNotFound) Error() string
func (*UpdateLogScaleActionNotFound) GetPayload ¶
func (o *UpdateLogScaleActionNotFound) GetPayload() *models.APIError
func (*UpdateLogScaleActionNotFound) IsClientError ¶
func (o *UpdateLogScaleActionNotFound) IsClientError() bool
IsClientError returns true when this update log scale action not found response has a 4xx status code
func (*UpdateLogScaleActionNotFound) IsCode ¶
func (o *UpdateLogScaleActionNotFound) IsCode(code int) bool
IsCode returns true when this update log scale action not found response a status code equal to that given
func (*UpdateLogScaleActionNotFound) IsRedirect ¶
func (o *UpdateLogScaleActionNotFound) IsRedirect() bool
IsRedirect returns true when this update log scale action not found response has a 3xx status code
func (*UpdateLogScaleActionNotFound) IsServerError ¶
func (o *UpdateLogScaleActionNotFound) IsServerError() bool
IsServerError returns true when this update log scale action not found response has a 5xx status code
func (*UpdateLogScaleActionNotFound) IsSuccess ¶
func (o *UpdateLogScaleActionNotFound) IsSuccess() bool
IsSuccess returns true when this update log scale action not found response has a 2xx status code
func (*UpdateLogScaleActionNotFound) String ¶
func (o *UpdateLogScaleActionNotFound) String() string
type UpdateLogScaleActionOK ¶
type UpdateLogScaleActionOK struct {
Payload *models.Configv1UpdateLogScaleActionResponse
}
UpdateLogScaleActionOK describes a response with status code 200, with default header values.
A successful response containing the updated LogScaleAction.
func NewUpdateLogScaleActionOK ¶
func NewUpdateLogScaleActionOK() *UpdateLogScaleActionOK
NewUpdateLogScaleActionOK creates a UpdateLogScaleActionOK with default headers values
func (*UpdateLogScaleActionOK) Code ¶
func (o *UpdateLogScaleActionOK) Code() int
Code gets the status code for the update log scale action o k response
func (*UpdateLogScaleActionOK) Error ¶
func (o *UpdateLogScaleActionOK) Error() string
func (*UpdateLogScaleActionOK) GetPayload ¶
func (o *UpdateLogScaleActionOK) GetPayload() *models.Configv1UpdateLogScaleActionResponse
func (*UpdateLogScaleActionOK) IsClientError ¶
func (o *UpdateLogScaleActionOK) IsClientError() bool
IsClientError returns true when this update log scale action o k response has a 4xx status code
func (*UpdateLogScaleActionOK) IsCode ¶
func (o *UpdateLogScaleActionOK) IsCode(code int) bool
IsCode returns true when this update log scale action o k response a status code equal to that given
func (*UpdateLogScaleActionOK) IsRedirect ¶
func (o *UpdateLogScaleActionOK) IsRedirect() bool
IsRedirect returns true when this update log scale action o k response has a 3xx status code
func (*UpdateLogScaleActionOK) IsServerError ¶
func (o *UpdateLogScaleActionOK) IsServerError() bool
IsServerError returns true when this update log scale action o k response has a 5xx status code
func (*UpdateLogScaleActionOK) IsSuccess ¶
func (o *UpdateLogScaleActionOK) IsSuccess() bool
IsSuccess returns true when this update log scale action o k response has a 2xx status code
func (*UpdateLogScaleActionOK) String ¶
func (o *UpdateLogScaleActionOK) String() string
type UpdateLogScaleActionParams ¶
type UpdateLogScaleActionParams struct { // Body. Body *models.ConfigV1UpdateLogScaleActionBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLogScaleActionParams contains all the parameters to send to the API endpoint
for the update log scale action operation. Typically these are written to a http.Request.
func NewUpdateLogScaleActionParams ¶
func NewUpdateLogScaleActionParams() *UpdateLogScaleActionParams
NewUpdateLogScaleActionParams creates a new UpdateLogScaleActionParams 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 NewUpdateLogScaleActionParamsWithContext ¶
func NewUpdateLogScaleActionParamsWithContext(ctx context.Context) *UpdateLogScaleActionParams
NewUpdateLogScaleActionParamsWithContext creates a new UpdateLogScaleActionParams object with the ability to set a context for a request.
func NewUpdateLogScaleActionParamsWithHTTPClient ¶
func NewUpdateLogScaleActionParamsWithHTTPClient(client *http.Client) *UpdateLogScaleActionParams
NewUpdateLogScaleActionParamsWithHTTPClient creates a new UpdateLogScaleActionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLogScaleActionParamsWithTimeout ¶
func NewUpdateLogScaleActionParamsWithTimeout(timeout time.Duration) *UpdateLogScaleActionParams
NewUpdateLogScaleActionParamsWithTimeout creates a new UpdateLogScaleActionParams object with the ability to set a timeout on a request.
func (*UpdateLogScaleActionParams) SetBody ¶
func (o *UpdateLogScaleActionParams) SetBody(body *models.ConfigV1UpdateLogScaleActionBody)
SetBody adds the body to the update log scale action params
func (*UpdateLogScaleActionParams) SetContext ¶
func (o *UpdateLogScaleActionParams) SetContext(ctx context.Context)
SetContext adds the context to the update log scale action params
func (*UpdateLogScaleActionParams) SetDefaults ¶
func (o *UpdateLogScaleActionParams) SetDefaults()
SetDefaults hydrates default values in the update log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLogScaleActionParams) SetHTTPClient ¶
func (o *UpdateLogScaleActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update log scale action params
func (*UpdateLogScaleActionParams) SetSlug ¶
func (o *UpdateLogScaleActionParams) SetSlug(slug string)
SetSlug adds the slug to the update log scale action params
func (*UpdateLogScaleActionParams) SetTimeout ¶
func (o *UpdateLogScaleActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update log scale action params
func (*UpdateLogScaleActionParams) WithBody ¶
func (o *UpdateLogScaleActionParams) WithBody(body *models.ConfigV1UpdateLogScaleActionBody) *UpdateLogScaleActionParams
WithBody adds the body to the update log scale action params
func (*UpdateLogScaleActionParams) WithContext ¶
func (o *UpdateLogScaleActionParams) WithContext(ctx context.Context) *UpdateLogScaleActionParams
WithContext adds the context to the update log scale action params
func (*UpdateLogScaleActionParams) WithDefaults ¶
func (o *UpdateLogScaleActionParams) WithDefaults() *UpdateLogScaleActionParams
WithDefaults hydrates default values in the update log scale action params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLogScaleActionParams) WithHTTPClient ¶
func (o *UpdateLogScaleActionParams) WithHTTPClient(client *http.Client) *UpdateLogScaleActionParams
WithHTTPClient adds the HTTPClient to the update log scale action params
func (*UpdateLogScaleActionParams) WithSlug ¶
func (o *UpdateLogScaleActionParams) WithSlug(slug string) *UpdateLogScaleActionParams
WithSlug adds the slug to the update log scale action params
func (*UpdateLogScaleActionParams) WithTimeout ¶
func (o *UpdateLogScaleActionParams) WithTimeout(timeout time.Duration) *UpdateLogScaleActionParams
WithTimeout adds the timeout to the update log scale action params
func (*UpdateLogScaleActionParams) WriteToRequest ¶
func (o *UpdateLogScaleActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLogScaleActionReader ¶
type UpdateLogScaleActionReader struct {
// contains filtered or unexported fields
}
UpdateLogScaleActionReader is a Reader for the UpdateLogScaleAction structure.
func (*UpdateLogScaleActionReader) ReadResponse ¶
func (o *UpdateLogScaleActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_log_scale_action_parameters.go
- create_log_scale_action_responses.go
- delete_log_scale_action_parameters.go
- delete_log_scale_action_responses.go
- list_log_scale_actions_parameters.go
- list_log_scale_actions_responses.go
- log_scale_action_client.go
- read_log_scale_action_parameters.go
- read_log_scale_action_responses.go
- update_log_scale_action_parameters.go
- update_log_scale_action_responses.go