policy

package
v1.16.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 59

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 policy API

func (*Client) DeleteFqdnCache added in v0.15.7

func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
DeleteFqdnCache deletes matching DNS lookups from the policy generation cache

Deletes matching DNS lookups from the cache, optionally restricted by

DNS name. The removed IP data will no longer be used in generated policies.

func (*Client) DeletePolicy added in v0.9.0

func (a *Client) DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error)

DeletePolicy deletes a policy sub tree

func (*Client) GetFqdnCache added in v0.15.7

func (a *Client) GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
GetFqdnCache retrieves the list of DNS lookups intercepted from all endpoints

Retrieves the list of DNS lookups intercepted from endpoints,

optionally filtered by DNS name, CIDR IP range or source.

func (*Client) GetFqdnCacheID added in v0.15.7

func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
GetFqdnCacheID retrieves the list of DNS lookups intercepted from an endpoint

Retrieves the list of DNS lookups intercepted from the specific endpoint,

optionally filtered by endpoint id, DNS name, CIDR IP range or source.

func (*Client) GetFqdnNames added in v0.15.7

func (a *Client) GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
GetFqdnNames lists internal DNS selector representations

Retrieves the list of DNS-related fields (names to poll, selectors and

their corresponding regexes).

func (*Client) GetIP added in v0.15.7

func (a *Client) GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
GetIP lists information about known IP addresses

Retrieves a list of IPs with known associated information such as

their identities, host addresses, Kubernetes pod names, etc. The list can optionally filtered by a CIDR IP range.

func (*Client) GetIdentity

func (a *Client) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)

GetIdentity retrieves a list of identities that have metadata matching the provided parameters

Retrieves a list of identities that have metadata matching the provided parameters, or all identities if no parameters are provided.

func (*Client) GetIdentityEndpoints added in v0.15.7

func (a *Client) GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)

GetIdentityEndpoints retrieves identities which are being used by local endpoints

func (*Client) GetIdentityID

func (a *Client) GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)

GetIdentityID retrieves identity

func (*Client) GetPolicy

func (a *Client) GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)

GetPolicy retrieves entire policy tree

Returns the entire policy tree with all children.

func (*Client) GetPolicySelectors added in v0.15.7

func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)

GetPolicySelectors sees what selectors match which identities

func (*Client) PutPolicy added in v0.9.0

func (a *Client) PutPolicy(params *PutPolicyParams, opts ...ClientOption) (*PutPolicyOK, error)

PutPolicy creates or update a policy sub tree

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.15.7

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.15.7

type ClientService interface {
	DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)

	DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error)

	GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)

	GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)

	GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)

	GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)

	GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)

	GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)

	GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)

	GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)

	GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)

	PutPolicy(params *PutPolicyParams, opts ...ClientOption) (*PutPolicyOK, 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 policy API client.

type DeleteFqdnCacheBadRequest added in v0.15.7

type DeleteFqdnCacheBadRequest struct {
	Payload models.Error
}

DeleteFqdnCacheBadRequest describes a response with status code 400, with default header values.

Invalid request (error parsing parameters)

func NewDeleteFqdnCacheBadRequest added in v0.15.7

func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest

NewDeleteFqdnCacheBadRequest creates a DeleteFqdnCacheBadRequest with default headers values

func (*DeleteFqdnCacheBadRequest) Code added in v1.16.0

func (o *DeleteFqdnCacheBadRequest) Code() int

Code gets the status code for the delete fqdn cache bad request response

func (*DeleteFqdnCacheBadRequest) Error added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) Error() string

func (*DeleteFqdnCacheBadRequest) GetPayload added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) GetPayload() models.Error

func (*DeleteFqdnCacheBadRequest) IsClientError added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) IsClientError() bool

IsClientError returns true when this delete fqdn cache bad request response has a 4xx status code

func (*DeleteFqdnCacheBadRequest) IsCode added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) IsCode(code int) bool

IsCode returns true when this delete fqdn cache bad request response a status code equal to that given

func (*DeleteFqdnCacheBadRequest) IsRedirect added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) IsRedirect() bool

IsRedirect returns true when this delete fqdn cache bad request response has a 3xx status code

func (*DeleteFqdnCacheBadRequest) IsServerError added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) IsServerError() bool

IsServerError returns true when this delete fqdn cache bad request response has a 5xx status code

func (*DeleteFqdnCacheBadRequest) IsSuccess added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) IsSuccess() bool

IsSuccess returns true when this delete fqdn cache bad request response has a 2xx status code

func (*DeleteFqdnCacheBadRequest) String added in v0.15.7

func (o *DeleteFqdnCacheBadRequest) String() string

type DeleteFqdnCacheForbidden added in v0.15.7

type DeleteFqdnCacheForbidden struct {
}

DeleteFqdnCacheForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteFqdnCacheForbidden added in v0.15.7

func NewDeleteFqdnCacheForbidden() *DeleteFqdnCacheForbidden

NewDeleteFqdnCacheForbidden creates a DeleteFqdnCacheForbidden with default headers values

func (*DeleteFqdnCacheForbidden) Code added in v1.16.0

func (o *DeleteFqdnCacheForbidden) Code() int

Code gets the status code for the delete fqdn cache forbidden response

func (*DeleteFqdnCacheForbidden) Error added in v0.15.7

func (o *DeleteFqdnCacheForbidden) Error() string

func (*DeleteFqdnCacheForbidden) IsClientError added in v0.15.7

func (o *DeleteFqdnCacheForbidden) IsClientError() bool

IsClientError returns true when this delete fqdn cache forbidden response has a 4xx status code

func (*DeleteFqdnCacheForbidden) IsCode added in v0.15.7

func (o *DeleteFqdnCacheForbidden) IsCode(code int) bool

IsCode returns true when this delete fqdn cache forbidden response a status code equal to that given

func (*DeleteFqdnCacheForbidden) IsRedirect added in v0.15.7

func (o *DeleteFqdnCacheForbidden) IsRedirect() bool

IsRedirect returns true when this delete fqdn cache forbidden response has a 3xx status code

func (*DeleteFqdnCacheForbidden) IsServerError added in v0.15.7

func (o *DeleteFqdnCacheForbidden) IsServerError() bool

IsServerError returns true when this delete fqdn cache forbidden response has a 5xx status code

func (*DeleteFqdnCacheForbidden) IsSuccess added in v0.15.7

func (o *DeleteFqdnCacheForbidden) IsSuccess() bool

IsSuccess returns true when this delete fqdn cache forbidden response has a 2xx status code

func (*DeleteFqdnCacheForbidden) String added in v0.15.7

func (o *DeleteFqdnCacheForbidden) String() string

type DeleteFqdnCacheOK added in v0.15.7

type DeleteFqdnCacheOK struct {
}

DeleteFqdnCacheOK describes a response with status code 200, with default header values.

Success

func NewDeleteFqdnCacheOK added in v0.15.7

func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK

NewDeleteFqdnCacheOK creates a DeleteFqdnCacheOK with default headers values

func (*DeleteFqdnCacheOK) Code added in v1.16.0

func (o *DeleteFqdnCacheOK) Code() int

Code gets the status code for the delete fqdn cache o k response

func (*DeleteFqdnCacheOK) Error added in v0.15.7

func (o *DeleteFqdnCacheOK) Error() string

func (*DeleteFqdnCacheOK) IsClientError added in v0.15.7

func (o *DeleteFqdnCacheOK) IsClientError() bool

IsClientError returns true when this delete fqdn cache o k response has a 4xx status code

func (*DeleteFqdnCacheOK) IsCode added in v0.15.7

func (o *DeleteFqdnCacheOK) IsCode(code int) bool

IsCode returns true when this delete fqdn cache o k response a status code equal to that given

func (*DeleteFqdnCacheOK) IsRedirect added in v0.15.7

func (o *DeleteFqdnCacheOK) IsRedirect() bool

IsRedirect returns true when this delete fqdn cache o k response has a 3xx status code

func (*DeleteFqdnCacheOK) IsServerError added in v0.15.7

func (o *DeleteFqdnCacheOK) IsServerError() bool

IsServerError returns true when this delete fqdn cache o k response has a 5xx status code

func (*DeleteFqdnCacheOK) IsSuccess added in v0.15.7

func (o *DeleteFqdnCacheOK) IsSuccess() bool

IsSuccess returns true when this delete fqdn cache o k response has a 2xx status code

func (*DeleteFqdnCacheOK) String added in v0.15.7

func (o *DeleteFqdnCacheOK) String() string

type DeleteFqdnCacheParams added in v0.15.7

type DeleteFqdnCacheParams struct {

	/* Matchpattern.

	   A toFQDNs compatible matchPattern expression
	*/
	Matchpattern *string

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

DeleteFqdnCacheParams contains all the parameters to send to the API endpoint

for the delete fqdn cache operation.

Typically these are written to a http.Request.

func NewDeleteFqdnCacheParams added in v0.15.7

func NewDeleteFqdnCacheParams() *DeleteFqdnCacheParams

NewDeleteFqdnCacheParams creates a new DeleteFqdnCacheParams 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 NewDeleteFqdnCacheParamsWithContext added in v0.15.7

func NewDeleteFqdnCacheParamsWithContext(ctx context.Context) *DeleteFqdnCacheParams

NewDeleteFqdnCacheParamsWithContext creates a new DeleteFqdnCacheParams object with the ability to set a context for a request.

func NewDeleteFqdnCacheParamsWithHTTPClient added in v0.15.7

func NewDeleteFqdnCacheParamsWithHTTPClient(client *http.Client) *DeleteFqdnCacheParams

NewDeleteFqdnCacheParamsWithHTTPClient creates a new DeleteFqdnCacheParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFqdnCacheParamsWithTimeout added in v0.15.7

func NewDeleteFqdnCacheParamsWithTimeout(timeout time.Duration) *DeleteFqdnCacheParams

NewDeleteFqdnCacheParamsWithTimeout creates a new DeleteFqdnCacheParams object with the ability to set a timeout on a request.

func (*DeleteFqdnCacheParams) SetContext added in v0.15.7

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

SetContext adds the context to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetDefaults added in v0.15.7

func (o *DeleteFqdnCacheParams) SetDefaults()

SetDefaults hydrates default values in the delete fqdn cache params (not the query body).

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

func (*DeleteFqdnCacheParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetMatchpattern added in v0.15.7

func (o *DeleteFqdnCacheParams) SetMatchpattern(matchpattern *string)

SetMatchpattern adds the matchpattern to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithContext added in v0.15.7

WithContext adds the context to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithDefaults added in v0.15.7

func (o *DeleteFqdnCacheParams) WithDefaults() *DeleteFqdnCacheParams

WithDefaults hydrates default values in the delete fqdn cache params (not the query body).

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

func (*DeleteFqdnCacheParams) WithHTTPClient added in v0.15.7

func (o *DeleteFqdnCacheParams) WithHTTPClient(client *http.Client) *DeleteFqdnCacheParams

WithHTTPClient adds the HTTPClient to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithMatchpattern added in v0.15.7

func (o *DeleteFqdnCacheParams) WithMatchpattern(matchpattern *string) *DeleteFqdnCacheParams

WithMatchpattern adds the matchpattern to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithTimeout added in v0.15.7

func (o *DeleteFqdnCacheParams) WithTimeout(timeout time.Duration) *DeleteFqdnCacheParams

WithTimeout adds the timeout to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WriteToRequest added in v0.15.7

func (o *DeleteFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteFqdnCacheReader added in v0.15.7

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

DeleteFqdnCacheReader is a Reader for the DeleteFqdnCache structure.

func (*DeleteFqdnCacheReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type DeletePolicyFailure added in v0.9.0

type DeletePolicyFailure struct {
	Payload models.Error
}

DeletePolicyFailure describes a response with status code 500, with default header values.

Error while deleting policy

func NewDeletePolicyFailure added in v0.9.0

func NewDeletePolicyFailure() *DeletePolicyFailure

NewDeletePolicyFailure creates a DeletePolicyFailure with default headers values

func (*DeletePolicyFailure) Code added in v1.16.0

func (o *DeletePolicyFailure) Code() int

Code gets the status code for the delete policy failure response

func (*DeletePolicyFailure) Error added in v0.9.0

func (o *DeletePolicyFailure) Error() string

func (*DeletePolicyFailure) GetPayload added in v0.15.7

func (o *DeletePolicyFailure) GetPayload() models.Error

func (*DeletePolicyFailure) IsClientError added in v0.15.7

func (o *DeletePolicyFailure) IsClientError() bool

IsClientError returns true when this delete policy failure response has a 4xx status code

func (*DeletePolicyFailure) IsCode added in v0.15.7

func (o *DeletePolicyFailure) IsCode(code int) bool

IsCode returns true when this delete policy failure response a status code equal to that given

func (*DeletePolicyFailure) IsRedirect added in v0.15.7

func (o *DeletePolicyFailure) IsRedirect() bool

IsRedirect returns true when this delete policy failure response has a 3xx status code

func (*DeletePolicyFailure) IsServerError added in v0.15.7

func (o *DeletePolicyFailure) IsServerError() bool

IsServerError returns true when this delete policy failure response has a 5xx status code

func (*DeletePolicyFailure) IsSuccess added in v0.15.7

func (o *DeletePolicyFailure) IsSuccess() bool

IsSuccess returns true when this delete policy failure response has a 2xx status code

func (*DeletePolicyFailure) String added in v0.15.7

func (o *DeletePolicyFailure) String() string

type DeletePolicyForbidden added in v0.15.7

type DeletePolicyForbidden struct {
}

DeletePolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeletePolicyForbidden added in v0.15.7

func NewDeletePolicyForbidden() *DeletePolicyForbidden

NewDeletePolicyForbidden creates a DeletePolicyForbidden with default headers values

func (*DeletePolicyForbidden) Code added in v1.16.0

func (o *DeletePolicyForbidden) Code() int

Code gets the status code for the delete policy forbidden response

func (*DeletePolicyForbidden) Error added in v0.15.7

func (o *DeletePolicyForbidden) Error() string

func (*DeletePolicyForbidden) IsClientError added in v0.15.7

func (o *DeletePolicyForbidden) IsClientError() bool

IsClientError returns true when this delete policy forbidden response has a 4xx status code

func (*DeletePolicyForbidden) IsCode added in v0.15.7

func (o *DeletePolicyForbidden) IsCode(code int) bool

IsCode returns true when this delete policy forbidden response a status code equal to that given

func (*DeletePolicyForbidden) IsRedirect added in v0.15.7

func (o *DeletePolicyForbidden) IsRedirect() bool

IsRedirect returns true when this delete policy forbidden response has a 3xx status code

func (*DeletePolicyForbidden) IsServerError added in v0.15.7

func (o *DeletePolicyForbidden) IsServerError() bool

IsServerError returns true when this delete policy forbidden response has a 5xx status code

func (*DeletePolicyForbidden) IsSuccess added in v0.15.7

func (o *DeletePolicyForbidden) IsSuccess() bool

IsSuccess returns true when this delete policy forbidden response has a 2xx status code

func (*DeletePolicyForbidden) String added in v0.15.7

func (o *DeletePolicyForbidden) String() string

type DeletePolicyInvalid added in v0.9.0

type DeletePolicyInvalid struct {
	Payload models.Error
}

DeletePolicyInvalid describes a response with status code 400, with default header values.

Invalid request

func NewDeletePolicyInvalid added in v0.9.0

func NewDeletePolicyInvalid() *DeletePolicyInvalid

NewDeletePolicyInvalid creates a DeletePolicyInvalid with default headers values

func (*DeletePolicyInvalid) Code added in v1.16.0

func (o *DeletePolicyInvalid) Code() int

Code gets the status code for the delete policy invalid response

func (*DeletePolicyInvalid) Error added in v0.9.0

func (o *DeletePolicyInvalid) Error() string

func (*DeletePolicyInvalid) GetPayload added in v0.15.7

func (o *DeletePolicyInvalid) GetPayload() models.Error

func (*DeletePolicyInvalid) IsClientError added in v0.15.7

func (o *DeletePolicyInvalid) IsClientError() bool

IsClientError returns true when this delete policy invalid response has a 4xx status code

func (*DeletePolicyInvalid) IsCode added in v0.15.7

func (o *DeletePolicyInvalid) IsCode(code int) bool

IsCode returns true when this delete policy invalid response a status code equal to that given

func (*DeletePolicyInvalid) IsRedirect added in v0.15.7

func (o *DeletePolicyInvalid) IsRedirect() bool

IsRedirect returns true when this delete policy invalid response has a 3xx status code

func (*DeletePolicyInvalid) IsServerError added in v0.15.7

func (o *DeletePolicyInvalid) IsServerError() bool

IsServerError returns true when this delete policy invalid response has a 5xx status code

func (*DeletePolicyInvalid) IsSuccess added in v0.15.7

func (o *DeletePolicyInvalid) IsSuccess() bool

IsSuccess returns true when this delete policy invalid response has a 2xx status code

func (*DeletePolicyInvalid) String added in v0.15.7

func (o *DeletePolicyInvalid) String() string

type DeletePolicyNotFound added in v0.9.0

type DeletePolicyNotFound struct {
}

DeletePolicyNotFound describes a response with status code 404, with default header values.

Policy not found

func NewDeletePolicyNotFound added in v0.9.0

func NewDeletePolicyNotFound() *DeletePolicyNotFound

NewDeletePolicyNotFound creates a DeletePolicyNotFound with default headers values

func (*DeletePolicyNotFound) Code added in v1.16.0

func (o *DeletePolicyNotFound) Code() int

Code gets the status code for the delete policy not found response

func (*DeletePolicyNotFound) Error added in v0.9.0

func (o *DeletePolicyNotFound) Error() string

func (*DeletePolicyNotFound) IsClientError added in v0.15.7

func (o *DeletePolicyNotFound) IsClientError() bool

IsClientError returns true when this delete policy not found response has a 4xx status code

func (*DeletePolicyNotFound) IsCode added in v0.15.7

func (o *DeletePolicyNotFound) IsCode(code int) bool

IsCode returns true when this delete policy not found response a status code equal to that given

func (*DeletePolicyNotFound) IsRedirect added in v0.15.7

func (o *DeletePolicyNotFound) IsRedirect() bool

IsRedirect returns true when this delete policy not found response has a 3xx status code

func (*DeletePolicyNotFound) IsServerError added in v0.15.7

func (o *DeletePolicyNotFound) IsServerError() bool

IsServerError returns true when this delete policy not found response has a 5xx status code

func (*DeletePolicyNotFound) IsSuccess added in v0.15.7

func (o *DeletePolicyNotFound) IsSuccess() bool

IsSuccess returns true when this delete policy not found response has a 2xx status code

func (*DeletePolicyNotFound) String added in v0.15.7

func (o *DeletePolicyNotFound) String() string

type DeletePolicyOK added in v0.10.0

type DeletePolicyOK struct {
	Payload *models.Policy
}

DeletePolicyOK describes a response with status code 200, with default header values.

Success

func NewDeletePolicyOK added in v0.10.0

func NewDeletePolicyOK() *DeletePolicyOK

NewDeletePolicyOK creates a DeletePolicyOK with default headers values

func (*DeletePolicyOK) Code added in v1.16.0

func (o *DeletePolicyOK) Code() int

Code gets the status code for the delete policy o k response

func (*DeletePolicyOK) Error added in v0.10.0

func (o *DeletePolicyOK) Error() string

func (*DeletePolicyOK) GetPayload added in v0.15.7

func (o *DeletePolicyOK) GetPayload() *models.Policy

func (*DeletePolicyOK) IsClientError added in v0.15.7

func (o *DeletePolicyOK) IsClientError() bool

IsClientError returns true when this delete policy o k response has a 4xx status code

func (*DeletePolicyOK) IsCode added in v0.15.7

func (o *DeletePolicyOK) IsCode(code int) bool

IsCode returns true when this delete policy o k response a status code equal to that given

func (*DeletePolicyOK) IsRedirect added in v0.15.7

func (o *DeletePolicyOK) IsRedirect() bool

IsRedirect returns true when this delete policy o k response has a 3xx status code

func (*DeletePolicyOK) IsServerError added in v0.15.7

func (o *DeletePolicyOK) IsServerError() bool

IsServerError returns true when this delete policy o k response has a 5xx status code

func (*DeletePolicyOK) IsSuccess added in v0.15.7

func (o *DeletePolicyOK) IsSuccess() bool

IsSuccess returns true when this delete policy o k response has a 2xx status code

func (*DeletePolicyOK) String added in v0.15.7

func (o *DeletePolicyOK) String() string

type DeletePolicyParams added in v0.9.0

type DeletePolicyParams struct {

	// Labels.
	Labels models.Labels

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

DeletePolicyParams contains all the parameters to send to the API endpoint

for the delete policy operation.

Typically these are written to a http.Request.

func NewDeletePolicyParams added in v0.9.0

func NewDeletePolicyParams() *DeletePolicyParams

NewDeletePolicyParams creates a new DeletePolicyParams 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 NewDeletePolicyParamsWithContext added in v0.9.0

func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams

NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the ability to set a context for a request.

func NewDeletePolicyParamsWithHTTPClient added in v0.9.0

func NewDeletePolicyParamsWithHTTPClient(client *http.Client) *DeletePolicyParams

NewDeletePolicyParamsWithHTTPClient creates a new DeletePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePolicyParamsWithTimeout added in v0.9.0

func NewDeletePolicyParamsWithTimeout(timeout time.Duration) *DeletePolicyParams

NewDeletePolicyParamsWithTimeout creates a new DeletePolicyParams object with the ability to set a timeout on a request.

func (*DeletePolicyParams) SetContext added in v0.9.0

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

SetContext adds the context to the delete policy params

func (*DeletePolicyParams) SetDefaults added in v0.15.7

func (o *DeletePolicyParams) SetDefaults()

SetDefaults hydrates default values in the delete policy params (not the query body).

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

func (*DeletePolicyParams) SetHTTPClient added in v0.9.0

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

SetHTTPClient adds the HTTPClient to the delete policy params

func (*DeletePolicyParams) SetLabels added in v0.9.0

func (o *DeletePolicyParams) SetLabels(labels models.Labels)

SetLabels adds the labels to the delete policy params

func (*DeletePolicyParams) SetTimeout added in v0.9.0

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

SetTimeout adds the timeout to the delete policy params

func (*DeletePolicyParams) WithContext added in v0.9.0

WithContext adds the context to the delete policy params

func (*DeletePolicyParams) WithDefaults added in v0.15.7

func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams

WithDefaults hydrates default values in the delete policy params (not the query body).

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

func (*DeletePolicyParams) WithHTTPClient added in v0.9.0

func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams

WithHTTPClient adds the HTTPClient to the delete policy params

func (*DeletePolicyParams) WithLabels added in v0.9.0

func (o *DeletePolicyParams) WithLabels(labels models.Labels) *DeletePolicyParams

WithLabels adds the labels to the delete policy params

func (*DeletePolicyParams) WithTimeout added in v0.9.0

func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams

WithTimeout adds the timeout to the delete policy params

func (*DeletePolicyParams) WriteToRequest added in v0.9.0

func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeletePolicyReader added in v0.9.0

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

DeletePolicyReader is a Reader for the DeletePolicy structure.

func (*DeletePolicyReader) ReadResponse added in v0.9.0

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

ReadResponse reads a server response into the received o.

type GetFqdnCacheBadRequest added in v0.15.7

type GetFqdnCacheBadRequest struct {
	Payload models.Error
}

GetFqdnCacheBadRequest describes a response with status code 400, with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnCacheBadRequest added in v0.15.7

func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest

NewGetFqdnCacheBadRequest creates a GetFqdnCacheBadRequest with default headers values

func (*GetFqdnCacheBadRequest) Code added in v1.16.0

func (o *GetFqdnCacheBadRequest) Code() int

Code gets the status code for the get fqdn cache bad request response

func (*GetFqdnCacheBadRequest) Error added in v0.15.7

func (o *GetFqdnCacheBadRequest) Error() string

func (*GetFqdnCacheBadRequest) GetPayload added in v0.15.7

func (o *GetFqdnCacheBadRequest) GetPayload() models.Error

func (*GetFqdnCacheBadRequest) IsClientError added in v0.15.7

func (o *GetFqdnCacheBadRequest) IsClientError() bool

IsClientError returns true when this get fqdn cache bad request response has a 4xx status code

func (*GetFqdnCacheBadRequest) IsCode added in v0.15.7

func (o *GetFqdnCacheBadRequest) IsCode(code int) bool

IsCode returns true when this get fqdn cache bad request response a status code equal to that given

func (*GetFqdnCacheBadRequest) IsRedirect added in v0.15.7

func (o *GetFqdnCacheBadRequest) IsRedirect() bool

IsRedirect returns true when this get fqdn cache bad request response has a 3xx status code

func (*GetFqdnCacheBadRequest) IsServerError added in v0.15.7

func (o *GetFqdnCacheBadRequest) IsServerError() bool

IsServerError returns true when this get fqdn cache bad request response has a 5xx status code

func (*GetFqdnCacheBadRequest) IsSuccess added in v0.15.7

func (o *GetFqdnCacheBadRequest) IsSuccess() bool

IsSuccess returns true when this get fqdn cache bad request response has a 2xx status code

func (*GetFqdnCacheBadRequest) String added in v0.15.7

func (o *GetFqdnCacheBadRequest) String() string

type GetFqdnCacheIDBadRequest added in v0.15.7

type GetFqdnCacheIDBadRequest struct {
	Payload models.Error
}

GetFqdnCacheIDBadRequest describes a response with status code 400, with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnCacheIDBadRequest added in v0.15.7

func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest

NewGetFqdnCacheIDBadRequest creates a GetFqdnCacheIDBadRequest with default headers values

func (*GetFqdnCacheIDBadRequest) Code added in v1.16.0

func (o *GetFqdnCacheIDBadRequest) Code() int

Code gets the status code for the get fqdn cache Id bad request response

func (*GetFqdnCacheIDBadRequest) Error added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) Error() string

func (*GetFqdnCacheIDBadRequest) GetPayload added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) GetPayload() models.Error

func (*GetFqdnCacheIDBadRequest) IsClientError added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) IsClientError() bool

IsClientError returns true when this get fqdn cache Id bad request response has a 4xx status code

func (*GetFqdnCacheIDBadRequest) IsCode added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) IsCode(code int) bool

IsCode returns true when this get fqdn cache Id bad request response a status code equal to that given

func (*GetFqdnCacheIDBadRequest) IsRedirect added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get fqdn cache Id bad request response has a 3xx status code

func (*GetFqdnCacheIDBadRequest) IsServerError added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) IsServerError() bool

IsServerError returns true when this get fqdn cache Id bad request response has a 5xx status code

func (*GetFqdnCacheIDBadRequest) IsSuccess added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get fqdn cache Id bad request response has a 2xx status code

func (*GetFqdnCacheIDBadRequest) String added in v0.15.7

func (o *GetFqdnCacheIDBadRequest) String() string

type GetFqdnCacheIDNotFound added in v0.15.7

type GetFqdnCacheIDNotFound struct {
}

GetFqdnCacheIDNotFound describes a response with status code 404, with default header values.

No DNS data with provided parameters found

func NewGetFqdnCacheIDNotFound added in v0.15.7

func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound

NewGetFqdnCacheIDNotFound creates a GetFqdnCacheIDNotFound with default headers values

func (*GetFqdnCacheIDNotFound) Code added in v1.16.0

func (o *GetFqdnCacheIDNotFound) Code() int

Code gets the status code for the get fqdn cache Id not found response

func (*GetFqdnCacheIDNotFound) Error added in v0.15.7

func (o *GetFqdnCacheIDNotFound) Error() string

func (*GetFqdnCacheIDNotFound) IsClientError added in v0.15.7

func (o *GetFqdnCacheIDNotFound) IsClientError() bool

IsClientError returns true when this get fqdn cache Id not found response has a 4xx status code

func (*GetFqdnCacheIDNotFound) IsCode added in v0.15.7

func (o *GetFqdnCacheIDNotFound) IsCode(code int) bool

IsCode returns true when this get fqdn cache Id not found response a status code equal to that given

func (*GetFqdnCacheIDNotFound) IsRedirect added in v0.15.7

func (o *GetFqdnCacheIDNotFound) IsRedirect() bool

IsRedirect returns true when this get fqdn cache Id not found response has a 3xx status code

func (*GetFqdnCacheIDNotFound) IsServerError added in v0.15.7

func (o *GetFqdnCacheIDNotFound) IsServerError() bool

IsServerError returns true when this get fqdn cache Id not found response has a 5xx status code

func (*GetFqdnCacheIDNotFound) IsSuccess added in v0.15.7

func (o *GetFqdnCacheIDNotFound) IsSuccess() bool

IsSuccess returns true when this get fqdn cache Id not found response has a 2xx status code

func (*GetFqdnCacheIDNotFound) String added in v0.15.7

func (o *GetFqdnCacheIDNotFound) String() string

type GetFqdnCacheIDOK added in v0.15.7

type GetFqdnCacheIDOK struct {
	Payload []*models.DNSLookup
}

GetFqdnCacheIDOK describes a response with status code 200, with default header values.

Success

func NewGetFqdnCacheIDOK added in v0.15.7

func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK

NewGetFqdnCacheIDOK creates a GetFqdnCacheIDOK with default headers values

func (*GetFqdnCacheIDOK) Code added in v1.16.0

func (o *GetFqdnCacheIDOK) Code() int

Code gets the status code for the get fqdn cache Id o k response

func (*GetFqdnCacheIDOK) Error added in v0.15.7

func (o *GetFqdnCacheIDOK) Error() string

func (*GetFqdnCacheIDOK) GetPayload added in v0.15.7

func (o *GetFqdnCacheIDOK) GetPayload() []*models.DNSLookup

func (*GetFqdnCacheIDOK) IsClientError added in v0.15.7

func (o *GetFqdnCacheIDOK) IsClientError() bool

IsClientError returns true when this get fqdn cache Id o k response has a 4xx status code

func (*GetFqdnCacheIDOK) IsCode added in v0.15.7

func (o *GetFqdnCacheIDOK) IsCode(code int) bool

IsCode returns true when this get fqdn cache Id o k response a status code equal to that given

func (*GetFqdnCacheIDOK) IsRedirect added in v0.15.7

func (o *GetFqdnCacheIDOK) IsRedirect() bool

IsRedirect returns true when this get fqdn cache Id o k response has a 3xx status code

func (*GetFqdnCacheIDOK) IsServerError added in v0.15.7

func (o *GetFqdnCacheIDOK) IsServerError() bool

IsServerError returns true when this get fqdn cache Id o k response has a 5xx status code

func (*GetFqdnCacheIDOK) IsSuccess added in v0.15.7

func (o *GetFqdnCacheIDOK) IsSuccess() bool

IsSuccess returns true when this get fqdn cache Id o k response has a 2xx status code

func (*GetFqdnCacheIDOK) String added in v0.15.7

func (o *GetFqdnCacheIDOK) String() string

type GetFqdnCacheIDParams added in v0.15.7

type GetFqdnCacheIDParams struct {

	/* Cidr.

	   A CIDR range of IPs
	*/
	Cidr *string

	/* ID.

	     String describing an endpoint with the format “[prefix:]id“. If no prefix
	is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints
	will be addressable by all endpoint ID prefixes with the exception of the
	local Cilium UUID which is assigned to all endpoints.

	Supported endpoint id prefixes:
	  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
	  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
	  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0
	  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)
	  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)
	  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

	*/
	ID string

	/* Matchpattern.

	   A toFQDNs compatible matchPattern expression
	*/
	Matchpattern *string

	/* Source.

	   Source from which FQDN entries come from
	*/
	Source *string

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

GetFqdnCacheIDParams contains all the parameters to send to the API endpoint

for the get fqdn cache ID operation.

Typically these are written to a http.Request.

func NewGetFqdnCacheIDParams added in v0.15.7

func NewGetFqdnCacheIDParams() *GetFqdnCacheIDParams

NewGetFqdnCacheIDParams creates a new GetFqdnCacheIDParams 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 NewGetFqdnCacheIDParamsWithContext added in v0.15.7

func NewGetFqdnCacheIDParamsWithContext(ctx context.Context) *GetFqdnCacheIDParams

NewGetFqdnCacheIDParamsWithContext creates a new GetFqdnCacheIDParams object with the ability to set a context for a request.

func NewGetFqdnCacheIDParamsWithHTTPClient added in v0.15.7

func NewGetFqdnCacheIDParamsWithHTTPClient(client *http.Client) *GetFqdnCacheIDParams

NewGetFqdnCacheIDParamsWithHTTPClient creates a new GetFqdnCacheIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetFqdnCacheIDParamsWithTimeout added in v0.15.7

func NewGetFqdnCacheIDParamsWithTimeout(timeout time.Duration) *GetFqdnCacheIDParams

NewGetFqdnCacheIDParamsWithTimeout creates a new GetFqdnCacheIDParams object with the ability to set a timeout on a request.

func (*GetFqdnCacheIDParams) SetCidr added in v0.15.7

func (o *GetFqdnCacheIDParams) SetCidr(cidr *string)

SetCidr adds the cidr to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetContext added in v0.15.7

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

SetContext adds the context to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetDefaults added in v0.15.7

func (o *GetFqdnCacheIDParams) SetDefaults()

SetDefaults hydrates default values in the get fqdn cache ID params (not the query body).

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

func (*GetFqdnCacheIDParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetID added in v0.15.7

func (o *GetFqdnCacheIDParams) SetID(id string)

SetID adds the id to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetMatchpattern added in v0.15.7

func (o *GetFqdnCacheIDParams) SetMatchpattern(matchpattern *string)

SetMatchpattern adds the matchpattern to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetSource added in v0.15.7

func (o *GetFqdnCacheIDParams) SetSource(source *string)

SetSource adds the source to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithCidr added in v0.15.7

func (o *GetFqdnCacheIDParams) WithCidr(cidr *string) *GetFqdnCacheIDParams

WithCidr adds the cidr to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithContext added in v0.15.7

WithContext adds the context to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithDefaults added in v0.15.7

func (o *GetFqdnCacheIDParams) WithDefaults() *GetFqdnCacheIDParams

WithDefaults hydrates default values in the get fqdn cache ID params (not the query body).

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

func (*GetFqdnCacheIDParams) WithHTTPClient added in v0.15.7

func (o *GetFqdnCacheIDParams) WithHTTPClient(client *http.Client) *GetFqdnCacheIDParams

WithHTTPClient adds the HTTPClient to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithID added in v0.15.7

WithID adds the id to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithMatchpattern added in v0.15.7

func (o *GetFqdnCacheIDParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheIDParams

WithMatchpattern adds the matchpattern to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithSource added in v0.15.7

func (o *GetFqdnCacheIDParams) WithSource(source *string) *GetFqdnCacheIDParams

WithSource adds the source to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithTimeout added in v0.15.7

func (o *GetFqdnCacheIDParams) WithTimeout(timeout time.Duration) *GetFqdnCacheIDParams

WithTimeout adds the timeout to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WriteToRequest added in v0.15.7

func (o *GetFqdnCacheIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFqdnCacheIDReader added in v0.15.7

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

GetFqdnCacheIDReader is a Reader for the GetFqdnCacheID structure.

func (*GetFqdnCacheIDReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type GetFqdnCacheNotFound added in v0.15.7

type GetFqdnCacheNotFound struct {
}

GetFqdnCacheNotFound describes a response with status code 404, with default header values.

No DNS data with provided parameters found

func NewGetFqdnCacheNotFound added in v0.15.7

func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound

NewGetFqdnCacheNotFound creates a GetFqdnCacheNotFound with default headers values

func (*GetFqdnCacheNotFound) Code added in v1.16.0

func (o *GetFqdnCacheNotFound) Code() int

Code gets the status code for the get fqdn cache not found response

func (*GetFqdnCacheNotFound) Error added in v0.15.7

func (o *GetFqdnCacheNotFound) Error() string

func (*GetFqdnCacheNotFound) IsClientError added in v0.15.7

func (o *GetFqdnCacheNotFound) IsClientError() bool

IsClientError returns true when this get fqdn cache not found response has a 4xx status code

func (*GetFqdnCacheNotFound) IsCode added in v0.15.7

func (o *GetFqdnCacheNotFound) IsCode(code int) bool

IsCode returns true when this get fqdn cache not found response a status code equal to that given

func (*GetFqdnCacheNotFound) IsRedirect added in v0.15.7

func (o *GetFqdnCacheNotFound) IsRedirect() bool

IsRedirect returns true when this get fqdn cache not found response has a 3xx status code

func (*GetFqdnCacheNotFound) IsServerError added in v0.15.7

func (o *GetFqdnCacheNotFound) IsServerError() bool

IsServerError returns true when this get fqdn cache not found response has a 5xx status code

func (*GetFqdnCacheNotFound) IsSuccess added in v0.15.7

func (o *GetFqdnCacheNotFound) IsSuccess() bool

IsSuccess returns true when this get fqdn cache not found response has a 2xx status code

func (*GetFqdnCacheNotFound) String added in v0.15.7

func (o *GetFqdnCacheNotFound) String() string

type GetFqdnCacheOK added in v0.15.7

type GetFqdnCacheOK struct {
	Payload []*models.DNSLookup
}

GetFqdnCacheOK describes a response with status code 200, with default header values.

Success

func NewGetFqdnCacheOK added in v0.15.7

func NewGetFqdnCacheOK() *GetFqdnCacheOK

NewGetFqdnCacheOK creates a GetFqdnCacheOK with default headers values

func (*GetFqdnCacheOK) Code added in v1.16.0

func (o *GetFqdnCacheOK) Code() int

Code gets the status code for the get fqdn cache o k response

func (*GetFqdnCacheOK) Error added in v0.15.7

func (o *GetFqdnCacheOK) Error() string

func (*GetFqdnCacheOK) GetPayload added in v0.15.7

func (o *GetFqdnCacheOK) GetPayload() []*models.DNSLookup

func (*GetFqdnCacheOK) IsClientError added in v0.15.7

func (o *GetFqdnCacheOK) IsClientError() bool

IsClientError returns true when this get fqdn cache o k response has a 4xx status code

func (*GetFqdnCacheOK) IsCode added in v0.15.7

func (o *GetFqdnCacheOK) IsCode(code int) bool

IsCode returns true when this get fqdn cache o k response a status code equal to that given

func (*GetFqdnCacheOK) IsRedirect added in v0.15.7

func (o *GetFqdnCacheOK) IsRedirect() bool

IsRedirect returns true when this get fqdn cache o k response has a 3xx status code

func (*GetFqdnCacheOK) IsServerError added in v0.15.7

func (o *GetFqdnCacheOK) IsServerError() bool

IsServerError returns true when this get fqdn cache o k response has a 5xx status code

func (*GetFqdnCacheOK) IsSuccess added in v0.15.7

func (o *GetFqdnCacheOK) IsSuccess() bool

IsSuccess returns true when this get fqdn cache o k response has a 2xx status code

func (*GetFqdnCacheOK) String added in v0.15.7

func (o *GetFqdnCacheOK) String() string

type GetFqdnCacheParams added in v0.15.7

type GetFqdnCacheParams struct {

	/* Cidr.

	   A CIDR range of IPs
	*/
	Cidr *string

	/* Matchpattern.

	   A toFQDNs compatible matchPattern expression
	*/
	Matchpattern *string

	/* Source.

	   Source from which FQDN entries come from
	*/
	Source *string

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

GetFqdnCacheParams contains all the parameters to send to the API endpoint

for the get fqdn cache operation.

Typically these are written to a http.Request.

func NewGetFqdnCacheParams added in v0.15.7

func NewGetFqdnCacheParams() *GetFqdnCacheParams

NewGetFqdnCacheParams creates a new GetFqdnCacheParams 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 NewGetFqdnCacheParamsWithContext added in v0.15.7

func NewGetFqdnCacheParamsWithContext(ctx context.Context) *GetFqdnCacheParams

NewGetFqdnCacheParamsWithContext creates a new GetFqdnCacheParams object with the ability to set a context for a request.

func NewGetFqdnCacheParamsWithHTTPClient added in v0.15.7

func NewGetFqdnCacheParamsWithHTTPClient(client *http.Client) *GetFqdnCacheParams

NewGetFqdnCacheParamsWithHTTPClient creates a new GetFqdnCacheParams object with the ability to set a custom HTTPClient for a request.

func NewGetFqdnCacheParamsWithTimeout added in v0.15.7

func NewGetFqdnCacheParamsWithTimeout(timeout time.Duration) *GetFqdnCacheParams

NewGetFqdnCacheParamsWithTimeout creates a new GetFqdnCacheParams object with the ability to set a timeout on a request.

func (*GetFqdnCacheParams) SetCidr added in v0.15.7

func (o *GetFqdnCacheParams) SetCidr(cidr *string)

SetCidr adds the cidr to the get fqdn cache params

func (*GetFqdnCacheParams) SetContext added in v0.15.7

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

SetContext adds the context to the get fqdn cache params

func (*GetFqdnCacheParams) SetDefaults added in v0.15.7

func (o *GetFqdnCacheParams) SetDefaults()

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

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

func (*GetFqdnCacheParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the get fqdn cache params

func (*GetFqdnCacheParams) SetMatchpattern added in v0.15.7

func (o *GetFqdnCacheParams) SetMatchpattern(matchpattern *string)

SetMatchpattern adds the matchpattern to the get fqdn cache params

func (*GetFqdnCacheParams) SetSource added in v0.15.7

func (o *GetFqdnCacheParams) SetSource(source *string)

SetSource adds the source to the get fqdn cache params

func (*GetFqdnCacheParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the get fqdn cache params

func (*GetFqdnCacheParams) WithCidr added in v0.15.7

func (o *GetFqdnCacheParams) WithCidr(cidr *string) *GetFqdnCacheParams

WithCidr adds the cidr to the get fqdn cache params

func (*GetFqdnCacheParams) WithContext added in v0.15.7

WithContext adds the context to the get fqdn cache params

func (*GetFqdnCacheParams) WithDefaults added in v0.15.7

func (o *GetFqdnCacheParams) WithDefaults() *GetFqdnCacheParams

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

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

func (*GetFqdnCacheParams) WithHTTPClient added in v0.15.7

func (o *GetFqdnCacheParams) WithHTTPClient(client *http.Client) *GetFqdnCacheParams

WithHTTPClient adds the HTTPClient to the get fqdn cache params

func (*GetFqdnCacheParams) WithMatchpattern added in v0.15.7

func (o *GetFqdnCacheParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheParams

WithMatchpattern adds the matchpattern to the get fqdn cache params

func (*GetFqdnCacheParams) WithSource added in v0.15.7

func (o *GetFqdnCacheParams) WithSource(source *string) *GetFqdnCacheParams

WithSource adds the source to the get fqdn cache params

func (*GetFqdnCacheParams) WithTimeout added in v0.15.7

func (o *GetFqdnCacheParams) WithTimeout(timeout time.Duration) *GetFqdnCacheParams

WithTimeout adds the timeout to the get fqdn cache params

func (*GetFqdnCacheParams) WriteToRequest added in v0.15.7

func (o *GetFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFqdnCacheReader added in v0.15.7

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

GetFqdnCacheReader is a Reader for the GetFqdnCache structure.

func (*GetFqdnCacheReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type GetFqdnNamesBadRequest added in v0.15.7

type GetFqdnNamesBadRequest struct {
	Payload models.Error
}

GetFqdnNamesBadRequest describes a response with status code 400, with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnNamesBadRequest added in v0.15.7

func NewGetFqdnNamesBadRequest() *GetFqdnNamesBadRequest

NewGetFqdnNamesBadRequest creates a GetFqdnNamesBadRequest with default headers values

func (*GetFqdnNamesBadRequest) Code added in v1.16.0

func (o *GetFqdnNamesBadRequest) Code() int

Code gets the status code for the get fqdn names bad request response

func (*GetFqdnNamesBadRequest) Error added in v0.15.7

func (o *GetFqdnNamesBadRequest) Error() string

func (*GetFqdnNamesBadRequest) GetPayload added in v0.15.7

func (o *GetFqdnNamesBadRequest) GetPayload() models.Error

func (*GetFqdnNamesBadRequest) IsClientError added in v0.15.7

func (o *GetFqdnNamesBadRequest) IsClientError() bool

IsClientError returns true when this get fqdn names bad request response has a 4xx status code

func (*GetFqdnNamesBadRequest) IsCode added in v0.15.7

func (o *GetFqdnNamesBadRequest) IsCode(code int) bool

IsCode returns true when this get fqdn names bad request response a status code equal to that given

func (*GetFqdnNamesBadRequest) IsRedirect added in v0.15.7

func (o *GetFqdnNamesBadRequest) IsRedirect() bool

IsRedirect returns true when this get fqdn names bad request response has a 3xx status code

func (*GetFqdnNamesBadRequest) IsServerError added in v0.15.7

func (o *GetFqdnNamesBadRequest) IsServerError() bool

IsServerError returns true when this get fqdn names bad request response has a 5xx status code

func (*GetFqdnNamesBadRequest) IsSuccess added in v0.15.7

func (o *GetFqdnNamesBadRequest) IsSuccess() bool

IsSuccess returns true when this get fqdn names bad request response has a 2xx status code

func (*GetFqdnNamesBadRequest) String added in v0.15.7

func (o *GetFqdnNamesBadRequest) String() string

type GetFqdnNamesOK added in v0.15.7

type GetFqdnNamesOK struct {
	Payload *models.NameManager
}

GetFqdnNamesOK describes a response with status code 200, with default header values.

Success

func NewGetFqdnNamesOK added in v0.15.7

func NewGetFqdnNamesOK() *GetFqdnNamesOK

NewGetFqdnNamesOK creates a GetFqdnNamesOK with default headers values

func (*GetFqdnNamesOK) Code added in v1.16.0

func (o *GetFqdnNamesOK) Code() int

Code gets the status code for the get fqdn names o k response

func (*GetFqdnNamesOK) Error added in v0.15.7

func (o *GetFqdnNamesOK) Error() string

func (*GetFqdnNamesOK) GetPayload added in v0.15.7

func (o *GetFqdnNamesOK) GetPayload() *models.NameManager

func (*GetFqdnNamesOK) IsClientError added in v0.15.7

func (o *GetFqdnNamesOK) IsClientError() bool

IsClientError returns true when this get fqdn names o k response has a 4xx status code

func (*GetFqdnNamesOK) IsCode added in v0.15.7

func (o *GetFqdnNamesOK) IsCode(code int) bool

IsCode returns true when this get fqdn names o k response a status code equal to that given

func (*GetFqdnNamesOK) IsRedirect added in v0.15.7

func (o *GetFqdnNamesOK) IsRedirect() bool

IsRedirect returns true when this get fqdn names o k response has a 3xx status code

func (*GetFqdnNamesOK) IsServerError added in v0.15.7

func (o *GetFqdnNamesOK) IsServerError() bool

IsServerError returns true when this get fqdn names o k response has a 5xx status code

func (*GetFqdnNamesOK) IsSuccess added in v0.15.7

func (o *GetFqdnNamesOK) IsSuccess() bool

IsSuccess returns true when this get fqdn names o k response has a 2xx status code

func (*GetFqdnNamesOK) String added in v0.15.7

func (o *GetFqdnNamesOK) String() string

type GetFqdnNamesParams added in v0.15.7

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

GetFqdnNamesParams contains all the parameters to send to the API endpoint

for the get fqdn names operation.

Typically these are written to a http.Request.

func NewGetFqdnNamesParams added in v0.15.7

func NewGetFqdnNamesParams() *GetFqdnNamesParams

NewGetFqdnNamesParams creates a new GetFqdnNamesParams 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 NewGetFqdnNamesParamsWithContext added in v0.15.7

func NewGetFqdnNamesParamsWithContext(ctx context.Context) *GetFqdnNamesParams

NewGetFqdnNamesParamsWithContext creates a new GetFqdnNamesParams object with the ability to set a context for a request.

func NewGetFqdnNamesParamsWithHTTPClient added in v0.15.7

func NewGetFqdnNamesParamsWithHTTPClient(client *http.Client) *GetFqdnNamesParams

NewGetFqdnNamesParamsWithHTTPClient creates a new GetFqdnNamesParams object with the ability to set a custom HTTPClient for a request.

func NewGetFqdnNamesParamsWithTimeout added in v0.15.7

func NewGetFqdnNamesParamsWithTimeout(timeout time.Duration) *GetFqdnNamesParams

NewGetFqdnNamesParamsWithTimeout creates a new GetFqdnNamesParams object with the ability to set a timeout on a request.

func (*GetFqdnNamesParams) SetContext added in v0.15.7

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

SetContext adds the context to the get fqdn names params

func (*GetFqdnNamesParams) SetDefaults added in v0.15.7

func (o *GetFqdnNamesParams) SetDefaults()

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

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

func (*GetFqdnNamesParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the get fqdn names params

func (*GetFqdnNamesParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the get fqdn names params

func (*GetFqdnNamesParams) WithContext added in v0.15.7

WithContext adds the context to the get fqdn names params

func (*GetFqdnNamesParams) WithDefaults added in v0.15.7

func (o *GetFqdnNamesParams) WithDefaults() *GetFqdnNamesParams

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

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

func (*GetFqdnNamesParams) WithHTTPClient added in v0.15.7

func (o *GetFqdnNamesParams) WithHTTPClient(client *http.Client) *GetFqdnNamesParams

WithHTTPClient adds the HTTPClient to the get fqdn names params

func (*GetFqdnNamesParams) WithTimeout added in v0.15.7

func (o *GetFqdnNamesParams) WithTimeout(timeout time.Duration) *GetFqdnNamesParams

WithTimeout adds the timeout to the get fqdn names params

func (*GetFqdnNamesParams) WriteToRequest added in v0.15.7

func (o *GetFqdnNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFqdnNamesReader added in v0.15.7

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

GetFqdnNamesReader is a Reader for the GetFqdnNames structure.

func (*GetFqdnNamesReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type GetIPBadRequest added in v0.15.7

type GetIPBadRequest struct {
	Payload models.Error
}

GetIPBadRequest describes a response with status code 400, with default header values.

Invalid request (error parsing parameters)

func NewGetIPBadRequest added in v0.15.7

func NewGetIPBadRequest() *GetIPBadRequest

NewGetIPBadRequest creates a GetIPBadRequest with default headers values

func (*GetIPBadRequest) Code added in v1.16.0

func (o *GetIPBadRequest) Code() int

Code gets the status code for the get Ip bad request response

func (*GetIPBadRequest) Error added in v0.15.7

func (o *GetIPBadRequest) Error() string

func (*GetIPBadRequest) GetPayload added in v0.15.7

func (o *GetIPBadRequest) GetPayload() models.Error

func (*GetIPBadRequest) IsClientError added in v0.15.7

func (o *GetIPBadRequest) IsClientError() bool

IsClientError returns true when this get Ip bad request response has a 4xx status code

func (*GetIPBadRequest) IsCode added in v0.15.7

func (o *GetIPBadRequest) IsCode(code int) bool

IsCode returns true when this get Ip bad request response a status code equal to that given

func (*GetIPBadRequest) IsRedirect added in v0.15.7

func (o *GetIPBadRequest) IsRedirect() bool

IsRedirect returns true when this get Ip bad request response has a 3xx status code

func (*GetIPBadRequest) IsServerError added in v0.15.7

func (o *GetIPBadRequest) IsServerError() bool

IsServerError returns true when this get Ip bad request response has a 5xx status code

func (*GetIPBadRequest) IsSuccess added in v0.15.7

func (o *GetIPBadRequest) IsSuccess() bool

IsSuccess returns true when this get Ip bad request response has a 2xx status code

func (*GetIPBadRequest) String added in v0.15.7

func (o *GetIPBadRequest) String() string

type GetIPNotFound added in v0.15.7

type GetIPNotFound struct {
}

GetIPNotFound describes a response with status code 404, with default header values.

No IP cache entries with provided parameters found

func NewGetIPNotFound added in v0.15.7

func NewGetIPNotFound() *GetIPNotFound

NewGetIPNotFound creates a GetIPNotFound with default headers values

func (*GetIPNotFound) Code added in v1.16.0

func (o *GetIPNotFound) Code() int

Code gets the status code for the get Ip not found response

func (*GetIPNotFound) Error added in v0.15.7

func (o *GetIPNotFound) Error() string

func (*GetIPNotFound) IsClientError added in v0.15.7

func (o *GetIPNotFound) IsClientError() bool

IsClientError returns true when this get Ip not found response has a 4xx status code

func (*GetIPNotFound) IsCode added in v0.15.7

func (o *GetIPNotFound) IsCode(code int) bool

IsCode returns true when this get Ip not found response a status code equal to that given

func (*GetIPNotFound) IsRedirect added in v0.15.7

func (o *GetIPNotFound) IsRedirect() bool

IsRedirect returns true when this get Ip not found response has a 3xx status code

func (*GetIPNotFound) IsServerError added in v0.15.7

func (o *GetIPNotFound) IsServerError() bool

IsServerError returns true when this get Ip not found response has a 5xx status code

func (*GetIPNotFound) IsSuccess added in v0.15.7

func (o *GetIPNotFound) IsSuccess() bool

IsSuccess returns true when this get Ip not found response has a 2xx status code

func (*GetIPNotFound) String added in v0.15.7

func (o *GetIPNotFound) String() string

type GetIPOK added in v0.15.7

type GetIPOK struct {
	Payload []*models.IPListEntry
}

GetIPOK describes a response with status code 200, with default header values.

Success

func NewGetIPOK added in v0.15.7

func NewGetIPOK() *GetIPOK

NewGetIPOK creates a GetIPOK with default headers values

func (*GetIPOK) Code added in v1.16.0

func (o *GetIPOK) Code() int

Code gets the status code for the get Ip o k response

func (*GetIPOK) Error added in v0.15.7

func (o *GetIPOK) Error() string

func (*GetIPOK) GetPayload added in v0.15.7

func (o *GetIPOK) GetPayload() []*models.IPListEntry

func (*GetIPOK) IsClientError added in v0.15.7

func (o *GetIPOK) IsClientError() bool

IsClientError returns true when this get Ip o k response has a 4xx status code

func (*GetIPOK) IsCode added in v0.15.7

func (o *GetIPOK) IsCode(code int) bool

IsCode returns true when this get Ip o k response a status code equal to that given

func (*GetIPOK) IsRedirect added in v0.15.7

func (o *GetIPOK) IsRedirect() bool

IsRedirect returns true when this get Ip o k response has a 3xx status code

func (*GetIPOK) IsServerError added in v0.15.7

func (o *GetIPOK) IsServerError() bool

IsServerError returns true when this get Ip o k response has a 5xx status code

func (*GetIPOK) IsSuccess added in v0.15.7

func (o *GetIPOK) IsSuccess() bool

IsSuccess returns true when this get Ip o k response has a 2xx status code

func (*GetIPOK) String added in v0.15.7

func (o *GetIPOK) String() string

type GetIPParams added in v0.15.7

type GetIPParams struct {

	/* Cidr.

	   A CIDR range of IPs
	*/
	Cidr *string

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

GetIPParams contains all the parameters to send to the API endpoint

for the get IP operation.

Typically these are written to a http.Request.

func NewGetIPParams added in v0.15.7

func NewGetIPParams() *GetIPParams

NewGetIPParams creates a new GetIPParams 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 NewGetIPParamsWithContext added in v0.15.7

func NewGetIPParamsWithContext(ctx context.Context) *GetIPParams

NewGetIPParamsWithContext creates a new GetIPParams object with the ability to set a context for a request.

func NewGetIPParamsWithHTTPClient added in v0.15.7

func NewGetIPParamsWithHTTPClient(client *http.Client) *GetIPParams

NewGetIPParamsWithHTTPClient creates a new GetIPParams object with the ability to set a custom HTTPClient for a request.

func NewGetIPParamsWithTimeout added in v0.15.7

func NewGetIPParamsWithTimeout(timeout time.Duration) *GetIPParams

NewGetIPParamsWithTimeout creates a new GetIPParams object with the ability to set a timeout on a request.

func (*GetIPParams) SetCidr added in v0.15.7

func (o *GetIPParams) SetCidr(cidr *string)

SetCidr adds the cidr to the get IP params

func (*GetIPParams) SetContext added in v0.15.7

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

SetContext adds the context to the get IP params

func (*GetIPParams) SetDefaults added in v0.15.7

func (o *GetIPParams) SetDefaults()

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

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

func (*GetIPParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the get IP params

func (*GetIPParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the get IP params

func (*GetIPParams) WithCidr added in v0.15.7

func (o *GetIPParams) WithCidr(cidr *string) *GetIPParams

WithCidr adds the cidr to the get IP params

func (*GetIPParams) WithContext added in v0.15.7

func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParams

WithContext adds the context to the get IP params

func (*GetIPParams) WithDefaults added in v0.15.7

func (o *GetIPParams) WithDefaults() *GetIPParams

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

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

func (*GetIPParams) WithHTTPClient added in v0.15.7

func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams

WithHTTPClient adds the HTTPClient to the get IP params

func (*GetIPParams) WithTimeout added in v0.15.7

func (o *GetIPParams) WithTimeout(timeout time.Duration) *GetIPParams

WithTimeout adds the timeout to the get IP params

func (*GetIPParams) WriteToRequest added in v0.15.7

func (o *GetIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetIPReader added in v0.15.7

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

GetIPReader is a Reader for the GetIP structure.

func (*GetIPReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type GetIdentityEndpointsNotFound added in v0.15.7

type GetIdentityEndpointsNotFound struct {
}

GetIdentityEndpointsNotFound describes a response with status code 404, with default header values.

Set of identities which are being used by local endpoints could not be found.

func NewGetIdentityEndpointsNotFound added in v0.15.7

func NewGetIdentityEndpointsNotFound() *GetIdentityEndpointsNotFound

NewGetIdentityEndpointsNotFound creates a GetIdentityEndpointsNotFound with default headers values

func (*GetIdentityEndpointsNotFound) Code added in v1.16.0

Code gets the status code for the get identity endpoints not found response

func (*GetIdentityEndpointsNotFound) Error added in v0.15.7

func (*GetIdentityEndpointsNotFound) IsClientError added in v0.15.7

func (o *GetIdentityEndpointsNotFound) IsClientError() bool

IsClientError returns true when this get identity endpoints not found response has a 4xx status code

func (*GetIdentityEndpointsNotFound) IsCode added in v0.15.7

func (o *GetIdentityEndpointsNotFound) IsCode(code int) bool

IsCode returns true when this get identity endpoints not found response a status code equal to that given

func (*GetIdentityEndpointsNotFound) IsRedirect added in v0.15.7

func (o *GetIdentityEndpointsNotFound) IsRedirect() bool

IsRedirect returns true when this get identity endpoints not found response has a 3xx status code

func (*GetIdentityEndpointsNotFound) IsServerError added in v0.15.7

func (o *GetIdentityEndpointsNotFound) IsServerError() bool

IsServerError returns true when this get identity endpoints not found response has a 5xx status code

func (*GetIdentityEndpointsNotFound) IsSuccess added in v0.15.7

func (o *GetIdentityEndpointsNotFound) IsSuccess() bool

IsSuccess returns true when this get identity endpoints not found response has a 2xx status code

func (*GetIdentityEndpointsNotFound) String added in v0.15.7

type GetIdentityEndpointsOK added in v0.15.7

type GetIdentityEndpointsOK struct {
	Payload []*models.IdentityEndpoints
}

GetIdentityEndpointsOK describes a response with status code 200, with default header values.

Success

func NewGetIdentityEndpointsOK added in v0.15.7

func NewGetIdentityEndpointsOK() *GetIdentityEndpointsOK

NewGetIdentityEndpointsOK creates a GetIdentityEndpointsOK with default headers values

func (*GetIdentityEndpointsOK) Code added in v1.16.0

func (o *GetIdentityEndpointsOK) Code() int

Code gets the status code for the get identity endpoints o k response

func (*GetIdentityEndpointsOK) Error added in v0.15.7

func (o *GetIdentityEndpointsOK) Error() string

func (*GetIdentityEndpointsOK) GetPayload added in v0.15.7

func (o *GetIdentityEndpointsOK) GetPayload() []*models.IdentityEndpoints

func (*GetIdentityEndpointsOK) IsClientError added in v0.15.7

func (o *GetIdentityEndpointsOK) IsClientError() bool

IsClientError returns true when this get identity endpoints o k response has a 4xx status code

func (*GetIdentityEndpointsOK) IsCode added in v0.15.7

func (o *GetIdentityEndpointsOK) IsCode(code int) bool

IsCode returns true when this get identity endpoints o k response a status code equal to that given

func (*GetIdentityEndpointsOK) IsRedirect added in v0.15.7

func (o *GetIdentityEndpointsOK) IsRedirect() bool

IsRedirect returns true when this get identity endpoints o k response has a 3xx status code

func (*GetIdentityEndpointsOK) IsServerError added in v0.15.7

func (o *GetIdentityEndpointsOK) IsServerError() bool

IsServerError returns true when this get identity endpoints o k response has a 5xx status code

func (*GetIdentityEndpointsOK) IsSuccess added in v0.15.7

func (o *GetIdentityEndpointsOK) IsSuccess() bool

IsSuccess returns true when this get identity endpoints o k response has a 2xx status code

func (*GetIdentityEndpointsOK) String added in v0.15.7

func (o *GetIdentityEndpointsOK) String() string

type GetIdentityEndpointsParams added in v0.15.7

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

GetIdentityEndpointsParams contains all the parameters to send to the API endpoint

for the get identity endpoints operation.

Typically these are written to a http.Request.

func NewGetIdentityEndpointsParams added in v0.15.7

func NewGetIdentityEndpointsParams() *GetIdentityEndpointsParams

NewGetIdentityEndpointsParams creates a new GetIdentityEndpointsParams 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 NewGetIdentityEndpointsParamsWithContext added in v0.15.7

func NewGetIdentityEndpointsParamsWithContext(ctx context.Context) *GetIdentityEndpointsParams

NewGetIdentityEndpointsParamsWithContext creates a new GetIdentityEndpointsParams object with the ability to set a context for a request.

func NewGetIdentityEndpointsParamsWithHTTPClient added in v0.15.7

func NewGetIdentityEndpointsParamsWithHTTPClient(client *http.Client) *GetIdentityEndpointsParams

NewGetIdentityEndpointsParamsWithHTTPClient creates a new GetIdentityEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIdentityEndpointsParamsWithTimeout added in v0.15.7

func NewGetIdentityEndpointsParamsWithTimeout(timeout time.Duration) *GetIdentityEndpointsParams

NewGetIdentityEndpointsParamsWithTimeout creates a new GetIdentityEndpointsParams object with the ability to set a timeout on a request.

func (*GetIdentityEndpointsParams) SetContext added in v0.15.7

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

SetContext adds the context to the get identity endpoints params

func (*GetIdentityEndpointsParams) SetDefaults added in v0.15.7

func (o *GetIdentityEndpointsParams) SetDefaults()

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

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

func (*GetIdentityEndpointsParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the get identity endpoints params

func (*GetIdentityEndpointsParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithContext added in v0.15.7

WithContext adds the context to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithDefaults added in v0.15.7

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

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

func (*GetIdentityEndpointsParams) WithHTTPClient added in v0.15.7

WithHTTPClient adds the HTTPClient to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithTimeout added in v0.15.7

WithTimeout adds the timeout to the get identity endpoints params

func (*GetIdentityEndpointsParams) WriteToRequest added in v0.15.7

WriteToRequest writes these params to a swagger request

type GetIdentityEndpointsReader added in v0.15.7

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

GetIdentityEndpointsReader is a Reader for the GetIdentityEndpoints structure.

func (*GetIdentityEndpointsReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type GetIdentityIDBadRequest

type GetIdentityIDBadRequest struct {
}

GetIdentityIDBadRequest describes a response with status code 400, with default header values.

Invalid identity provided

func NewGetIdentityIDBadRequest

func NewGetIdentityIDBadRequest() *GetIdentityIDBadRequest

NewGetIdentityIDBadRequest creates a GetIdentityIDBadRequest with default headers values

func (*GetIdentityIDBadRequest) Code added in v1.16.0

func (o *GetIdentityIDBadRequest) Code() int

Code gets the status code for the get identity Id bad request response

func (*GetIdentityIDBadRequest) Error

func (o *GetIdentityIDBadRequest) Error() string

func (*GetIdentityIDBadRequest) IsClientError added in v0.15.7

func (o *GetIdentityIDBadRequest) IsClientError() bool

IsClientError returns true when this get identity Id bad request response has a 4xx status code

func (*GetIdentityIDBadRequest) IsCode added in v0.15.7

func (o *GetIdentityIDBadRequest) IsCode(code int) bool

IsCode returns true when this get identity Id bad request response a status code equal to that given

func (*GetIdentityIDBadRequest) IsRedirect added in v0.15.7

func (o *GetIdentityIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get identity Id bad request response has a 3xx status code

func (*GetIdentityIDBadRequest) IsServerError added in v0.15.7

func (o *GetIdentityIDBadRequest) IsServerError() bool

IsServerError returns true when this get identity Id bad request response has a 5xx status code

func (*GetIdentityIDBadRequest) IsSuccess added in v0.15.7

func (o *GetIdentityIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get identity Id bad request response has a 2xx status code

func (*GetIdentityIDBadRequest) String added in v0.15.7

func (o *GetIdentityIDBadRequest) String() string

type GetIdentityIDInvalidStorageFormat

type GetIdentityIDInvalidStorageFormat struct {
	Payload models.Error
}

GetIdentityIDInvalidStorageFormat describes a response with status code 521, with default header values.

Invalid identity format in storage

func NewGetIdentityIDInvalidStorageFormat

func NewGetIdentityIDInvalidStorageFormat() *GetIdentityIDInvalidStorageFormat

NewGetIdentityIDInvalidStorageFormat creates a GetIdentityIDInvalidStorageFormat with default headers values

func (*GetIdentityIDInvalidStorageFormat) Code added in v1.16.0

Code gets the status code for the get identity Id invalid storage format response

func (*GetIdentityIDInvalidStorageFormat) Error

func (*GetIdentityIDInvalidStorageFormat) GetPayload added in v0.15.7

func (*GetIdentityIDInvalidStorageFormat) IsClientError added in v0.15.7

func (o *GetIdentityIDInvalidStorageFormat) IsClientError() bool

IsClientError returns true when this get identity Id invalid storage format response has a 4xx status code

func (*GetIdentityIDInvalidStorageFormat) IsCode added in v0.15.7

func (o *GetIdentityIDInvalidStorageFormat) IsCode(code int) bool

IsCode returns true when this get identity Id invalid storage format response a status code equal to that given

func (*GetIdentityIDInvalidStorageFormat) IsRedirect added in v0.15.7

func (o *GetIdentityIDInvalidStorageFormat) IsRedirect() bool

IsRedirect returns true when this get identity Id invalid storage format response has a 3xx status code

func (*GetIdentityIDInvalidStorageFormat) IsServerError added in v0.15.7

func (o *GetIdentityIDInvalidStorageFormat) IsServerError() bool

IsServerError returns true when this get identity Id invalid storage format response has a 5xx status code

func (*GetIdentityIDInvalidStorageFormat) IsSuccess added in v0.15.7

func (o *GetIdentityIDInvalidStorageFormat) IsSuccess() bool

IsSuccess returns true when this get identity Id invalid storage format response has a 2xx status code

func (*GetIdentityIDInvalidStorageFormat) String added in v0.15.7

type GetIdentityIDNotFound

type GetIdentityIDNotFound struct {
}

GetIdentityIDNotFound describes a response with status code 404, with default header values.

Identity not found

func NewGetIdentityIDNotFound

func NewGetIdentityIDNotFound() *GetIdentityIDNotFound

NewGetIdentityIDNotFound creates a GetIdentityIDNotFound with default headers values

func (*GetIdentityIDNotFound) Code added in v1.16.0

func (o *GetIdentityIDNotFound) Code() int

Code gets the status code for the get identity Id not found response

func (*GetIdentityIDNotFound) Error

func (o *GetIdentityIDNotFound) Error() string

func (*GetIdentityIDNotFound) IsClientError added in v0.15.7

func (o *GetIdentityIDNotFound) IsClientError() bool

IsClientError returns true when this get identity Id not found response has a 4xx status code

func (*GetIdentityIDNotFound) IsCode added in v0.15.7

func (o *GetIdentityIDNotFound) IsCode(code int) bool

IsCode returns true when this get identity Id not found response a status code equal to that given

func (*GetIdentityIDNotFound) IsRedirect added in v0.15.7

func (o *GetIdentityIDNotFound) IsRedirect() bool

IsRedirect returns true when this get identity Id not found response has a 3xx status code

func (*GetIdentityIDNotFound) IsServerError added in v0.15.7

func (o *GetIdentityIDNotFound) IsServerError() bool

IsServerError returns true when this get identity Id not found response has a 5xx status code

func (*GetIdentityIDNotFound) IsSuccess added in v0.15.7

func (o *GetIdentityIDNotFound) IsSuccess() bool

IsSuccess returns true when this get identity Id not found response has a 2xx status code

func (*GetIdentityIDNotFound) String added in v0.15.7

func (o *GetIdentityIDNotFound) String() string

type GetIdentityIDOK

type GetIdentityIDOK struct {
	Payload *models.Identity
}

GetIdentityIDOK describes a response with status code 200, with default header values.

Success

func NewGetIdentityIDOK

func NewGetIdentityIDOK() *GetIdentityIDOK

NewGetIdentityIDOK creates a GetIdentityIDOK with default headers values

func (*GetIdentityIDOK) Code added in v1.16.0

func (o *GetIdentityIDOK) Code() int

Code gets the status code for the get identity Id o k response

func (*GetIdentityIDOK) Error

func (o *GetIdentityIDOK) Error() string

func (*GetIdentityIDOK) GetPayload added in v0.15.7

func (o *GetIdentityIDOK) GetPayload() *models.Identity

func (*GetIdentityIDOK) IsClientError added in v0.15.7

func (o *GetIdentityIDOK) IsClientError() bool

IsClientError returns true when this get identity Id o k response has a 4xx status code

func (*GetIdentityIDOK) IsCode added in v0.15.7

func (o *GetIdentityIDOK) IsCode(code int) bool

IsCode returns true when this get identity Id o k response a status code equal to that given

func (*GetIdentityIDOK) IsRedirect added in v0.15.7

func (o *GetIdentityIDOK) IsRedirect() bool

IsRedirect returns true when this get identity Id o k response has a 3xx status code

func (*GetIdentityIDOK) IsServerError added in v0.15.7

func (o *GetIdentityIDOK) IsServerError() bool

IsServerError returns true when this get identity Id o k response has a 5xx status code

func (*GetIdentityIDOK) IsSuccess added in v0.15.7

func (o *GetIdentityIDOK) IsSuccess() bool

IsSuccess returns true when this get identity Id o k response has a 2xx status code

func (*GetIdentityIDOK) String added in v0.15.7

func (o *GetIdentityIDOK) String() string

type GetIdentityIDParams

type GetIdentityIDParams struct {

	/* ID.

	   Cluster wide unique identifier of a security identity.

	*/
	ID string

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

GetIdentityIDParams contains all the parameters to send to the API endpoint

for the get identity ID operation.

Typically these are written to a http.Request.

func NewGetIdentityIDParams

func NewGetIdentityIDParams() *GetIdentityIDParams

NewGetIdentityIDParams creates a new GetIdentityIDParams 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 NewGetIdentityIDParamsWithContext

func NewGetIdentityIDParamsWithContext(ctx context.Context) *GetIdentityIDParams

NewGetIdentityIDParamsWithContext creates a new GetIdentityIDParams object with the ability to set a context for a request.

func NewGetIdentityIDParamsWithHTTPClient

func NewGetIdentityIDParamsWithHTTPClient(client *http.Client) *GetIdentityIDParams

NewGetIdentityIDParamsWithHTTPClient creates a new GetIdentityIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetIdentityIDParamsWithTimeout

func NewGetIdentityIDParamsWithTimeout(timeout time.Duration) *GetIdentityIDParams

NewGetIdentityIDParamsWithTimeout creates a new GetIdentityIDParams object with the ability to set a timeout on a request.

func (*GetIdentityIDParams) SetContext

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

SetContext adds the context to the get identity ID params

func (*GetIdentityIDParams) SetDefaults added in v0.15.7

func (o *GetIdentityIDParams) SetDefaults()

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

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

func (*GetIdentityIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get identity ID params

func (*GetIdentityIDParams) SetID

func (o *GetIdentityIDParams) SetID(id string)

SetID adds the id to the get identity ID params

func (*GetIdentityIDParams) SetTimeout

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

SetTimeout adds the timeout to the get identity ID params

func (*GetIdentityIDParams) WithContext

WithContext adds the context to the get identity ID params

func (*GetIdentityIDParams) WithDefaults added in v0.15.7

func (o *GetIdentityIDParams) WithDefaults() *GetIdentityIDParams

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

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

func (*GetIdentityIDParams) WithHTTPClient

func (o *GetIdentityIDParams) WithHTTPClient(client *http.Client) *GetIdentityIDParams

WithHTTPClient adds the HTTPClient to the get identity ID params

func (*GetIdentityIDParams) WithID

WithID adds the id to the get identity ID params

func (*GetIdentityIDParams) WithTimeout

func (o *GetIdentityIDParams) WithTimeout(timeout time.Duration) *GetIdentityIDParams

WithTimeout adds the timeout to the get identity ID params

func (*GetIdentityIDParams) WriteToRequest

func (o *GetIdentityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetIdentityIDReader

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

GetIdentityIDReader is a Reader for the GetIdentityID structure.

func (*GetIdentityIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIdentityIDUnreachable

type GetIdentityIDUnreachable struct {
	Payload models.Error
}

GetIdentityIDUnreachable describes a response with status code 520, with default header values.

Identity storage unreachable. Likely a network problem.

func NewGetIdentityIDUnreachable

func NewGetIdentityIDUnreachable() *GetIdentityIDUnreachable

NewGetIdentityIDUnreachable creates a GetIdentityIDUnreachable with default headers values

func (*GetIdentityIDUnreachable) Code added in v1.16.0

func (o *GetIdentityIDUnreachable) Code() int

Code gets the status code for the get identity Id unreachable response

func (*GetIdentityIDUnreachable) Error

func (o *GetIdentityIDUnreachable) Error() string

func (*GetIdentityIDUnreachable) GetPayload added in v0.15.7

func (o *GetIdentityIDUnreachable) GetPayload() models.Error

func (*GetIdentityIDUnreachable) IsClientError added in v0.15.7

func (o *GetIdentityIDUnreachable) IsClientError() bool

IsClientError returns true when this get identity Id unreachable response has a 4xx status code

func (*GetIdentityIDUnreachable) IsCode added in v0.15.7

func (o *GetIdentityIDUnreachable) IsCode(code int) bool

IsCode returns true when this get identity Id unreachable response a status code equal to that given

func (*GetIdentityIDUnreachable) IsRedirect added in v0.15.7

func (o *GetIdentityIDUnreachable) IsRedirect() bool

IsRedirect returns true when this get identity Id unreachable response has a 3xx status code

func (*GetIdentityIDUnreachable) IsServerError added in v0.15.7

func (o *GetIdentityIDUnreachable) IsServerError() bool

IsServerError returns true when this get identity Id unreachable response has a 5xx status code

func (*GetIdentityIDUnreachable) IsSuccess added in v0.15.7

func (o *GetIdentityIDUnreachable) IsSuccess() bool

IsSuccess returns true when this get identity Id unreachable response has a 2xx status code

func (*GetIdentityIDUnreachable) String added in v0.15.7

func (o *GetIdentityIDUnreachable) String() string

type GetIdentityInvalidStorageFormat

type GetIdentityInvalidStorageFormat struct {
	Payload models.Error
}

GetIdentityInvalidStorageFormat describes a response with status code 521, with default header values.

Invalid identity format in storage

func NewGetIdentityInvalidStorageFormat

func NewGetIdentityInvalidStorageFormat() *GetIdentityInvalidStorageFormat

NewGetIdentityInvalidStorageFormat creates a GetIdentityInvalidStorageFormat with default headers values

func (*GetIdentityInvalidStorageFormat) Code added in v1.16.0

Code gets the status code for the get identity invalid storage format response

func (*GetIdentityInvalidStorageFormat) Error

func (*GetIdentityInvalidStorageFormat) GetPayload added in v0.15.7

func (*GetIdentityInvalidStorageFormat) IsClientError added in v0.15.7

func (o *GetIdentityInvalidStorageFormat) IsClientError() bool

IsClientError returns true when this get identity invalid storage format response has a 4xx status code

func (*GetIdentityInvalidStorageFormat) IsCode added in v0.15.7

func (o *GetIdentityInvalidStorageFormat) IsCode(code int) bool

IsCode returns true when this get identity invalid storage format response a status code equal to that given

func (*GetIdentityInvalidStorageFormat) IsRedirect added in v0.15.7

func (o *GetIdentityInvalidStorageFormat) IsRedirect() bool

IsRedirect returns true when this get identity invalid storage format response has a 3xx status code

func (*GetIdentityInvalidStorageFormat) IsServerError added in v0.15.7

func (o *GetIdentityInvalidStorageFormat) IsServerError() bool

IsServerError returns true when this get identity invalid storage format response has a 5xx status code

func (*GetIdentityInvalidStorageFormat) IsSuccess added in v0.15.7

func (o *GetIdentityInvalidStorageFormat) IsSuccess() bool

IsSuccess returns true when this get identity invalid storage format response has a 2xx status code

func (*GetIdentityInvalidStorageFormat) String added in v0.15.7

type GetIdentityNotFound

type GetIdentityNotFound struct {
}

GetIdentityNotFound describes a response with status code 404, with default header values.

Identities with provided parameters not found

func NewGetIdentityNotFound

func NewGetIdentityNotFound() *GetIdentityNotFound

NewGetIdentityNotFound creates a GetIdentityNotFound with default headers values

func (*GetIdentityNotFound) Code added in v1.16.0

func (o *GetIdentityNotFound) Code() int

Code gets the status code for the get identity not found response

func (*GetIdentityNotFound) Error

func (o *GetIdentityNotFound) Error() string

func (*GetIdentityNotFound) IsClientError added in v0.15.7

func (o *GetIdentityNotFound) IsClientError() bool

IsClientError returns true when this get identity not found response has a 4xx status code

func (*GetIdentityNotFound) IsCode added in v0.15.7

func (o *GetIdentityNotFound) IsCode(code int) bool

IsCode returns true when this get identity not found response a status code equal to that given

func (*GetIdentityNotFound) IsRedirect added in v0.15.7

func (o *GetIdentityNotFound) IsRedirect() bool

IsRedirect returns true when this get identity not found response has a 3xx status code

func (*GetIdentityNotFound) IsServerError added in v0.15.7

func (o *GetIdentityNotFound) IsServerError() bool

IsServerError returns true when this get identity not found response has a 5xx status code

func (*GetIdentityNotFound) IsSuccess added in v0.15.7

func (o *GetIdentityNotFound) IsSuccess() bool

IsSuccess returns true when this get identity not found response has a 2xx status code

func (*GetIdentityNotFound) String added in v0.15.7

func (o *GetIdentityNotFound) String() string

type GetIdentityOK

type GetIdentityOK struct {
	Payload []*models.Identity
}

GetIdentityOK describes a response with status code 200, with default header values.

Success

func NewGetIdentityOK

func NewGetIdentityOK() *GetIdentityOK

NewGetIdentityOK creates a GetIdentityOK with default headers values

func (*GetIdentityOK) Code added in v1.16.0

func (o *GetIdentityOK) Code() int

Code gets the status code for the get identity o k response

func (*GetIdentityOK) Error

func (o *GetIdentityOK) Error() string

func (*GetIdentityOK) GetPayload added in v0.15.7

func (o *GetIdentityOK) GetPayload() []*models.Identity

func (*GetIdentityOK) IsClientError added in v0.15.7

func (o *GetIdentityOK) IsClientError() bool

IsClientError returns true when this get identity o k response has a 4xx status code

func (*GetIdentityOK) IsCode added in v0.15.7

func (o *GetIdentityOK) IsCode(code int) bool

IsCode returns true when this get identity o k response a status code equal to that given

func (*GetIdentityOK) IsRedirect added in v0.15.7

func (o *GetIdentityOK) IsRedirect() bool

IsRedirect returns true when this get identity o k response has a 3xx status code

func (*GetIdentityOK) IsServerError added in v0.15.7

func (o *GetIdentityOK) IsServerError() bool

IsServerError returns true when this get identity o k response has a 5xx status code

func (*GetIdentityOK) IsSuccess added in v0.15.7

func (o *GetIdentityOK) IsSuccess() bool

IsSuccess returns true when this get identity o k response has a 2xx status code

func (*GetIdentityOK) String added in v0.15.7

func (o *GetIdentityOK) String() string

type GetIdentityParams

type GetIdentityParams struct {

	/* Labels.

	   List of labels

	*/
	Labels models.Labels

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

GetIdentityParams contains all the parameters to send to the API endpoint

for the get identity operation.

Typically these are written to a http.Request.

func NewGetIdentityParams

func NewGetIdentityParams() *GetIdentityParams

NewGetIdentityParams creates a new GetIdentityParams 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 NewGetIdentityParamsWithContext

func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams

NewGetIdentityParamsWithContext creates a new GetIdentityParams object with the ability to set a context for a request.

func NewGetIdentityParamsWithHTTPClient

func NewGetIdentityParamsWithHTTPClient(client *http.Client) *GetIdentityParams

NewGetIdentityParamsWithHTTPClient creates a new GetIdentityParams object with the ability to set a custom HTTPClient for a request.

func NewGetIdentityParamsWithTimeout

func NewGetIdentityParamsWithTimeout(timeout time.Duration) *GetIdentityParams

NewGetIdentityParamsWithTimeout creates a new GetIdentityParams object with the ability to set a timeout on a request.

func (*GetIdentityParams) SetContext

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

SetContext adds the context to the get identity params

func (*GetIdentityParams) SetDefaults added in v0.15.7

func (o *GetIdentityParams) SetDefaults()

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

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

func (*GetIdentityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get identity params

func (*GetIdentityParams) SetLabels

func (o *GetIdentityParams) SetLabels(labels models.Labels)

SetLabels adds the labels to the get identity params

func (*GetIdentityParams) SetTimeout

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

SetTimeout adds the timeout to the get identity params

func (*GetIdentityParams) WithContext

func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams

WithContext adds the context to the get identity params

func (*GetIdentityParams) WithDefaults added in v0.15.7

func (o *GetIdentityParams) WithDefaults() *GetIdentityParams

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

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

func (*GetIdentityParams) WithHTTPClient

func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams

WithHTTPClient adds the HTTPClient to the get identity params

func (*GetIdentityParams) WithLabels

func (o *GetIdentityParams) WithLabels(labels models.Labels) *GetIdentityParams

WithLabels adds the labels to the get identity params

func (*GetIdentityParams) WithTimeout

func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams

WithTimeout adds the timeout to the get identity params

func (*GetIdentityParams) WriteToRequest

func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetIdentityReader

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

GetIdentityReader is a Reader for the GetIdentity structure.

func (*GetIdentityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIdentityUnreachable

type GetIdentityUnreachable struct {
	Payload models.Error
}

GetIdentityUnreachable describes a response with status code 520, with default header values.

Identity storage unreachable. Likely a network problem.

func NewGetIdentityUnreachable

func NewGetIdentityUnreachable() *GetIdentityUnreachable

NewGetIdentityUnreachable creates a GetIdentityUnreachable with default headers values

func (*GetIdentityUnreachable) Code added in v1.16.0

func (o *GetIdentityUnreachable) Code() int

Code gets the status code for the get identity unreachable response

func (*GetIdentityUnreachable) Error

func (o *GetIdentityUnreachable) Error() string

func (*GetIdentityUnreachable) GetPayload added in v0.15.7

func (o *GetIdentityUnreachable) GetPayload() models.Error

func (*GetIdentityUnreachable) IsClientError added in v0.15.7

func (o *GetIdentityUnreachable) IsClientError() bool

IsClientError returns true when this get identity unreachable response has a 4xx status code

func (*GetIdentityUnreachable) IsCode added in v0.15.7

func (o *GetIdentityUnreachable) IsCode(code int) bool

IsCode returns true when this get identity unreachable response a status code equal to that given

func (*GetIdentityUnreachable) IsRedirect added in v0.15.7

func (o *GetIdentityUnreachable) IsRedirect() bool

IsRedirect returns true when this get identity unreachable response has a 3xx status code

func (*GetIdentityUnreachable) IsServerError added in v0.15.7

func (o *GetIdentityUnreachable) IsServerError() bool

IsServerError returns true when this get identity unreachable response has a 5xx status code

func (*GetIdentityUnreachable) IsSuccess added in v0.15.7

func (o *GetIdentityUnreachable) IsSuccess() bool

IsSuccess returns true when this get identity unreachable response has a 2xx status code

func (*GetIdentityUnreachable) String added in v0.15.7

func (o *GetIdentityUnreachable) String() string

type GetPolicyNotFound added in v0.9.0

type GetPolicyNotFound struct {
}

GetPolicyNotFound describes a response with status code 404, with default header values.

No policy rules found

func NewGetPolicyNotFound added in v0.9.0

func NewGetPolicyNotFound() *GetPolicyNotFound

NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values

func (*GetPolicyNotFound) Code added in v1.16.0

func (o *GetPolicyNotFound) Code() int

Code gets the status code for the get policy not found response

func (*GetPolicyNotFound) Error added in v0.9.0

func (o *GetPolicyNotFound) Error() string

func (*GetPolicyNotFound) IsClientError added in v0.15.7

func (o *GetPolicyNotFound) IsClientError() bool

IsClientError returns true when this get policy not found response has a 4xx status code

func (*GetPolicyNotFound) IsCode added in v0.15.7

func (o *GetPolicyNotFound) IsCode(code int) bool

IsCode returns true when this get policy not found response a status code equal to that given

func (*GetPolicyNotFound) IsRedirect added in v0.15.7

func (o *GetPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get policy not found response has a 3xx status code

func (*GetPolicyNotFound) IsServerError added in v0.15.7

func (o *GetPolicyNotFound) IsServerError() bool

IsServerError returns true when this get policy not found response has a 5xx status code

func (*GetPolicyNotFound) IsSuccess added in v0.15.7

func (o *GetPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get policy not found response has a 2xx status code

func (*GetPolicyNotFound) String added in v0.15.7

func (o *GetPolicyNotFound) String() string

type GetPolicyOK

type GetPolicyOK struct {
	Payload *models.Policy
}

GetPolicyOK describes a response with status code 200, with default header values.

Success

func NewGetPolicyOK

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates a GetPolicyOK with default headers values

func (*GetPolicyOK) Code added in v1.16.0

func (o *GetPolicyOK) Code() int

Code gets the status code for the get policy o k response

func (*GetPolicyOK) Error

func (o *GetPolicyOK) Error() string

func (*GetPolicyOK) GetPayload added in v0.15.7

func (o *GetPolicyOK) GetPayload() *models.Policy

func (*GetPolicyOK) IsClientError added in v0.15.7

func (o *GetPolicyOK) IsClientError() bool

IsClientError returns true when this get policy o k response has a 4xx status code

func (*GetPolicyOK) IsCode added in v0.15.7

func (o *GetPolicyOK) IsCode(code int) bool

IsCode returns true when this get policy o k response a status code equal to that given

func (*GetPolicyOK) IsRedirect added in v0.15.7

func (o *GetPolicyOK) IsRedirect() bool

IsRedirect returns true when this get policy o k response has a 3xx status code

func (*GetPolicyOK) IsServerError added in v0.15.7

func (o *GetPolicyOK) IsServerError() bool

IsServerError returns true when this get policy o k response has a 5xx status code

func (*GetPolicyOK) IsSuccess added in v0.15.7

func (o *GetPolicyOK) IsSuccess() bool

IsSuccess returns true when this get policy o k response has a 2xx status code

func (*GetPolicyOK) String added in v0.15.7

func (o *GetPolicyOK) String() string

type GetPolicyParams

type GetPolicyParams struct {

	// Labels.
	Labels models.Labels

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

GetPolicyParams contains all the parameters to send to the API endpoint

for the get policy operation.

Typically these are written to a http.Request.

func NewGetPolicyParams

func NewGetPolicyParams() *GetPolicyParams

NewGetPolicyParams creates a new GetPolicyParams 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 NewGetPolicyParamsWithContext

func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams

NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the ability to set a context for a request.

func NewGetPolicyParamsWithHTTPClient

func NewGetPolicyParamsWithHTTPClient(client *http.Client) *GetPolicyParams

NewGetPolicyParamsWithHTTPClient creates a new GetPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicyParamsWithTimeout

func NewGetPolicyParamsWithTimeout(timeout time.Duration) *GetPolicyParams

NewGetPolicyParamsWithTimeout creates a new GetPolicyParams object with the ability to set a timeout on a request.

func (*GetPolicyParams) SetContext

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

SetContext adds the context to the get policy params

func (*GetPolicyParams) SetDefaults added in v0.15.7

func (o *GetPolicyParams) SetDefaults()

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

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

func (*GetPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) SetLabels added in v0.9.0

func (o *GetPolicyParams) SetLabels(labels models.Labels)

SetLabels adds the labels to the get policy params

func (*GetPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WithContext

func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams

WithContext adds the context to the get policy params

func (*GetPolicyParams) WithDefaults added in v0.15.7

func (o *GetPolicyParams) WithDefaults() *GetPolicyParams

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

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

func (*GetPolicyParams) WithHTTPClient

func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams

WithHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) WithLabels added in v0.9.0

func (o *GetPolicyParams) WithLabels(labels models.Labels) *GetPolicyParams

WithLabels adds the labels to the get policy params

func (*GetPolicyParams) WithTimeout

func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams

WithTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WriteToRequest

func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPolicyReader

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

GetPolicyReader is a Reader for the GetPolicy structure.

func (*GetPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPolicySelectorsOK added in v0.15.7

type GetPolicySelectorsOK struct {
	Payload models.SelectorCache
}

GetPolicySelectorsOK describes a response with status code 200, with default header values.

Success

func NewGetPolicySelectorsOK added in v0.15.7

func NewGetPolicySelectorsOK() *GetPolicySelectorsOK

NewGetPolicySelectorsOK creates a GetPolicySelectorsOK with default headers values

func (*GetPolicySelectorsOK) Code added in v1.16.0

func (o *GetPolicySelectorsOK) Code() int

Code gets the status code for the get policy selectors o k response

func (*GetPolicySelectorsOK) Error added in v0.15.7

func (o *GetPolicySelectorsOK) Error() string

func (*GetPolicySelectorsOK) GetPayload added in v0.15.7

func (o *GetPolicySelectorsOK) GetPayload() models.SelectorCache

func (*GetPolicySelectorsOK) IsClientError added in v0.15.7

func (o *GetPolicySelectorsOK) IsClientError() bool

IsClientError returns true when this get policy selectors o k response has a 4xx status code

func (*GetPolicySelectorsOK) IsCode added in v0.15.7

func (o *GetPolicySelectorsOK) IsCode(code int) bool

IsCode returns true when this get policy selectors o k response a status code equal to that given

func (*GetPolicySelectorsOK) IsRedirect added in v0.15.7

func (o *GetPolicySelectorsOK) IsRedirect() bool

IsRedirect returns true when this get policy selectors o k response has a 3xx status code

func (*GetPolicySelectorsOK) IsServerError added in v0.15.7

func (o *GetPolicySelectorsOK) IsServerError() bool

IsServerError returns true when this get policy selectors o k response has a 5xx status code

func (*GetPolicySelectorsOK) IsSuccess added in v0.15.7

func (o *GetPolicySelectorsOK) IsSuccess() bool

IsSuccess returns true when this get policy selectors o k response has a 2xx status code

func (*GetPolicySelectorsOK) String added in v0.15.7

func (o *GetPolicySelectorsOK) String() string

type GetPolicySelectorsParams added in v0.15.7

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

GetPolicySelectorsParams contains all the parameters to send to the API endpoint

for the get policy selectors operation.

Typically these are written to a http.Request.

func NewGetPolicySelectorsParams added in v0.15.7

func NewGetPolicySelectorsParams() *GetPolicySelectorsParams

NewGetPolicySelectorsParams creates a new GetPolicySelectorsParams 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 NewGetPolicySelectorsParamsWithContext added in v0.15.7

func NewGetPolicySelectorsParamsWithContext(ctx context.Context) *GetPolicySelectorsParams

NewGetPolicySelectorsParamsWithContext creates a new GetPolicySelectorsParams object with the ability to set a context for a request.

func NewGetPolicySelectorsParamsWithHTTPClient added in v0.15.7

func NewGetPolicySelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySelectorsParams

NewGetPolicySelectorsParamsWithHTTPClient creates a new GetPolicySelectorsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicySelectorsParamsWithTimeout added in v0.15.7

func NewGetPolicySelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySelectorsParams

NewGetPolicySelectorsParamsWithTimeout creates a new GetPolicySelectorsParams object with the ability to set a timeout on a request.

func (*GetPolicySelectorsParams) SetContext added in v0.15.7

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

SetContext adds the context to the get policy selectors params

func (*GetPolicySelectorsParams) SetDefaults added in v0.15.7

func (o *GetPolicySelectorsParams) SetDefaults()

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

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

func (*GetPolicySelectorsParams) SetHTTPClient added in v0.15.7

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

SetHTTPClient adds the HTTPClient to the get policy selectors params

func (*GetPolicySelectorsParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the get policy selectors params

func (*GetPolicySelectorsParams) WithContext added in v0.15.7

WithContext adds the context to the get policy selectors params

func (*GetPolicySelectorsParams) WithDefaults added in v0.15.7

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

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

func (*GetPolicySelectorsParams) WithHTTPClient added in v0.15.7

func (o *GetPolicySelectorsParams) WithHTTPClient(client *http.Client) *GetPolicySelectorsParams

WithHTTPClient adds the HTTPClient to the get policy selectors params

func (*GetPolicySelectorsParams) WithTimeout added in v0.15.7

WithTimeout adds the timeout to the get policy selectors params

func (*GetPolicySelectorsParams) WriteToRequest added in v0.15.7

WriteToRequest writes these params to a swagger request

type GetPolicySelectorsReader added in v0.15.7

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

GetPolicySelectorsReader is a Reader for the GetPolicySelectors structure.

func (*GetPolicySelectorsReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type PutPolicyFailure added in v0.9.0

type PutPolicyFailure struct {
	Payload models.Error
}

PutPolicyFailure describes a response with status code 500, with default header values.

Policy import failed

func NewPutPolicyFailure added in v0.9.0

func NewPutPolicyFailure() *PutPolicyFailure

NewPutPolicyFailure creates a PutPolicyFailure with default headers values

func (*PutPolicyFailure) Code added in v1.16.0

func (o *PutPolicyFailure) Code() int

Code gets the status code for the put policy failure response

func (*PutPolicyFailure) Error added in v0.9.0

func (o *PutPolicyFailure) Error() string

func (*PutPolicyFailure) GetPayload added in v0.15.7

func (o *PutPolicyFailure) GetPayload() models.Error

func (*PutPolicyFailure) IsClientError added in v0.15.7

func (o *PutPolicyFailure) IsClientError() bool

IsClientError returns true when this put policy failure response has a 4xx status code

func (*PutPolicyFailure) IsCode added in v0.15.7

func (o *PutPolicyFailure) IsCode(code int) bool

IsCode returns true when this put policy failure response a status code equal to that given

func (*PutPolicyFailure) IsRedirect added in v0.15.7

func (o *PutPolicyFailure) IsRedirect() bool

IsRedirect returns true when this put policy failure response has a 3xx status code

func (*PutPolicyFailure) IsServerError added in v0.15.7

func (o *PutPolicyFailure) IsServerError() bool

IsServerError returns true when this put policy failure response has a 5xx status code

func (*PutPolicyFailure) IsSuccess added in v0.15.7

func (o *PutPolicyFailure) IsSuccess() bool

IsSuccess returns true when this put policy failure response has a 2xx status code

func (*PutPolicyFailure) String added in v0.15.7

func (o *PutPolicyFailure) String() string

type PutPolicyForbidden added in v0.15.7

type PutPolicyForbidden struct {
}

PutPolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutPolicyForbidden added in v0.15.7

func NewPutPolicyForbidden() *PutPolicyForbidden

NewPutPolicyForbidden creates a PutPolicyForbidden with default headers values

func (*PutPolicyForbidden) Code added in v1.16.0

func (o *PutPolicyForbidden) Code() int

Code gets the status code for the put policy forbidden response

func (*PutPolicyForbidden) Error added in v0.15.7

func (o *PutPolicyForbidden) Error() string

func (*PutPolicyForbidden) IsClientError added in v0.15.7

func (o *PutPolicyForbidden) IsClientError() bool

IsClientError returns true when this put policy forbidden response has a 4xx status code

func (*PutPolicyForbidden) IsCode added in v0.15.7

func (o *PutPolicyForbidden) IsCode(code int) bool

IsCode returns true when this put policy forbidden response a status code equal to that given

func (*PutPolicyForbidden) IsRedirect added in v0.15.7

func (o *PutPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this put policy forbidden response has a 3xx status code

func (*PutPolicyForbidden) IsServerError added in v0.15.7

func (o *PutPolicyForbidden) IsServerError() bool

IsServerError returns true when this put policy forbidden response has a 5xx status code

func (*PutPolicyForbidden) IsSuccess added in v0.15.7

func (o *PutPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this put policy forbidden response has a 2xx status code

func (*PutPolicyForbidden) String added in v0.15.7

func (o *PutPolicyForbidden) String() string

type PutPolicyInvalidPath added in v0.9.0

type PutPolicyInvalidPath struct {
	Payload models.Error
}

PutPolicyInvalidPath describes a response with status code 460, with default header values.

Invalid path

func NewPutPolicyInvalidPath added in v0.9.0

func NewPutPolicyInvalidPath() *PutPolicyInvalidPath

NewPutPolicyInvalidPath creates a PutPolicyInvalidPath with default headers values

func (*PutPolicyInvalidPath) Code added in v1.16.0

func (o *PutPolicyInvalidPath) Code() int

Code gets the status code for the put policy invalid path response

func (*PutPolicyInvalidPath) Error added in v0.9.0

func (o *PutPolicyInvalidPath) Error() string

func (*PutPolicyInvalidPath) GetPayload added in v0.15.7

func (o *PutPolicyInvalidPath) GetPayload() models.Error

func (*PutPolicyInvalidPath) IsClientError added in v0.15.7

func (o *PutPolicyInvalidPath) IsClientError() bool

IsClientError returns true when this put policy invalid path response has a 4xx status code

func (*PutPolicyInvalidPath) IsCode added in v0.15.7

func (o *PutPolicyInvalidPath) IsCode(code int) bool

IsCode returns true when this put policy invalid path response a status code equal to that given

func (*PutPolicyInvalidPath) IsRedirect added in v0.15.7

func (o *PutPolicyInvalidPath) IsRedirect() bool

IsRedirect returns true when this put policy invalid path response has a 3xx status code

func (*PutPolicyInvalidPath) IsServerError added in v0.15.7

func (o *PutPolicyInvalidPath) IsServerError() bool

IsServerError returns true when this put policy invalid path response has a 5xx status code

func (*PutPolicyInvalidPath) IsSuccess added in v0.15.7

func (o *PutPolicyInvalidPath) IsSuccess() bool

IsSuccess returns true when this put policy invalid path response has a 2xx status code

func (*PutPolicyInvalidPath) String added in v0.15.7

func (o *PutPolicyInvalidPath) String() string

type PutPolicyInvalidPolicy added in v0.9.0

type PutPolicyInvalidPolicy struct {
	Payload models.Error
}

PutPolicyInvalidPolicy describes a response with status code 400, with default header values.

Invalid policy

func NewPutPolicyInvalidPolicy added in v0.9.0

func NewPutPolicyInvalidPolicy() *PutPolicyInvalidPolicy

NewPutPolicyInvalidPolicy creates a PutPolicyInvalidPolicy with default headers values

func (*PutPolicyInvalidPolicy) Code added in v1.16.0

func (o *PutPolicyInvalidPolicy) Code() int

Code gets the status code for the put policy invalid policy response

func (*PutPolicyInvalidPolicy) Error added in v0.9.0

func (o *PutPolicyInvalidPolicy) Error() string

func (*PutPolicyInvalidPolicy) GetPayload added in v0.15.7

func (o *PutPolicyInvalidPolicy) GetPayload() models.Error

func (*PutPolicyInvalidPolicy) IsClientError added in v0.15.7

func (o *PutPolicyInvalidPolicy) IsClientError() bool

IsClientError returns true when this put policy invalid policy response has a 4xx status code

func (*PutPolicyInvalidPolicy) IsCode added in v0.15.7

func (o *PutPolicyInvalidPolicy) IsCode(code int) bool

IsCode returns true when this put policy invalid policy response a status code equal to that given

func (*PutPolicyInvalidPolicy) IsRedirect added in v0.15.7

func (o *PutPolicyInvalidPolicy) IsRedirect() bool

IsRedirect returns true when this put policy invalid policy response has a 3xx status code

func (*PutPolicyInvalidPolicy) IsServerError added in v0.15.7

func (o *PutPolicyInvalidPolicy) IsServerError() bool

IsServerError returns true when this put policy invalid policy response has a 5xx status code

func (*PutPolicyInvalidPolicy) IsSuccess added in v0.15.7

func (o *PutPolicyInvalidPolicy) IsSuccess() bool

IsSuccess returns true when this put policy invalid policy response has a 2xx status code

func (*PutPolicyInvalidPolicy) String added in v0.15.7

func (o *PutPolicyInvalidPolicy) String() string

type PutPolicyOK added in v0.9.0

type PutPolicyOK struct {
	Payload *models.Policy
}

PutPolicyOK describes a response with status code 200, with default header values.

Success

func NewPutPolicyOK added in v0.9.0

func NewPutPolicyOK() *PutPolicyOK

NewPutPolicyOK creates a PutPolicyOK with default headers values

func (*PutPolicyOK) Code added in v1.16.0

func (o *PutPolicyOK) Code() int

Code gets the status code for the put policy o k response

func (*PutPolicyOK) Error added in v0.9.0

func (o *PutPolicyOK) Error() string

func (*PutPolicyOK) GetPayload added in v0.15.7

func (o *PutPolicyOK) GetPayload() *models.Policy

func (*PutPolicyOK) IsClientError added in v0.15.7

func (o *PutPolicyOK) IsClientError() bool

IsClientError returns true when this put policy o k response has a 4xx status code

func (*PutPolicyOK) IsCode added in v0.15.7

func (o *PutPolicyOK) IsCode(code int) bool

IsCode returns true when this put policy o k response a status code equal to that given

func (*PutPolicyOK) IsRedirect added in v0.15.7

func (o *PutPolicyOK) IsRedirect() bool

IsRedirect returns true when this put policy o k response has a 3xx status code

func (*PutPolicyOK) IsServerError added in v0.15.7

func (o *PutPolicyOK) IsServerError() bool

IsServerError returns true when this put policy o k response has a 5xx status code

func (*PutPolicyOK) IsSuccess added in v0.15.7

func (o *PutPolicyOK) IsSuccess() bool

IsSuccess returns true when this put policy o k response has a 2xx status code

func (*PutPolicyOK) String added in v0.15.7

func (o *PutPolicyOK) String() string

type PutPolicyParams added in v0.9.0

type PutPolicyParams struct {

	/* Policy.

	   Policy rules
	*/
	Policy string

	/* Replace.

	   If true, indicates that existing rules with identical labels should be replaced.
	*/
	Replace *bool

	/* ReplaceWithLabels.

	   If present, indicates that existing rules with the given labels should be deleted.
	*/
	ReplaceWithLabels []string

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

PutPolicyParams contains all the parameters to send to the API endpoint

for the put policy operation.

Typically these are written to a http.Request.

func NewPutPolicyParams added in v0.9.0

func NewPutPolicyParams() *PutPolicyParams

NewPutPolicyParams creates a new PutPolicyParams 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 NewPutPolicyParamsWithContext added in v0.9.0

func NewPutPolicyParamsWithContext(ctx context.Context) *PutPolicyParams

NewPutPolicyParamsWithContext creates a new PutPolicyParams object with the ability to set a context for a request.

func NewPutPolicyParamsWithHTTPClient added in v0.9.0

func NewPutPolicyParamsWithHTTPClient(client *http.Client) *PutPolicyParams

NewPutPolicyParamsWithHTTPClient creates a new PutPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPutPolicyParamsWithTimeout added in v0.9.0

func NewPutPolicyParamsWithTimeout(timeout time.Duration) *PutPolicyParams

NewPutPolicyParamsWithTimeout creates a new PutPolicyParams object with the ability to set a timeout on a request.

func (*PutPolicyParams) SetContext added in v0.9.0

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

SetContext adds the context to the put policy params

func (*PutPolicyParams) SetDefaults added in v0.15.7

func (o *PutPolicyParams) SetDefaults()

SetDefaults hydrates default values in the put policy params (not the query body).

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

func (*PutPolicyParams) SetHTTPClient added in v0.9.0

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

SetHTTPClient adds the HTTPClient to the put policy params

func (*PutPolicyParams) SetPolicy added in v0.9.0

func (o *PutPolicyParams) SetPolicy(policy string)

SetPolicy adds the policy to the put policy params

func (*PutPolicyParams) SetReplace added in v0.15.7

func (o *PutPolicyParams) SetReplace(replace *bool)

SetReplace adds the replace to the put policy params

func (*PutPolicyParams) SetReplaceWithLabels added in v0.15.7

func (o *PutPolicyParams) SetReplaceWithLabels(replaceWithLabels []string)

SetReplaceWithLabels adds the replaceWithLabels to the put policy params

func (*PutPolicyParams) SetTimeout added in v0.9.0

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

SetTimeout adds the timeout to the put policy params

func (*PutPolicyParams) WithContext added in v0.9.0

func (o *PutPolicyParams) WithContext(ctx context.Context) *PutPolicyParams

WithContext adds the context to the put policy params

func (*PutPolicyParams) WithDefaults added in v0.15.7

func (o *PutPolicyParams) WithDefaults() *PutPolicyParams

WithDefaults hydrates default values in the put policy params (not the query body).

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

func (*PutPolicyParams) WithHTTPClient added in v0.9.0

func (o *PutPolicyParams) WithHTTPClient(client *http.Client) *PutPolicyParams

WithHTTPClient adds the HTTPClient to the put policy params

func (*PutPolicyParams) WithPolicy added in v0.9.0

func (o *PutPolicyParams) WithPolicy(policy string) *PutPolicyParams

WithPolicy adds the policy to the put policy params

func (*PutPolicyParams) WithReplace added in v0.15.7

func (o *PutPolicyParams) WithReplace(replace *bool) *PutPolicyParams

WithReplace adds the replace to the put policy params

func (*PutPolicyParams) WithReplaceWithLabels added in v0.15.7

func (o *PutPolicyParams) WithReplaceWithLabels(replaceWithLabels []string) *PutPolicyParams

WithReplaceWithLabels adds the replaceWithLabels to the put policy params

func (*PutPolicyParams) WithTimeout added in v0.9.0

func (o *PutPolicyParams) WithTimeout(timeout time.Duration) *PutPolicyParams

WithTimeout adds the timeout to the put policy params

func (*PutPolicyParams) WriteToRequest added in v0.9.0

func (o *PutPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutPolicyReader added in v0.9.0

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

PutPolicyReader is a Reader for the PutPolicy structure.

func (*PutPolicyReader) ReadResponse added in v0.9.0

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