derived_label

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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

type CreateDerivedLabelBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the create derived label bad request response

func (*CreateDerivedLabelBadRequest) Error

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

type CreateDerivedLabelConflict

type CreateDerivedLabelConflict struct {
	Payload *models.APIError
}

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 (*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 (*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

type CreateDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the create derived label internal server error response

func (*CreateDerivedLabelInternalServerError) Error

func (*CreateDerivedLabelInternalServerError) GetPayload

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

IsCode returns true when this create derived label internal server error response a status code equal to that given

func (*CreateDerivedLabelInternalServerError) IsRedirect

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

IsSuccess returns true when this create derived label internal server error response has a 2xx status code

func (*CreateDerivedLabelInternalServerError) 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 (*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

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

WithBody adds the body to the create derived label params

func (*CreateDerivedLabelParams) WithContext

WithContext adds the context to the create derived label params

func (*CreateDerivedLabelParams) WithDefaults

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

WithTimeout adds the timeout to the create derived label params

func (*CreateDerivedLabelParams) WriteToRequest

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

type DeleteDerivedLabelBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete derived label bad request response

func (*DeleteDerivedLabelBadRequest) Error

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

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 (*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

type DeleteDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete derived label internal server error response

func (*DeleteDerivedLabelInternalServerError) Error

func (*DeleteDerivedLabelInternalServerError) GetPayload

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

IsCode returns true when this delete derived label internal server error response a status code equal to that given

func (*DeleteDerivedLabelInternalServerError) IsRedirect

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

IsSuccess returns true when this delete derived label internal server error response has a 2xx status code

func (*DeleteDerivedLabelInternalServerError) String

type DeleteDerivedLabelNotFound

type DeleteDerivedLabelNotFound struct {
	Payload *models.APIError
}

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 (*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 (*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

WithContext adds the context to the delete derived label params

func (*DeleteDerivedLabelParams) WithDefaults

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

WithSlug adds the slug to the delete derived label params

func (*DeleteDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the delete derived label params

func (*DeleteDerivedLabelParams) WriteToRequest

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 (*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

type ListDerivedLabelsInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the list derived labels internal server error response

func (*ListDerivedLabelsInternalServerError) Error

func (*ListDerivedLabelsInternalServerError) GetPayload

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

IsCode returns true when this list derived labels internal server error response a status code equal to that given

func (*ListDerivedLabelsInternalServerError) IsRedirect

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

IsSuccess returns true when this list derived labels internal server error response has a 2xx status code

func (*ListDerivedLabelsInternalServerError) 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 (*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

WithContext adds the context to the list derived labels params

func (*ListDerivedLabelsParams) WithDefaults

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

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

WithSlugs adds the slugs to the list derived labels params

func (*ListDerivedLabelsParams) WithTimeout

WithTimeout adds the timeout to the list derived labels params

func (*ListDerivedLabelsParams) WriteToRequest

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 (*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

type ReadDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the read derived label internal server error response

func (*ReadDerivedLabelInternalServerError) Error

func (*ReadDerivedLabelInternalServerError) GetPayload

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

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

IsSuccess returns true when this read derived label internal server error response has a 2xx status code

func (*ReadDerivedLabelInternalServerError) String

type ReadDerivedLabelNotFound

type ReadDerivedLabelNotFound struct {
	Payload *models.APIError
}

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 (*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

WithContext adds the context to the read derived label params

func (*ReadDerivedLabelParams) WithDefaults

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

WithSlug adds the slug to the read derived label params

func (*ReadDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the read derived label params

func (*ReadDerivedLabelParams) WriteToRequest

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

type UpdateDerivedLabelBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the update derived label bad request response

func (*UpdateDerivedLabelBadRequest) Error

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

type UpdateDerivedLabelConflict

type UpdateDerivedLabelConflict struct {
	Payload *models.APIError
}

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 (*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 (*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

type UpdateDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the update derived label internal server error response

func (*UpdateDerivedLabelInternalServerError) Error

func (*UpdateDerivedLabelInternalServerError) GetPayload

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

IsCode returns true when this update derived label internal server error response a status code equal to that given

func (*UpdateDerivedLabelInternalServerError) IsRedirect

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

IsSuccess returns true when this update derived label internal server error response has a 2xx status code

func (*UpdateDerivedLabelInternalServerError) String

type UpdateDerivedLabelNotFound

type UpdateDerivedLabelNotFound struct {
	Payload *models.APIError
}

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 (*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 (*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

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

WithBody adds the body to the update derived label params

func (*UpdateDerivedLabelParams) WithContext

WithContext adds the context to the update derived label params

func (*UpdateDerivedLabelParams) WithDefaults

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

WithSlug adds the slug to the update derived label params

func (*UpdateDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the update derived label params

func (*UpdateDerivedLabelParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL