constraint

package
v0.0.0-...-192cafe Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 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 constraint API

func (*Client) CreateDefaultConstraint

func (a *Client) CreateDefaultConstraint(params *CreateDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDefaultConstraintOK, error)

CreateDefaultConstraint Creates default constraint

func (*Client) GetDefaultConstraint

func (a *Client) GetDefaultConstraint(params *GetDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultConstraintOK, error)

GetDefaultConstraint Gets an specified default constraint

func (*Client) ListDefaultConstraint

func (a *Client) ListDefaultConstraint(params *ListDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDefaultConstraintOK, error)

ListDefaultConstraint lists default constraint

func (*Client) PatchDefaultConstraint

func (a *Client) PatchDefaultConstraint(params *PatchDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchDefaultConstraintOK, error)

PatchDefaultConstraint Patch a specified default constraint

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateDefaultConstraint(params *CreateDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDefaultConstraintOK, error)

	GetDefaultConstraint(params *GetDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultConstraintOK, error)

	ListDefaultConstraint(params *ListDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDefaultConstraintOK, error)

	PatchDefaultConstraint(params *PatchDefaultConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchDefaultConstraintOK, 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 constraint API client.

type CreateDefaultConstraintDefault

type CreateDefaultConstraintDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateDefaultConstraintDefault describes a response with status code -1, with default header values.

errorResponse

func NewCreateDefaultConstraintDefault

func NewCreateDefaultConstraintDefault(code int) *CreateDefaultConstraintDefault

NewCreateDefaultConstraintDefault creates a CreateDefaultConstraintDefault with default headers values

func (*CreateDefaultConstraintDefault) Code

Code gets the status code for the create default constraint default response

func (*CreateDefaultConstraintDefault) Error

func (*CreateDefaultConstraintDefault) GetPayload

type CreateDefaultConstraintForbidden

type CreateDefaultConstraintForbidden struct {
}
CreateDefaultConstraintForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewCreateDefaultConstraintForbidden

func NewCreateDefaultConstraintForbidden() *CreateDefaultConstraintForbidden

NewCreateDefaultConstraintForbidden creates a CreateDefaultConstraintForbidden with default headers values

func (*CreateDefaultConstraintForbidden) Error

type CreateDefaultConstraintOK

type CreateDefaultConstraintOK struct {
	Payload *models.Constraint
}
CreateDefaultConstraintOK describes a response with status code 200, with default header values.

Constraint

func NewCreateDefaultConstraintOK

func NewCreateDefaultConstraintOK() *CreateDefaultConstraintOK

NewCreateDefaultConstraintOK creates a CreateDefaultConstraintOK with default headers values

func (*CreateDefaultConstraintOK) Error

func (o *CreateDefaultConstraintOK) Error() string

func (*CreateDefaultConstraintOK) GetPayload

func (o *CreateDefaultConstraintOK) GetPayload() *models.Constraint

type CreateDefaultConstraintParams

type CreateDefaultConstraintParams struct {

	// Body.
	Body *models.ConstraintBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateDefaultConstraintParams contains all the parameters to send to the API endpoint

for the create default constraint operation.

Typically these are written to a http.Request.

func NewCreateDefaultConstraintParams

func NewCreateDefaultConstraintParams() *CreateDefaultConstraintParams

NewCreateDefaultConstraintParams creates a new CreateDefaultConstraintParams 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 NewCreateDefaultConstraintParamsWithContext

func NewCreateDefaultConstraintParamsWithContext(ctx context.Context) *CreateDefaultConstraintParams

NewCreateDefaultConstraintParamsWithContext creates a new CreateDefaultConstraintParams object with the ability to set a context for a request.

func NewCreateDefaultConstraintParamsWithHTTPClient

func NewCreateDefaultConstraintParamsWithHTTPClient(client *http.Client) *CreateDefaultConstraintParams

NewCreateDefaultConstraintParamsWithHTTPClient creates a new CreateDefaultConstraintParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDefaultConstraintParamsWithTimeout

func NewCreateDefaultConstraintParamsWithTimeout(timeout time.Duration) *CreateDefaultConstraintParams

NewCreateDefaultConstraintParamsWithTimeout creates a new CreateDefaultConstraintParams object with the ability to set a timeout on a request.

func (*CreateDefaultConstraintParams) SetBody

SetBody adds the body to the create default constraint params

func (*CreateDefaultConstraintParams) SetContext

func (o *CreateDefaultConstraintParams) SetContext(ctx context.Context)

SetContext adds the context to the create default constraint params

func (*CreateDefaultConstraintParams) SetDefaults

func (o *CreateDefaultConstraintParams) SetDefaults()

SetDefaults hydrates default values in the create default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDefaultConstraintParams) SetHTTPClient

func (o *CreateDefaultConstraintParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create default constraint params

func (*CreateDefaultConstraintParams) SetTimeout

func (o *CreateDefaultConstraintParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create default constraint params

func (*CreateDefaultConstraintParams) WithBody

WithBody adds the body to the create default constraint params

func (*CreateDefaultConstraintParams) WithContext

WithContext adds the context to the create default constraint params

func (*CreateDefaultConstraintParams) WithDefaults

WithDefaults hydrates default values in the create default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDefaultConstraintParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create default constraint params

func (*CreateDefaultConstraintParams) WithTimeout

WithTimeout adds the timeout to the create default constraint params

func (*CreateDefaultConstraintParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDefaultConstraintReader

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

CreateDefaultConstraintReader is a Reader for the CreateDefaultConstraint structure.

func (*CreateDefaultConstraintReader) ReadResponse

func (o *CreateDefaultConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateDefaultConstraintUnauthorized

type CreateDefaultConstraintUnauthorized struct {
}
CreateDefaultConstraintUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewCreateDefaultConstraintUnauthorized

func NewCreateDefaultConstraintUnauthorized() *CreateDefaultConstraintUnauthorized

NewCreateDefaultConstraintUnauthorized creates a CreateDefaultConstraintUnauthorized with default headers values

func (*CreateDefaultConstraintUnauthorized) Error

type GetDefaultConstraintDefault

type GetDefaultConstraintDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
GetDefaultConstraintDefault describes a response with status code -1, with default header values.

errorResponse

func NewGetDefaultConstraintDefault

func NewGetDefaultConstraintDefault(code int) *GetDefaultConstraintDefault

NewGetDefaultConstraintDefault creates a GetDefaultConstraintDefault with default headers values

func (*GetDefaultConstraintDefault) Code

func (o *GetDefaultConstraintDefault) Code() int

Code gets the status code for the get default constraint default response

func (*GetDefaultConstraintDefault) Error

func (*GetDefaultConstraintDefault) GetPayload

type GetDefaultConstraintForbidden

type GetDefaultConstraintForbidden struct {
}
GetDefaultConstraintForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewGetDefaultConstraintForbidden

func NewGetDefaultConstraintForbidden() *GetDefaultConstraintForbidden

NewGetDefaultConstraintForbidden creates a GetDefaultConstraintForbidden with default headers values

func (*GetDefaultConstraintForbidden) Error

type GetDefaultConstraintOK

type GetDefaultConstraintOK struct {
	Payload *models.Constraint
}
GetDefaultConstraintOK describes a response with status code 200, with default header values.

Constraint

func NewGetDefaultConstraintOK

func NewGetDefaultConstraintOK() *GetDefaultConstraintOK

NewGetDefaultConstraintOK creates a GetDefaultConstraintOK with default headers values

func (*GetDefaultConstraintOK) Error

func (o *GetDefaultConstraintOK) Error() string

func (*GetDefaultConstraintOK) GetPayload

func (o *GetDefaultConstraintOK) GetPayload() *models.Constraint

type GetDefaultConstraintParams

type GetDefaultConstraintParams struct {

	// ConstraintName.
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDefaultConstraintParams contains all the parameters to send to the API endpoint

for the get default constraint operation.

Typically these are written to a http.Request.

func NewGetDefaultConstraintParams

func NewGetDefaultConstraintParams() *GetDefaultConstraintParams

NewGetDefaultConstraintParams creates a new GetDefaultConstraintParams 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 NewGetDefaultConstraintParamsWithContext

func NewGetDefaultConstraintParamsWithContext(ctx context.Context) *GetDefaultConstraintParams

NewGetDefaultConstraintParamsWithContext creates a new GetDefaultConstraintParams object with the ability to set a context for a request.

func NewGetDefaultConstraintParamsWithHTTPClient

func NewGetDefaultConstraintParamsWithHTTPClient(client *http.Client) *GetDefaultConstraintParams

NewGetDefaultConstraintParamsWithHTTPClient creates a new GetDefaultConstraintParams object with the ability to set a custom HTTPClient for a request.

func NewGetDefaultConstraintParamsWithTimeout

func NewGetDefaultConstraintParamsWithTimeout(timeout time.Duration) *GetDefaultConstraintParams

NewGetDefaultConstraintParamsWithTimeout creates a new GetDefaultConstraintParams object with the ability to set a timeout on a request.

func (*GetDefaultConstraintParams) SetContext

func (o *GetDefaultConstraintParams) SetContext(ctx context.Context)

SetContext adds the context to the get default constraint params

func (*GetDefaultConstraintParams) SetDefaults

func (o *GetDefaultConstraintParams) SetDefaults()

SetDefaults hydrates default values in the get default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*GetDefaultConstraintParams) SetHTTPClient

func (o *GetDefaultConstraintParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get default constraint params

func (*GetDefaultConstraintParams) SetName

func (o *GetDefaultConstraintParams) SetName(constraintName string)

SetName adds the constraintName to the get default constraint params

func (*GetDefaultConstraintParams) SetTimeout

func (o *GetDefaultConstraintParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get default constraint params

func (*GetDefaultConstraintParams) WithContext

WithContext adds the context to the get default constraint params

func (*GetDefaultConstraintParams) WithDefaults

WithDefaults hydrates default values in the get default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*GetDefaultConstraintParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get default constraint params

func (*GetDefaultConstraintParams) WithName

func (o *GetDefaultConstraintParams) WithName(constraintName string) *GetDefaultConstraintParams

WithName adds the constraintName to the get default constraint params

func (*GetDefaultConstraintParams) WithTimeout

WithTimeout adds the timeout to the get default constraint params

func (*GetDefaultConstraintParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDefaultConstraintReader

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

GetDefaultConstraintReader is a Reader for the GetDefaultConstraint structure.

func (*GetDefaultConstraintReader) ReadResponse

func (o *GetDefaultConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDefaultConstraintUnauthorized

type GetDefaultConstraintUnauthorized struct {
}
GetDefaultConstraintUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetDefaultConstraintUnauthorized

func NewGetDefaultConstraintUnauthorized() *GetDefaultConstraintUnauthorized

NewGetDefaultConstraintUnauthorized creates a GetDefaultConstraintUnauthorized with default headers values

func (*GetDefaultConstraintUnauthorized) Error

type ListDefaultConstraintDefault

type ListDefaultConstraintDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListDefaultConstraintDefault describes a response with status code -1, with default header values.

errorResponse

func NewListDefaultConstraintDefault

func NewListDefaultConstraintDefault(code int) *ListDefaultConstraintDefault

NewListDefaultConstraintDefault creates a ListDefaultConstraintDefault with default headers values

func (*ListDefaultConstraintDefault) Code

Code gets the status code for the list default constraint default response

func (*ListDefaultConstraintDefault) Error

func (*ListDefaultConstraintDefault) GetPayload

type ListDefaultConstraintForbidden

type ListDefaultConstraintForbidden struct {
}
ListDefaultConstraintForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListDefaultConstraintForbidden

func NewListDefaultConstraintForbidden() *ListDefaultConstraintForbidden

NewListDefaultConstraintForbidden creates a ListDefaultConstraintForbidden with default headers values

func (*ListDefaultConstraintForbidden) Error

type ListDefaultConstraintOK

type ListDefaultConstraintOK struct {
	Payload []*models.Constraint
}
ListDefaultConstraintOK describes a response with status code 200, with default header values.

Constraint

func NewListDefaultConstraintOK

func NewListDefaultConstraintOK() *ListDefaultConstraintOK

NewListDefaultConstraintOK creates a ListDefaultConstraintOK with default headers values

func (*ListDefaultConstraintOK) Error

func (o *ListDefaultConstraintOK) Error() string

func (*ListDefaultConstraintOK) GetPayload

func (o *ListDefaultConstraintOK) GetPayload() []*models.Constraint

type ListDefaultConstraintParams

type ListDefaultConstraintParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListDefaultConstraintParams contains all the parameters to send to the API endpoint

for the list default constraint operation.

Typically these are written to a http.Request.

func NewListDefaultConstraintParams

func NewListDefaultConstraintParams() *ListDefaultConstraintParams

NewListDefaultConstraintParams creates a new ListDefaultConstraintParams 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 NewListDefaultConstraintParamsWithContext

func NewListDefaultConstraintParamsWithContext(ctx context.Context) *ListDefaultConstraintParams

NewListDefaultConstraintParamsWithContext creates a new ListDefaultConstraintParams object with the ability to set a context for a request.

func NewListDefaultConstraintParamsWithHTTPClient

func NewListDefaultConstraintParamsWithHTTPClient(client *http.Client) *ListDefaultConstraintParams

NewListDefaultConstraintParamsWithHTTPClient creates a new ListDefaultConstraintParams object with the ability to set a custom HTTPClient for a request.

func NewListDefaultConstraintParamsWithTimeout

func NewListDefaultConstraintParamsWithTimeout(timeout time.Duration) *ListDefaultConstraintParams

NewListDefaultConstraintParamsWithTimeout creates a new ListDefaultConstraintParams object with the ability to set a timeout on a request.

func (*ListDefaultConstraintParams) SetContext

func (o *ListDefaultConstraintParams) SetContext(ctx context.Context)

SetContext adds the context to the list default constraint params

func (*ListDefaultConstraintParams) SetDefaults

func (o *ListDefaultConstraintParams) SetDefaults()

SetDefaults hydrates default values in the list default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*ListDefaultConstraintParams) SetHTTPClient

func (o *ListDefaultConstraintParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list default constraint params

func (*ListDefaultConstraintParams) SetTimeout

func (o *ListDefaultConstraintParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list default constraint params

func (*ListDefaultConstraintParams) WithContext

WithContext adds the context to the list default constraint params

func (*ListDefaultConstraintParams) WithDefaults

WithDefaults hydrates default values in the list default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*ListDefaultConstraintParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list default constraint params

func (*ListDefaultConstraintParams) WithTimeout

WithTimeout adds the timeout to the list default constraint params

func (*ListDefaultConstraintParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListDefaultConstraintReader

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

ListDefaultConstraintReader is a Reader for the ListDefaultConstraint structure.

func (*ListDefaultConstraintReader) ReadResponse

func (o *ListDefaultConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListDefaultConstraintUnauthorized

type ListDefaultConstraintUnauthorized struct {
}
ListDefaultConstraintUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListDefaultConstraintUnauthorized

func NewListDefaultConstraintUnauthorized() *ListDefaultConstraintUnauthorized

NewListDefaultConstraintUnauthorized creates a ListDefaultConstraintUnauthorized with default headers values

func (*ListDefaultConstraintUnauthorized) Error

type PatchDefaultConstraintDefault

type PatchDefaultConstraintDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
PatchDefaultConstraintDefault describes a response with status code -1, with default header values.

errorResponse

func NewPatchDefaultConstraintDefault

func NewPatchDefaultConstraintDefault(code int) *PatchDefaultConstraintDefault

NewPatchDefaultConstraintDefault creates a PatchDefaultConstraintDefault with default headers values

func (*PatchDefaultConstraintDefault) Code

Code gets the status code for the patch default constraint default response

func (*PatchDefaultConstraintDefault) Error

func (*PatchDefaultConstraintDefault) GetPayload

type PatchDefaultConstraintForbidden

type PatchDefaultConstraintForbidden struct {
}
PatchDefaultConstraintForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewPatchDefaultConstraintForbidden

func NewPatchDefaultConstraintForbidden() *PatchDefaultConstraintForbidden

NewPatchDefaultConstraintForbidden creates a PatchDefaultConstraintForbidden with default headers values

func (*PatchDefaultConstraintForbidden) Error

type PatchDefaultConstraintOK

type PatchDefaultConstraintOK struct {
	Payload *models.Constraint
}
PatchDefaultConstraintOK describes a response with status code 200, with default header values.

Constraint

func NewPatchDefaultConstraintOK

func NewPatchDefaultConstraintOK() *PatchDefaultConstraintOK

NewPatchDefaultConstraintOK creates a PatchDefaultConstraintOK with default headers values

func (*PatchDefaultConstraintOK) Error

func (o *PatchDefaultConstraintOK) Error() string

func (*PatchDefaultConstraintOK) GetPayload

func (o *PatchDefaultConstraintOK) GetPayload() *models.Constraint

type PatchDefaultConstraintParams

type PatchDefaultConstraintParams struct {

	// Patch.
	Patch interface{}

	// ConstraintName.
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchDefaultConstraintParams contains all the parameters to send to the API endpoint

for the patch default constraint operation.

Typically these are written to a http.Request.

func NewPatchDefaultConstraintParams

func NewPatchDefaultConstraintParams() *PatchDefaultConstraintParams

NewPatchDefaultConstraintParams creates a new PatchDefaultConstraintParams 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 NewPatchDefaultConstraintParamsWithContext

func NewPatchDefaultConstraintParamsWithContext(ctx context.Context) *PatchDefaultConstraintParams

NewPatchDefaultConstraintParamsWithContext creates a new PatchDefaultConstraintParams object with the ability to set a context for a request.

func NewPatchDefaultConstraintParamsWithHTTPClient

func NewPatchDefaultConstraintParamsWithHTTPClient(client *http.Client) *PatchDefaultConstraintParams

NewPatchDefaultConstraintParamsWithHTTPClient creates a new PatchDefaultConstraintParams object with the ability to set a custom HTTPClient for a request.

func NewPatchDefaultConstraintParamsWithTimeout

func NewPatchDefaultConstraintParamsWithTimeout(timeout time.Duration) *PatchDefaultConstraintParams

NewPatchDefaultConstraintParamsWithTimeout creates a new PatchDefaultConstraintParams object with the ability to set a timeout on a request.

func (*PatchDefaultConstraintParams) SetContext

func (o *PatchDefaultConstraintParams) SetContext(ctx context.Context)

SetContext adds the context to the patch default constraint params

func (*PatchDefaultConstraintParams) SetDefaults

func (o *PatchDefaultConstraintParams) SetDefaults()

SetDefaults hydrates default values in the patch default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*PatchDefaultConstraintParams) SetHTTPClient

func (o *PatchDefaultConstraintParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch default constraint params

func (*PatchDefaultConstraintParams) SetName

func (o *PatchDefaultConstraintParams) SetName(constraintName string)

SetName adds the constraintName to the patch default constraint params

func (*PatchDefaultConstraintParams) SetPatch

func (o *PatchDefaultConstraintParams) SetPatch(patch interface{})

SetPatch adds the patch to the patch default constraint params

func (*PatchDefaultConstraintParams) SetTimeout

func (o *PatchDefaultConstraintParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch default constraint params

func (*PatchDefaultConstraintParams) WithContext

WithContext adds the context to the patch default constraint params

func (*PatchDefaultConstraintParams) WithDefaults

WithDefaults hydrates default values in the patch default constraint params (not the query body).

All values with no default are reset to their zero value.

func (*PatchDefaultConstraintParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch default constraint params

func (*PatchDefaultConstraintParams) WithName

WithName adds the constraintName to the patch default constraint params

func (*PatchDefaultConstraintParams) WithPatch

func (o *PatchDefaultConstraintParams) WithPatch(patch interface{}) *PatchDefaultConstraintParams

WithPatch adds the patch to the patch default constraint params

func (*PatchDefaultConstraintParams) WithTimeout

WithTimeout adds the timeout to the patch default constraint params

func (*PatchDefaultConstraintParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchDefaultConstraintReader

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

PatchDefaultConstraintReader is a Reader for the PatchDefaultConstraint structure.

func (*PatchDefaultConstraintReader) ReadResponse

func (o *PatchDefaultConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchDefaultConstraintUnauthorized

type PatchDefaultConstraintUnauthorized struct {
}
PatchDefaultConstraintUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewPatchDefaultConstraintUnauthorized

func NewPatchDefaultConstraintUnauthorized() *PatchDefaultConstraintUnauthorized

NewPatchDefaultConstraintUnauthorized creates a PatchDefaultConstraintUnauthorized with default headers values

func (*PatchDefaultConstraintUnauthorized) Error

Jump to

Keyboard shortcuts

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