policy

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for policy API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new policy API client.

func (*Client) DeleteFqdnCache added in v1.5.0

func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams) (*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) (*DeletePolicyOK, error)

DeletePolicy deletes a policy sub tree

func (*Client) GetFqdnCache added in v1.5.0

func (a *Client) GetFqdnCache(params *GetFqdnCacheParams) (*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 endpoint id, DNS name, or CIDR IP range.

func (*Client) GetFqdnCacheID added in v1.5.0

func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams) (*GetFqdnCacheIDOK, error)

GetFqdnCacheID retrieves the list of DNS lookups intercepted from an endpoint

Retrieves the list of DNS lookups intercepted from endpoints, optionally filtered by endpoint id, DNS name, or CIDR IP range.

func (*Client) GetIdentity

func (a *Client) GetIdentity(params *GetIdentityParams) (*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 v1.6.0

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

GetIdentityEndpoints retrieves identities which are being used by local endpoints

func (*Client) GetIdentityID

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

GetIdentityID retrieves identity

func (*Client) GetPolicy

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

GetPolicy retrieves entire policy tree

Returns the entire policy tree with all children.

func (*Client) GetPolicyResolve

func (a *Client) GetPolicyResolve(params *GetPolicyResolveParams) (*GetPolicyResolveOK, error)

GetPolicyResolve resolves policy for an identity context

func (*Client) GetPolicySelectors added in v1.6.0

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

GetPolicySelectors sees what selectors match which identities

func (*Client) PutPolicy added in v0.9.0

func (a *Client) PutPolicy(params *PutPolicyParams) (*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 DeleteFqdnCacheBadRequest added in v1.5.0

type DeleteFqdnCacheBadRequest struct {
	Payload models.Error
}

DeleteFqdnCacheBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewDeleteFqdnCacheBadRequest added in v1.5.0

func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest

NewDeleteFqdnCacheBadRequest creates a DeleteFqdnCacheBadRequest with default headers values

func (*DeleteFqdnCacheBadRequest) Error added in v1.5.0

func (o *DeleteFqdnCacheBadRequest) Error() string

type DeleteFqdnCacheOK added in v1.5.0

type DeleteFqdnCacheOK struct {
}

DeleteFqdnCacheOK handles this case with default header values.

Success

func NewDeleteFqdnCacheOK added in v1.5.0

func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK

NewDeleteFqdnCacheOK creates a DeleteFqdnCacheOK with default headers values

func (*DeleteFqdnCacheOK) Error added in v1.5.0

func (o *DeleteFqdnCacheOK) Error() string

type DeleteFqdnCacheParams added in v1.5.0

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 v1.5.0

func NewDeleteFqdnCacheParams() *DeleteFqdnCacheParams

NewDeleteFqdnCacheParams creates a new DeleteFqdnCacheParams object with the default values initialized.

func NewDeleteFqdnCacheParamsWithContext added in v1.5.0

func NewDeleteFqdnCacheParamsWithContext(ctx context.Context) *DeleteFqdnCacheParams

NewDeleteFqdnCacheParamsWithContext creates a new DeleteFqdnCacheParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteFqdnCacheParamsWithHTTPClient added in v1.5.0

func NewDeleteFqdnCacheParamsWithHTTPClient(client *http.Client) *DeleteFqdnCacheParams

NewDeleteFqdnCacheParamsWithHTTPClient creates a new DeleteFqdnCacheParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteFqdnCacheParamsWithTimeout added in v1.5.0

func NewDeleteFqdnCacheParamsWithTimeout(timeout time.Duration) *DeleteFqdnCacheParams

NewDeleteFqdnCacheParamsWithTimeout creates a new DeleteFqdnCacheParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteFqdnCacheParams) SetContext added in v1.5.0

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

SetContext adds the context to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetMatchpattern added in v1.5.0

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

SetMatchpattern adds the matchpattern to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithContext added in v1.5.0

WithContext adds the context to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithMatchpattern added in v1.5.0

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

WithMatchpattern adds the matchpattern to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithTimeout added in v1.5.0

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

WithTimeout adds the timeout to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WriteToRequest added in v1.5.0

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

WriteToRequest writes these params to a swagger request

type DeleteFqdnCacheReader added in v1.5.0

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

DeleteFqdnCacheReader is a Reader for the DeleteFqdnCache structure.

func (*DeleteFqdnCacheReader) ReadResponse added in v1.5.0

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 handles this case 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) Error added in v0.9.0

func (o *DeletePolicyFailure) Error() string

type DeletePolicyInvalid added in v0.9.0

type DeletePolicyInvalid struct {
	Payload models.Error
}

DeletePolicyInvalid handles this case 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) Error added in v0.9.0

func (o *DeletePolicyInvalid) Error() string

type DeletePolicyNotFound added in v0.9.0

type DeletePolicyNotFound struct {
}

DeletePolicyNotFound handles this case 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) Error added in v0.9.0

func (o *DeletePolicyNotFound) Error() string

type DeletePolicyOK added in v0.10.0

type DeletePolicyOK struct {
	Payload *models.Policy
}

DeletePolicyOK handles this case 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) Error added in v0.10.0

func (o *DeletePolicyOK) Error() 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 values initialized.

func NewDeletePolicyParamsWithContext added in v0.9.0

func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams

NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 v1.5.0

type GetFqdnCacheBadRequest struct {
	Payload models.Error
}

GetFqdnCacheBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnCacheBadRequest added in v1.5.0

func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest

NewGetFqdnCacheBadRequest creates a GetFqdnCacheBadRequest with default headers values

func (*GetFqdnCacheBadRequest) Error added in v1.5.0

func (o *GetFqdnCacheBadRequest) Error() string

type GetFqdnCacheIDBadRequest added in v1.5.0

type GetFqdnCacheIDBadRequest struct {
	Payload models.Error
}

GetFqdnCacheIDBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnCacheIDBadRequest added in v1.5.0

func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest

NewGetFqdnCacheIDBadRequest creates a GetFqdnCacheIDBadRequest with default headers values

func (*GetFqdnCacheIDBadRequest) Error added in v1.5.0

func (o *GetFqdnCacheIDBadRequest) Error() string

type GetFqdnCacheIDNotFound added in v1.5.0

type GetFqdnCacheIDNotFound struct {
}

GetFqdnCacheIDNotFound handles this case with default header values.

No DNS data with provided parameters found

func NewGetFqdnCacheIDNotFound added in v1.5.0

func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound

NewGetFqdnCacheIDNotFound creates a GetFqdnCacheIDNotFound with default headers values

func (*GetFqdnCacheIDNotFound) Error added in v1.5.0

func (o *GetFqdnCacheIDNotFound) Error() string

type GetFqdnCacheIDOK added in v1.5.0

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

GetFqdnCacheIDOK handles this case with default header values.

Success

func NewGetFqdnCacheIDOK added in v1.5.0

func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK

NewGetFqdnCacheIDOK creates a GetFqdnCacheIDOK with default headers values

func (*GetFqdnCacheIDOK) Error added in v1.5.0

func (o *GetFqdnCacheIDOK) Error() string

type GetFqdnCacheIDParams added in v1.5.0

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
	  - container-id: Container runtime ID, e.g. container-id:22222
	  - container-name: Container name, e.g. container-name:foobar
	  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar
	  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444


	*/
	ID string
	/*Matchpattern
	  A toFQDNs compatible matchPattern expression

	*/
	Matchpattern *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 v1.5.0

func NewGetFqdnCacheIDParams() *GetFqdnCacheIDParams

NewGetFqdnCacheIDParams creates a new GetFqdnCacheIDParams object with the default values initialized.

func NewGetFqdnCacheIDParamsWithContext added in v1.5.0

func NewGetFqdnCacheIDParamsWithContext(ctx context.Context) *GetFqdnCacheIDParams

NewGetFqdnCacheIDParamsWithContext creates a new GetFqdnCacheIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetFqdnCacheIDParamsWithHTTPClient added in v1.5.0

func NewGetFqdnCacheIDParamsWithHTTPClient(client *http.Client) *GetFqdnCacheIDParams

NewGetFqdnCacheIDParamsWithHTTPClient creates a new GetFqdnCacheIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFqdnCacheIDParamsWithTimeout added in v1.5.0

func NewGetFqdnCacheIDParamsWithTimeout(timeout time.Duration) *GetFqdnCacheIDParams

NewGetFqdnCacheIDParamsWithTimeout creates a new GetFqdnCacheIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFqdnCacheIDParams) SetCidr added in v1.5.0

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

SetCidr adds the cidr to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetContext added in v1.5.0

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

SetContext adds the context to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetID added in v1.5.0

func (o *GetFqdnCacheIDParams) SetID(id string)

SetID adds the id to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetMatchpattern added in v1.5.0

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

SetMatchpattern adds the matchpattern to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithCidr added in v1.5.0

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

WithCidr adds the cidr to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithContext added in v1.5.0

WithContext adds the context to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithID added in v1.5.0

WithID adds the id to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithMatchpattern added in v1.5.0

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

WithMatchpattern adds the matchpattern to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithTimeout added in v1.5.0

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

WithTimeout adds the timeout to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WriteToRequest added in v1.5.0

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

WriteToRequest writes these params to a swagger request

type GetFqdnCacheIDReader added in v1.5.0

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

GetFqdnCacheIDReader is a Reader for the GetFqdnCacheID structure.

func (*GetFqdnCacheIDReader) ReadResponse added in v1.5.0

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 v1.5.0

type GetFqdnCacheNotFound struct {
}

GetFqdnCacheNotFound handles this case with default header values.

No DNS data with provided parameters found

func NewGetFqdnCacheNotFound added in v1.5.0

func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound

NewGetFqdnCacheNotFound creates a GetFqdnCacheNotFound with default headers values

func (*GetFqdnCacheNotFound) Error added in v1.5.0

func (o *GetFqdnCacheNotFound) Error() string

type GetFqdnCacheOK added in v1.5.0

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

GetFqdnCacheOK handles this case with default header values.

Success

func NewGetFqdnCacheOK added in v1.5.0

func NewGetFqdnCacheOK() *GetFqdnCacheOK

NewGetFqdnCacheOK creates a GetFqdnCacheOK with default headers values

func (*GetFqdnCacheOK) Error added in v1.5.0

func (o *GetFqdnCacheOK) Error() string

type GetFqdnCacheParams added in v1.5.0

type GetFqdnCacheParams struct {

	/*Cidr
	  A CIDR range of IPs

	*/
	Cidr *string
	/*Matchpattern
	  A toFQDNs compatible matchPattern expression

	*/
	Matchpattern *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 v1.5.0

func NewGetFqdnCacheParams() *GetFqdnCacheParams

NewGetFqdnCacheParams creates a new GetFqdnCacheParams object with the default values initialized.

func NewGetFqdnCacheParamsWithContext added in v1.5.0

func NewGetFqdnCacheParamsWithContext(ctx context.Context) *GetFqdnCacheParams

NewGetFqdnCacheParamsWithContext creates a new GetFqdnCacheParams object with the default values initialized, and the ability to set a context for a request

func NewGetFqdnCacheParamsWithHTTPClient added in v1.5.0

func NewGetFqdnCacheParamsWithHTTPClient(client *http.Client) *GetFqdnCacheParams

NewGetFqdnCacheParamsWithHTTPClient creates a new GetFqdnCacheParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFqdnCacheParamsWithTimeout added in v1.5.0

func NewGetFqdnCacheParamsWithTimeout(timeout time.Duration) *GetFqdnCacheParams

NewGetFqdnCacheParamsWithTimeout creates a new GetFqdnCacheParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFqdnCacheParams) SetCidr added in v1.5.0

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

SetCidr adds the cidr to the get fqdn cache params

func (*GetFqdnCacheParams) SetContext added in v1.5.0

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

SetContext adds the context to the get fqdn cache params

func (*GetFqdnCacheParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get fqdn cache params

func (*GetFqdnCacheParams) SetMatchpattern added in v1.5.0

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

SetMatchpattern adds the matchpattern to the get fqdn cache params

func (*GetFqdnCacheParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get fqdn cache params

func (*GetFqdnCacheParams) WithCidr added in v1.5.0

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

WithCidr adds the cidr to the get fqdn cache params

func (*GetFqdnCacheParams) WithContext added in v1.5.0

WithContext adds the context to the get fqdn cache params

func (*GetFqdnCacheParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the get fqdn cache params

func (*GetFqdnCacheParams) WithMatchpattern added in v1.5.0

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

WithMatchpattern adds the matchpattern to the get fqdn cache params

func (*GetFqdnCacheParams) WithTimeout added in v1.5.0

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

WithTimeout adds the timeout to the get fqdn cache params

func (*GetFqdnCacheParams) WriteToRequest added in v1.5.0

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

WriteToRequest writes these params to a swagger request

type GetFqdnCacheReader added in v1.5.0

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

GetFqdnCacheReader is a Reader for the GetFqdnCache structure.

func (*GetFqdnCacheReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type GetIdentityEndpointsNotFound added in v1.6.0

type GetIdentityEndpointsNotFound struct {
}

GetIdentityEndpointsNotFound handles this case with default header values.

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

func NewGetIdentityEndpointsNotFound added in v1.6.0

func NewGetIdentityEndpointsNotFound() *GetIdentityEndpointsNotFound

NewGetIdentityEndpointsNotFound creates a GetIdentityEndpointsNotFound with default headers values

func (*GetIdentityEndpointsNotFound) Error added in v1.6.0

type GetIdentityEndpointsOK added in v1.6.0

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

GetIdentityEndpointsOK handles this case with default header values.

Success

func NewGetIdentityEndpointsOK added in v1.6.0

func NewGetIdentityEndpointsOK() *GetIdentityEndpointsOK

NewGetIdentityEndpointsOK creates a GetIdentityEndpointsOK with default headers values

func (*GetIdentityEndpointsOK) Error added in v1.6.0

func (o *GetIdentityEndpointsOK) Error() string

type GetIdentityEndpointsParams added in v1.6.0

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 v1.6.0

func NewGetIdentityEndpointsParams() *GetIdentityEndpointsParams

NewGetIdentityEndpointsParams creates a new GetIdentityEndpointsParams object with the default values initialized.

func NewGetIdentityEndpointsParamsWithContext added in v1.6.0

func NewGetIdentityEndpointsParamsWithContext(ctx context.Context) *GetIdentityEndpointsParams

NewGetIdentityEndpointsParamsWithContext creates a new GetIdentityEndpointsParams object with the default values initialized, and the ability to set a context for a request

func NewGetIdentityEndpointsParamsWithHTTPClient added in v1.6.0

func NewGetIdentityEndpointsParamsWithHTTPClient(client *http.Client) *GetIdentityEndpointsParams

NewGetIdentityEndpointsParamsWithHTTPClient creates a new GetIdentityEndpointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetIdentityEndpointsParamsWithTimeout added in v1.6.0

func NewGetIdentityEndpointsParamsWithTimeout(timeout time.Duration) *GetIdentityEndpointsParams

NewGetIdentityEndpointsParamsWithTimeout creates a new GetIdentityEndpointsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetIdentityEndpointsParams) SetContext added in v1.6.0

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

SetContext adds the context to the get identity endpoints params

func (*GetIdentityEndpointsParams) SetHTTPClient added in v1.6.0

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

SetHTTPClient adds the HTTPClient to the get identity endpoints params

func (*GetIdentityEndpointsParams) SetTimeout added in v1.6.0

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

SetTimeout adds the timeout to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithContext added in v1.6.0

WithContext adds the context to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithHTTPClient added in v1.6.0

WithHTTPClient adds the HTTPClient to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithTimeout added in v1.6.0

WithTimeout adds the timeout to the get identity endpoints params

func (*GetIdentityEndpointsParams) WriteToRequest added in v1.6.0

WriteToRequest writes these params to a swagger request

type GetIdentityEndpointsReader added in v1.6.0

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

GetIdentityEndpointsReader is a Reader for the GetIdentityEndpoints structure.

func (*GetIdentityEndpointsReader) ReadResponse added in v1.6.0

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 handles this case with default header values.

Invalid identity provided

func NewGetIdentityIDBadRequest

func NewGetIdentityIDBadRequest() *GetIdentityIDBadRequest

NewGetIdentityIDBadRequest creates a GetIdentityIDBadRequest with default headers values

func (*GetIdentityIDBadRequest) Error

func (o *GetIdentityIDBadRequest) Error() string

type GetIdentityIDInvalidStorageFormat

type GetIdentityIDInvalidStorageFormat struct {
	Payload models.Error
}

GetIdentityIDInvalidStorageFormat handles this case with default header values.

Invalid identity format in storage

func NewGetIdentityIDInvalidStorageFormat

func NewGetIdentityIDInvalidStorageFormat() *GetIdentityIDInvalidStorageFormat

NewGetIdentityIDInvalidStorageFormat creates a GetIdentityIDInvalidStorageFormat with default headers values

func (*GetIdentityIDInvalidStorageFormat) Error

type GetIdentityIDNotFound

type GetIdentityIDNotFound struct {
}

GetIdentityIDNotFound handles this case with default header values.

Identity not found

func NewGetIdentityIDNotFound

func NewGetIdentityIDNotFound() *GetIdentityIDNotFound

NewGetIdentityIDNotFound creates a GetIdentityIDNotFound with default headers values

func (*GetIdentityIDNotFound) Error

func (o *GetIdentityIDNotFound) Error() string

type GetIdentityIDOK

type GetIdentityIDOK struct {
	Payload *models.Identity
}

GetIdentityIDOK handles this case with default header values.

Success

func NewGetIdentityIDOK

func NewGetIdentityIDOK() *GetIdentityIDOK

NewGetIdentityIDOK creates a GetIdentityIDOK with default headers values

func (*GetIdentityIDOK) Error

func (o *GetIdentityIDOK) Error() 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 values initialized.

func NewGetIdentityIDParamsWithContext

func NewGetIdentityIDParamsWithContext(ctx context.Context) *GetIdentityIDParams

NewGetIdentityIDParamsWithContext creates a new GetIdentityIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetIdentityIDUnreachable) Error() string

type GetIdentityInvalidStorageFormat

type GetIdentityInvalidStorageFormat struct {
	Payload models.Error
}

GetIdentityInvalidStorageFormat handles this case with default header values.

Invalid identity format in storage

func NewGetIdentityInvalidStorageFormat

func NewGetIdentityInvalidStorageFormat() *GetIdentityInvalidStorageFormat

NewGetIdentityInvalidStorageFormat creates a GetIdentityInvalidStorageFormat with default headers values

func (*GetIdentityInvalidStorageFormat) Error

type GetIdentityNotFound

type GetIdentityNotFound struct {
}

GetIdentityNotFound handles this case 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) Error

func (o *GetIdentityNotFound) Error() string

type GetIdentityOK

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

GetIdentityOK handles this case with default header values.

Success

func NewGetIdentityOK

func NewGetIdentityOK() *GetIdentityOK

NewGetIdentityOK creates a GetIdentityOK with default headers values

func (*GetIdentityOK) Error

func (o *GetIdentityOK) Error() 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 values initialized.

func NewGetIdentityParamsWithContext

func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams

NewGetIdentityParamsWithContext creates a new GetIdentityParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetIdentityUnreachable) Error() string

type GetPolicyNotFound added in v0.9.0

type GetPolicyNotFound struct {
}

GetPolicyNotFound handles this case 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) Error added in v0.9.0

func (o *GetPolicyNotFound) Error() string

type GetPolicyOK

type GetPolicyOK struct {
	Payload *models.Policy
}

GetPolicyOK handles this case with default header values.

Success

func NewGetPolicyOK

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates a GetPolicyOK with default headers values

func (*GetPolicyOK) Error

func (o *GetPolicyOK) Error() 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 values initialized.

func NewGetPolicyParamsWithContext

func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams

NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetPolicyResolveOK

type GetPolicyResolveOK struct {
	Payload *models.PolicyTraceResult
}

GetPolicyResolveOK handles this case with default header values.

Success

func NewGetPolicyResolveOK

func NewGetPolicyResolveOK() *GetPolicyResolveOK

NewGetPolicyResolveOK creates a GetPolicyResolveOK with default headers values

func (*GetPolicyResolveOK) Error

func (o *GetPolicyResolveOK) Error() string

type GetPolicyResolveParams

type GetPolicyResolveParams struct {

	/*TraceSelector
	  Context to provide policy evaluation on

	*/
	TraceSelector *models.TraceSelector

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

GetPolicyResolveParams contains all the parameters to send to the API endpoint for the get policy resolve operation typically these are written to a http.Request

func NewGetPolicyResolveParams

func NewGetPolicyResolveParams() *GetPolicyResolveParams

NewGetPolicyResolveParams creates a new GetPolicyResolveParams object with the default values initialized.

func NewGetPolicyResolveParamsWithContext

func NewGetPolicyResolveParamsWithContext(ctx context.Context) *GetPolicyResolveParams

NewGetPolicyResolveParamsWithContext creates a new GetPolicyResolveParams object with the default values initialized, and the ability to set a context for a request

func NewGetPolicyResolveParamsWithHTTPClient

func NewGetPolicyResolveParamsWithHTTPClient(client *http.Client) *GetPolicyResolveParams

NewGetPolicyResolveParamsWithHTTPClient creates a new GetPolicyResolveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPolicyResolveParamsWithTimeout

func NewGetPolicyResolveParamsWithTimeout(timeout time.Duration) *GetPolicyResolveParams

NewGetPolicyResolveParamsWithTimeout creates a new GetPolicyResolveParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPolicyResolveParams) SetContext

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

SetContext adds the context to the get policy resolve params

func (*GetPolicyResolveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy resolve params

func (*GetPolicyResolveParams) SetTimeout

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

SetTimeout adds the timeout to the get policy resolve params

func (*GetPolicyResolveParams) SetTraceSelector added in v1.5.0

func (o *GetPolicyResolveParams) SetTraceSelector(traceSelector *models.TraceSelector)

SetTraceSelector adds the traceSelector to the get policy resolve params

func (*GetPolicyResolveParams) WithContext

WithContext adds the context to the get policy resolve params

func (*GetPolicyResolveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get policy resolve params

func (*GetPolicyResolveParams) WithTimeout

WithTimeout adds the timeout to the get policy resolve params

func (*GetPolicyResolveParams) WithTraceSelector added in v1.5.0

func (o *GetPolicyResolveParams) WithTraceSelector(traceSelector *models.TraceSelector) *GetPolicyResolveParams

WithTraceSelector adds the traceSelector to the get policy resolve params

func (*GetPolicyResolveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPolicyResolveReader

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

GetPolicyResolveReader is a Reader for the GetPolicyResolve structure.

func (*GetPolicyResolveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPolicySelectorsOK added in v1.6.0

type GetPolicySelectorsOK struct {
	Payload models.SelectorCache
}

GetPolicySelectorsOK handles this case with default header values.

Success

func NewGetPolicySelectorsOK added in v1.6.0

func NewGetPolicySelectorsOK() *GetPolicySelectorsOK

NewGetPolicySelectorsOK creates a GetPolicySelectorsOK with default headers values

func (*GetPolicySelectorsOK) Error added in v1.6.0

func (o *GetPolicySelectorsOK) Error() string

type GetPolicySelectorsParams added in v1.6.0

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 v1.6.0

func NewGetPolicySelectorsParams() *GetPolicySelectorsParams

NewGetPolicySelectorsParams creates a new GetPolicySelectorsParams object with the default values initialized.

func NewGetPolicySelectorsParamsWithContext added in v1.6.0

func NewGetPolicySelectorsParamsWithContext(ctx context.Context) *GetPolicySelectorsParams

NewGetPolicySelectorsParamsWithContext creates a new GetPolicySelectorsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPolicySelectorsParamsWithHTTPClient added in v1.6.0

func NewGetPolicySelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySelectorsParams

NewGetPolicySelectorsParamsWithHTTPClient creates a new GetPolicySelectorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPolicySelectorsParamsWithTimeout added in v1.6.0

func NewGetPolicySelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySelectorsParams

NewGetPolicySelectorsParamsWithTimeout creates a new GetPolicySelectorsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPolicySelectorsParams) SetContext added in v1.6.0

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

SetContext adds the context to the get policy selectors params

func (*GetPolicySelectorsParams) SetHTTPClient added in v1.6.0

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

SetHTTPClient adds the HTTPClient to the get policy selectors params

func (*GetPolicySelectorsParams) SetTimeout added in v1.6.0

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

SetTimeout adds the timeout to the get policy selectors params

func (*GetPolicySelectorsParams) WithContext added in v1.6.0

WithContext adds the context to the get policy selectors params

func (*GetPolicySelectorsParams) WithHTTPClient added in v1.6.0

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

WithHTTPClient adds the HTTPClient to the get policy selectors params

func (*GetPolicySelectorsParams) WithTimeout added in v1.6.0

WithTimeout adds the timeout to the get policy selectors params

func (*GetPolicySelectorsParams) WriteToRequest added in v1.6.0

WriteToRequest writes these params to a swagger request

type GetPolicySelectorsReader added in v1.6.0

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

GetPolicySelectorsReader is a Reader for the GetPolicySelectors structure.

func (*GetPolicySelectorsReader) ReadResponse added in v1.6.0

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 handles this case 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) Error added in v0.9.0

func (o *PutPolicyFailure) Error() string

type PutPolicyInvalidPath added in v0.9.0

type PutPolicyInvalidPath struct {
	Payload models.Error
}

PutPolicyInvalidPath handles this case 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) Error added in v0.9.0

func (o *PutPolicyInvalidPath) Error() string

type PutPolicyInvalidPolicy added in v0.9.0

type PutPolicyInvalidPolicy struct {
	Payload models.Error
}

PutPolicyInvalidPolicy handles this case 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) Error added in v0.9.0

func (o *PutPolicyInvalidPolicy) Error() string

type PutPolicyOK added in v0.9.0

type PutPolicyOK struct {
	Payload *models.Policy
}

PutPolicyOK handles this case 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) Error added in v0.9.0

func (o *PutPolicyOK) Error() string

type PutPolicyParams added in v0.9.0

type PutPolicyParams struct {

	/*Policy
	  Policy rules

	*/
	Policy 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 values initialized.

func NewPutPolicyParamsWithContext added in v0.9.0

func NewPutPolicyParamsWithContext(ctx context.Context) *PutPolicyParams

NewPutPolicyParamsWithContext creates a new PutPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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