cilium: github.com/cilium/cilium/api/v1/client/policy Index | Files

package policy

import "github.com/cilium/cilium/api/v1/client/policy"

Index

Package Files

delete_fqdn_cache_parameters.go delete_fqdn_cache_responses.go delete_policy_parameters.go delete_policy_responses.go get_fqdn_cache_id_parameters.go get_fqdn_cache_id_responses.go get_fqdn_cache_parameters.go get_fqdn_cache_responses.go get_fqdn_names_parameters.go get_fqdn_names_responses.go get_identity_endpoints_parameters.go get_identity_endpoints_responses.go get_identity_id_parameters.go get_identity_id_responses.go get_identity_parameters.go get_identity_responses.go get_ip_parameters.go get_ip_responses.go get_policy_parameters.go get_policy_resolve_parameters.go get_policy_resolve_responses.go get_policy_responses.go get_policy_selectors_parameters.go get_policy_selectors_responses.go policy_client.go put_policy_parameters.go put_policy_responses.go

type Client Uses

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

Client for policy API

func New Uses

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

New creates a new policy API client.

func (*Client) DeleteFqdnCache Uses

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 Uses

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

DeletePolicy deletes a policy sub tree

func (*Client) GetFqdnCache Uses

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 Uses

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) GetFqdnNames Uses

func (a *Client) GetFqdnNames(params *GetFqdnNamesParams) (*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 Uses

func (a *Client) GetIP(params *GetIPParams) (*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 Uses

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 Uses

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

GetIdentityEndpoints retrieves identities which are being used by local endpoints

func (*Client) GetIdentityID Uses

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

GetIdentityID retrieves identity

func (*Client) GetPolicy Uses

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

GetPolicy retrieves entire policy tree

Returns the entire policy tree with all children.

func (*Client) GetPolicyResolve Uses

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

GetPolicyResolve resolves policy for an identity context

func (*Client) GetPolicySelectors Uses

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

GetPolicySelectors sees what selectors match which identities

func (*Client) PutPolicy Uses

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

PutPolicy creates or update a policy sub tree

func (*Client) SetTransport Uses

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

SetTransport changes the transport on the client

type DeleteFqdnCacheBadRequest Uses

type DeleteFqdnCacheBadRequest struct {
    Payload models.Error
}

DeleteFqdnCacheBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewDeleteFqdnCacheBadRequest Uses

func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest

NewDeleteFqdnCacheBadRequest creates a DeleteFqdnCacheBadRequest with default headers values

func (*DeleteFqdnCacheBadRequest) Error Uses

func (o *DeleteFqdnCacheBadRequest) Error() string

func (*DeleteFqdnCacheBadRequest) GetPayload Uses

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

type DeleteFqdnCacheOK Uses

type DeleteFqdnCacheOK struct {
}

DeleteFqdnCacheOK handles this case with default header values.

Success

func NewDeleteFqdnCacheOK Uses

func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK

NewDeleteFqdnCacheOK creates a DeleteFqdnCacheOK with default headers values

func (*DeleteFqdnCacheOK) Error Uses

func (o *DeleteFqdnCacheOK) Error() string

type DeleteFqdnCacheParams Uses

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 Uses

func NewDeleteFqdnCacheParams() *DeleteFqdnCacheParams

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

func NewDeleteFqdnCacheParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetMatchpattern Uses

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

SetMatchpattern adds the matchpattern to the delete fqdn cache params

func (*DeleteFqdnCacheParams) SetTimeout Uses

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

SetTimeout adds the timeout to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithContext Uses

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

WithContext adds the context to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithMatchpattern Uses

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

WithMatchpattern adds the matchpattern to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WithTimeout Uses

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

WithTimeout adds the timeout to the delete fqdn cache params

func (*DeleteFqdnCacheParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type DeleteFqdnCacheReader Uses

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

DeleteFqdnCacheReader is a Reader for the DeleteFqdnCache structure.

func (*DeleteFqdnCacheReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type DeletePolicyFailure Uses

type DeletePolicyFailure struct {
    Payload models.Error
}

DeletePolicyFailure handles this case with default header values.

Error while deleting policy

func NewDeletePolicyFailure Uses

func NewDeletePolicyFailure() *DeletePolicyFailure

NewDeletePolicyFailure creates a DeletePolicyFailure with default headers values

func (*DeletePolicyFailure) Error Uses

func (o *DeletePolicyFailure) Error() string

func (*DeletePolicyFailure) GetPayload Uses

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

type DeletePolicyInvalid Uses

type DeletePolicyInvalid struct {
    Payload models.Error
}

DeletePolicyInvalid handles this case with default header values.

Invalid request

func NewDeletePolicyInvalid Uses

func NewDeletePolicyInvalid() *DeletePolicyInvalid

NewDeletePolicyInvalid creates a DeletePolicyInvalid with default headers values

func (*DeletePolicyInvalid) Error Uses

func (o *DeletePolicyInvalid) Error() string

func (*DeletePolicyInvalid) GetPayload Uses

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

type DeletePolicyNotFound Uses

type DeletePolicyNotFound struct {
}

DeletePolicyNotFound handles this case with default header values.

Policy not found

func NewDeletePolicyNotFound Uses

func NewDeletePolicyNotFound() *DeletePolicyNotFound

NewDeletePolicyNotFound creates a DeletePolicyNotFound with default headers values

func (*DeletePolicyNotFound) Error Uses

func (o *DeletePolicyNotFound) Error() string

type DeletePolicyOK Uses

type DeletePolicyOK struct {
    Payload *models.Policy
}

DeletePolicyOK handles this case with default header values.

Success

func NewDeletePolicyOK Uses

func NewDeletePolicyOK() *DeletePolicyOK

NewDeletePolicyOK creates a DeletePolicyOK with default headers values

func (*DeletePolicyOK) Error Uses

func (o *DeletePolicyOK) Error() string

func (*DeletePolicyOK) GetPayload Uses

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

type DeletePolicyParams Uses

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 Uses

func NewDeletePolicyParams() *DeletePolicyParams

NewDeletePolicyParams creates a new DeletePolicyParams object with the default values initialized.

func NewDeletePolicyParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the delete policy params

func (*DeletePolicyParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the delete policy params

func (*DeletePolicyParams) SetLabels Uses

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

SetLabels adds the labels to the delete policy params

func (*DeletePolicyParams) SetTimeout Uses

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

SetTimeout adds the timeout to the delete policy params

func (*DeletePolicyParams) WithContext Uses

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

WithContext adds the context to the delete policy params

func (*DeletePolicyParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the delete policy params

func (*DeletePolicyParams) WithLabels Uses

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

WithLabels adds the labels to the delete policy params

func (*DeletePolicyParams) WithTimeout Uses

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

WithTimeout adds the timeout to the delete policy params

func (*DeletePolicyParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type DeletePolicyReader Uses

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

DeletePolicyReader is a Reader for the DeletePolicy structure.

func (*DeletePolicyReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetFqdnCacheBadRequest Uses

type GetFqdnCacheBadRequest struct {
    Payload models.Error
}

GetFqdnCacheBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnCacheBadRequest Uses

func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest

NewGetFqdnCacheBadRequest creates a GetFqdnCacheBadRequest with default headers values

func (*GetFqdnCacheBadRequest) Error Uses

func (o *GetFqdnCacheBadRequest) Error() string

func (*GetFqdnCacheBadRequest) GetPayload Uses

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

type GetFqdnCacheIDBadRequest Uses

type GetFqdnCacheIDBadRequest struct {
    Payload models.Error
}

GetFqdnCacheIDBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnCacheIDBadRequest Uses

func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest

NewGetFqdnCacheIDBadRequest creates a GetFqdnCacheIDBadRequest with default headers values

func (*GetFqdnCacheIDBadRequest) Error Uses

func (o *GetFqdnCacheIDBadRequest) Error() string

func (*GetFqdnCacheIDBadRequest) GetPayload Uses

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

type GetFqdnCacheIDNotFound Uses

type GetFqdnCacheIDNotFound struct {
}

GetFqdnCacheIDNotFound handles this case with default header values.

No DNS data with provided parameters found

func NewGetFqdnCacheIDNotFound Uses

func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound

NewGetFqdnCacheIDNotFound creates a GetFqdnCacheIDNotFound with default headers values

func (*GetFqdnCacheIDNotFound) Error Uses

func (o *GetFqdnCacheIDNotFound) Error() string

type GetFqdnCacheIDOK Uses

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

GetFqdnCacheIDOK handles this case with default header values.

Success

func NewGetFqdnCacheIDOK Uses

func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK

NewGetFqdnCacheIDOK creates a GetFqdnCacheIDOK with default headers values

func (*GetFqdnCacheIDOK) Error Uses

func (o *GetFqdnCacheIDOK) Error() string

func (*GetFqdnCacheIDOK) GetPayload Uses

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

type GetFqdnCacheIDParams Uses

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 Uses

func NewGetFqdnCacheIDParams() *GetFqdnCacheIDParams

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

func NewGetFqdnCacheIDParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetCidr adds the cidr to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetContext Uses

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

SetContext adds the context to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetID Uses

func (o *GetFqdnCacheIDParams) SetID(id string)

SetID adds the id to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetMatchpattern Uses

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

SetMatchpattern adds the matchpattern to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithCidr Uses

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

WithCidr adds the cidr to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithContext Uses

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

WithContext adds the context to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithID Uses

func (o *GetFqdnCacheIDParams) WithID(id string) *GetFqdnCacheIDParams

WithID adds the id to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithMatchpattern Uses

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

WithMatchpattern adds the matchpattern to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get fqdn cache ID params

func (*GetFqdnCacheIDParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetFqdnCacheIDReader Uses

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

GetFqdnCacheIDReader is a Reader for the GetFqdnCacheID structure.

func (*GetFqdnCacheIDReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetFqdnCacheNotFound Uses

type GetFqdnCacheNotFound struct {
}

GetFqdnCacheNotFound handles this case with default header values.

No DNS data with provided parameters found

func NewGetFqdnCacheNotFound Uses

func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound

NewGetFqdnCacheNotFound creates a GetFqdnCacheNotFound with default headers values

func (*GetFqdnCacheNotFound) Error Uses

func (o *GetFqdnCacheNotFound) Error() string

type GetFqdnCacheOK Uses

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

GetFqdnCacheOK handles this case with default header values.

Success

func NewGetFqdnCacheOK Uses

func NewGetFqdnCacheOK() *GetFqdnCacheOK

NewGetFqdnCacheOK creates a GetFqdnCacheOK with default headers values

func (*GetFqdnCacheOK) Error Uses

func (o *GetFqdnCacheOK) Error() string

func (*GetFqdnCacheOK) GetPayload Uses

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

type GetFqdnCacheParams Uses

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 Uses

func NewGetFqdnCacheParams() *GetFqdnCacheParams

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

func NewGetFqdnCacheParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetCidr adds the cidr to the get fqdn cache params

func (*GetFqdnCacheParams) SetContext Uses

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

SetContext adds the context to the get fqdn cache params

func (*GetFqdnCacheParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get fqdn cache params

func (*GetFqdnCacheParams) SetMatchpattern Uses

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

SetMatchpattern adds the matchpattern to the get fqdn cache params

func (*GetFqdnCacheParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get fqdn cache params

func (*GetFqdnCacheParams) WithCidr Uses

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

WithCidr adds the cidr to the get fqdn cache params

func (*GetFqdnCacheParams) WithContext Uses

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

WithContext adds the context to the get fqdn cache params

func (*GetFqdnCacheParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get fqdn cache params

func (*GetFqdnCacheParams) WithMatchpattern Uses

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

WithMatchpattern adds the matchpattern to the get fqdn cache params

func (*GetFqdnCacheParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get fqdn cache params

func (*GetFqdnCacheParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetFqdnCacheReader Uses

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

GetFqdnCacheReader is a Reader for the GetFqdnCache structure.

func (*GetFqdnCacheReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetFqdnNamesBadRequest Uses

type GetFqdnNamesBadRequest struct {
    Payload models.Error
}

GetFqdnNamesBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewGetFqdnNamesBadRequest Uses

func NewGetFqdnNamesBadRequest() *GetFqdnNamesBadRequest

NewGetFqdnNamesBadRequest creates a GetFqdnNamesBadRequest with default headers values

func (*GetFqdnNamesBadRequest) Error Uses

func (o *GetFqdnNamesBadRequest) Error() string

func (*GetFqdnNamesBadRequest) GetPayload Uses

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

type GetFqdnNamesOK Uses

type GetFqdnNamesOK struct {
    Payload *models.NameManager
}

GetFqdnNamesOK handles this case with default header values.

Success

func NewGetFqdnNamesOK Uses

func NewGetFqdnNamesOK() *GetFqdnNamesOK

NewGetFqdnNamesOK creates a GetFqdnNamesOK with default headers values

func (*GetFqdnNamesOK) Error Uses

func (o *GetFqdnNamesOK) Error() string

func (*GetFqdnNamesOK) GetPayload Uses

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

type GetFqdnNamesParams Uses

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 Uses

func NewGetFqdnNamesParams() *GetFqdnNamesParams

NewGetFqdnNamesParams creates a new GetFqdnNamesParams object with the default values initialized.

func NewGetFqdnNamesParamsWithContext Uses

func NewGetFqdnNamesParamsWithContext(ctx context.Context) *GetFqdnNamesParams

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

func NewGetFqdnNamesParamsWithHTTPClient Uses

func NewGetFqdnNamesParamsWithHTTPClient(client *http.Client) *GetFqdnNamesParams

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

func NewGetFqdnNamesParamsWithTimeout Uses

func NewGetFqdnNamesParamsWithTimeout(timeout time.Duration) *GetFqdnNamesParams

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

func (*GetFqdnNamesParams) SetContext Uses

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

SetContext adds the context to the get fqdn names params

func (*GetFqdnNamesParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get fqdn names params

func (*GetFqdnNamesParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get fqdn names params

func (*GetFqdnNamesParams) WithContext Uses

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

WithContext adds the context to the get fqdn names params

func (*GetFqdnNamesParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get fqdn names params

func (*GetFqdnNamesParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get fqdn names params

func (*GetFqdnNamesParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetFqdnNamesReader Uses

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

GetFqdnNamesReader is a Reader for the GetFqdnNames structure.

func (*GetFqdnNamesReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetIPBadRequest Uses

type GetIPBadRequest struct {
    Payload models.Error
}

GetIPBadRequest handles this case with default header values.

Invalid request (error parsing parameters)

func NewGetIPBadRequest Uses

func NewGetIPBadRequest() *GetIPBadRequest

NewGetIPBadRequest creates a GetIPBadRequest with default headers values

func (*GetIPBadRequest) Error Uses

func (o *GetIPBadRequest) Error() string

func (*GetIPBadRequest) GetPayload Uses

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

type GetIPNotFound Uses

type GetIPNotFound struct {
}

GetIPNotFound handles this case with default header values.

No IP cache entries with provided parameters found

func NewGetIPNotFound Uses

func NewGetIPNotFound() *GetIPNotFound

NewGetIPNotFound creates a GetIPNotFound with default headers values

func (*GetIPNotFound) Error Uses

func (o *GetIPNotFound) Error() string

type GetIPOK Uses

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

GetIPOK handles this case with default header values.

Success

func NewGetIPOK Uses

func NewGetIPOK() *GetIPOK

NewGetIPOK creates a GetIPOK with default headers values

func (*GetIPOK) Error Uses

func (o *GetIPOK) Error() string

func (*GetIPOK) GetPayload Uses

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

type GetIPParams Uses

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 Uses

func NewGetIPParams() *GetIPParams

NewGetIPParams creates a new GetIPParams object with the default values initialized.

func NewGetIPParamsWithContext Uses

func NewGetIPParamsWithContext(ctx context.Context) *GetIPParams

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

func NewGetIPParamsWithHTTPClient Uses

func NewGetIPParamsWithHTTPClient(client *http.Client) *GetIPParams

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

func NewGetIPParamsWithTimeout Uses

func NewGetIPParamsWithTimeout(timeout time.Duration) *GetIPParams

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

func (*GetIPParams) SetCidr Uses

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

SetCidr adds the cidr to the get IP params

func (*GetIPParams) SetContext Uses

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

SetContext adds the context to the get IP params

func (*GetIPParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get IP params

func (*GetIPParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get IP params

func (*GetIPParams) WithCidr Uses

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

WithCidr adds the cidr to the get IP params

func (*GetIPParams) WithContext Uses

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

WithContext adds the context to the get IP params

func (*GetIPParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get IP params

func (*GetIPParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get IP params

func (*GetIPParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetIPReader Uses

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

GetIPReader is a Reader for the GetIP structure.

func (*GetIPReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetIdentityEndpointsNotFound Uses

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 Uses

func NewGetIdentityEndpointsNotFound() *GetIdentityEndpointsNotFound

NewGetIdentityEndpointsNotFound creates a GetIdentityEndpointsNotFound with default headers values

func (*GetIdentityEndpointsNotFound) Error Uses

func (o *GetIdentityEndpointsNotFound) Error() string

type GetIdentityEndpointsOK Uses

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

GetIdentityEndpointsOK handles this case with default header values.

Success

func NewGetIdentityEndpointsOK Uses

func NewGetIdentityEndpointsOK() *GetIdentityEndpointsOK

NewGetIdentityEndpointsOK creates a GetIdentityEndpointsOK with default headers values

func (*GetIdentityEndpointsOK) Error Uses

func (o *GetIdentityEndpointsOK) Error() string

func (*GetIdentityEndpointsOK) GetPayload Uses

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

type GetIdentityEndpointsParams Uses

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 Uses

func NewGetIdentityEndpointsParams() *GetIdentityEndpointsParams

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

func NewGetIdentityEndpointsParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get identity endpoints params

func (*GetIdentityEndpointsParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get identity endpoints params

func (*GetIdentityEndpointsParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithContext Uses

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

WithContext adds the context to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get identity endpoints params

func (*GetIdentityEndpointsParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get identity endpoints params

func (*GetIdentityEndpointsParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetIdentityEndpointsReader Uses

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

GetIdentityEndpointsReader is a Reader for the GetIdentityEndpoints structure.

func (*GetIdentityEndpointsReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetIdentityIDBadRequest Uses

type GetIdentityIDBadRequest struct {
}

GetIdentityIDBadRequest handles this case with default header values.

Invalid identity provided

func NewGetIdentityIDBadRequest Uses

func NewGetIdentityIDBadRequest() *GetIdentityIDBadRequest

NewGetIdentityIDBadRequest creates a GetIdentityIDBadRequest with default headers values

func (*GetIdentityIDBadRequest) Error Uses

func (o *GetIdentityIDBadRequest) Error() string

type GetIdentityIDInvalidStorageFormat Uses

type GetIdentityIDInvalidStorageFormat struct {
    Payload models.Error
}

GetIdentityIDInvalidStorageFormat handles this case with default header values.

Invalid identity format in storage

func NewGetIdentityIDInvalidStorageFormat Uses

func NewGetIdentityIDInvalidStorageFormat() *GetIdentityIDInvalidStorageFormat

NewGetIdentityIDInvalidStorageFormat creates a GetIdentityIDInvalidStorageFormat with default headers values

func (*GetIdentityIDInvalidStorageFormat) Error Uses

func (o *GetIdentityIDInvalidStorageFormat) Error() string

func (*GetIdentityIDInvalidStorageFormat) GetPayload Uses

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

type GetIdentityIDNotFound Uses

type GetIdentityIDNotFound struct {
}

GetIdentityIDNotFound handles this case with default header values.

Identity not found

func NewGetIdentityIDNotFound Uses

func NewGetIdentityIDNotFound() *GetIdentityIDNotFound

NewGetIdentityIDNotFound creates a GetIdentityIDNotFound with default headers values

func (*GetIdentityIDNotFound) Error Uses

func (o *GetIdentityIDNotFound) Error() string

type GetIdentityIDOK Uses

type GetIdentityIDOK struct {
    Payload *models.Identity
}

GetIdentityIDOK handles this case with default header values.

Success

func NewGetIdentityIDOK Uses

func NewGetIdentityIDOK() *GetIdentityIDOK

NewGetIdentityIDOK creates a GetIdentityIDOK with default headers values

func (*GetIdentityIDOK) Error Uses

func (o *GetIdentityIDOK) Error() string

func (*GetIdentityIDOK) GetPayload Uses

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

type GetIdentityIDParams Uses

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 Uses

func NewGetIdentityIDParams() *GetIdentityIDParams

NewGetIdentityIDParams creates a new GetIdentityIDParams object with the default values initialized.

func NewGetIdentityIDParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get identity ID params

func (*GetIdentityIDParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get identity ID params

func (*GetIdentityIDParams) SetID Uses

func (o *GetIdentityIDParams) SetID(id string)

SetID adds the id to the get identity ID params

func (*GetIdentityIDParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get identity ID params

func (*GetIdentityIDParams) WithContext Uses

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

WithContext adds the context to the get identity ID params

func (*GetIdentityIDParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get identity ID params

func (*GetIdentityIDParams) WithID Uses

func (o *GetIdentityIDParams) WithID(id string) *GetIdentityIDParams

WithID adds the id to the get identity ID params

func (*GetIdentityIDParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get identity ID params

func (*GetIdentityIDParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetIdentityIDReader Uses

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

GetIdentityIDReader is a Reader for the GetIdentityID structure.

func (*GetIdentityIDReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetIdentityIDUnreachable Uses

type GetIdentityIDUnreachable struct {
    Payload models.Error
}

GetIdentityIDUnreachable handles this case with default header values.

Identity storage unreachable. Likely a network problem.

func NewGetIdentityIDUnreachable Uses

func NewGetIdentityIDUnreachable() *GetIdentityIDUnreachable

NewGetIdentityIDUnreachable creates a GetIdentityIDUnreachable with default headers values

func (*GetIdentityIDUnreachable) Error Uses

func (o *GetIdentityIDUnreachable) Error() string

func (*GetIdentityIDUnreachable) GetPayload Uses

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

type GetIdentityInvalidStorageFormat Uses

type GetIdentityInvalidStorageFormat struct {
    Payload models.Error
}

GetIdentityInvalidStorageFormat handles this case with default header values.

Invalid identity format in storage

func NewGetIdentityInvalidStorageFormat Uses

func NewGetIdentityInvalidStorageFormat() *GetIdentityInvalidStorageFormat

NewGetIdentityInvalidStorageFormat creates a GetIdentityInvalidStorageFormat with default headers values

func (*GetIdentityInvalidStorageFormat) Error Uses

func (o *GetIdentityInvalidStorageFormat) Error() string

func (*GetIdentityInvalidStorageFormat) GetPayload Uses

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

type GetIdentityNotFound Uses

type GetIdentityNotFound struct {
}

GetIdentityNotFound handles this case with default header values.

Identities with provided parameters not found

func NewGetIdentityNotFound Uses

func NewGetIdentityNotFound() *GetIdentityNotFound

NewGetIdentityNotFound creates a GetIdentityNotFound with default headers values

func (*GetIdentityNotFound) Error Uses

func (o *GetIdentityNotFound) Error() string

type GetIdentityOK Uses

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

GetIdentityOK handles this case with default header values.

Success

func NewGetIdentityOK Uses

func NewGetIdentityOK() *GetIdentityOK

NewGetIdentityOK creates a GetIdentityOK with default headers values

func (*GetIdentityOK) Error Uses

func (o *GetIdentityOK) Error() string

func (*GetIdentityOK) GetPayload Uses

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

type GetIdentityParams Uses

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 Uses

func NewGetIdentityParams() *GetIdentityParams

NewGetIdentityParams creates a new GetIdentityParams object with the default values initialized.

func NewGetIdentityParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get identity params

func (*GetIdentityParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get identity params

func (*GetIdentityParams) SetLabels Uses

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

SetLabels adds the labels to the get identity params

func (*GetIdentityParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get identity params

func (*GetIdentityParams) WithContext Uses

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

WithContext adds the context to the get identity params

func (*GetIdentityParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get identity params

func (*GetIdentityParams) WithLabels Uses

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

WithLabels adds the labels to the get identity params

func (*GetIdentityParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get identity params

func (*GetIdentityParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetIdentityReader Uses

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

GetIdentityReader is a Reader for the GetIdentity structure.

func (*GetIdentityReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetIdentityUnreachable Uses

type GetIdentityUnreachable struct {
    Payload models.Error
}

GetIdentityUnreachable handles this case with default header values.

Identity storage unreachable. Likely a network problem.

func NewGetIdentityUnreachable Uses

func NewGetIdentityUnreachable() *GetIdentityUnreachable

NewGetIdentityUnreachable creates a GetIdentityUnreachable with default headers values

func (*GetIdentityUnreachable) Error Uses

func (o *GetIdentityUnreachable) Error() string

func (*GetIdentityUnreachable) GetPayload Uses

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

type GetPolicyNotFound Uses

type GetPolicyNotFound struct {
}

GetPolicyNotFound handles this case with default header values.

No policy rules found

func NewGetPolicyNotFound Uses

func NewGetPolicyNotFound() *GetPolicyNotFound

NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values

func (*GetPolicyNotFound) Error Uses

func (o *GetPolicyNotFound) Error() string

type GetPolicyOK Uses

type GetPolicyOK struct {
    Payload *models.Policy
}

GetPolicyOK handles this case with default header values.

Success

func NewGetPolicyOK Uses

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates a GetPolicyOK with default headers values

func (*GetPolicyOK) Error Uses

func (o *GetPolicyOK) Error() string

func (*GetPolicyOK) GetPayload Uses

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

type GetPolicyParams Uses

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 Uses

func NewGetPolicyParams() *GetPolicyParams

NewGetPolicyParams creates a new GetPolicyParams object with the default values initialized.

func NewGetPolicyParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get policy params

func (*GetPolicyParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) SetLabels Uses

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

SetLabels adds the labels to the get policy params

func (*GetPolicyParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WithContext Uses

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

WithContext adds the context to the get policy params

func (*GetPolicyParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) WithLabels Uses

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

WithLabels adds the labels to the get policy params

func (*GetPolicyParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetPolicyReader Uses

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

GetPolicyReader is a Reader for the GetPolicy structure.

func (*GetPolicyReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetPolicyResolveOK Uses

type GetPolicyResolveOK struct {
    Payload *models.PolicyTraceResult
}

GetPolicyResolveOK handles this case with default header values.

Success

func NewGetPolicyResolveOK Uses

func NewGetPolicyResolveOK() *GetPolicyResolveOK

NewGetPolicyResolveOK creates a GetPolicyResolveOK with default headers values

func (*GetPolicyResolveOK) Error Uses

func (o *GetPolicyResolveOK) Error() string

func (*GetPolicyResolveOK) GetPayload Uses

func (o *GetPolicyResolveOK) GetPayload() *models.PolicyTraceResult

type GetPolicyResolveParams Uses

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 Uses

func NewGetPolicyResolveParams() *GetPolicyResolveParams

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

func NewGetPolicyResolveParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get policy resolve params

func (*GetPolicyResolveParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get policy resolve params

func (*GetPolicyResolveParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get policy resolve params

func (*GetPolicyResolveParams) SetTraceSelector Uses

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

SetTraceSelector adds the traceSelector to the get policy resolve params

func (*GetPolicyResolveParams) WithContext Uses

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

WithContext adds the context to the get policy resolve params

func (*GetPolicyResolveParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get policy resolve params

func (*GetPolicyResolveParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get policy resolve params

func (*GetPolicyResolveParams) WithTraceSelector Uses

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

WithTraceSelector adds the traceSelector to the get policy resolve params

func (*GetPolicyResolveParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetPolicyResolveReader Uses

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

GetPolicyResolveReader is a Reader for the GetPolicyResolve structure.

func (*GetPolicyResolveReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetPolicySelectorsOK Uses

type GetPolicySelectorsOK struct {
    Payload models.SelectorCache
}

GetPolicySelectorsOK handles this case with default header values.

Success

func NewGetPolicySelectorsOK Uses

func NewGetPolicySelectorsOK() *GetPolicySelectorsOK

NewGetPolicySelectorsOK creates a GetPolicySelectorsOK with default headers values

func (*GetPolicySelectorsOK) Error Uses

func (o *GetPolicySelectorsOK) Error() string

func (*GetPolicySelectorsOK) GetPayload Uses

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

type GetPolicySelectorsParams Uses

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 Uses

func NewGetPolicySelectorsParams() *GetPolicySelectorsParams

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

func NewGetPolicySelectorsParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get policy selectors params

func (*GetPolicySelectorsParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get policy selectors params

func (*GetPolicySelectorsParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get policy selectors params

func (*GetPolicySelectorsParams) WithContext Uses

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

WithContext adds the context to the get policy selectors params

func (*GetPolicySelectorsParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get policy selectors params

func (*GetPolicySelectorsParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get policy selectors params

func (*GetPolicySelectorsParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetPolicySelectorsReader Uses

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

GetPolicySelectorsReader is a Reader for the GetPolicySelectors structure.

func (*GetPolicySelectorsReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type PutPolicyFailure Uses

type PutPolicyFailure struct {
    Payload models.Error
}

PutPolicyFailure handles this case with default header values.

Policy import failed

func NewPutPolicyFailure Uses

func NewPutPolicyFailure() *PutPolicyFailure

NewPutPolicyFailure creates a PutPolicyFailure with default headers values

func (*PutPolicyFailure) Error Uses

func (o *PutPolicyFailure) Error() string

func (*PutPolicyFailure) GetPayload Uses

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

type PutPolicyInvalidPath Uses

type PutPolicyInvalidPath struct {
    Payload models.Error
}

PutPolicyInvalidPath handles this case with default header values.

Invalid path

func NewPutPolicyInvalidPath Uses

func NewPutPolicyInvalidPath() *PutPolicyInvalidPath

NewPutPolicyInvalidPath creates a PutPolicyInvalidPath with default headers values

func (*PutPolicyInvalidPath) Error Uses

func (o *PutPolicyInvalidPath) Error() string

func (*PutPolicyInvalidPath) GetPayload Uses

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

type PutPolicyInvalidPolicy Uses

type PutPolicyInvalidPolicy struct {
    Payload models.Error
}

PutPolicyInvalidPolicy handles this case with default header values.

Invalid policy

func NewPutPolicyInvalidPolicy Uses

func NewPutPolicyInvalidPolicy() *PutPolicyInvalidPolicy

NewPutPolicyInvalidPolicy creates a PutPolicyInvalidPolicy with default headers values

func (*PutPolicyInvalidPolicy) Error Uses

func (o *PutPolicyInvalidPolicy) Error() string

func (*PutPolicyInvalidPolicy) GetPayload Uses

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

type PutPolicyOK Uses

type PutPolicyOK struct {
    Payload *models.Policy
}

PutPolicyOK handles this case with default header values.

Success

func NewPutPolicyOK Uses

func NewPutPolicyOK() *PutPolicyOK

NewPutPolicyOK creates a PutPolicyOK with default headers values

func (*PutPolicyOK) Error Uses

func (o *PutPolicyOK) Error() string

func (*PutPolicyOK) GetPayload Uses

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

type PutPolicyParams Uses

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 Uses

func NewPutPolicyParams() *PutPolicyParams

NewPutPolicyParams creates a new PutPolicyParams object with the default values initialized.

func NewPutPolicyParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the put policy params

func (*PutPolicyParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the put policy params

func (*PutPolicyParams) SetPolicy Uses

func (o *PutPolicyParams) SetPolicy(policy string)

SetPolicy adds the policy to the put policy params

func (*PutPolicyParams) SetTimeout Uses

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

SetTimeout adds the timeout to the put policy params

func (*PutPolicyParams) WithContext Uses

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

WithContext adds the context to the put policy params

func (*PutPolicyParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the put policy params

func (*PutPolicyParams) WithPolicy Uses

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

WithPolicy adds the policy to the put policy params

func (*PutPolicyParams) WithTimeout Uses

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

WithTimeout adds the timeout to the put policy params

func (*PutPolicyParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type PutPolicyReader Uses

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

PutPolicyReader is a Reader for the PutPolicy structure.

func (*PutPolicyReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

Package policy imports 10 packages (graph) and is imported by 31 packages. Updated 2019-11-11. Refresh now. Tools for package owners.