Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDerivedLabel(params *CreateDerivedLabelParams, opts ...ClientOption) (*CreateDerivedLabelOK, error)
- func (a *Client) DeleteDerivedLabel(params *DeleteDerivedLabelParams, opts ...ClientOption) (*DeleteDerivedLabelOK, error)
- func (a *Client) ListDerivedLabels(params *ListDerivedLabelsParams, opts ...ClientOption) (*ListDerivedLabelsOK, error)
- func (a *Client) ReadDerivedLabel(params *ReadDerivedLabelParams, opts ...ClientOption) (*ReadDerivedLabelOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDerivedLabel(params *UpdateDerivedLabelParams, opts ...ClientOption) (*UpdateDerivedLabelOK, error)
- type ClientOption
- type ClientService
- type CreateDerivedLabelBadRequest
- func (o *CreateDerivedLabelBadRequest) Code() int
- func (o *CreateDerivedLabelBadRequest) Error() string
- func (o *CreateDerivedLabelBadRequest) GetPayload() *models.APIError
- func (o *CreateDerivedLabelBadRequest) IsClientError() bool
- func (o *CreateDerivedLabelBadRequest) IsCode(code int) bool
- func (o *CreateDerivedLabelBadRequest) IsRedirect() bool
- func (o *CreateDerivedLabelBadRequest) IsServerError() bool
- func (o *CreateDerivedLabelBadRequest) IsSuccess() bool
- func (o *CreateDerivedLabelBadRequest) String() string
- type CreateDerivedLabelConflict
- func (o *CreateDerivedLabelConflict) Code() int
- func (o *CreateDerivedLabelConflict) Error() string
- func (o *CreateDerivedLabelConflict) GetPayload() *models.APIError
- func (o *CreateDerivedLabelConflict) IsClientError() bool
- func (o *CreateDerivedLabelConflict) IsCode(code int) bool
- func (o *CreateDerivedLabelConflict) IsRedirect() bool
- func (o *CreateDerivedLabelConflict) IsServerError() bool
- func (o *CreateDerivedLabelConflict) IsSuccess() bool
- func (o *CreateDerivedLabelConflict) String() string
- type CreateDerivedLabelDefault
- func (o *CreateDerivedLabelDefault) Code() int
- func (o *CreateDerivedLabelDefault) Error() string
- func (o *CreateDerivedLabelDefault) GetPayload() models.GenericError
- func (o *CreateDerivedLabelDefault) IsClientError() bool
- func (o *CreateDerivedLabelDefault) IsCode(code int) bool
- func (o *CreateDerivedLabelDefault) IsRedirect() bool
- func (o *CreateDerivedLabelDefault) IsServerError() bool
- func (o *CreateDerivedLabelDefault) IsSuccess() bool
- func (o *CreateDerivedLabelDefault) String() string
- type CreateDerivedLabelInternalServerError
- func (o *CreateDerivedLabelInternalServerError) Code() int
- func (o *CreateDerivedLabelInternalServerError) Error() string
- func (o *CreateDerivedLabelInternalServerError) GetPayload() *models.APIError
- func (o *CreateDerivedLabelInternalServerError) IsClientError() bool
- func (o *CreateDerivedLabelInternalServerError) IsCode(code int) bool
- func (o *CreateDerivedLabelInternalServerError) IsRedirect() bool
- func (o *CreateDerivedLabelInternalServerError) IsServerError() bool
- func (o *CreateDerivedLabelInternalServerError) IsSuccess() bool
- func (o *CreateDerivedLabelInternalServerError) String() string
- type CreateDerivedLabelOK
- func (o *CreateDerivedLabelOK) Code() int
- func (o *CreateDerivedLabelOK) Error() string
- func (o *CreateDerivedLabelOK) GetPayload() *models.Configv1CreateDerivedLabelResponse
- func (o *CreateDerivedLabelOK) IsClientError() bool
- func (o *CreateDerivedLabelOK) IsCode(code int) bool
- func (o *CreateDerivedLabelOK) IsRedirect() bool
- func (o *CreateDerivedLabelOK) IsServerError() bool
- func (o *CreateDerivedLabelOK) IsSuccess() bool
- func (o *CreateDerivedLabelOK) String() string
- type CreateDerivedLabelParams
- func NewCreateDerivedLabelParams() *CreateDerivedLabelParams
- func NewCreateDerivedLabelParamsWithContext(ctx context.Context) *CreateDerivedLabelParams
- func NewCreateDerivedLabelParamsWithHTTPClient(client *http.Client) *CreateDerivedLabelParams
- func NewCreateDerivedLabelParamsWithTimeout(timeout time.Duration) *CreateDerivedLabelParams
- func (o *CreateDerivedLabelParams) SetBody(body *models.Configv1CreateDerivedLabelRequest)
- func (o *CreateDerivedLabelParams) SetContext(ctx context.Context)
- func (o *CreateDerivedLabelParams) SetDefaults()
- func (o *CreateDerivedLabelParams) SetHTTPClient(client *http.Client)
- func (o *CreateDerivedLabelParams) SetTimeout(timeout time.Duration)
- func (o *CreateDerivedLabelParams) WithBody(body *models.Configv1CreateDerivedLabelRequest) *CreateDerivedLabelParams
- func (o *CreateDerivedLabelParams) WithContext(ctx context.Context) *CreateDerivedLabelParams
- func (o *CreateDerivedLabelParams) WithDefaults() *CreateDerivedLabelParams
- func (o *CreateDerivedLabelParams) WithHTTPClient(client *http.Client) *CreateDerivedLabelParams
- func (o *CreateDerivedLabelParams) WithTimeout(timeout time.Duration) *CreateDerivedLabelParams
- func (o *CreateDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDerivedLabelReader
- type DeleteDerivedLabelBadRequest
- func (o *DeleteDerivedLabelBadRequest) Code() int
- func (o *DeleteDerivedLabelBadRequest) Error() string
- func (o *DeleteDerivedLabelBadRequest) GetPayload() *models.APIError
- func (o *DeleteDerivedLabelBadRequest) IsClientError() bool
- func (o *DeleteDerivedLabelBadRequest) IsCode(code int) bool
- func (o *DeleteDerivedLabelBadRequest) IsRedirect() bool
- func (o *DeleteDerivedLabelBadRequest) IsServerError() bool
- func (o *DeleteDerivedLabelBadRequest) IsSuccess() bool
- func (o *DeleteDerivedLabelBadRequest) String() string
- type DeleteDerivedLabelDefault
- func (o *DeleteDerivedLabelDefault) Code() int
- func (o *DeleteDerivedLabelDefault) Error() string
- func (o *DeleteDerivedLabelDefault) GetPayload() models.GenericError
- func (o *DeleteDerivedLabelDefault) IsClientError() bool
- func (o *DeleteDerivedLabelDefault) IsCode(code int) bool
- func (o *DeleteDerivedLabelDefault) IsRedirect() bool
- func (o *DeleteDerivedLabelDefault) IsServerError() bool
- func (o *DeleteDerivedLabelDefault) IsSuccess() bool
- func (o *DeleteDerivedLabelDefault) String() string
- type DeleteDerivedLabelInternalServerError
- func (o *DeleteDerivedLabelInternalServerError) Code() int
- func (o *DeleteDerivedLabelInternalServerError) Error() string
- func (o *DeleteDerivedLabelInternalServerError) GetPayload() *models.APIError
- func (o *DeleteDerivedLabelInternalServerError) IsClientError() bool
- func (o *DeleteDerivedLabelInternalServerError) IsCode(code int) bool
- func (o *DeleteDerivedLabelInternalServerError) IsRedirect() bool
- func (o *DeleteDerivedLabelInternalServerError) IsServerError() bool
- func (o *DeleteDerivedLabelInternalServerError) IsSuccess() bool
- func (o *DeleteDerivedLabelInternalServerError) String() string
- type DeleteDerivedLabelNotFound
- func (o *DeleteDerivedLabelNotFound) Code() int
- func (o *DeleteDerivedLabelNotFound) Error() string
- func (o *DeleteDerivedLabelNotFound) GetPayload() *models.APIError
- func (o *DeleteDerivedLabelNotFound) IsClientError() bool
- func (o *DeleteDerivedLabelNotFound) IsCode(code int) bool
- func (o *DeleteDerivedLabelNotFound) IsRedirect() bool
- func (o *DeleteDerivedLabelNotFound) IsServerError() bool
- func (o *DeleteDerivedLabelNotFound) IsSuccess() bool
- func (o *DeleteDerivedLabelNotFound) String() string
- type DeleteDerivedLabelOK
- func (o *DeleteDerivedLabelOK) Code() int
- func (o *DeleteDerivedLabelOK) Error() string
- func (o *DeleteDerivedLabelOK) GetPayload() models.Configv1DeleteDerivedLabelResponse
- func (o *DeleteDerivedLabelOK) IsClientError() bool
- func (o *DeleteDerivedLabelOK) IsCode(code int) bool
- func (o *DeleteDerivedLabelOK) IsRedirect() bool
- func (o *DeleteDerivedLabelOK) IsServerError() bool
- func (o *DeleteDerivedLabelOK) IsSuccess() bool
- func (o *DeleteDerivedLabelOK) String() string
- type DeleteDerivedLabelParams
- func NewDeleteDerivedLabelParams() *DeleteDerivedLabelParams
- func NewDeleteDerivedLabelParamsWithContext(ctx context.Context) *DeleteDerivedLabelParams
- func NewDeleteDerivedLabelParamsWithHTTPClient(client *http.Client) *DeleteDerivedLabelParams
- func NewDeleteDerivedLabelParamsWithTimeout(timeout time.Duration) *DeleteDerivedLabelParams
- func (o *DeleteDerivedLabelParams) SetContext(ctx context.Context)
- func (o *DeleteDerivedLabelParams) SetDefaults()
- func (o *DeleteDerivedLabelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDerivedLabelParams) SetSlug(slug string)
- func (o *DeleteDerivedLabelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDerivedLabelParams) WithContext(ctx context.Context) *DeleteDerivedLabelParams
- func (o *DeleteDerivedLabelParams) WithDefaults() *DeleteDerivedLabelParams
- func (o *DeleteDerivedLabelParams) WithHTTPClient(client *http.Client) *DeleteDerivedLabelParams
- func (o *DeleteDerivedLabelParams) WithSlug(slug string) *DeleteDerivedLabelParams
- func (o *DeleteDerivedLabelParams) WithTimeout(timeout time.Duration) *DeleteDerivedLabelParams
- func (o *DeleteDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDerivedLabelReader
- type ListDerivedLabelsDefault
- func (o *ListDerivedLabelsDefault) Code() int
- func (o *ListDerivedLabelsDefault) Error() string
- func (o *ListDerivedLabelsDefault) GetPayload() models.GenericError
- func (o *ListDerivedLabelsDefault) IsClientError() bool
- func (o *ListDerivedLabelsDefault) IsCode(code int) bool
- func (o *ListDerivedLabelsDefault) IsRedirect() bool
- func (o *ListDerivedLabelsDefault) IsServerError() bool
- func (o *ListDerivedLabelsDefault) IsSuccess() bool
- func (o *ListDerivedLabelsDefault) String() string
- type ListDerivedLabelsInternalServerError
- func (o *ListDerivedLabelsInternalServerError) Code() int
- func (o *ListDerivedLabelsInternalServerError) Error() string
- func (o *ListDerivedLabelsInternalServerError) GetPayload() *models.APIError
- func (o *ListDerivedLabelsInternalServerError) IsClientError() bool
- func (o *ListDerivedLabelsInternalServerError) IsCode(code int) bool
- func (o *ListDerivedLabelsInternalServerError) IsRedirect() bool
- func (o *ListDerivedLabelsInternalServerError) IsServerError() bool
- func (o *ListDerivedLabelsInternalServerError) IsSuccess() bool
- func (o *ListDerivedLabelsInternalServerError) String() string
- type ListDerivedLabelsOK
- func (o *ListDerivedLabelsOK) Code() int
- func (o *ListDerivedLabelsOK) Error() string
- func (o *ListDerivedLabelsOK) GetPayload() *models.Configv1ListDerivedLabelsResponse
- func (o *ListDerivedLabelsOK) IsClientError() bool
- func (o *ListDerivedLabelsOK) IsCode(code int) bool
- func (o *ListDerivedLabelsOK) IsRedirect() bool
- func (o *ListDerivedLabelsOK) IsServerError() bool
- func (o *ListDerivedLabelsOK) IsSuccess() bool
- func (o *ListDerivedLabelsOK) String() string
- type ListDerivedLabelsParams
- func NewListDerivedLabelsParams() *ListDerivedLabelsParams
- func NewListDerivedLabelsParamsWithContext(ctx context.Context) *ListDerivedLabelsParams
- func NewListDerivedLabelsParamsWithHTTPClient(client *http.Client) *ListDerivedLabelsParams
- func NewListDerivedLabelsParamsWithTimeout(timeout time.Duration) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) SetContext(ctx context.Context)
- func (o *ListDerivedLabelsParams) SetDefaults()
- func (o *ListDerivedLabelsParams) SetHTTPClient(client *http.Client)
- func (o *ListDerivedLabelsParams) SetNames(names []string)
- func (o *ListDerivedLabelsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListDerivedLabelsParams) SetPageToken(pageToken *string)
- func (o *ListDerivedLabelsParams) SetSlugs(slugs []string)
- func (o *ListDerivedLabelsParams) SetTimeout(timeout time.Duration)
- func (o *ListDerivedLabelsParams) WithContext(ctx context.Context) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithDefaults() *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithHTTPClient(client *http.Client) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithNames(names []string) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithPageMaxSize(pageMaxSize *int64) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithPageToken(pageToken *string) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithSlugs(slugs []string) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WithTimeout(timeout time.Duration) *ListDerivedLabelsParams
- func (o *ListDerivedLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDerivedLabelsReader
- type ReadDerivedLabelDefault
- func (o *ReadDerivedLabelDefault) Code() int
- func (o *ReadDerivedLabelDefault) Error() string
- func (o *ReadDerivedLabelDefault) GetPayload() models.GenericError
- func (o *ReadDerivedLabelDefault) IsClientError() bool
- func (o *ReadDerivedLabelDefault) IsCode(code int) bool
- func (o *ReadDerivedLabelDefault) IsRedirect() bool
- func (o *ReadDerivedLabelDefault) IsServerError() bool
- func (o *ReadDerivedLabelDefault) IsSuccess() bool
- func (o *ReadDerivedLabelDefault) String() string
- type ReadDerivedLabelInternalServerError
- func (o *ReadDerivedLabelInternalServerError) Code() int
- func (o *ReadDerivedLabelInternalServerError) Error() string
- func (o *ReadDerivedLabelInternalServerError) GetPayload() *models.APIError
- func (o *ReadDerivedLabelInternalServerError) IsClientError() bool
- func (o *ReadDerivedLabelInternalServerError) IsCode(code int) bool
- func (o *ReadDerivedLabelInternalServerError) IsRedirect() bool
- func (o *ReadDerivedLabelInternalServerError) IsServerError() bool
- func (o *ReadDerivedLabelInternalServerError) IsSuccess() bool
- func (o *ReadDerivedLabelInternalServerError) String() string
- type ReadDerivedLabelNotFound
- func (o *ReadDerivedLabelNotFound) Code() int
- func (o *ReadDerivedLabelNotFound) Error() string
- func (o *ReadDerivedLabelNotFound) GetPayload() *models.APIError
- func (o *ReadDerivedLabelNotFound) IsClientError() bool
- func (o *ReadDerivedLabelNotFound) IsCode(code int) bool
- func (o *ReadDerivedLabelNotFound) IsRedirect() bool
- func (o *ReadDerivedLabelNotFound) IsServerError() bool
- func (o *ReadDerivedLabelNotFound) IsSuccess() bool
- func (o *ReadDerivedLabelNotFound) String() string
- type ReadDerivedLabelOK
- func (o *ReadDerivedLabelOK) Code() int
- func (o *ReadDerivedLabelOK) Error() string
- func (o *ReadDerivedLabelOK) GetPayload() *models.Configv1ReadDerivedLabelResponse
- func (o *ReadDerivedLabelOK) IsClientError() bool
- func (o *ReadDerivedLabelOK) IsCode(code int) bool
- func (o *ReadDerivedLabelOK) IsRedirect() bool
- func (o *ReadDerivedLabelOK) IsServerError() bool
- func (o *ReadDerivedLabelOK) IsSuccess() bool
- func (o *ReadDerivedLabelOK) String() string
- type ReadDerivedLabelParams
- func NewReadDerivedLabelParams() *ReadDerivedLabelParams
- func NewReadDerivedLabelParamsWithContext(ctx context.Context) *ReadDerivedLabelParams
- func NewReadDerivedLabelParamsWithHTTPClient(client *http.Client) *ReadDerivedLabelParams
- func NewReadDerivedLabelParamsWithTimeout(timeout time.Duration) *ReadDerivedLabelParams
- func (o *ReadDerivedLabelParams) SetContext(ctx context.Context)
- func (o *ReadDerivedLabelParams) SetDefaults()
- func (o *ReadDerivedLabelParams) SetHTTPClient(client *http.Client)
- func (o *ReadDerivedLabelParams) SetSlug(slug string)
- func (o *ReadDerivedLabelParams) SetTimeout(timeout time.Duration)
- func (o *ReadDerivedLabelParams) WithContext(ctx context.Context) *ReadDerivedLabelParams
- func (o *ReadDerivedLabelParams) WithDefaults() *ReadDerivedLabelParams
- func (o *ReadDerivedLabelParams) WithHTTPClient(client *http.Client) *ReadDerivedLabelParams
- func (o *ReadDerivedLabelParams) WithSlug(slug string) *ReadDerivedLabelParams
- func (o *ReadDerivedLabelParams) WithTimeout(timeout time.Duration) *ReadDerivedLabelParams
- func (o *ReadDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDerivedLabelReader
- type UpdateDerivedLabelBadRequest
- func (o *UpdateDerivedLabelBadRequest) Code() int
- func (o *UpdateDerivedLabelBadRequest) Error() string
- func (o *UpdateDerivedLabelBadRequest) GetPayload() *models.APIError
- func (o *UpdateDerivedLabelBadRequest) IsClientError() bool
- func (o *UpdateDerivedLabelBadRequest) IsCode(code int) bool
- func (o *UpdateDerivedLabelBadRequest) IsRedirect() bool
- func (o *UpdateDerivedLabelBadRequest) IsServerError() bool
- func (o *UpdateDerivedLabelBadRequest) IsSuccess() bool
- func (o *UpdateDerivedLabelBadRequest) String() string
- type UpdateDerivedLabelConflict
- func (o *UpdateDerivedLabelConflict) Code() int
- func (o *UpdateDerivedLabelConflict) Error() string
- func (o *UpdateDerivedLabelConflict) GetPayload() *models.APIError
- func (o *UpdateDerivedLabelConflict) IsClientError() bool
- func (o *UpdateDerivedLabelConflict) IsCode(code int) bool
- func (o *UpdateDerivedLabelConflict) IsRedirect() bool
- func (o *UpdateDerivedLabelConflict) IsServerError() bool
- func (o *UpdateDerivedLabelConflict) IsSuccess() bool
- func (o *UpdateDerivedLabelConflict) String() string
- type UpdateDerivedLabelDefault
- func (o *UpdateDerivedLabelDefault) Code() int
- func (o *UpdateDerivedLabelDefault) Error() string
- func (o *UpdateDerivedLabelDefault) GetPayload() models.GenericError
- func (o *UpdateDerivedLabelDefault) IsClientError() bool
- func (o *UpdateDerivedLabelDefault) IsCode(code int) bool
- func (o *UpdateDerivedLabelDefault) IsRedirect() bool
- func (o *UpdateDerivedLabelDefault) IsServerError() bool
- func (o *UpdateDerivedLabelDefault) IsSuccess() bool
- func (o *UpdateDerivedLabelDefault) String() string
- type UpdateDerivedLabelInternalServerError
- func (o *UpdateDerivedLabelInternalServerError) Code() int
- func (o *UpdateDerivedLabelInternalServerError) Error() string
- func (o *UpdateDerivedLabelInternalServerError) GetPayload() *models.APIError
- func (o *UpdateDerivedLabelInternalServerError) IsClientError() bool
- func (o *UpdateDerivedLabelInternalServerError) IsCode(code int) bool
- func (o *UpdateDerivedLabelInternalServerError) IsRedirect() bool
- func (o *UpdateDerivedLabelInternalServerError) IsServerError() bool
- func (o *UpdateDerivedLabelInternalServerError) IsSuccess() bool
- func (o *UpdateDerivedLabelInternalServerError) String() string
- type UpdateDerivedLabelNotFound
- func (o *UpdateDerivedLabelNotFound) Code() int
- func (o *UpdateDerivedLabelNotFound) Error() string
- func (o *UpdateDerivedLabelNotFound) GetPayload() *models.APIError
- func (o *UpdateDerivedLabelNotFound) IsClientError() bool
- func (o *UpdateDerivedLabelNotFound) IsCode(code int) bool
- func (o *UpdateDerivedLabelNotFound) IsRedirect() bool
- func (o *UpdateDerivedLabelNotFound) IsServerError() bool
- func (o *UpdateDerivedLabelNotFound) IsSuccess() bool
- func (o *UpdateDerivedLabelNotFound) String() string
- type UpdateDerivedLabelOK
- func (o *UpdateDerivedLabelOK) Code() int
- func (o *UpdateDerivedLabelOK) Error() string
- func (o *UpdateDerivedLabelOK) GetPayload() *models.Configv1UpdateDerivedLabelResponse
- func (o *UpdateDerivedLabelOK) IsClientError() bool
- func (o *UpdateDerivedLabelOK) IsCode(code int) bool
- func (o *UpdateDerivedLabelOK) IsRedirect() bool
- func (o *UpdateDerivedLabelOK) IsServerError() bool
- func (o *UpdateDerivedLabelOK) IsSuccess() bool
- func (o *UpdateDerivedLabelOK) String() string
- type UpdateDerivedLabelParams
- func NewUpdateDerivedLabelParams() *UpdateDerivedLabelParams
- func NewUpdateDerivedLabelParamsWithContext(ctx context.Context) *UpdateDerivedLabelParams
- func NewUpdateDerivedLabelParamsWithHTTPClient(client *http.Client) *UpdateDerivedLabelParams
- func NewUpdateDerivedLabelParamsWithTimeout(timeout time.Duration) *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) SetBody(body *models.ConfigV1UpdateDerivedLabelBody)
- func (o *UpdateDerivedLabelParams) SetContext(ctx context.Context)
- func (o *UpdateDerivedLabelParams) SetDefaults()
- func (o *UpdateDerivedLabelParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDerivedLabelParams) SetSlug(slug string)
- func (o *UpdateDerivedLabelParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDerivedLabelParams) WithBody(body *models.ConfigV1UpdateDerivedLabelBody) *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) WithContext(ctx context.Context) *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) WithDefaults() *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) WithHTTPClient(client *http.Client) *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) WithSlug(slug string) *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) WithTimeout(timeout time.Duration) *UpdateDerivedLabelParams
- func (o *UpdateDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDerivedLabelReader
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 derived label API
func (*Client) CreateDerivedLabel ¶
func (a *Client) CreateDerivedLabel(params *CreateDerivedLabelParams, opts ...ClientOption) (*CreateDerivedLabelOK, error)
CreateDerivedLabel create derived label API
func (*Client) DeleteDerivedLabel ¶
func (a *Client) DeleteDerivedLabel(params *DeleteDerivedLabelParams, opts ...ClientOption) (*DeleteDerivedLabelOK, error)
DeleteDerivedLabel delete derived label API
func (*Client) ListDerivedLabels ¶
func (a *Client) ListDerivedLabels(params *ListDerivedLabelsParams, opts ...ClientOption) (*ListDerivedLabelsOK, error)
ListDerivedLabels list derived labels API
func (*Client) ReadDerivedLabel ¶
func (a *Client) ReadDerivedLabel(params *ReadDerivedLabelParams, opts ...ClientOption) (*ReadDerivedLabelOK, error)
ReadDerivedLabel read derived label API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDerivedLabel ¶
func (a *Client) UpdateDerivedLabel(params *UpdateDerivedLabelParams, opts ...ClientOption) (*UpdateDerivedLabelOK, error)
UpdateDerivedLabel update derived label API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDerivedLabel(params *CreateDerivedLabelParams, opts ...ClientOption) (*CreateDerivedLabelOK, error) DeleteDerivedLabel(params *DeleteDerivedLabelParams, opts ...ClientOption) (*DeleteDerivedLabelOK, error) ListDerivedLabels(params *ListDerivedLabelsParams, opts ...ClientOption) (*ListDerivedLabelsOK, error) ReadDerivedLabel(params *ReadDerivedLabelParams, opts ...ClientOption) (*ReadDerivedLabelOK, error) UpdateDerivedLabel(params *UpdateDerivedLabelParams, opts ...ClientOption) (*UpdateDerivedLabelOK, 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 derived label API client.
type CreateDerivedLabelBadRequest ¶
CreateDerivedLabelBadRequest describes a response with status code 400, with default header values.
Cannot create the DerivedLabel because the request is invalid.
func NewCreateDerivedLabelBadRequest ¶
func NewCreateDerivedLabelBadRequest() *CreateDerivedLabelBadRequest
NewCreateDerivedLabelBadRequest creates a CreateDerivedLabelBadRequest with default headers values
func (*CreateDerivedLabelBadRequest) Code ¶
func (o *CreateDerivedLabelBadRequest) Code() int
Code gets the status code for the create derived label bad request response
func (*CreateDerivedLabelBadRequest) Error ¶
func (o *CreateDerivedLabelBadRequest) Error() string
func (*CreateDerivedLabelBadRequest) GetPayload ¶
func (o *CreateDerivedLabelBadRequest) GetPayload() *models.APIError
func (*CreateDerivedLabelBadRequest) IsClientError ¶
func (o *CreateDerivedLabelBadRequest) IsClientError() bool
IsClientError returns true when this create derived label bad request response has a 4xx status code
func (*CreateDerivedLabelBadRequest) IsCode ¶
func (o *CreateDerivedLabelBadRequest) IsCode(code int) bool
IsCode returns true when this create derived label bad request response a status code equal to that given
func (*CreateDerivedLabelBadRequest) IsRedirect ¶
func (o *CreateDerivedLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this create derived label bad request response has a 3xx status code
func (*CreateDerivedLabelBadRequest) IsServerError ¶
func (o *CreateDerivedLabelBadRequest) IsServerError() bool
IsServerError returns true when this create derived label bad request response has a 5xx status code
func (*CreateDerivedLabelBadRequest) IsSuccess ¶
func (o *CreateDerivedLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this create derived label bad request response has a 2xx status code
func (*CreateDerivedLabelBadRequest) String ¶
func (o *CreateDerivedLabelBadRequest) String() string
type CreateDerivedLabelConflict ¶
CreateDerivedLabelConflict describes a response with status code 409, with default header values.
Cannot create the DerivedLabel because there is a conflict with an existing DerivedLabel.
func NewCreateDerivedLabelConflict ¶
func NewCreateDerivedLabelConflict() *CreateDerivedLabelConflict
NewCreateDerivedLabelConflict creates a CreateDerivedLabelConflict with default headers values
func (*CreateDerivedLabelConflict) Code ¶
func (o *CreateDerivedLabelConflict) Code() int
Code gets the status code for the create derived label conflict response
func (*CreateDerivedLabelConflict) Error ¶
func (o *CreateDerivedLabelConflict) Error() string
func (*CreateDerivedLabelConflict) GetPayload ¶
func (o *CreateDerivedLabelConflict) GetPayload() *models.APIError
func (*CreateDerivedLabelConflict) IsClientError ¶
func (o *CreateDerivedLabelConflict) IsClientError() bool
IsClientError returns true when this create derived label conflict response has a 4xx status code
func (*CreateDerivedLabelConflict) IsCode ¶
func (o *CreateDerivedLabelConflict) IsCode(code int) bool
IsCode returns true when this create derived label conflict response a status code equal to that given
func (*CreateDerivedLabelConflict) IsRedirect ¶
func (o *CreateDerivedLabelConflict) IsRedirect() bool
IsRedirect returns true when this create derived label conflict response has a 3xx status code
func (*CreateDerivedLabelConflict) IsServerError ¶
func (o *CreateDerivedLabelConflict) IsServerError() bool
IsServerError returns true when this create derived label conflict response has a 5xx status code
func (*CreateDerivedLabelConflict) IsSuccess ¶
func (o *CreateDerivedLabelConflict) IsSuccess() bool
IsSuccess returns true when this create derived label conflict response has a 2xx status code
func (*CreateDerivedLabelConflict) String ¶
func (o *CreateDerivedLabelConflict) String() string
type CreateDerivedLabelDefault ¶
type CreateDerivedLabelDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateDerivedLabelDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateDerivedLabelDefault ¶
func NewCreateDerivedLabelDefault(code int) *CreateDerivedLabelDefault
NewCreateDerivedLabelDefault creates a CreateDerivedLabelDefault with default headers values
func (*CreateDerivedLabelDefault) Code ¶
func (o *CreateDerivedLabelDefault) Code() int
Code gets the status code for the create derived label default response
func (*CreateDerivedLabelDefault) Error ¶
func (o *CreateDerivedLabelDefault) Error() string
func (*CreateDerivedLabelDefault) GetPayload ¶
func (o *CreateDerivedLabelDefault) GetPayload() models.GenericError
func (*CreateDerivedLabelDefault) IsClientError ¶
func (o *CreateDerivedLabelDefault) IsClientError() bool
IsClientError returns true when this create derived label default response has a 4xx status code
func (*CreateDerivedLabelDefault) IsCode ¶
func (o *CreateDerivedLabelDefault) IsCode(code int) bool
IsCode returns true when this create derived label default response a status code equal to that given
func (*CreateDerivedLabelDefault) IsRedirect ¶
func (o *CreateDerivedLabelDefault) IsRedirect() bool
IsRedirect returns true when this create derived label default response has a 3xx status code
func (*CreateDerivedLabelDefault) IsServerError ¶
func (o *CreateDerivedLabelDefault) IsServerError() bool
IsServerError returns true when this create derived label default response has a 5xx status code
func (*CreateDerivedLabelDefault) IsSuccess ¶
func (o *CreateDerivedLabelDefault) IsSuccess() bool
IsSuccess returns true when this create derived label default response has a 2xx status code
func (*CreateDerivedLabelDefault) String ¶
func (o *CreateDerivedLabelDefault) String() string
type CreateDerivedLabelInternalServerError ¶
CreateDerivedLabelInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateDerivedLabelInternalServerError ¶
func NewCreateDerivedLabelInternalServerError() *CreateDerivedLabelInternalServerError
NewCreateDerivedLabelInternalServerError creates a CreateDerivedLabelInternalServerError with default headers values
func (*CreateDerivedLabelInternalServerError) Code ¶
func (o *CreateDerivedLabelInternalServerError) Code() int
Code gets the status code for the create derived label internal server error response
func (*CreateDerivedLabelInternalServerError) Error ¶
func (o *CreateDerivedLabelInternalServerError) Error() string
func (*CreateDerivedLabelInternalServerError) GetPayload ¶
func (o *CreateDerivedLabelInternalServerError) GetPayload() *models.APIError
func (*CreateDerivedLabelInternalServerError) IsClientError ¶
func (o *CreateDerivedLabelInternalServerError) IsClientError() bool
IsClientError returns true when this create derived label internal server error response has a 4xx status code
func (*CreateDerivedLabelInternalServerError) IsCode ¶
func (o *CreateDerivedLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this create derived label internal server error response a status code equal to that given
func (*CreateDerivedLabelInternalServerError) IsRedirect ¶
func (o *CreateDerivedLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this create derived label internal server error response has a 3xx status code
func (*CreateDerivedLabelInternalServerError) IsServerError ¶
func (o *CreateDerivedLabelInternalServerError) IsServerError() bool
IsServerError returns true when this create derived label internal server error response has a 5xx status code
func (*CreateDerivedLabelInternalServerError) IsSuccess ¶
func (o *CreateDerivedLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this create derived label internal server error response has a 2xx status code
func (*CreateDerivedLabelInternalServerError) String ¶
func (o *CreateDerivedLabelInternalServerError) String() string
type CreateDerivedLabelOK ¶
type CreateDerivedLabelOK struct {
Payload *models.Configv1CreateDerivedLabelResponse
}
CreateDerivedLabelOK describes a response with status code 200, with default header values.
A successful response containing the created DerivedLabel.
func NewCreateDerivedLabelOK ¶
func NewCreateDerivedLabelOK() *CreateDerivedLabelOK
NewCreateDerivedLabelOK creates a CreateDerivedLabelOK with default headers values
func (*CreateDerivedLabelOK) Code ¶
func (o *CreateDerivedLabelOK) Code() int
Code gets the status code for the create derived label o k response
func (*CreateDerivedLabelOK) Error ¶
func (o *CreateDerivedLabelOK) Error() string
func (*CreateDerivedLabelOK) GetPayload ¶
func (o *CreateDerivedLabelOK) GetPayload() *models.Configv1CreateDerivedLabelResponse
func (*CreateDerivedLabelOK) IsClientError ¶
func (o *CreateDerivedLabelOK) IsClientError() bool
IsClientError returns true when this create derived label o k response has a 4xx status code
func (*CreateDerivedLabelOK) IsCode ¶
func (o *CreateDerivedLabelOK) IsCode(code int) bool
IsCode returns true when this create derived label o k response a status code equal to that given
func (*CreateDerivedLabelOK) IsRedirect ¶
func (o *CreateDerivedLabelOK) IsRedirect() bool
IsRedirect returns true when this create derived label o k response has a 3xx status code
func (*CreateDerivedLabelOK) IsServerError ¶
func (o *CreateDerivedLabelOK) IsServerError() bool
IsServerError returns true when this create derived label o k response has a 5xx status code
func (*CreateDerivedLabelOK) IsSuccess ¶
func (o *CreateDerivedLabelOK) IsSuccess() bool
IsSuccess returns true when this create derived label o k response has a 2xx status code
func (*CreateDerivedLabelOK) String ¶
func (o *CreateDerivedLabelOK) String() string
type CreateDerivedLabelParams ¶
type CreateDerivedLabelParams struct { // Body. Body *models.Configv1CreateDerivedLabelRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDerivedLabelParams contains all the parameters to send to the API endpoint
for the create derived label operation. Typically these are written to a http.Request.
func NewCreateDerivedLabelParams ¶
func NewCreateDerivedLabelParams() *CreateDerivedLabelParams
NewCreateDerivedLabelParams creates a new CreateDerivedLabelParams 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 NewCreateDerivedLabelParamsWithContext ¶
func NewCreateDerivedLabelParamsWithContext(ctx context.Context) *CreateDerivedLabelParams
NewCreateDerivedLabelParamsWithContext creates a new CreateDerivedLabelParams object with the ability to set a context for a request.
func NewCreateDerivedLabelParamsWithHTTPClient ¶
func NewCreateDerivedLabelParamsWithHTTPClient(client *http.Client) *CreateDerivedLabelParams
NewCreateDerivedLabelParamsWithHTTPClient creates a new CreateDerivedLabelParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDerivedLabelParamsWithTimeout ¶
func NewCreateDerivedLabelParamsWithTimeout(timeout time.Duration) *CreateDerivedLabelParams
NewCreateDerivedLabelParamsWithTimeout creates a new CreateDerivedLabelParams object with the ability to set a timeout on a request.
func (*CreateDerivedLabelParams) SetBody ¶
func (o *CreateDerivedLabelParams) SetBody(body *models.Configv1CreateDerivedLabelRequest)
SetBody adds the body to the create derived label params
func (*CreateDerivedLabelParams) SetContext ¶
func (o *CreateDerivedLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the create derived label params
func (*CreateDerivedLabelParams) SetDefaults ¶
func (o *CreateDerivedLabelParams) SetDefaults()
SetDefaults hydrates default values in the create derived label params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDerivedLabelParams) SetHTTPClient ¶
func (o *CreateDerivedLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create derived label params
func (*CreateDerivedLabelParams) SetTimeout ¶
func (o *CreateDerivedLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create derived label params
func (*CreateDerivedLabelParams) WithBody ¶
func (o *CreateDerivedLabelParams) WithBody(body *models.Configv1CreateDerivedLabelRequest) *CreateDerivedLabelParams
WithBody adds the body to the create derived label params
func (*CreateDerivedLabelParams) WithContext ¶
func (o *CreateDerivedLabelParams) WithContext(ctx context.Context) *CreateDerivedLabelParams
WithContext adds the context to the create derived label params
func (*CreateDerivedLabelParams) WithDefaults ¶
func (o *CreateDerivedLabelParams) WithDefaults() *CreateDerivedLabelParams
WithDefaults hydrates default values in the create derived label params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDerivedLabelParams) WithHTTPClient ¶
func (o *CreateDerivedLabelParams) WithHTTPClient(client *http.Client) *CreateDerivedLabelParams
WithHTTPClient adds the HTTPClient to the create derived label params
func (*CreateDerivedLabelParams) WithTimeout ¶
func (o *CreateDerivedLabelParams) WithTimeout(timeout time.Duration) *CreateDerivedLabelParams
WithTimeout adds the timeout to the create derived label params
func (*CreateDerivedLabelParams) WriteToRequest ¶
func (o *CreateDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDerivedLabelReader ¶
type CreateDerivedLabelReader struct {
// contains filtered or unexported fields
}
CreateDerivedLabelReader is a Reader for the CreateDerivedLabel structure.
func (*CreateDerivedLabelReader) ReadResponse ¶
func (o *CreateDerivedLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDerivedLabelBadRequest ¶
DeleteDerivedLabelBadRequest describes a response with status code 400, with default header values.
Cannot delete the DerivedLabel because it is in use.
func NewDeleteDerivedLabelBadRequest ¶
func NewDeleteDerivedLabelBadRequest() *DeleteDerivedLabelBadRequest
NewDeleteDerivedLabelBadRequest creates a DeleteDerivedLabelBadRequest with default headers values
func (*DeleteDerivedLabelBadRequest) Code ¶
func (o *DeleteDerivedLabelBadRequest) Code() int
Code gets the status code for the delete derived label bad request response
func (*DeleteDerivedLabelBadRequest) Error ¶
func (o *DeleteDerivedLabelBadRequest) Error() string
func (*DeleteDerivedLabelBadRequest) GetPayload ¶
func (o *DeleteDerivedLabelBadRequest) GetPayload() *models.APIError
func (*DeleteDerivedLabelBadRequest) IsClientError ¶
func (o *DeleteDerivedLabelBadRequest) IsClientError() bool
IsClientError returns true when this delete derived label bad request response has a 4xx status code
func (*DeleteDerivedLabelBadRequest) IsCode ¶
func (o *DeleteDerivedLabelBadRequest) IsCode(code int) bool
IsCode returns true when this delete derived label bad request response a status code equal to that given
func (*DeleteDerivedLabelBadRequest) IsRedirect ¶
func (o *DeleteDerivedLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this delete derived label bad request response has a 3xx status code
func (*DeleteDerivedLabelBadRequest) IsServerError ¶
func (o *DeleteDerivedLabelBadRequest) IsServerError() bool
IsServerError returns true when this delete derived label bad request response has a 5xx status code
func (*DeleteDerivedLabelBadRequest) IsSuccess ¶
func (o *DeleteDerivedLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this delete derived label bad request response has a 2xx status code
func (*DeleteDerivedLabelBadRequest) String ¶
func (o *DeleteDerivedLabelBadRequest) String() string
type DeleteDerivedLabelDefault ¶
type DeleteDerivedLabelDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteDerivedLabelDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteDerivedLabelDefault ¶
func NewDeleteDerivedLabelDefault(code int) *DeleteDerivedLabelDefault
NewDeleteDerivedLabelDefault creates a DeleteDerivedLabelDefault with default headers values
func (*DeleteDerivedLabelDefault) Code ¶
func (o *DeleteDerivedLabelDefault) Code() int
Code gets the status code for the delete derived label default response
func (*DeleteDerivedLabelDefault) Error ¶
func (o *DeleteDerivedLabelDefault) Error() string
func (*DeleteDerivedLabelDefault) GetPayload ¶
func (o *DeleteDerivedLabelDefault) GetPayload() models.GenericError
func (*DeleteDerivedLabelDefault) IsClientError ¶
func (o *DeleteDerivedLabelDefault) IsClientError() bool
IsClientError returns true when this delete derived label default response has a 4xx status code
func (*DeleteDerivedLabelDefault) IsCode ¶
func (o *DeleteDerivedLabelDefault) IsCode(code int) bool
IsCode returns true when this delete derived label default response a status code equal to that given
func (*DeleteDerivedLabelDefault) IsRedirect ¶
func (o *DeleteDerivedLabelDefault) IsRedirect() bool
IsRedirect returns true when this delete derived label default response has a 3xx status code
func (*DeleteDerivedLabelDefault) IsServerError ¶
func (o *DeleteDerivedLabelDefault) IsServerError() bool
IsServerError returns true when this delete derived label default response has a 5xx status code
func (*DeleteDerivedLabelDefault) IsSuccess ¶
func (o *DeleteDerivedLabelDefault) IsSuccess() bool
IsSuccess returns true when this delete derived label default response has a 2xx status code
func (*DeleteDerivedLabelDefault) String ¶
func (o *DeleteDerivedLabelDefault) String() string
type DeleteDerivedLabelInternalServerError ¶
DeleteDerivedLabelInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteDerivedLabelInternalServerError ¶
func NewDeleteDerivedLabelInternalServerError() *DeleteDerivedLabelInternalServerError
NewDeleteDerivedLabelInternalServerError creates a DeleteDerivedLabelInternalServerError with default headers values
func (*DeleteDerivedLabelInternalServerError) Code ¶
func (o *DeleteDerivedLabelInternalServerError) Code() int
Code gets the status code for the delete derived label internal server error response
func (*DeleteDerivedLabelInternalServerError) Error ¶
func (o *DeleteDerivedLabelInternalServerError) Error() string
func (*DeleteDerivedLabelInternalServerError) GetPayload ¶
func (o *DeleteDerivedLabelInternalServerError) GetPayload() *models.APIError
func (*DeleteDerivedLabelInternalServerError) IsClientError ¶
func (o *DeleteDerivedLabelInternalServerError) IsClientError() bool
IsClientError returns true when this delete derived label internal server error response has a 4xx status code
func (*DeleteDerivedLabelInternalServerError) IsCode ¶
func (o *DeleteDerivedLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this delete derived label internal server error response a status code equal to that given
func (*DeleteDerivedLabelInternalServerError) IsRedirect ¶
func (o *DeleteDerivedLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete derived label internal server error response has a 3xx status code
func (*DeleteDerivedLabelInternalServerError) IsServerError ¶
func (o *DeleteDerivedLabelInternalServerError) IsServerError() bool
IsServerError returns true when this delete derived label internal server error response has a 5xx status code
func (*DeleteDerivedLabelInternalServerError) IsSuccess ¶
func (o *DeleteDerivedLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete derived label internal server error response has a 2xx status code
func (*DeleteDerivedLabelInternalServerError) String ¶
func (o *DeleteDerivedLabelInternalServerError) String() string
type DeleteDerivedLabelNotFound ¶
DeleteDerivedLabelNotFound describes a response with status code 404, with default header values.
Cannot delete the DerivedLabel because the slug does not exist.
func NewDeleteDerivedLabelNotFound ¶
func NewDeleteDerivedLabelNotFound() *DeleteDerivedLabelNotFound
NewDeleteDerivedLabelNotFound creates a DeleteDerivedLabelNotFound with default headers values
func (*DeleteDerivedLabelNotFound) Code ¶
func (o *DeleteDerivedLabelNotFound) Code() int
Code gets the status code for the delete derived label not found response
func (*DeleteDerivedLabelNotFound) Error ¶
func (o *DeleteDerivedLabelNotFound) Error() string
func (*DeleteDerivedLabelNotFound) GetPayload ¶
func (o *DeleteDerivedLabelNotFound) GetPayload() *models.APIError
func (*DeleteDerivedLabelNotFound) IsClientError ¶
func (o *DeleteDerivedLabelNotFound) IsClientError() bool
IsClientError returns true when this delete derived label not found response has a 4xx status code
func (*DeleteDerivedLabelNotFound) IsCode ¶
func (o *DeleteDerivedLabelNotFound) IsCode(code int) bool
IsCode returns true when this delete derived label not found response a status code equal to that given
func (*DeleteDerivedLabelNotFound) IsRedirect ¶
func (o *DeleteDerivedLabelNotFound) IsRedirect() bool
IsRedirect returns true when this delete derived label not found response has a 3xx status code
func (*DeleteDerivedLabelNotFound) IsServerError ¶
func (o *DeleteDerivedLabelNotFound) IsServerError() bool
IsServerError returns true when this delete derived label not found response has a 5xx status code
func (*DeleteDerivedLabelNotFound) IsSuccess ¶
func (o *DeleteDerivedLabelNotFound) IsSuccess() bool
IsSuccess returns true when this delete derived label not found response has a 2xx status code
func (*DeleteDerivedLabelNotFound) String ¶
func (o *DeleteDerivedLabelNotFound) String() string
type DeleteDerivedLabelOK ¶
type DeleteDerivedLabelOK struct {
Payload models.Configv1DeleteDerivedLabelResponse
}
DeleteDerivedLabelOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteDerivedLabelOK ¶
func NewDeleteDerivedLabelOK() *DeleteDerivedLabelOK
NewDeleteDerivedLabelOK creates a DeleteDerivedLabelOK with default headers values
func (*DeleteDerivedLabelOK) Code ¶
func (o *DeleteDerivedLabelOK) Code() int
Code gets the status code for the delete derived label o k response
func (*DeleteDerivedLabelOK) Error ¶
func (o *DeleteDerivedLabelOK) Error() string
func (*DeleteDerivedLabelOK) GetPayload ¶
func (o *DeleteDerivedLabelOK) GetPayload() models.Configv1DeleteDerivedLabelResponse
func (*DeleteDerivedLabelOK) IsClientError ¶
func (o *DeleteDerivedLabelOK) IsClientError() bool
IsClientError returns true when this delete derived label o k response has a 4xx status code
func (*DeleteDerivedLabelOK) IsCode ¶
func (o *DeleteDerivedLabelOK) IsCode(code int) bool
IsCode returns true when this delete derived label o k response a status code equal to that given
func (*DeleteDerivedLabelOK) IsRedirect ¶
func (o *DeleteDerivedLabelOK) IsRedirect() bool
IsRedirect returns true when this delete derived label o k response has a 3xx status code
func (*DeleteDerivedLabelOK) IsServerError ¶
func (o *DeleteDerivedLabelOK) IsServerError() bool
IsServerError returns true when this delete derived label o k response has a 5xx status code
func (*DeleteDerivedLabelOK) IsSuccess ¶
func (o *DeleteDerivedLabelOK) IsSuccess() bool
IsSuccess returns true when this delete derived label o k response has a 2xx status code
func (*DeleteDerivedLabelOK) String ¶
func (o *DeleteDerivedLabelOK) String() string
type DeleteDerivedLabelParams ¶
type DeleteDerivedLabelParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDerivedLabelParams contains all the parameters to send to the API endpoint
for the delete derived label operation. Typically these are written to a http.Request.
func NewDeleteDerivedLabelParams ¶
func NewDeleteDerivedLabelParams() *DeleteDerivedLabelParams
NewDeleteDerivedLabelParams creates a new DeleteDerivedLabelParams 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 NewDeleteDerivedLabelParamsWithContext ¶
func NewDeleteDerivedLabelParamsWithContext(ctx context.Context) *DeleteDerivedLabelParams
NewDeleteDerivedLabelParamsWithContext creates a new DeleteDerivedLabelParams object with the ability to set a context for a request.
func NewDeleteDerivedLabelParamsWithHTTPClient ¶
func NewDeleteDerivedLabelParamsWithHTTPClient(client *http.Client) *DeleteDerivedLabelParams
NewDeleteDerivedLabelParamsWithHTTPClient creates a new DeleteDerivedLabelParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDerivedLabelParamsWithTimeout ¶
func NewDeleteDerivedLabelParamsWithTimeout(timeout time.Duration) *DeleteDerivedLabelParams
NewDeleteDerivedLabelParamsWithTimeout creates a new DeleteDerivedLabelParams object with the ability to set a timeout on a request.
func (*DeleteDerivedLabelParams) SetContext ¶
func (o *DeleteDerivedLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the delete derived label params
func (*DeleteDerivedLabelParams) SetDefaults ¶
func (o *DeleteDerivedLabelParams) SetDefaults()
SetDefaults hydrates default values in the delete derived label params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDerivedLabelParams) SetHTTPClient ¶
func (o *DeleteDerivedLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete derived label params
func (*DeleteDerivedLabelParams) SetSlug ¶
func (o *DeleteDerivedLabelParams) SetSlug(slug string)
SetSlug adds the slug to the delete derived label params
func (*DeleteDerivedLabelParams) SetTimeout ¶
func (o *DeleteDerivedLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete derived label params
func (*DeleteDerivedLabelParams) WithContext ¶
func (o *DeleteDerivedLabelParams) WithContext(ctx context.Context) *DeleteDerivedLabelParams
WithContext adds the context to the delete derived label params
func (*DeleteDerivedLabelParams) WithDefaults ¶
func (o *DeleteDerivedLabelParams) WithDefaults() *DeleteDerivedLabelParams
WithDefaults hydrates default values in the delete derived label params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDerivedLabelParams) WithHTTPClient ¶
func (o *DeleteDerivedLabelParams) WithHTTPClient(client *http.Client) *DeleteDerivedLabelParams
WithHTTPClient adds the HTTPClient to the delete derived label params
func (*DeleteDerivedLabelParams) WithSlug ¶
func (o *DeleteDerivedLabelParams) WithSlug(slug string) *DeleteDerivedLabelParams
WithSlug adds the slug to the delete derived label params
func (*DeleteDerivedLabelParams) WithTimeout ¶
func (o *DeleteDerivedLabelParams) WithTimeout(timeout time.Duration) *DeleteDerivedLabelParams
WithTimeout adds the timeout to the delete derived label params
func (*DeleteDerivedLabelParams) WriteToRequest ¶
func (o *DeleteDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDerivedLabelReader ¶
type DeleteDerivedLabelReader struct {
// contains filtered or unexported fields
}
DeleteDerivedLabelReader is a Reader for the DeleteDerivedLabel structure.
func (*DeleteDerivedLabelReader) ReadResponse ¶
func (o *DeleteDerivedLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDerivedLabelsDefault ¶
type ListDerivedLabelsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListDerivedLabelsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListDerivedLabelsDefault ¶
func NewListDerivedLabelsDefault(code int) *ListDerivedLabelsDefault
NewListDerivedLabelsDefault creates a ListDerivedLabelsDefault with default headers values
func (*ListDerivedLabelsDefault) Code ¶
func (o *ListDerivedLabelsDefault) Code() int
Code gets the status code for the list derived labels default response
func (*ListDerivedLabelsDefault) Error ¶
func (o *ListDerivedLabelsDefault) Error() string
func (*ListDerivedLabelsDefault) GetPayload ¶
func (o *ListDerivedLabelsDefault) GetPayload() models.GenericError
func (*ListDerivedLabelsDefault) IsClientError ¶
func (o *ListDerivedLabelsDefault) IsClientError() bool
IsClientError returns true when this list derived labels default response has a 4xx status code
func (*ListDerivedLabelsDefault) IsCode ¶
func (o *ListDerivedLabelsDefault) IsCode(code int) bool
IsCode returns true when this list derived labels default response a status code equal to that given
func (*ListDerivedLabelsDefault) IsRedirect ¶
func (o *ListDerivedLabelsDefault) IsRedirect() bool
IsRedirect returns true when this list derived labels default response has a 3xx status code
func (*ListDerivedLabelsDefault) IsServerError ¶
func (o *ListDerivedLabelsDefault) IsServerError() bool
IsServerError returns true when this list derived labels default response has a 5xx status code
func (*ListDerivedLabelsDefault) IsSuccess ¶
func (o *ListDerivedLabelsDefault) IsSuccess() bool
IsSuccess returns true when this list derived labels default response has a 2xx status code
func (*ListDerivedLabelsDefault) String ¶
func (o *ListDerivedLabelsDefault) String() string
type ListDerivedLabelsInternalServerError ¶
ListDerivedLabelsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListDerivedLabelsInternalServerError ¶
func NewListDerivedLabelsInternalServerError() *ListDerivedLabelsInternalServerError
NewListDerivedLabelsInternalServerError creates a ListDerivedLabelsInternalServerError with default headers values
func (*ListDerivedLabelsInternalServerError) Code ¶
func (o *ListDerivedLabelsInternalServerError) Code() int
Code gets the status code for the list derived labels internal server error response
func (*ListDerivedLabelsInternalServerError) Error ¶
func (o *ListDerivedLabelsInternalServerError) Error() string
func (*ListDerivedLabelsInternalServerError) GetPayload ¶
func (o *ListDerivedLabelsInternalServerError) GetPayload() *models.APIError
func (*ListDerivedLabelsInternalServerError) IsClientError ¶
func (o *ListDerivedLabelsInternalServerError) IsClientError() bool
IsClientError returns true when this list derived labels internal server error response has a 4xx status code
func (*ListDerivedLabelsInternalServerError) IsCode ¶
func (o *ListDerivedLabelsInternalServerError) IsCode(code int) bool
IsCode returns true when this list derived labels internal server error response a status code equal to that given
func (*ListDerivedLabelsInternalServerError) IsRedirect ¶
func (o *ListDerivedLabelsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list derived labels internal server error response has a 3xx status code
func (*ListDerivedLabelsInternalServerError) IsServerError ¶
func (o *ListDerivedLabelsInternalServerError) IsServerError() bool
IsServerError returns true when this list derived labels internal server error response has a 5xx status code
func (*ListDerivedLabelsInternalServerError) IsSuccess ¶
func (o *ListDerivedLabelsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list derived labels internal server error response has a 2xx status code
func (*ListDerivedLabelsInternalServerError) String ¶
func (o *ListDerivedLabelsInternalServerError) String() string
type ListDerivedLabelsOK ¶
type ListDerivedLabelsOK struct {
Payload *models.Configv1ListDerivedLabelsResponse
}
ListDerivedLabelsOK describes a response with status code 200, with default header values.
A successful response.
func NewListDerivedLabelsOK ¶
func NewListDerivedLabelsOK() *ListDerivedLabelsOK
NewListDerivedLabelsOK creates a ListDerivedLabelsOK with default headers values
func (*ListDerivedLabelsOK) Code ¶
func (o *ListDerivedLabelsOK) Code() int
Code gets the status code for the list derived labels o k response
func (*ListDerivedLabelsOK) Error ¶
func (o *ListDerivedLabelsOK) Error() string
func (*ListDerivedLabelsOK) GetPayload ¶
func (o *ListDerivedLabelsOK) GetPayload() *models.Configv1ListDerivedLabelsResponse
func (*ListDerivedLabelsOK) IsClientError ¶
func (o *ListDerivedLabelsOK) IsClientError() bool
IsClientError returns true when this list derived labels o k response has a 4xx status code
func (*ListDerivedLabelsOK) IsCode ¶
func (o *ListDerivedLabelsOK) IsCode(code int) bool
IsCode returns true when this list derived labels o k response a status code equal to that given
func (*ListDerivedLabelsOK) IsRedirect ¶
func (o *ListDerivedLabelsOK) IsRedirect() bool
IsRedirect returns true when this list derived labels o k response has a 3xx status code
func (*ListDerivedLabelsOK) IsServerError ¶
func (o *ListDerivedLabelsOK) IsServerError() bool
IsServerError returns true when this list derived labels o k response has a 5xx status code
func (*ListDerivedLabelsOK) IsSuccess ¶
func (o *ListDerivedLabelsOK) IsSuccess() bool
IsSuccess returns true when this list derived labels o k response has a 2xx status code
func (*ListDerivedLabelsOK) String ¶
func (o *ListDerivedLabelsOK) String() string
type ListDerivedLabelsParams ¶
type ListDerivedLabelsParams struct { /* Names. Filters results by name, where any DerivedLabel 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 DerivedLabel 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 }
ListDerivedLabelsParams contains all the parameters to send to the API endpoint
for the list derived labels operation. Typically these are written to a http.Request.
func NewListDerivedLabelsParams ¶
func NewListDerivedLabelsParams() *ListDerivedLabelsParams
NewListDerivedLabelsParams creates a new ListDerivedLabelsParams 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 NewListDerivedLabelsParamsWithContext ¶
func NewListDerivedLabelsParamsWithContext(ctx context.Context) *ListDerivedLabelsParams
NewListDerivedLabelsParamsWithContext creates a new ListDerivedLabelsParams object with the ability to set a context for a request.
func NewListDerivedLabelsParamsWithHTTPClient ¶
func NewListDerivedLabelsParamsWithHTTPClient(client *http.Client) *ListDerivedLabelsParams
NewListDerivedLabelsParamsWithHTTPClient creates a new ListDerivedLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewListDerivedLabelsParamsWithTimeout ¶
func NewListDerivedLabelsParamsWithTimeout(timeout time.Duration) *ListDerivedLabelsParams
NewListDerivedLabelsParamsWithTimeout creates a new ListDerivedLabelsParams object with the ability to set a timeout on a request.
func (*ListDerivedLabelsParams) SetContext ¶
func (o *ListDerivedLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the list derived labels params
func (*ListDerivedLabelsParams) SetDefaults ¶
func (o *ListDerivedLabelsParams) SetDefaults()
SetDefaults hydrates default values in the list derived labels params (not the query body).
All values with no default are reset to their zero value.
func (*ListDerivedLabelsParams) SetHTTPClient ¶
func (o *ListDerivedLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list derived labels params
func (*ListDerivedLabelsParams) SetNames ¶
func (o *ListDerivedLabelsParams) SetNames(names []string)
SetNames adds the names to the list derived labels params
func (*ListDerivedLabelsParams) SetPageMaxSize ¶
func (o *ListDerivedLabelsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list derived labels params
func (*ListDerivedLabelsParams) SetPageToken ¶
func (o *ListDerivedLabelsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list derived labels params
func (*ListDerivedLabelsParams) SetSlugs ¶
func (o *ListDerivedLabelsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list derived labels params
func (*ListDerivedLabelsParams) SetTimeout ¶
func (o *ListDerivedLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list derived labels params
func (*ListDerivedLabelsParams) WithContext ¶
func (o *ListDerivedLabelsParams) WithContext(ctx context.Context) *ListDerivedLabelsParams
WithContext adds the context to the list derived labels params
func (*ListDerivedLabelsParams) WithDefaults ¶
func (o *ListDerivedLabelsParams) WithDefaults() *ListDerivedLabelsParams
WithDefaults hydrates default values in the list derived labels params (not the query body).
All values with no default are reset to their zero value.
func (*ListDerivedLabelsParams) WithHTTPClient ¶
func (o *ListDerivedLabelsParams) WithHTTPClient(client *http.Client) *ListDerivedLabelsParams
WithHTTPClient adds the HTTPClient to the list derived labels params
func (*ListDerivedLabelsParams) WithNames ¶
func (o *ListDerivedLabelsParams) WithNames(names []string) *ListDerivedLabelsParams
WithNames adds the names to the list derived labels params
func (*ListDerivedLabelsParams) WithPageMaxSize ¶
func (o *ListDerivedLabelsParams) WithPageMaxSize(pageMaxSize *int64) *ListDerivedLabelsParams
WithPageMaxSize adds the pageMaxSize to the list derived labels params
func (*ListDerivedLabelsParams) WithPageToken ¶
func (o *ListDerivedLabelsParams) WithPageToken(pageToken *string) *ListDerivedLabelsParams
WithPageToken adds the pageToken to the list derived labels params
func (*ListDerivedLabelsParams) WithSlugs ¶
func (o *ListDerivedLabelsParams) WithSlugs(slugs []string) *ListDerivedLabelsParams
WithSlugs adds the slugs to the list derived labels params
func (*ListDerivedLabelsParams) WithTimeout ¶
func (o *ListDerivedLabelsParams) WithTimeout(timeout time.Duration) *ListDerivedLabelsParams
WithTimeout adds the timeout to the list derived labels params
func (*ListDerivedLabelsParams) WriteToRequest ¶
func (o *ListDerivedLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDerivedLabelsReader ¶
type ListDerivedLabelsReader struct {
// contains filtered or unexported fields
}
ListDerivedLabelsReader is a Reader for the ListDerivedLabels structure.
func (*ListDerivedLabelsReader) ReadResponse ¶
func (o *ListDerivedLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadDerivedLabelDefault ¶
type ReadDerivedLabelDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadDerivedLabelDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadDerivedLabelDefault ¶
func NewReadDerivedLabelDefault(code int) *ReadDerivedLabelDefault
NewReadDerivedLabelDefault creates a ReadDerivedLabelDefault with default headers values
func (*ReadDerivedLabelDefault) Code ¶
func (o *ReadDerivedLabelDefault) Code() int
Code gets the status code for the read derived label default response
func (*ReadDerivedLabelDefault) Error ¶
func (o *ReadDerivedLabelDefault) Error() string
func (*ReadDerivedLabelDefault) GetPayload ¶
func (o *ReadDerivedLabelDefault) GetPayload() models.GenericError
func (*ReadDerivedLabelDefault) IsClientError ¶
func (o *ReadDerivedLabelDefault) IsClientError() bool
IsClientError returns true when this read derived label default response has a 4xx status code
func (*ReadDerivedLabelDefault) IsCode ¶
func (o *ReadDerivedLabelDefault) IsCode(code int) bool
IsCode returns true when this read derived label default response a status code equal to that given
func (*ReadDerivedLabelDefault) IsRedirect ¶
func (o *ReadDerivedLabelDefault) IsRedirect() bool
IsRedirect returns true when this read derived label default response has a 3xx status code
func (*ReadDerivedLabelDefault) IsServerError ¶
func (o *ReadDerivedLabelDefault) IsServerError() bool
IsServerError returns true when this read derived label default response has a 5xx status code
func (*ReadDerivedLabelDefault) IsSuccess ¶
func (o *ReadDerivedLabelDefault) IsSuccess() bool
IsSuccess returns true when this read derived label default response has a 2xx status code
func (*ReadDerivedLabelDefault) String ¶
func (o *ReadDerivedLabelDefault) String() string
type ReadDerivedLabelInternalServerError ¶
ReadDerivedLabelInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadDerivedLabelInternalServerError ¶
func NewReadDerivedLabelInternalServerError() *ReadDerivedLabelInternalServerError
NewReadDerivedLabelInternalServerError creates a ReadDerivedLabelInternalServerError with default headers values
func (*ReadDerivedLabelInternalServerError) Code ¶
func (o *ReadDerivedLabelInternalServerError) Code() int
Code gets the status code for the read derived label internal server error response
func (*ReadDerivedLabelInternalServerError) Error ¶
func (o *ReadDerivedLabelInternalServerError) Error() string
func (*ReadDerivedLabelInternalServerError) GetPayload ¶
func (o *ReadDerivedLabelInternalServerError) GetPayload() *models.APIError
func (*ReadDerivedLabelInternalServerError) IsClientError ¶
func (o *ReadDerivedLabelInternalServerError) IsClientError() bool
IsClientError returns true when this read derived label internal server error response has a 4xx status code
func (*ReadDerivedLabelInternalServerError) IsCode ¶
func (o *ReadDerivedLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this read derived label internal server error response a status code equal to that given
func (*ReadDerivedLabelInternalServerError) IsRedirect ¶
func (o *ReadDerivedLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this read derived label internal server error response has a 3xx status code
func (*ReadDerivedLabelInternalServerError) IsServerError ¶
func (o *ReadDerivedLabelInternalServerError) IsServerError() bool
IsServerError returns true when this read derived label internal server error response has a 5xx status code
func (*ReadDerivedLabelInternalServerError) IsSuccess ¶
func (o *ReadDerivedLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this read derived label internal server error response has a 2xx status code
func (*ReadDerivedLabelInternalServerError) String ¶
func (o *ReadDerivedLabelInternalServerError) String() string
type ReadDerivedLabelNotFound ¶
ReadDerivedLabelNotFound describes a response with status code 404, with default header values.
Cannot read the DerivedLabel because the slug does not exist.
func NewReadDerivedLabelNotFound ¶
func NewReadDerivedLabelNotFound() *ReadDerivedLabelNotFound
NewReadDerivedLabelNotFound creates a ReadDerivedLabelNotFound with default headers values
func (*ReadDerivedLabelNotFound) Code ¶
func (o *ReadDerivedLabelNotFound) Code() int
Code gets the status code for the read derived label not found response
func (*ReadDerivedLabelNotFound) Error ¶
func (o *ReadDerivedLabelNotFound) Error() string
func (*ReadDerivedLabelNotFound) GetPayload ¶
func (o *ReadDerivedLabelNotFound) GetPayload() *models.APIError
func (*ReadDerivedLabelNotFound) IsClientError ¶
func (o *ReadDerivedLabelNotFound) IsClientError() bool
IsClientError returns true when this read derived label not found response has a 4xx status code
func (*ReadDerivedLabelNotFound) IsCode ¶
func (o *ReadDerivedLabelNotFound) IsCode(code int) bool
IsCode returns true when this read derived label not found response a status code equal to that given
func (*ReadDerivedLabelNotFound) IsRedirect ¶
func (o *ReadDerivedLabelNotFound) IsRedirect() bool
IsRedirect returns true when this read derived label not found response has a 3xx status code
func (*ReadDerivedLabelNotFound) IsServerError ¶
func (o *ReadDerivedLabelNotFound) IsServerError() bool
IsServerError returns true when this read derived label not found response has a 5xx status code
func (*ReadDerivedLabelNotFound) IsSuccess ¶
func (o *ReadDerivedLabelNotFound) IsSuccess() bool
IsSuccess returns true when this read derived label not found response has a 2xx status code
func (*ReadDerivedLabelNotFound) String ¶
func (o *ReadDerivedLabelNotFound) String() string
type ReadDerivedLabelOK ¶
type ReadDerivedLabelOK struct {
Payload *models.Configv1ReadDerivedLabelResponse
}
ReadDerivedLabelOK describes a response with status code 200, with default header values.
A successful response.
func NewReadDerivedLabelOK ¶
func NewReadDerivedLabelOK() *ReadDerivedLabelOK
NewReadDerivedLabelOK creates a ReadDerivedLabelOK with default headers values
func (*ReadDerivedLabelOK) Code ¶
func (o *ReadDerivedLabelOK) Code() int
Code gets the status code for the read derived label o k response
func (*ReadDerivedLabelOK) Error ¶
func (o *ReadDerivedLabelOK) Error() string
func (*ReadDerivedLabelOK) GetPayload ¶
func (o *ReadDerivedLabelOK) GetPayload() *models.Configv1ReadDerivedLabelResponse
func (*ReadDerivedLabelOK) IsClientError ¶
func (o *ReadDerivedLabelOK) IsClientError() bool
IsClientError returns true when this read derived label o k response has a 4xx status code
func (*ReadDerivedLabelOK) IsCode ¶
func (o *ReadDerivedLabelOK) IsCode(code int) bool
IsCode returns true when this read derived label o k response a status code equal to that given
func (*ReadDerivedLabelOK) IsRedirect ¶
func (o *ReadDerivedLabelOK) IsRedirect() bool
IsRedirect returns true when this read derived label o k response has a 3xx status code
func (*ReadDerivedLabelOK) IsServerError ¶
func (o *ReadDerivedLabelOK) IsServerError() bool
IsServerError returns true when this read derived label o k response has a 5xx status code
func (*ReadDerivedLabelOK) IsSuccess ¶
func (o *ReadDerivedLabelOK) IsSuccess() bool
IsSuccess returns true when this read derived label o k response has a 2xx status code
func (*ReadDerivedLabelOK) String ¶
func (o *ReadDerivedLabelOK) String() string
type ReadDerivedLabelParams ¶
type ReadDerivedLabelParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadDerivedLabelParams contains all the parameters to send to the API endpoint
for the read derived label operation. Typically these are written to a http.Request.
func NewReadDerivedLabelParams ¶
func NewReadDerivedLabelParams() *ReadDerivedLabelParams
NewReadDerivedLabelParams creates a new ReadDerivedLabelParams 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 NewReadDerivedLabelParamsWithContext ¶
func NewReadDerivedLabelParamsWithContext(ctx context.Context) *ReadDerivedLabelParams
NewReadDerivedLabelParamsWithContext creates a new ReadDerivedLabelParams object with the ability to set a context for a request.
func NewReadDerivedLabelParamsWithHTTPClient ¶
func NewReadDerivedLabelParamsWithHTTPClient(client *http.Client) *ReadDerivedLabelParams
NewReadDerivedLabelParamsWithHTTPClient creates a new ReadDerivedLabelParams object with the ability to set a custom HTTPClient for a request.
func NewReadDerivedLabelParamsWithTimeout ¶
func NewReadDerivedLabelParamsWithTimeout(timeout time.Duration) *ReadDerivedLabelParams
NewReadDerivedLabelParamsWithTimeout creates a new ReadDerivedLabelParams object with the ability to set a timeout on a request.
func (*ReadDerivedLabelParams) SetContext ¶
func (o *ReadDerivedLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the read derived label params
func (*ReadDerivedLabelParams) SetDefaults ¶
func (o *ReadDerivedLabelParams) SetDefaults()
SetDefaults hydrates default values in the read derived label params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDerivedLabelParams) SetHTTPClient ¶
func (o *ReadDerivedLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read derived label params
func (*ReadDerivedLabelParams) SetSlug ¶
func (o *ReadDerivedLabelParams) SetSlug(slug string)
SetSlug adds the slug to the read derived label params
func (*ReadDerivedLabelParams) SetTimeout ¶
func (o *ReadDerivedLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read derived label params
func (*ReadDerivedLabelParams) WithContext ¶
func (o *ReadDerivedLabelParams) WithContext(ctx context.Context) *ReadDerivedLabelParams
WithContext adds the context to the read derived label params
func (*ReadDerivedLabelParams) WithDefaults ¶
func (o *ReadDerivedLabelParams) WithDefaults() *ReadDerivedLabelParams
WithDefaults hydrates default values in the read derived label params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDerivedLabelParams) WithHTTPClient ¶
func (o *ReadDerivedLabelParams) WithHTTPClient(client *http.Client) *ReadDerivedLabelParams
WithHTTPClient adds the HTTPClient to the read derived label params
func (*ReadDerivedLabelParams) WithSlug ¶
func (o *ReadDerivedLabelParams) WithSlug(slug string) *ReadDerivedLabelParams
WithSlug adds the slug to the read derived label params
func (*ReadDerivedLabelParams) WithTimeout ¶
func (o *ReadDerivedLabelParams) WithTimeout(timeout time.Duration) *ReadDerivedLabelParams
WithTimeout adds the timeout to the read derived label params
func (*ReadDerivedLabelParams) WriteToRequest ¶
func (o *ReadDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadDerivedLabelReader ¶
type ReadDerivedLabelReader struct {
// contains filtered or unexported fields
}
ReadDerivedLabelReader is a Reader for the ReadDerivedLabel structure.
func (*ReadDerivedLabelReader) ReadResponse ¶
func (o *ReadDerivedLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDerivedLabelBadRequest ¶
UpdateDerivedLabelBadRequest describes a response with status code 400, with default header values.
Cannot update the DerivedLabel because the request is invalid.
func NewUpdateDerivedLabelBadRequest ¶
func NewUpdateDerivedLabelBadRequest() *UpdateDerivedLabelBadRequest
NewUpdateDerivedLabelBadRequest creates a UpdateDerivedLabelBadRequest with default headers values
func (*UpdateDerivedLabelBadRequest) Code ¶
func (o *UpdateDerivedLabelBadRequest) Code() int
Code gets the status code for the update derived label bad request response
func (*UpdateDerivedLabelBadRequest) Error ¶
func (o *UpdateDerivedLabelBadRequest) Error() string
func (*UpdateDerivedLabelBadRequest) GetPayload ¶
func (o *UpdateDerivedLabelBadRequest) GetPayload() *models.APIError
func (*UpdateDerivedLabelBadRequest) IsClientError ¶
func (o *UpdateDerivedLabelBadRequest) IsClientError() bool
IsClientError returns true when this update derived label bad request response has a 4xx status code
func (*UpdateDerivedLabelBadRequest) IsCode ¶
func (o *UpdateDerivedLabelBadRequest) IsCode(code int) bool
IsCode returns true when this update derived label bad request response a status code equal to that given
func (*UpdateDerivedLabelBadRequest) IsRedirect ¶
func (o *UpdateDerivedLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this update derived label bad request response has a 3xx status code
func (*UpdateDerivedLabelBadRequest) IsServerError ¶
func (o *UpdateDerivedLabelBadRequest) IsServerError() bool
IsServerError returns true when this update derived label bad request response has a 5xx status code
func (*UpdateDerivedLabelBadRequest) IsSuccess ¶
func (o *UpdateDerivedLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this update derived label bad request response has a 2xx status code
func (*UpdateDerivedLabelBadRequest) String ¶
func (o *UpdateDerivedLabelBadRequest) String() string
type UpdateDerivedLabelConflict ¶
UpdateDerivedLabelConflict describes a response with status code 409, with default header values.
Cannot update the DerivedLabel because there is a conflict with an existing DerivedLabel.
func NewUpdateDerivedLabelConflict ¶
func NewUpdateDerivedLabelConflict() *UpdateDerivedLabelConflict
NewUpdateDerivedLabelConflict creates a UpdateDerivedLabelConflict with default headers values
func (*UpdateDerivedLabelConflict) Code ¶
func (o *UpdateDerivedLabelConflict) Code() int
Code gets the status code for the update derived label conflict response
func (*UpdateDerivedLabelConflict) Error ¶
func (o *UpdateDerivedLabelConflict) Error() string
func (*UpdateDerivedLabelConflict) GetPayload ¶
func (o *UpdateDerivedLabelConflict) GetPayload() *models.APIError
func (*UpdateDerivedLabelConflict) IsClientError ¶
func (o *UpdateDerivedLabelConflict) IsClientError() bool
IsClientError returns true when this update derived label conflict response has a 4xx status code
func (*UpdateDerivedLabelConflict) IsCode ¶
func (o *UpdateDerivedLabelConflict) IsCode(code int) bool
IsCode returns true when this update derived label conflict response a status code equal to that given
func (*UpdateDerivedLabelConflict) IsRedirect ¶
func (o *UpdateDerivedLabelConflict) IsRedirect() bool
IsRedirect returns true when this update derived label conflict response has a 3xx status code
func (*UpdateDerivedLabelConflict) IsServerError ¶
func (o *UpdateDerivedLabelConflict) IsServerError() bool
IsServerError returns true when this update derived label conflict response has a 5xx status code
func (*UpdateDerivedLabelConflict) IsSuccess ¶
func (o *UpdateDerivedLabelConflict) IsSuccess() bool
IsSuccess returns true when this update derived label conflict response has a 2xx status code
func (*UpdateDerivedLabelConflict) String ¶
func (o *UpdateDerivedLabelConflict) String() string
type UpdateDerivedLabelDefault ¶
type UpdateDerivedLabelDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateDerivedLabelDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateDerivedLabelDefault ¶
func NewUpdateDerivedLabelDefault(code int) *UpdateDerivedLabelDefault
NewUpdateDerivedLabelDefault creates a UpdateDerivedLabelDefault with default headers values
func (*UpdateDerivedLabelDefault) Code ¶
func (o *UpdateDerivedLabelDefault) Code() int
Code gets the status code for the update derived label default response
func (*UpdateDerivedLabelDefault) Error ¶
func (o *UpdateDerivedLabelDefault) Error() string
func (*UpdateDerivedLabelDefault) GetPayload ¶
func (o *UpdateDerivedLabelDefault) GetPayload() models.GenericError
func (*UpdateDerivedLabelDefault) IsClientError ¶
func (o *UpdateDerivedLabelDefault) IsClientError() bool
IsClientError returns true when this update derived label default response has a 4xx status code
func (*UpdateDerivedLabelDefault) IsCode ¶
func (o *UpdateDerivedLabelDefault) IsCode(code int) bool
IsCode returns true when this update derived label default response a status code equal to that given
func (*UpdateDerivedLabelDefault) IsRedirect ¶
func (o *UpdateDerivedLabelDefault) IsRedirect() bool
IsRedirect returns true when this update derived label default response has a 3xx status code
func (*UpdateDerivedLabelDefault) IsServerError ¶
func (o *UpdateDerivedLabelDefault) IsServerError() bool
IsServerError returns true when this update derived label default response has a 5xx status code
func (*UpdateDerivedLabelDefault) IsSuccess ¶
func (o *UpdateDerivedLabelDefault) IsSuccess() bool
IsSuccess returns true when this update derived label default response has a 2xx status code
func (*UpdateDerivedLabelDefault) String ¶
func (o *UpdateDerivedLabelDefault) String() string
type UpdateDerivedLabelInternalServerError ¶
UpdateDerivedLabelInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateDerivedLabelInternalServerError ¶
func NewUpdateDerivedLabelInternalServerError() *UpdateDerivedLabelInternalServerError
NewUpdateDerivedLabelInternalServerError creates a UpdateDerivedLabelInternalServerError with default headers values
func (*UpdateDerivedLabelInternalServerError) Code ¶
func (o *UpdateDerivedLabelInternalServerError) Code() int
Code gets the status code for the update derived label internal server error response
func (*UpdateDerivedLabelInternalServerError) Error ¶
func (o *UpdateDerivedLabelInternalServerError) Error() string
func (*UpdateDerivedLabelInternalServerError) GetPayload ¶
func (o *UpdateDerivedLabelInternalServerError) GetPayload() *models.APIError
func (*UpdateDerivedLabelInternalServerError) IsClientError ¶
func (o *UpdateDerivedLabelInternalServerError) IsClientError() bool
IsClientError returns true when this update derived label internal server error response has a 4xx status code
func (*UpdateDerivedLabelInternalServerError) IsCode ¶
func (o *UpdateDerivedLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this update derived label internal server error response a status code equal to that given
func (*UpdateDerivedLabelInternalServerError) IsRedirect ¶
func (o *UpdateDerivedLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this update derived label internal server error response has a 3xx status code
func (*UpdateDerivedLabelInternalServerError) IsServerError ¶
func (o *UpdateDerivedLabelInternalServerError) IsServerError() bool
IsServerError returns true when this update derived label internal server error response has a 5xx status code
func (*UpdateDerivedLabelInternalServerError) IsSuccess ¶
func (o *UpdateDerivedLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this update derived label internal server error response has a 2xx status code
func (*UpdateDerivedLabelInternalServerError) String ¶
func (o *UpdateDerivedLabelInternalServerError) String() string
type UpdateDerivedLabelNotFound ¶
UpdateDerivedLabelNotFound describes a response with status code 404, with default header values.
Cannot update the DerivedLabel because the slug does not exist.
func NewUpdateDerivedLabelNotFound ¶
func NewUpdateDerivedLabelNotFound() *UpdateDerivedLabelNotFound
NewUpdateDerivedLabelNotFound creates a UpdateDerivedLabelNotFound with default headers values
func (*UpdateDerivedLabelNotFound) Code ¶
func (o *UpdateDerivedLabelNotFound) Code() int
Code gets the status code for the update derived label not found response
func (*UpdateDerivedLabelNotFound) Error ¶
func (o *UpdateDerivedLabelNotFound) Error() string
func (*UpdateDerivedLabelNotFound) GetPayload ¶
func (o *UpdateDerivedLabelNotFound) GetPayload() *models.APIError
func (*UpdateDerivedLabelNotFound) IsClientError ¶
func (o *UpdateDerivedLabelNotFound) IsClientError() bool
IsClientError returns true when this update derived label not found response has a 4xx status code
func (*UpdateDerivedLabelNotFound) IsCode ¶
func (o *UpdateDerivedLabelNotFound) IsCode(code int) bool
IsCode returns true when this update derived label not found response a status code equal to that given
func (*UpdateDerivedLabelNotFound) IsRedirect ¶
func (o *UpdateDerivedLabelNotFound) IsRedirect() bool
IsRedirect returns true when this update derived label not found response has a 3xx status code
func (*UpdateDerivedLabelNotFound) IsServerError ¶
func (o *UpdateDerivedLabelNotFound) IsServerError() bool
IsServerError returns true when this update derived label not found response has a 5xx status code
func (*UpdateDerivedLabelNotFound) IsSuccess ¶
func (o *UpdateDerivedLabelNotFound) IsSuccess() bool
IsSuccess returns true when this update derived label not found response has a 2xx status code
func (*UpdateDerivedLabelNotFound) String ¶
func (o *UpdateDerivedLabelNotFound) String() string
type UpdateDerivedLabelOK ¶
type UpdateDerivedLabelOK struct {
Payload *models.Configv1UpdateDerivedLabelResponse
}
UpdateDerivedLabelOK describes a response with status code 200, with default header values.
A successful response containing the updated DerivedLabel.
func NewUpdateDerivedLabelOK ¶
func NewUpdateDerivedLabelOK() *UpdateDerivedLabelOK
NewUpdateDerivedLabelOK creates a UpdateDerivedLabelOK with default headers values
func (*UpdateDerivedLabelOK) Code ¶
func (o *UpdateDerivedLabelOK) Code() int
Code gets the status code for the update derived label o k response
func (*UpdateDerivedLabelOK) Error ¶
func (o *UpdateDerivedLabelOK) Error() string
func (*UpdateDerivedLabelOK) GetPayload ¶
func (o *UpdateDerivedLabelOK) GetPayload() *models.Configv1UpdateDerivedLabelResponse
func (*UpdateDerivedLabelOK) IsClientError ¶
func (o *UpdateDerivedLabelOK) IsClientError() bool
IsClientError returns true when this update derived label o k response has a 4xx status code
func (*UpdateDerivedLabelOK) IsCode ¶
func (o *UpdateDerivedLabelOK) IsCode(code int) bool
IsCode returns true when this update derived label o k response a status code equal to that given
func (*UpdateDerivedLabelOK) IsRedirect ¶
func (o *UpdateDerivedLabelOK) IsRedirect() bool
IsRedirect returns true when this update derived label o k response has a 3xx status code
func (*UpdateDerivedLabelOK) IsServerError ¶
func (o *UpdateDerivedLabelOK) IsServerError() bool
IsServerError returns true when this update derived label o k response has a 5xx status code
func (*UpdateDerivedLabelOK) IsSuccess ¶
func (o *UpdateDerivedLabelOK) IsSuccess() bool
IsSuccess returns true when this update derived label o k response has a 2xx status code
func (*UpdateDerivedLabelOK) String ¶
func (o *UpdateDerivedLabelOK) String() string
type UpdateDerivedLabelParams ¶
type UpdateDerivedLabelParams struct { // Body. Body *models.ConfigV1UpdateDerivedLabelBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDerivedLabelParams contains all the parameters to send to the API endpoint
for the update derived label operation. Typically these are written to a http.Request.
func NewUpdateDerivedLabelParams ¶
func NewUpdateDerivedLabelParams() *UpdateDerivedLabelParams
NewUpdateDerivedLabelParams creates a new UpdateDerivedLabelParams 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 NewUpdateDerivedLabelParamsWithContext ¶
func NewUpdateDerivedLabelParamsWithContext(ctx context.Context) *UpdateDerivedLabelParams
NewUpdateDerivedLabelParamsWithContext creates a new UpdateDerivedLabelParams object with the ability to set a context for a request.
func NewUpdateDerivedLabelParamsWithHTTPClient ¶
func NewUpdateDerivedLabelParamsWithHTTPClient(client *http.Client) *UpdateDerivedLabelParams
NewUpdateDerivedLabelParamsWithHTTPClient creates a new UpdateDerivedLabelParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDerivedLabelParamsWithTimeout ¶
func NewUpdateDerivedLabelParamsWithTimeout(timeout time.Duration) *UpdateDerivedLabelParams
NewUpdateDerivedLabelParamsWithTimeout creates a new UpdateDerivedLabelParams object with the ability to set a timeout on a request.
func (*UpdateDerivedLabelParams) SetBody ¶
func (o *UpdateDerivedLabelParams) SetBody(body *models.ConfigV1UpdateDerivedLabelBody)
SetBody adds the body to the update derived label params
func (*UpdateDerivedLabelParams) SetContext ¶
func (o *UpdateDerivedLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the update derived label params
func (*UpdateDerivedLabelParams) SetDefaults ¶
func (o *UpdateDerivedLabelParams) SetDefaults()
SetDefaults hydrates default values in the update derived label params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDerivedLabelParams) SetHTTPClient ¶
func (o *UpdateDerivedLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update derived label params
func (*UpdateDerivedLabelParams) SetSlug ¶
func (o *UpdateDerivedLabelParams) SetSlug(slug string)
SetSlug adds the slug to the update derived label params
func (*UpdateDerivedLabelParams) SetTimeout ¶
func (o *UpdateDerivedLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update derived label params
func (*UpdateDerivedLabelParams) WithBody ¶
func (o *UpdateDerivedLabelParams) WithBody(body *models.ConfigV1UpdateDerivedLabelBody) *UpdateDerivedLabelParams
WithBody adds the body to the update derived label params
func (*UpdateDerivedLabelParams) WithContext ¶
func (o *UpdateDerivedLabelParams) WithContext(ctx context.Context) *UpdateDerivedLabelParams
WithContext adds the context to the update derived label params
func (*UpdateDerivedLabelParams) WithDefaults ¶
func (o *UpdateDerivedLabelParams) WithDefaults() *UpdateDerivedLabelParams
WithDefaults hydrates default values in the update derived label params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDerivedLabelParams) WithHTTPClient ¶
func (o *UpdateDerivedLabelParams) WithHTTPClient(client *http.Client) *UpdateDerivedLabelParams
WithHTTPClient adds the HTTPClient to the update derived label params
func (*UpdateDerivedLabelParams) WithSlug ¶
func (o *UpdateDerivedLabelParams) WithSlug(slug string) *UpdateDerivedLabelParams
WithSlug adds the slug to the update derived label params
func (*UpdateDerivedLabelParams) WithTimeout ¶
func (o *UpdateDerivedLabelParams) WithTimeout(timeout time.Duration) *UpdateDerivedLabelParams
WithTimeout adds the timeout to the update derived label params
func (*UpdateDerivedLabelParams) WriteToRequest ¶
func (o *UpdateDerivedLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDerivedLabelReader ¶
type UpdateDerivedLabelReader struct {
// contains filtered or unexported fields
}
UpdateDerivedLabelReader is a Reader for the UpdateDerivedLabel structure.
func (*UpdateDerivedLabelReader) ReadResponse ¶
func (o *UpdateDerivedLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_derived_label_parameters.go
- create_derived_label_responses.go
- delete_derived_label_parameters.go
- delete_derived_label_responses.go
- derived_label_client.go
- list_derived_labels_parameters.go
- list_derived_labels_responses.go
- read_derived_label_parameters.go
- read_derived_label_responses.go
- update_derived_label_parameters.go
- update_derived_label_responses.go