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

package policy

import "github.com/cilium/cilium/api/v1/server/restapi/policy"

Index

Package Files

delete_fqdn_cache.go delete_fqdn_cache_parameters.go delete_fqdn_cache_responses.go delete_fqdn_cache_urlbuilder.go delete_policy.go delete_policy_parameters.go delete_policy_responses.go delete_policy_urlbuilder.go get_fqdn_cache.go get_fqdn_cache_id.go get_fqdn_cache_id_parameters.go get_fqdn_cache_id_responses.go get_fqdn_cache_id_urlbuilder.go get_fqdn_cache_parameters.go get_fqdn_cache_responses.go get_fqdn_cache_urlbuilder.go get_fqdn_names.go get_fqdn_names_parameters.go get_fqdn_names_responses.go get_fqdn_names_urlbuilder.go get_identity.go get_identity_endpoints.go get_identity_endpoints_parameters.go get_identity_endpoints_responses.go get_identity_endpoints_urlbuilder.go get_identity_id.go get_identity_id_parameters.go get_identity_id_responses.go get_identity_id_urlbuilder.go get_identity_parameters.go get_identity_responses.go get_identity_urlbuilder.go get_ip.go get_ip_parameters.go get_ip_responses.go get_ip_urlbuilder.go get_policy.go get_policy_parameters.go get_policy_resolve.go get_policy_resolve_parameters.go get_policy_resolve_responses.go get_policy_resolve_urlbuilder.go get_policy_responses.go get_policy_selectors.go get_policy_selectors_parameters.go get_policy_selectors_responses.go get_policy_selectors_urlbuilder.go get_policy_urlbuilder.go put_policy.go put_policy_parameters.go put_policy_responses.go put_policy_urlbuilder.go

Constants

const DeleteFqdnCacheBadRequestCode int = 400

DeleteFqdnCacheBadRequestCode is the HTTP code returned for type DeleteFqdnCacheBadRequest

const DeleteFqdnCacheOKCode int = 200

DeleteFqdnCacheOKCode is the HTTP code returned for type DeleteFqdnCacheOK

const DeletePolicyFailureCode int = 500

DeletePolicyFailureCode is the HTTP code returned for type DeletePolicyFailure

const DeletePolicyInvalidCode int = 400

DeletePolicyInvalidCode is the HTTP code returned for type DeletePolicyInvalid

const DeletePolicyNotFoundCode int = 404

DeletePolicyNotFoundCode is the HTTP code returned for type DeletePolicyNotFound

const DeletePolicyOKCode int = 200

DeletePolicyOKCode is the HTTP code returned for type DeletePolicyOK

const GetFqdnCacheBadRequestCode int = 400

GetFqdnCacheBadRequestCode is the HTTP code returned for type GetFqdnCacheBadRequest

const GetFqdnCacheIDBadRequestCode int = 400

GetFqdnCacheIDBadRequestCode is the HTTP code returned for type GetFqdnCacheIDBadRequest

const GetFqdnCacheIDNotFoundCode int = 404

GetFqdnCacheIDNotFoundCode is the HTTP code returned for type GetFqdnCacheIDNotFound

const GetFqdnCacheIDOKCode int = 200

GetFqdnCacheIDOKCode is the HTTP code returned for type GetFqdnCacheIDOK

const GetFqdnCacheNotFoundCode int = 404

GetFqdnCacheNotFoundCode is the HTTP code returned for type GetFqdnCacheNotFound

const GetFqdnCacheOKCode int = 200

GetFqdnCacheOKCode is the HTTP code returned for type GetFqdnCacheOK

const GetFqdnNamesBadRequestCode int = 400

GetFqdnNamesBadRequestCode is the HTTP code returned for type GetFqdnNamesBadRequest

const GetFqdnNamesOKCode int = 200

GetFqdnNamesOKCode is the HTTP code returned for type GetFqdnNamesOK

const GetIPBadRequestCode int = 400

GetIPBadRequestCode is the HTTP code returned for type GetIPBadRequest

const GetIPNotFoundCode int = 404

GetIPNotFoundCode is the HTTP code returned for type GetIPNotFound

const GetIPOKCode int = 200

GetIPOKCode is the HTTP code returned for type GetIPOK

const GetIdentityEndpointsNotFoundCode int = 404

GetIdentityEndpointsNotFoundCode is the HTTP code returned for type GetIdentityEndpointsNotFound

const GetIdentityEndpointsOKCode int = 200

GetIdentityEndpointsOKCode is the HTTP code returned for type GetIdentityEndpointsOK

const GetIdentityIDBadRequestCode int = 400

GetIdentityIDBadRequestCode is the HTTP code returned for type GetIdentityIDBadRequest

const GetIdentityIDInvalidStorageFormatCode int = 521

GetIdentityIDInvalidStorageFormatCode is the HTTP code returned for type GetIdentityIDInvalidStorageFormat

const GetIdentityIDNotFoundCode int = 404

GetIdentityIDNotFoundCode is the HTTP code returned for type GetIdentityIDNotFound

const GetIdentityIDOKCode int = 200

GetIdentityIDOKCode is the HTTP code returned for type GetIdentityIDOK

const GetIdentityIDUnreachableCode int = 520

GetIdentityIDUnreachableCode is the HTTP code returned for type GetIdentityIDUnreachable

const GetIdentityInvalidStorageFormatCode int = 521

GetIdentityInvalidStorageFormatCode is the HTTP code returned for type GetIdentityInvalidStorageFormat

const GetIdentityNotFoundCode int = 404

GetIdentityNotFoundCode is the HTTP code returned for type GetIdentityNotFound

const GetIdentityOKCode int = 200

GetIdentityOKCode is the HTTP code returned for type GetIdentityOK

const GetIdentityUnreachableCode int = 520

GetIdentityUnreachableCode is the HTTP code returned for type GetIdentityUnreachable

const GetPolicyNotFoundCode int = 404

GetPolicyNotFoundCode is the HTTP code returned for type GetPolicyNotFound

const GetPolicyOKCode int = 200

GetPolicyOKCode is the HTTP code returned for type GetPolicyOK

const GetPolicyResolveOKCode int = 200

GetPolicyResolveOKCode is the HTTP code returned for type GetPolicyResolveOK

const GetPolicySelectorsOKCode int = 200

GetPolicySelectorsOKCode is the HTTP code returned for type GetPolicySelectorsOK

const PutPolicyFailureCode int = 500

PutPolicyFailureCode is the HTTP code returned for type PutPolicyFailure

const PutPolicyInvalidPathCode int = 460

PutPolicyInvalidPathCode is the HTTP code returned for type PutPolicyInvalidPath

const PutPolicyInvalidPolicyCode int = 400

PutPolicyInvalidPolicyCode is the HTTP code returned for type PutPolicyInvalidPolicy

const PutPolicyOKCode int = 200

PutPolicyOKCode is the HTTP code returned for type PutPolicyOK

type DeleteFqdnCache Uses

type DeleteFqdnCache struct {
    Context *middleware.Context
    Handler DeleteFqdnCacheHandler
}

DeleteFqdnCache swagger:route DELETE /fqdn/cache policy 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 NewDeleteFqdnCache Uses

func NewDeleteFqdnCache(ctx *middleware.Context, handler DeleteFqdnCacheHandler) *DeleteFqdnCache

NewDeleteFqdnCache creates a new http.Handler for the delete fqdn cache operation

func (*DeleteFqdnCache) ServeHTTP Uses

func (o *DeleteFqdnCache) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteFqdnCacheBadRequest Uses

type DeleteFqdnCacheBadRequest struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

DeleteFqdnCacheBadRequest Invalid request (error parsing parameters)

swagger:response deleteFqdnCacheBadRequest

func NewDeleteFqdnCacheBadRequest Uses

func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest

NewDeleteFqdnCacheBadRequest creates DeleteFqdnCacheBadRequest with default headers values

func (*DeleteFqdnCacheBadRequest) SetPayload Uses

func (o *DeleteFqdnCacheBadRequest) SetPayload(payload models.Error)

SetPayload sets the payload to the delete fqdn cache bad request response

func (*DeleteFqdnCacheBadRequest) WithPayload Uses

func (o *DeleteFqdnCacheBadRequest) WithPayload(payload models.Error) *DeleteFqdnCacheBadRequest

WithPayload adds the payload to the delete fqdn cache bad request response

func (*DeleteFqdnCacheBadRequest) WriteResponse Uses

func (o *DeleteFqdnCacheBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteFqdnCacheHandler Uses

type DeleteFqdnCacheHandler interface {
    Handle(DeleteFqdnCacheParams) middleware.Responder
}

DeleteFqdnCacheHandler interface for that can handle valid delete fqdn cache params

type DeleteFqdnCacheHandlerFunc Uses

type DeleteFqdnCacheHandlerFunc func(DeleteFqdnCacheParams) middleware.Responder

DeleteFqdnCacheHandlerFunc turns a function with the right signature into a delete fqdn cache handler

func (DeleteFqdnCacheHandlerFunc) Handle Uses

func (fn DeleteFqdnCacheHandlerFunc) Handle(params DeleteFqdnCacheParams) middleware.Responder

Handle executing the request and returning a response

type DeleteFqdnCacheOK Uses

type DeleteFqdnCacheOK struct {
}

DeleteFqdnCacheOK Success

swagger:response deleteFqdnCacheOK

func NewDeleteFqdnCacheOK Uses

func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK

NewDeleteFqdnCacheOK creates DeleteFqdnCacheOK with default headers values

func (*DeleteFqdnCacheOK) WriteResponse Uses

func (o *DeleteFqdnCacheOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteFqdnCacheParams Uses

type DeleteFqdnCacheParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*A toFQDNs compatible matchPattern expression
      In: query
    */
    Matchpattern *string
}

DeleteFqdnCacheParams contains all the bound params for the delete fqdn cache operation typically these are obtained from a http.Request

swagger:parameters DeleteFqdnCache

func NewDeleteFqdnCacheParams Uses

func NewDeleteFqdnCacheParams() DeleteFqdnCacheParams

NewDeleteFqdnCacheParams creates a new DeleteFqdnCacheParams object no default values defined in spec.

func (*DeleteFqdnCacheParams) BindRequest Uses

func (o *DeleteFqdnCacheParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteFqdnCacheParams() beforehand.

type DeleteFqdnCacheURL Uses

type DeleteFqdnCacheURL struct {
    Matchpattern *string
    // contains filtered or unexported fields
}

DeleteFqdnCacheURL generates an URL for the delete fqdn cache operation

func (*DeleteFqdnCacheURL) Build Uses

func (o *DeleteFqdnCacheURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteFqdnCacheURL) BuildFull Uses

func (o *DeleteFqdnCacheURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteFqdnCacheURL) Must Uses

func (o *DeleteFqdnCacheURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteFqdnCacheURL) SetBasePath Uses

func (o *DeleteFqdnCacheURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteFqdnCacheURL) String Uses

func (o *DeleteFqdnCacheURL) String() string

String returns the string representation of the path with query string

func (*DeleteFqdnCacheURL) StringFull Uses

func (o *DeleteFqdnCacheURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteFqdnCacheURL) WithBasePath Uses

func (o *DeleteFqdnCacheURL) WithBasePath(bp string) *DeleteFqdnCacheURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeletePolicy Uses

type DeletePolicy struct {
    Context *middleware.Context
    Handler DeletePolicyHandler
}

DeletePolicy swagger:route DELETE /policy policy deletePolicy

Delete a policy (sub)tree

func NewDeletePolicy Uses

func NewDeletePolicy(ctx *middleware.Context, handler DeletePolicyHandler) *DeletePolicy

NewDeletePolicy creates a new http.Handler for the delete policy operation

func (*DeletePolicy) ServeHTTP Uses

func (o *DeletePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeletePolicyFailure Uses

type DeletePolicyFailure struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

DeletePolicyFailure Error while deleting policy

swagger:response deletePolicyFailure

func NewDeletePolicyFailure Uses

func NewDeletePolicyFailure() *DeletePolicyFailure

NewDeletePolicyFailure creates DeletePolicyFailure with default headers values

func (*DeletePolicyFailure) SetPayload Uses

func (o *DeletePolicyFailure) SetPayload(payload models.Error)

SetPayload sets the payload to the delete policy failure response

func (*DeletePolicyFailure) WithPayload Uses

func (o *DeletePolicyFailure) WithPayload(payload models.Error) *DeletePolicyFailure

WithPayload adds the payload to the delete policy failure response

func (*DeletePolicyFailure) WriteResponse Uses

func (o *DeletePolicyFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePolicyHandler Uses

type DeletePolicyHandler interface {
    Handle(DeletePolicyParams) middleware.Responder
}

DeletePolicyHandler interface for that can handle valid delete policy params

type DeletePolicyHandlerFunc Uses

type DeletePolicyHandlerFunc func(DeletePolicyParams) middleware.Responder

DeletePolicyHandlerFunc turns a function with the right signature into a delete policy handler

func (DeletePolicyHandlerFunc) Handle Uses

func (fn DeletePolicyHandlerFunc) Handle(params DeletePolicyParams) middleware.Responder

Handle executing the request and returning a response

type DeletePolicyInvalid Uses

type DeletePolicyInvalid struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

DeletePolicyInvalid Invalid request

swagger:response deletePolicyInvalid

func NewDeletePolicyInvalid Uses

func NewDeletePolicyInvalid() *DeletePolicyInvalid

NewDeletePolicyInvalid creates DeletePolicyInvalid with default headers values

func (*DeletePolicyInvalid) SetPayload Uses

func (o *DeletePolicyInvalid) SetPayload(payload models.Error)

SetPayload sets the payload to the delete policy invalid response

func (*DeletePolicyInvalid) WithPayload Uses

func (o *DeletePolicyInvalid) WithPayload(payload models.Error) *DeletePolicyInvalid

WithPayload adds the payload to the delete policy invalid response

func (*DeletePolicyInvalid) WriteResponse Uses

func (o *DeletePolicyInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePolicyNotFound Uses

type DeletePolicyNotFound struct {
}

DeletePolicyNotFound Policy not found

swagger:response deletePolicyNotFound

func NewDeletePolicyNotFound Uses

func NewDeletePolicyNotFound() *DeletePolicyNotFound

NewDeletePolicyNotFound creates DeletePolicyNotFound with default headers values

func (*DeletePolicyNotFound) WriteResponse Uses

func (o *DeletePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePolicyOK Uses

type DeletePolicyOK struct {

    /*
      In: Body
    */
    Payload *models.Policy `json:"body,omitempty"`
}

DeletePolicyOK Success

swagger:response deletePolicyOK

func NewDeletePolicyOK Uses

func NewDeletePolicyOK() *DeletePolicyOK

NewDeletePolicyOK creates DeletePolicyOK with default headers values

func (*DeletePolicyOK) SetPayload Uses

func (o *DeletePolicyOK) SetPayload(payload *models.Policy)

SetPayload sets the payload to the delete policy o k response

func (*DeletePolicyOK) WithPayload Uses

func (o *DeletePolicyOK) WithPayload(payload *models.Policy) *DeletePolicyOK

WithPayload adds the payload to the delete policy o k response

func (*DeletePolicyOK) WriteResponse Uses

func (o *DeletePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePolicyParams Uses

type DeletePolicyParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*
      In: body
    */
    Labels models.Labels
}

DeletePolicyParams contains all the bound params for the delete policy operation typically these are obtained from a http.Request

swagger:parameters DeletePolicy

func NewDeletePolicyParams Uses

func NewDeletePolicyParams() DeletePolicyParams

NewDeletePolicyParams creates a new DeletePolicyParams object no default values defined in spec.

func (*DeletePolicyParams) BindRequest Uses

func (o *DeletePolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeletePolicyParams() beforehand.

type DeletePolicyURL Uses

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

DeletePolicyURL generates an URL for the delete policy operation

func (*DeletePolicyURL) Build Uses

func (o *DeletePolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeletePolicyURL) BuildFull Uses

func (o *DeletePolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeletePolicyURL) Must Uses

func (o *DeletePolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeletePolicyURL) SetBasePath Uses

func (o *DeletePolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeletePolicyURL) String Uses

func (o *DeletePolicyURL) String() string

String returns the string representation of the path with query string

func (*DeletePolicyURL) StringFull Uses

func (o *DeletePolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeletePolicyURL) WithBasePath Uses

func (o *DeletePolicyURL) WithBasePath(bp string) *DeletePolicyURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetFqdnCache Uses

type GetFqdnCache struct {
    Context *middleware.Context
    Handler GetFqdnCacheHandler
}

GetFqdnCache swagger:route GET /fqdn/cache policy 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 NewGetFqdnCache Uses

func NewGetFqdnCache(ctx *middleware.Context, handler GetFqdnCacheHandler) *GetFqdnCache

NewGetFqdnCache creates a new http.Handler for the get fqdn cache operation

func (*GetFqdnCache) ServeHTTP Uses

func (o *GetFqdnCache) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetFqdnCacheBadRequest Uses

type GetFqdnCacheBadRequest struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetFqdnCacheBadRequest Invalid request (error parsing parameters)

swagger:response getFqdnCacheBadRequest

func NewGetFqdnCacheBadRequest Uses

func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest

NewGetFqdnCacheBadRequest creates GetFqdnCacheBadRequest with default headers values

func (*GetFqdnCacheBadRequest) SetPayload Uses

func (o *GetFqdnCacheBadRequest) SetPayload(payload models.Error)

SetPayload sets the payload to the get fqdn cache bad request response

func (*GetFqdnCacheBadRequest) WithPayload Uses

func (o *GetFqdnCacheBadRequest) WithPayload(payload models.Error) *GetFqdnCacheBadRequest

WithPayload adds the payload to the get fqdn cache bad request response

func (*GetFqdnCacheBadRequest) WriteResponse Uses

func (o *GetFqdnCacheBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnCacheHandler Uses

type GetFqdnCacheHandler interface {
    Handle(GetFqdnCacheParams) middleware.Responder
}

GetFqdnCacheHandler interface for that can handle valid get fqdn cache params

type GetFqdnCacheHandlerFunc Uses

type GetFqdnCacheHandlerFunc func(GetFqdnCacheParams) middleware.Responder

GetFqdnCacheHandlerFunc turns a function with the right signature into a get fqdn cache handler

func (GetFqdnCacheHandlerFunc) Handle Uses

func (fn GetFqdnCacheHandlerFunc) Handle(params GetFqdnCacheParams) middleware.Responder

Handle executing the request and returning a response

type GetFqdnCacheID Uses

type GetFqdnCacheID struct {
    Context *middleware.Context
    Handler GetFqdnCacheIDHandler
}

GetFqdnCacheID swagger:route GET /fqdn/cache/{id} policy 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 NewGetFqdnCacheID Uses

func NewGetFqdnCacheID(ctx *middleware.Context, handler GetFqdnCacheIDHandler) *GetFqdnCacheID

NewGetFqdnCacheID creates a new http.Handler for the get fqdn cache ID operation

func (*GetFqdnCacheID) ServeHTTP Uses

func (o *GetFqdnCacheID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetFqdnCacheIDBadRequest Uses

type GetFqdnCacheIDBadRequest struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetFqdnCacheIDBadRequest Invalid request (error parsing parameters)

swagger:response getFqdnCacheIdBadRequest

func NewGetFqdnCacheIDBadRequest Uses

func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest

NewGetFqdnCacheIDBadRequest creates GetFqdnCacheIDBadRequest with default headers values

func (*GetFqdnCacheIDBadRequest) SetPayload Uses

func (o *GetFqdnCacheIDBadRequest) SetPayload(payload models.Error)

SetPayload sets the payload to the get fqdn cache Id bad request response

func (*GetFqdnCacheIDBadRequest) WithPayload Uses

func (o *GetFqdnCacheIDBadRequest) WithPayload(payload models.Error) *GetFqdnCacheIDBadRequest

WithPayload adds the payload to the get fqdn cache Id bad request response

func (*GetFqdnCacheIDBadRequest) WriteResponse Uses

func (o *GetFqdnCacheIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnCacheIDHandler Uses

type GetFqdnCacheIDHandler interface {
    Handle(GetFqdnCacheIDParams) middleware.Responder
}

GetFqdnCacheIDHandler interface for that can handle valid get fqdn cache ID params

type GetFqdnCacheIDHandlerFunc Uses

type GetFqdnCacheIDHandlerFunc func(GetFqdnCacheIDParams) middleware.Responder

GetFqdnCacheIDHandlerFunc turns a function with the right signature into a get fqdn cache ID handler

func (GetFqdnCacheIDHandlerFunc) Handle Uses

func (fn GetFqdnCacheIDHandlerFunc) Handle(params GetFqdnCacheIDParams) middleware.Responder

Handle executing the request and returning a response

type GetFqdnCacheIDNotFound Uses

type GetFqdnCacheIDNotFound struct {
}

GetFqdnCacheIDNotFound No DNS data with provided parameters found

swagger:response getFqdnCacheIdNotFound

func NewGetFqdnCacheIDNotFound Uses

func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound

NewGetFqdnCacheIDNotFound creates GetFqdnCacheIDNotFound with default headers values

func (*GetFqdnCacheIDNotFound) WriteResponse Uses

func (o *GetFqdnCacheIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnCacheIDOK Uses

type GetFqdnCacheIDOK struct {

    /*
      In: Body
    */
    Payload []*models.DNSLookup `json:"body,omitempty"`
}

GetFqdnCacheIDOK Success

swagger:response getFqdnCacheIdOK

func NewGetFqdnCacheIDOK Uses

func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK

NewGetFqdnCacheIDOK creates GetFqdnCacheIDOK with default headers values

func (*GetFqdnCacheIDOK) SetPayload Uses

func (o *GetFqdnCacheIDOK) SetPayload(payload []*models.DNSLookup)

SetPayload sets the payload to the get fqdn cache Id o k response

func (*GetFqdnCacheIDOK) WithPayload Uses

func (o *GetFqdnCacheIDOK) WithPayload(payload []*models.DNSLookup) *GetFqdnCacheIDOK

WithPayload adds the payload to the get fqdn cache Id o k response

func (*GetFqdnCacheIDOK) WriteResponse Uses

func (o *GetFqdnCacheIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnCacheIDParams Uses

type GetFqdnCacheIDParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*A CIDR range of IPs
      In: query
    */
    Cidr *string
    /*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

      Required: true
      In: path
    */
    ID  string
    /*A toFQDNs compatible matchPattern expression
      In: query
    */
    Matchpattern *string
}

GetFqdnCacheIDParams contains all the bound params for the get fqdn cache ID operation typically these are obtained from a http.Request

swagger:parameters GetFqdnCacheID

func NewGetFqdnCacheIDParams Uses

func NewGetFqdnCacheIDParams() GetFqdnCacheIDParams

NewGetFqdnCacheIDParams creates a new GetFqdnCacheIDParams object no default values defined in spec.

func (*GetFqdnCacheIDParams) BindRequest Uses

func (o *GetFqdnCacheIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetFqdnCacheIDParams() beforehand.

type GetFqdnCacheIDURL Uses

type GetFqdnCacheIDURL struct {
    ID  string

    Cidr         *string
    Matchpattern *string
    // contains filtered or unexported fields
}

GetFqdnCacheIDURL generates an URL for the get fqdn cache ID operation

func (*GetFqdnCacheIDURL) Build Uses

func (o *GetFqdnCacheIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetFqdnCacheIDURL) BuildFull Uses

func (o *GetFqdnCacheIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetFqdnCacheIDURL) Must Uses

func (o *GetFqdnCacheIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetFqdnCacheIDURL) SetBasePath Uses

func (o *GetFqdnCacheIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetFqdnCacheIDURL) String Uses

func (o *GetFqdnCacheIDURL) String() string

String returns the string representation of the path with query string

func (*GetFqdnCacheIDURL) StringFull Uses

func (o *GetFqdnCacheIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetFqdnCacheIDURL) WithBasePath Uses

func (o *GetFqdnCacheIDURL) WithBasePath(bp string) *GetFqdnCacheIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetFqdnCacheNotFound Uses

type GetFqdnCacheNotFound struct {
}

GetFqdnCacheNotFound No DNS data with provided parameters found

swagger:response getFqdnCacheNotFound

func NewGetFqdnCacheNotFound Uses

func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound

NewGetFqdnCacheNotFound creates GetFqdnCacheNotFound with default headers values

func (*GetFqdnCacheNotFound) WriteResponse Uses

func (o *GetFqdnCacheNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnCacheOK Uses

type GetFqdnCacheOK struct {

    /*
      In: Body
    */
    Payload []*models.DNSLookup `json:"body,omitempty"`
}

GetFqdnCacheOK Success

swagger:response getFqdnCacheOK

func NewGetFqdnCacheOK Uses

func NewGetFqdnCacheOK() *GetFqdnCacheOK

NewGetFqdnCacheOK creates GetFqdnCacheOK with default headers values

func (*GetFqdnCacheOK) SetPayload Uses

func (o *GetFqdnCacheOK) SetPayload(payload []*models.DNSLookup)

SetPayload sets the payload to the get fqdn cache o k response

func (*GetFqdnCacheOK) WithPayload Uses

func (o *GetFqdnCacheOK) WithPayload(payload []*models.DNSLookup) *GetFqdnCacheOK

WithPayload adds the payload to the get fqdn cache o k response

func (*GetFqdnCacheOK) WriteResponse Uses

func (o *GetFqdnCacheOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnCacheParams Uses

type GetFqdnCacheParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*A CIDR range of IPs
      In: query
    */
    Cidr *string
    /*A toFQDNs compatible matchPattern expression
      In: query
    */
    Matchpattern *string
}

GetFqdnCacheParams contains all the bound params for the get fqdn cache operation typically these are obtained from a http.Request

swagger:parameters GetFqdnCache

func NewGetFqdnCacheParams Uses

func NewGetFqdnCacheParams() GetFqdnCacheParams

NewGetFqdnCacheParams creates a new GetFqdnCacheParams object no default values defined in spec.

func (*GetFqdnCacheParams) BindRequest Uses

func (o *GetFqdnCacheParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetFqdnCacheParams() beforehand.

type GetFqdnCacheURL Uses

type GetFqdnCacheURL struct {
    Cidr         *string
    Matchpattern *string
    // contains filtered or unexported fields
}

GetFqdnCacheURL generates an URL for the get fqdn cache operation

func (*GetFqdnCacheURL) Build Uses

func (o *GetFqdnCacheURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetFqdnCacheURL) BuildFull Uses

func (o *GetFqdnCacheURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetFqdnCacheURL) Must Uses

func (o *GetFqdnCacheURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetFqdnCacheURL) SetBasePath Uses

func (o *GetFqdnCacheURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetFqdnCacheURL) String Uses

func (o *GetFqdnCacheURL) String() string

String returns the string representation of the path with query string

func (*GetFqdnCacheURL) StringFull Uses

func (o *GetFqdnCacheURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetFqdnCacheURL) WithBasePath Uses

func (o *GetFqdnCacheURL) WithBasePath(bp string) *GetFqdnCacheURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetFqdnNames Uses

type GetFqdnNames struct {
    Context *middleware.Context
    Handler GetFqdnNamesHandler
}

GetFqdnNames swagger:route GET /fqdn/names policy getFqdnNames

List internal DNS selector representations

Retrieves the list of DNS-related fields (names to poll, selectors and their corresponding regexes).

func NewGetFqdnNames Uses

func NewGetFqdnNames(ctx *middleware.Context, handler GetFqdnNamesHandler) *GetFqdnNames

NewGetFqdnNames creates a new http.Handler for the get fqdn names operation

func (*GetFqdnNames) ServeHTTP Uses

func (o *GetFqdnNames) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetFqdnNamesBadRequest Uses

type GetFqdnNamesBadRequest struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetFqdnNamesBadRequest Invalid request (error parsing parameters)

swagger:response getFqdnNamesBadRequest

func NewGetFqdnNamesBadRequest Uses

func NewGetFqdnNamesBadRequest() *GetFqdnNamesBadRequest

NewGetFqdnNamesBadRequest creates GetFqdnNamesBadRequest with default headers values

func (*GetFqdnNamesBadRequest) SetPayload Uses

func (o *GetFqdnNamesBadRequest) SetPayload(payload models.Error)

SetPayload sets the payload to the get fqdn names bad request response

func (*GetFqdnNamesBadRequest) WithPayload Uses

func (o *GetFqdnNamesBadRequest) WithPayload(payload models.Error) *GetFqdnNamesBadRequest

WithPayload adds the payload to the get fqdn names bad request response

func (*GetFqdnNamesBadRequest) WriteResponse Uses

func (o *GetFqdnNamesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnNamesHandler Uses

type GetFqdnNamesHandler interface {
    Handle(GetFqdnNamesParams) middleware.Responder
}

GetFqdnNamesHandler interface for that can handle valid get fqdn names params

type GetFqdnNamesHandlerFunc Uses

type GetFqdnNamesHandlerFunc func(GetFqdnNamesParams) middleware.Responder

GetFqdnNamesHandlerFunc turns a function with the right signature into a get fqdn names handler

func (GetFqdnNamesHandlerFunc) Handle Uses

func (fn GetFqdnNamesHandlerFunc) Handle(params GetFqdnNamesParams) middleware.Responder

Handle executing the request and returning a response

type GetFqdnNamesOK Uses

type GetFqdnNamesOK struct {

    /*
      In: Body
    */
    Payload *models.NameManager `json:"body,omitempty"`
}

GetFqdnNamesOK Success

swagger:response getFqdnNamesOK

func NewGetFqdnNamesOK Uses

func NewGetFqdnNamesOK() *GetFqdnNamesOK

NewGetFqdnNamesOK creates GetFqdnNamesOK with default headers values

func (*GetFqdnNamesOK) SetPayload Uses

func (o *GetFqdnNamesOK) SetPayload(payload *models.NameManager)

SetPayload sets the payload to the get fqdn names o k response

func (*GetFqdnNamesOK) WithPayload Uses

func (o *GetFqdnNamesOK) WithPayload(payload *models.NameManager) *GetFqdnNamesOK

WithPayload adds the payload to the get fqdn names o k response

func (*GetFqdnNamesOK) WriteResponse Uses

func (o *GetFqdnNamesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFqdnNamesParams Uses

type GetFqdnNamesParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`
}

GetFqdnNamesParams contains all the bound params for the get fqdn names operation typically these are obtained from a http.Request

swagger:parameters GetFqdnNames

func NewGetFqdnNamesParams Uses

func NewGetFqdnNamesParams() GetFqdnNamesParams

NewGetFqdnNamesParams creates a new GetFqdnNamesParams object no default values defined in spec.

func (*GetFqdnNamesParams) BindRequest Uses

func (o *GetFqdnNamesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetFqdnNamesParams() beforehand.

type GetFqdnNamesURL Uses

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

GetFqdnNamesURL generates an URL for the get fqdn names operation

func (*GetFqdnNamesURL) Build Uses

func (o *GetFqdnNamesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetFqdnNamesURL) BuildFull Uses

func (o *GetFqdnNamesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetFqdnNamesURL) Must Uses

func (o *GetFqdnNamesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetFqdnNamesURL) SetBasePath Uses

func (o *GetFqdnNamesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetFqdnNamesURL) String Uses

func (o *GetFqdnNamesURL) String() string

String returns the string representation of the path with query string

func (*GetFqdnNamesURL) StringFull Uses

func (o *GetFqdnNamesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetFqdnNamesURL) WithBasePath Uses

func (o *GetFqdnNamesURL) WithBasePath(bp string) *GetFqdnNamesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetIP Uses

type GetIP struct {
    Context *middleware.Context
    Handler GetIPHandler
}

GetIP swagger:route GET /ip policy 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 NewGetIP Uses

func NewGetIP(ctx *middleware.Context, handler GetIPHandler) *GetIP

NewGetIP creates a new http.Handler for the get IP operation

func (*GetIP) ServeHTTP Uses

func (o *GetIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetIPBadRequest Uses

type GetIPBadRequest struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetIPBadRequest Invalid request (error parsing parameters)

swagger:response getIpBadRequest

func NewGetIPBadRequest Uses

func NewGetIPBadRequest() *GetIPBadRequest

NewGetIPBadRequest creates GetIPBadRequest with default headers values

func (*GetIPBadRequest) SetPayload Uses

func (o *GetIPBadRequest) SetPayload(payload models.Error)

SetPayload sets the payload to the get Ip bad request response

func (*GetIPBadRequest) WithPayload Uses

func (o *GetIPBadRequest) WithPayload(payload models.Error) *GetIPBadRequest

WithPayload adds the payload to the get Ip bad request response

func (*GetIPBadRequest) WriteResponse Uses

func (o *GetIPBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIPHandler Uses

type GetIPHandler interface {
    Handle(GetIPParams) middleware.Responder
}

GetIPHandler interface for that can handle valid get IP params

type GetIPHandlerFunc Uses

type GetIPHandlerFunc func(GetIPParams) middleware.Responder

GetIPHandlerFunc turns a function with the right signature into a get IP handler

func (GetIPHandlerFunc) Handle Uses

func (fn GetIPHandlerFunc) Handle(params GetIPParams) middleware.Responder

Handle executing the request and returning a response

type GetIPNotFound Uses

type GetIPNotFound struct {
}

GetIPNotFound No IP cache entries with provided parameters found

swagger:response getIpNotFound

func NewGetIPNotFound Uses

func NewGetIPNotFound() *GetIPNotFound

NewGetIPNotFound creates GetIPNotFound with default headers values

func (*GetIPNotFound) WriteResponse Uses

func (o *GetIPNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIPOK Uses

type GetIPOK struct {

    /*
      In: Body
    */
    Payload []*models.IPListEntry `json:"body,omitempty"`
}

GetIPOK Success

swagger:response getIpOK

func NewGetIPOK Uses

func NewGetIPOK() *GetIPOK

NewGetIPOK creates GetIPOK with default headers values

func (*GetIPOK) SetPayload Uses

func (o *GetIPOK) SetPayload(payload []*models.IPListEntry)

SetPayload sets the payload to the get Ip o k response

func (*GetIPOK) WithPayload Uses

func (o *GetIPOK) WithPayload(payload []*models.IPListEntry) *GetIPOK

WithPayload adds the payload to the get Ip o k response

func (*GetIPOK) WriteResponse Uses

func (o *GetIPOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIPParams Uses

type GetIPParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*A CIDR range of IPs
      In: query
    */
    Cidr *string
}

GetIPParams contains all the bound params for the get IP operation typically these are obtained from a http.Request

swagger:parameters GetIP

func NewGetIPParams Uses

func NewGetIPParams() GetIPParams

NewGetIPParams creates a new GetIPParams object no default values defined in spec.

func (*GetIPParams) BindRequest Uses

func (o *GetIPParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetIPParams() beforehand.

type GetIPURL Uses

type GetIPURL struct {
    Cidr *string
    // contains filtered or unexported fields
}

GetIPURL generates an URL for the get IP operation

func (*GetIPURL) Build Uses

func (o *GetIPURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetIPURL) BuildFull Uses

func (o *GetIPURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetIPURL) Must Uses

func (o *GetIPURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetIPURL) SetBasePath Uses

func (o *GetIPURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetIPURL) String Uses

func (o *GetIPURL) String() string

String returns the string representation of the path with query string

func (*GetIPURL) StringFull Uses

func (o *GetIPURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetIPURL) WithBasePath Uses

func (o *GetIPURL) WithBasePath(bp string) *GetIPURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetIdentity Uses

type GetIdentity struct {
    Context *middleware.Context
    Handler GetIdentityHandler
}

GetIdentity swagger:route GET /identity policy 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 NewGetIdentity Uses

func NewGetIdentity(ctx *middleware.Context, handler GetIdentityHandler) *GetIdentity

NewGetIdentity creates a new http.Handler for the get identity operation

func (*GetIdentity) ServeHTTP Uses

func (o *GetIdentity) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetIdentityEndpoints Uses

type GetIdentityEndpoints struct {
    Context *middleware.Context
    Handler GetIdentityEndpointsHandler
}

GetIdentityEndpoints swagger:route GET /identity/endpoints policy getIdentityEndpoints

Retrieve identities which are being used by local endpoints

func NewGetIdentityEndpoints Uses

func NewGetIdentityEndpoints(ctx *middleware.Context, handler GetIdentityEndpointsHandler) *GetIdentityEndpoints

NewGetIdentityEndpoints creates a new http.Handler for the get identity endpoints operation

func (*GetIdentityEndpoints) ServeHTTP Uses

func (o *GetIdentityEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetIdentityEndpointsHandler Uses

type GetIdentityEndpointsHandler interface {
    Handle(GetIdentityEndpointsParams) middleware.Responder
}

GetIdentityEndpointsHandler interface for that can handle valid get identity endpoints params

type GetIdentityEndpointsHandlerFunc Uses

type GetIdentityEndpointsHandlerFunc func(GetIdentityEndpointsParams) middleware.Responder

GetIdentityEndpointsHandlerFunc turns a function with the right signature into a get identity endpoints handler

func (GetIdentityEndpointsHandlerFunc) Handle Uses

func (fn GetIdentityEndpointsHandlerFunc) Handle(params GetIdentityEndpointsParams) middleware.Responder

Handle executing the request and returning a response

type GetIdentityEndpointsNotFound Uses

type GetIdentityEndpointsNotFound struct {
}

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

swagger:response getIdentityEndpointsNotFound

func NewGetIdentityEndpointsNotFound Uses

func NewGetIdentityEndpointsNotFound() *GetIdentityEndpointsNotFound

NewGetIdentityEndpointsNotFound creates GetIdentityEndpointsNotFound with default headers values

func (*GetIdentityEndpointsNotFound) WriteResponse Uses

func (o *GetIdentityEndpointsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityEndpointsOK Uses

type GetIdentityEndpointsOK struct {

    /*
      In: Body
    */
    Payload []*models.IdentityEndpoints `json:"body,omitempty"`
}

GetIdentityEndpointsOK Success

swagger:response getIdentityEndpointsOK

func NewGetIdentityEndpointsOK Uses

func NewGetIdentityEndpointsOK() *GetIdentityEndpointsOK

NewGetIdentityEndpointsOK creates GetIdentityEndpointsOK with default headers values

func (*GetIdentityEndpointsOK) SetPayload Uses

func (o *GetIdentityEndpointsOK) SetPayload(payload []*models.IdentityEndpoints)

SetPayload sets the payload to the get identity endpoints o k response

func (*GetIdentityEndpointsOK) WithPayload Uses

func (o *GetIdentityEndpointsOK) WithPayload(payload []*models.IdentityEndpoints) *GetIdentityEndpointsOK

WithPayload adds the payload to the get identity endpoints o k response

func (*GetIdentityEndpointsOK) WriteResponse Uses

func (o *GetIdentityEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityEndpointsParams Uses

type GetIdentityEndpointsParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`
}

GetIdentityEndpointsParams contains all the bound params for the get identity endpoints operation typically these are obtained from a http.Request

swagger:parameters GetIdentityEndpoints

func NewGetIdentityEndpointsParams Uses

func NewGetIdentityEndpointsParams() GetIdentityEndpointsParams

NewGetIdentityEndpointsParams creates a new GetIdentityEndpointsParams object no default values defined in spec.

func (*GetIdentityEndpointsParams) BindRequest Uses

func (o *GetIdentityEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetIdentityEndpointsParams() beforehand.

type GetIdentityEndpointsURL Uses

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

GetIdentityEndpointsURL generates an URL for the get identity endpoints operation

func (*GetIdentityEndpointsURL) Build Uses

func (o *GetIdentityEndpointsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetIdentityEndpointsURL) BuildFull Uses

func (o *GetIdentityEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetIdentityEndpointsURL) Must Uses

func (o *GetIdentityEndpointsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetIdentityEndpointsURL) SetBasePath Uses

func (o *GetIdentityEndpointsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetIdentityEndpointsURL) String Uses

func (o *GetIdentityEndpointsURL) String() string

String returns the string representation of the path with query string

func (*GetIdentityEndpointsURL) StringFull Uses

func (o *GetIdentityEndpointsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetIdentityEndpointsURL) WithBasePath Uses

func (o *GetIdentityEndpointsURL) WithBasePath(bp string) *GetIdentityEndpointsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetIdentityHandler Uses

type GetIdentityHandler interface {
    Handle(GetIdentityParams) middleware.Responder
}

GetIdentityHandler interface for that can handle valid get identity params

type GetIdentityHandlerFunc Uses

type GetIdentityHandlerFunc func(GetIdentityParams) middleware.Responder

GetIdentityHandlerFunc turns a function with the right signature into a get identity handler

func (GetIdentityHandlerFunc) Handle Uses

func (fn GetIdentityHandlerFunc) Handle(params GetIdentityParams) middleware.Responder

Handle executing the request and returning a response

type GetIdentityID Uses

type GetIdentityID struct {
    Context *middleware.Context
    Handler GetIdentityIDHandler
}

GetIdentityID swagger:route GET /identity/{id} policy getIdentityId

Retrieve identity

func NewGetIdentityID Uses

func NewGetIdentityID(ctx *middleware.Context, handler GetIdentityIDHandler) *GetIdentityID

NewGetIdentityID creates a new http.Handler for the get identity ID operation

func (*GetIdentityID) ServeHTTP Uses

func (o *GetIdentityID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetIdentityIDBadRequest Uses

type GetIdentityIDBadRequest struct {
}

GetIdentityIDBadRequest Invalid identity provided

swagger:response getIdentityIdBadRequest

func NewGetIdentityIDBadRequest Uses

func NewGetIdentityIDBadRequest() *GetIdentityIDBadRequest

NewGetIdentityIDBadRequest creates GetIdentityIDBadRequest with default headers values

func (*GetIdentityIDBadRequest) WriteResponse Uses

func (o *GetIdentityIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityIDHandler Uses

type GetIdentityIDHandler interface {
    Handle(GetIdentityIDParams) middleware.Responder
}

GetIdentityIDHandler interface for that can handle valid get identity ID params

type GetIdentityIDHandlerFunc Uses

type GetIdentityIDHandlerFunc func(GetIdentityIDParams) middleware.Responder

GetIdentityIDHandlerFunc turns a function with the right signature into a get identity ID handler

func (GetIdentityIDHandlerFunc) Handle Uses

func (fn GetIdentityIDHandlerFunc) Handle(params GetIdentityIDParams) middleware.Responder

Handle executing the request and returning a response

type GetIdentityIDInvalidStorageFormat Uses

type GetIdentityIDInvalidStorageFormat struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetIdentityIDInvalidStorageFormat Invalid identity format in storage

swagger:response getIdentityIdInvalidStorageFormat

func NewGetIdentityIDInvalidStorageFormat Uses

func NewGetIdentityIDInvalidStorageFormat() *GetIdentityIDInvalidStorageFormat

NewGetIdentityIDInvalidStorageFormat creates GetIdentityIDInvalidStorageFormat with default headers values

func (*GetIdentityIDInvalidStorageFormat) SetPayload Uses

func (o *GetIdentityIDInvalidStorageFormat) SetPayload(payload models.Error)

SetPayload sets the payload to the get identity Id invalid storage format response

func (*GetIdentityIDInvalidStorageFormat) WithPayload Uses

func (o *GetIdentityIDInvalidStorageFormat) WithPayload(payload models.Error) *GetIdentityIDInvalidStorageFormat

WithPayload adds the payload to the get identity Id invalid storage format response

func (*GetIdentityIDInvalidStorageFormat) WriteResponse Uses

func (o *GetIdentityIDInvalidStorageFormat) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityIDNotFound Uses

type GetIdentityIDNotFound struct {
}

GetIdentityIDNotFound Identity not found

swagger:response getIdentityIdNotFound

func NewGetIdentityIDNotFound Uses

func NewGetIdentityIDNotFound() *GetIdentityIDNotFound

NewGetIdentityIDNotFound creates GetIdentityIDNotFound with default headers values

func (*GetIdentityIDNotFound) WriteResponse Uses

func (o *GetIdentityIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityIDOK Uses

type GetIdentityIDOK struct {

    /*
      In: Body
    */
    Payload *models.Identity `json:"body,omitempty"`
}

GetIdentityIDOK Success

swagger:response getIdentityIdOK

func NewGetIdentityIDOK Uses

func NewGetIdentityIDOK() *GetIdentityIDOK

NewGetIdentityIDOK creates GetIdentityIDOK with default headers values

func (*GetIdentityIDOK) SetPayload Uses

func (o *GetIdentityIDOK) SetPayload(payload *models.Identity)

SetPayload sets the payload to the get identity Id o k response

func (*GetIdentityIDOK) WithPayload Uses

func (o *GetIdentityIDOK) WithPayload(payload *models.Identity) *GetIdentityIDOK

WithPayload adds the payload to the get identity Id o k response

func (*GetIdentityIDOK) WriteResponse Uses

func (o *GetIdentityIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityIDParams Uses

type GetIdentityIDParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*Cluster wide unique identifier of a security identity.

      Required: true
      In: path
    */
    ID  string
}

GetIdentityIDParams contains all the bound params for the get identity ID operation typically these are obtained from a http.Request

swagger:parameters GetIdentityID

func NewGetIdentityIDParams Uses

func NewGetIdentityIDParams() GetIdentityIDParams

NewGetIdentityIDParams creates a new GetIdentityIDParams object no default values defined in spec.

func (*GetIdentityIDParams) BindRequest Uses

func (o *GetIdentityIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetIdentityIDParams() beforehand.

type GetIdentityIDURL Uses

type GetIdentityIDURL struct {
    ID string
    // contains filtered or unexported fields
}

GetIdentityIDURL generates an URL for the get identity ID operation

func (*GetIdentityIDURL) Build Uses

func (o *GetIdentityIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetIdentityIDURL) BuildFull Uses

func (o *GetIdentityIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetIdentityIDURL) Must Uses

func (o *GetIdentityIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetIdentityIDURL) SetBasePath Uses

func (o *GetIdentityIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetIdentityIDURL) String Uses

func (o *GetIdentityIDURL) String() string

String returns the string representation of the path with query string

func (*GetIdentityIDURL) StringFull Uses

func (o *GetIdentityIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetIdentityIDURL) WithBasePath Uses

func (o *GetIdentityIDURL) WithBasePath(bp string) *GetIdentityIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetIdentityIDUnreachable Uses

type GetIdentityIDUnreachable struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetIdentityIDUnreachable Identity storage unreachable. Likely a network problem.

swagger:response getIdentityIdUnreachable

func NewGetIdentityIDUnreachable Uses

func NewGetIdentityIDUnreachable() *GetIdentityIDUnreachable

NewGetIdentityIDUnreachable creates GetIdentityIDUnreachable with default headers values

func (*GetIdentityIDUnreachable) SetPayload Uses

func (o *GetIdentityIDUnreachable) SetPayload(payload models.Error)

SetPayload sets the payload to the get identity Id unreachable response

func (*GetIdentityIDUnreachable) WithPayload Uses

func (o *GetIdentityIDUnreachable) WithPayload(payload models.Error) *GetIdentityIDUnreachable

WithPayload adds the payload to the get identity Id unreachable response

func (*GetIdentityIDUnreachable) WriteResponse Uses

func (o *GetIdentityIDUnreachable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityInvalidStorageFormat Uses

type GetIdentityInvalidStorageFormat struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetIdentityInvalidStorageFormat Invalid identity format in storage

swagger:response getIdentityInvalidStorageFormat

func NewGetIdentityInvalidStorageFormat Uses

func NewGetIdentityInvalidStorageFormat() *GetIdentityInvalidStorageFormat

NewGetIdentityInvalidStorageFormat creates GetIdentityInvalidStorageFormat with default headers values

func (*GetIdentityInvalidStorageFormat) SetPayload Uses

func (o *GetIdentityInvalidStorageFormat) SetPayload(payload models.Error)

SetPayload sets the payload to the get identity invalid storage format response

func (*GetIdentityInvalidStorageFormat) WithPayload Uses

func (o *GetIdentityInvalidStorageFormat) WithPayload(payload models.Error) *GetIdentityInvalidStorageFormat

WithPayload adds the payload to the get identity invalid storage format response

func (*GetIdentityInvalidStorageFormat) WriteResponse Uses

func (o *GetIdentityInvalidStorageFormat) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityNotFound Uses

type GetIdentityNotFound struct {
}

GetIdentityNotFound Identities with provided parameters not found

swagger:response getIdentityNotFound

func NewGetIdentityNotFound Uses

func NewGetIdentityNotFound() *GetIdentityNotFound

NewGetIdentityNotFound creates GetIdentityNotFound with default headers values

func (*GetIdentityNotFound) WriteResponse Uses

func (o *GetIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityOK Uses

type GetIdentityOK struct {

    /*
      In: Body
    */
    Payload []*models.Identity `json:"body,omitempty"`
}

GetIdentityOK Success

swagger:response getIdentityOK

func NewGetIdentityOK Uses

func NewGetIdentityOK() *GetIdentityOK

NewGetIdentityOK creates GetIdentityOK with default headers values

func (*GetIdentityOK) SetPayload Uses

func (o *GetIdentityOK) SetPayload(payload []*models.Identity)

SetPayload sets the payload to the get identity o k response

func (*GetIdentityOK) WithPayload Uses

func (o *GetIdentityOK) WithPayload(payload []*models.Identity) *GetIdentityOK

WithPayload adds the payload to the get identity o k response

func (*GetIdentityOK) WriteResponse Uses

func (o *GetIdentityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetIdentityParams Uses

type GetIdentityParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*List of labels

      In: body
    */
    Labels models.Labels
}

GetIdentityParams contains all the bound params for the get identity operation typically these are obtained from a http.Request

swagger:parameters GetIdentity

func NewGetIdentityParams Uses

func NewGetIdentityParams() GetIdentityParams

NewGetIdentityParams creates a new GetIdentityParams object no default values defined in spec.

func (*GetIdentityParams) BindRequest Uses

func (o *GetIdentityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetIdentityParams() beforehand.

type GetIdentityURL Uses

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

GetIdentityURL generates an URL for the get identity operation

func (*GetIdentityURL) Build Uses

func (o *GetIdentityURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetIdentityURL) BuildFull Uses

func (o *GetIdentityURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetIdentityURL) Must Uses

func (o *GetIdentityURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetIdentityURL) SetBasePath Uses

func (o *GetIdentityURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetIdentityURL) String Uses

func (o *GetIdentityURL) String() string

String returns the string representation of the path with query string

func (*GetIdentityURL) StringFull Uses

func (o *GetIdentityURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetIdentityURL) WithBasePath Uses

func (o *GetIdentityURL) WithBasePath(bp string) *GetIdentityURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetIdentityUnreachable Uses

type GetIdentityUnreachable struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

GetIdentityUnreachable Identity storage unreachable. Likely a network problem.

swagger:response getIdentityUnreachable

func NewGetIdentityUnreachable Uses

func NewGetIdentityUnreachable() *GetIdentityUnreachable

NewGetIdentityUnreachable creates GetIdentityUnreachable with default headers values

func (*GetIdentityUnreachable) SetPayload Uses

func (o *GetIdentityUnreachable) SetPayload(payload models.Error)

SetPayload sets the payload to the get identity unreachable response

func (*GetIdentityUnreachable) WithPayload Uses

func (o *GetIdentityUnreachable) WithPayload(payload models.Error) *GetIdentityUnreachable

WithPayload adds the payload to the get identity unreachable response

func (*GetIdentityUnreachable) WriteResponse Uses

func (o *GetIdentityUnreachable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPolicy Uses

type GetPolicy struct {
    Context *middleware.Context
    Handler GetPolicyHandler
}

GetPolicy swagger:route GET /policy policy getPolicy

Retrieve entire policy tree

Returns the entire policy tree with all children.

func NewGetPolicy Uses

func NewGetPolicy(ctx *middleware.Context, handler GetPolicyHandler) *GetPolicy

NewGetPolicy creates a new http.Handler for the get policy operation

func (*GetPolicy) ServeHTTP Uses

func (o *GetPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPolicyHandler Uses

type GetPolicyHandler interface {
    Handle(GetPolicyParams) middleware.Responder
}

GetPolicyHandler interface for that can handle valid get policy params

type GetPolicyHandlerFunc Uses

type GetPolicyHandlerFunc func(GetPolicyParams) middleware.Responder

GetPolicyHandlerFunc turns a function with the right signature into a get policy handler

func (GetPolicyHandlerFunc) Handle Uses

func (fn GetPolicyHandlerFunc) Handle(params GetPolicyParams) middleware.Responder

Handle executing the request and returning a response

type GetPolicyNotFound Uses

type GetPolicyNotFound struct {
}

GetPolicyNotFound No policy rules found

swagger:response getPolicyNotFound

func NewGetPolicyNotFound Uses

func NewGetPolicyNotFound() *GetPolicyNotFound

NewGetPolicyNotFound creates GetPolicyNotFound with default headers values

func (*GetPolicyNotFound) WriteResponse Uses

func (o *GetPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPolicyOK Uses

type GetPolicyOK struct {

    /*
      In: Body
    */
    Payload *models.Policy `json:"body,omitempty"`
}

GetPolicyOK Success

swagger:response getPolicyOK

func NewGetPolicyOK Uses

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates GetPolicyOK with default headers values

func (*GetPolicyOK) SetPayload Uses

func (o *GetPolicyOK) SetPayload(payload *models.Policy)

SetPayload sets the payload to the get policy o k response

func (*GetPolicyOK) WithPayload Uses

func (o *GetPolicyOK) WithPayload(payload *models.Policy) *GetPolicyOK

WithPayload adds the payload to the get policy o k response

func (*GetPolicyOK) WriteResponse Uses

func (o *GetPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPolicyParams Uses

type GetPolicyParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*
      In: body
    */
    Labels models.Labels
}

GetPolicyParams contains all the bound params for the get policy operation typically these are obtained from a http.Request

swagger:parameters GetPolicy

func NewGetPolicyParams Uses

func NewGetPolicyParams() GetPolicyParams

NewGetPolicyParams creates a new GetPolicyParams object no default values defined in spec.

func (*GetPolicyParams) BindRequest Uses

func (o *GetPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPolicyParams() beforehand.

type GetPolicyResolve Uses

type GetPolicyResolve struct {
    Context *middleware.Context
    Handler GetPolicyResolveHandler
}

GetPolicyResolve swagger:route GET /policy/resolve policy getPolicyResolve

Resolve policy for an identity context

func NewGetPolicyResolve Uses

func NewGetPolicyResolve(ctx *middleware.Context, handler GetPolicyResolveHandler) *GetPolicyResolve

NewGetPolicyResolve creates a new http.Handler for the get policy resolve operation

func (*GetPolicyResolve) ServeHTTP Uses

func (o *GetPolicyResolve) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPolicyResolveHandler Uses

type GetPolicyResolveHandler interface {
    Handle(GetPolicyResolveParams) middleware.Responder
}

GetPolicyResolveHandler interface for that can handle valid get policy resolve params

type GetPolicyResolveHandlerFunc Uses

type GetPolicyResolveHandlerFunc func(GetPolicyResolveParams) middleware.Responder

GetPolicyResolveHandlerFunc turns a function with the right signature into a get policy resolve handler

func (GetPolicyResolveHandlerFunc) Handle Uses

func (fn GetPolicyResolveHandlerFunc) Handle(params GetPolicyResolveParams) middleware.Responder

Handle executing the request and returning a response

type GetPolicyResolveOK Uses

type GetPolicyResolveOK struct {

    /*
      In: Body
    */
    Payload *models.PolicyTraceResult `json:"body,omitempty"`
}

GetPolicyResolveOK Success

swagger:response getPolicyResolveOK

func NewGetPolicyResolveOK Uses

func NewGetPolicyResolveOK() *GetPolicyResolveOK

NewGetPolicyResolveOK creates GetPolicyResolveOK with default headers values

func (*GetPolicyResolveOK) SetPayload Uses

func (o *GetPolicyResolveOK) SetPayload(payload *models.PolicyTraceResult)

SetPayload sets the payload to the get policy resolve o k response

func (*GetPolicyResolveOK) WithPayload Uses

func (o *GetPolicyResolveOK) WithPayload(payload *models.PolicyTraceResult) *GetPolicyResolveOK

WithPayload adds the payload to the get policy resolve o k response

func (*GetPolicyResolveOK) WriteResponse Uses

func (o *GetPolicyResolveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPolicyResolveParams Uses

type GetPolicyResolveParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*Context to provide policy evaluation on
      In: body
    */
    TraceSelector *models.TraceSelector
}

GetPolicyResolveParams contains all the bound params for the get policy resolve operation typically these are obtained from a http.Request

swagger:parameters GetPolicyResolve

func NewGetPolicyResolveParams Uses

func NewGetPolicyResolveParams() GetPolicyResolveParams

NewGetPolicyResolveParams creates a new GetPolicyResolveParams object no default values defined in spec.

func (*GetPolicyResolveParams) BindRequest Uses

func (o *GetPolicyResolveParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPolicyResolveParams() beforehand.

type GetPolicyResolveURL Uses

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

GetPolicyResolveURL generates an URL for the get policy resolve operation

func (*GetPolicyResolveURL) Build Uses

func (o *GetPolicyResolveURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPolicyResolveURL) BuildFull Uses

func (o *GetPolicyResolveURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPolicyResolveURL) Must Uses

func (o *GetPolicyResolveURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPolicyResolveURL) SetBasePath Uses

func (o *GetPolicyResolveURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPolicyResolveURL) String Uses

func (o *GetPolicyResolveURL) String() string

String returns the string representation of the path with query string

func (*GetPolicyResolveURL) StringFull Uses

func (o *GetPolicyResolveURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPolicyResolveURL) WithBasePath Uses

func (o *GetPolicyResolveURL) WithBasePath(bp string) *GetPolicyResolveURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetPolicySelectors Uses

type GetPolicySelectors struct {
    Context *middleware.Context
    Handler GetPolicySelectorsHandler
}

GetPolicySelectors swagger:route GET /policy/selectors policy getPolicySelectors

See what selectors match which identities

func NewGetPolicySelectors Uses

func NewGetPolicySelectors(ctx *middleware.Context, handler GetPolicySelectorsHandler) *GetPolicySelectors

NewGetPolicySelectors creates a new http.Handler for the get policy selectors operation

func (*GetPolicySelectors) ServeHTTP Uses

func (o *GetPolicySelectors) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPolicySelectorsHandler Uses

type GetPolicySelectorsHandler interface {
    Handle(GetPolicySelectorsParams) middleware.Responder
}

GetPolicySelectorsHandler interface for that can handle valid get policy selectors params

type GetPolicySelectorsHandlerFunc Uses

type GetPolicySelectorsHandlerFunc func(GetPolicySelectorsParams) middleware.Responder

GetPolicySelectorsHandlerFunc turns a function with the right signature into a get policy selectors handler

func (GetPolicySelectorsHandlerFunc) Handle Uses

func (fn GetPolicySelectorsHandlerFunc) Handle(params GetPolicySelectorsParams) middleware.Responder

Handle executing the request and returning a response

type GetPolicySelectorsOK Uses

type GetPolicySelectorsOK struct {

    /*
      In: Body
    */
    Payload models.SelectorCache `json:"body,omitempty"`
}

GetPolicySelectorsOK Success

swagger:response getPolicySelectorsOK

func NewGetPolicySelectorsOK Uses

func NewGetPolicySelectorsOK() *GetPolicySelectorsOK

NewGetPolicySelectorsOK creates GetPolicySelectorsOK with default headers values

func (*GetPolicySelectorsOK) SetPayload Uses

func (o *GetPolicySelectorsOK) SetPayload(payload models.SelectorCache)

SetPayload sets the payload to the get policy selectors o k response

func (*GetPolicySelectorsOK) WithPayload Uses

func (o *GetPolicySelectorsOK) WithPayload(payload models.SelectorCache) *GetPolicySelectorsOK

WithPayload adds the payload to the get policy selectors o k response

func (*GetPolicySelectorsOK) WriteResponse Uses

func (o *GetPolicySelectorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPolicySelectorsParams Uses

type GetPolicySelectorsParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`
}

GetPolicySelectorsParams contains all the bound params for the get policy selectors operation typically these are obtained from a http.Request

swagger:parameters GetPolicySelectors

func NewGetPolicySelectorsParams Uses

func NewGetPolicySelectorsParams() GetPolicySelectorsParams

NewGetPolicySelectorsParams creates a new GetPolicySelectorsParams object no default values defined in spec.

func (*GetPolicySelectorsParams) BindRequest Uses

func (o *GetPolicySelectorsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPolicySelectorsParams() beforehand.

type GetPolicySelectorsURL Uses

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

GetPolicySelectorsURL generates an URL for the get policy selectors operation

func (*GetPolicySelectorsURL) Build Uses

func (o *GetPolicySelectorsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPolicySelectorsURL) BuildFull Uses

func (o *GetPolicySelectorsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPolicySelectorsURL) Must Uses

func (o *GetPolicySelectorsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPolicySelectorsURL) SetBasePath Uses

func (o *GetPolicySelectorsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPolicySelectorsURL) String Uses

func (o *GetPolicySelectorsURL) String() string

String returns the string representation of the path with query string

func (*GetPolicySelectorsURL) StringFull Uses

func (o *GetPolicySelectorsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPolicySelectorsURL) WithBasePath Uses

func (o *GetPolicySelectorsURL) WithBasePath(bp string) *GetPolicySelectorsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetPolicyURL Uses

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

GetPolicyURL generates an URL for the get policy operation

func (*GetPolicyURL) Build Uses

func (o *GetPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPolicyURL) BuildFull Uses

func (o *GetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPolicyURL) Must Uses

func (o *GetPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPolicyURL) SetBasePath Uses

func (o *GetPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPolicyURL) String Uses

func (o *GetPolicyURL) String() string

String returns the string representation of the path with query string

func (*GetPolicyURL) StringFull Uses

func (o *GetPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPolicyURL) WithBasePath Uses

func (o *GetPolicyURL) WithBasePath(bp string) *GetPolicyURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PutPolicy Uses

type PutPolicy struct {
    Context *middleware.Context
    Handler PutPolicyHandler
}

PutPolicy swagger:route PUT /policy policy putPolicy

Create or update a policy (sub)tree

func NewPutPolicy Uses

func NewPutPolicy(ctx *middleware.Context, handler PutPolicyHandler) *PutPolicy

NewPutPolicy creates a new http.Handler for the put policy operation

func (*PutPolicy) ServeHTTP Uses

func (o *PutPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutPolicyFailure Uses

type PutPolicyFailure struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

PutPolicyFailure Policy import failed

swagger:response putPolicyFailure

func NewPutPolicyFailure Uses

func NewPutPolicyFailure() *PutPolicyFailure

NewPutPolicyFailure creates PutPolicyFailure with default headers values

func (*PutPolicyFailure) SetPayload Uses

func (o *PutPolicyFailure) SetPayload(payload models.Error)

SetPayload sets the payload to the put policy failure response

func (*PutPolicyFailure) WithPayload Uses

func (o *PutPolicyFailure) WithPayload(payload models.Error) *PutPolicyFailure

WithPayload adds the payload to the put policy failure response

func (*PutPolicyFailure) WriteResponse Uses

func (o *PutPolicyFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutPolicyHandler Uses

type PutPolicyHandler interface {
    Handle(PutPolicyParams) middleware.Responder
}

PutPolicyHandler interface for that can handle valid put policy params

type PutPolicyHandlerFunc Uses

type PutPolicyHandlerFunc func(PutPolicyParams) middleware.Responder

PutPolicyHandlerFunc turns a function with the right signature into a put policy handler

func (PutPolicyHandlerFunc) Handle Uses

func (fn PutPolicyHandlerFunc) Handle(params PutPolicyParams) middleware.Responder

Handle executing the request and returning a response

type PutPolicyInvalidPath Uses

type PutPolicyInvalidPath struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

PutPolicyInvalidPath Invalid path

swagger:response putPolicyInvalidPath

func NewPutPolicyInvalidPath Uses

func NewPutPolicyInvalidPath() *PutPolicyInvalidPath

NewPutPolicyInvalidPath creates PutPolicyInvalidPath with default headers values

func (*PutPolicyInvalidPath) SetPayload Uses

func (o *PutPolicyInvalidPath) SetPayload(payload models.Error)

SetPayload sets the payload to the put policy invalid path response

func (*PutPolicyInvalidPath) WithPayload Uses

func (o *PutPolicyInvalidPath) WithPayload(payload models.Error) *PutPolicyInvalidPath

WithPayload adds the payload to the put policy invalid path response

func (*PutPolicyInvalidPath) WriteResponse Uses

func (o *PutPolicyInvalidPath) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutPolicyInvalidPolicy Uses

type PutPolicyInvalidPolicy struct {

    /*
      In: Body
    */
    Payload models.Error `json:"body,omitempty"`
}

PutPolicyInvalidPolicy Invalid policy

swagger:response putPolicyInvalidPolicy

func NewPutPolicyInvalidPolicy Uses

func NewPutPolicyInvalidPolicy() *PutPolicyInvalidPolicy

NewPutPolicyInvalidPolicy creates PutPolicyInvalidPolicy with default headers values

func (*PutPolicyInvalidPolicy) SetPayload Uses

func (o *PutPolicyInvalidPolicy) SetPayload(payload models.Error)

SetPayload sets the payload to the put policy invalid policy response

func (*PutPolicyInvalidPolicy) WithPayload Uses

func (o *PutPolicyInvalidPolicy) WithPayload(payload models.Error) *PutPolicyInvalidPolicy

WithPayload adds the payload to the put policy invalid policy response

func (*PutPolicyInvalidPolicy) WriteResponse Uses

func (o *PutPolicyInvalidPolicy) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutPolicyOK Uses

type PutPolicyOK struct {

    /*
      In: Body
    */
    Payload *models.Policy `json:"body,omitempty"`
}

PutPolicyOK Success

swagger:response putPolicyOK

func NewPutPolicyOK Uses

func NewPutPolicyOK() *PutPolicyOK

NewPutPolicyOK creates PutPolicyOK with default headers values

func (*PutPolicyOK) SetPayload Uses

func (o *PutPolicyOK) SetPayload(payload *models.Policy)

SetPayload sets the payload to the put policy o k response

func (*PutPolicyOK) WithPayload Uses

func (o *PutPolicyOK) WithPayload(payload *models.Policy) *PutPolicyOK

WithPayload adds the payload to the put policy o k response

func (*PutPolicyOK) WriteResponse Uses

func (o *PutPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutPolicyParams Uses

type PutPolicyParams struct {

    // HTTP Request Object
    HTTPRequest *http.Request `json:"-"`

    /*Policy rules
      Required: true
      In: body
    */
    Policy string
}

PutPolicyParams contains all the bound params for the put policy operation typically these are obtained from a http.Request

swagger:parameters PutPolicy

func NewPutPolicyParams Uses

func NewPutPolicyParams() PutPolicyParams

NewPutPolicyParams creates a new PutPolicyParams object no default values defined in spec.

func (*PutPolicyParams) BindRequest Uses

func (o *PutPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPutPolicyParams() beforehand.

type PutPolicyURL Uses

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

PutPolicyURL generates an URL for the put policy operation

func (*PutPolicyURL) Build Uses

func (o *PutPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutPolicyURL) BuildFull Uses

func (o *PutPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutPolicyURL) Must Uses

func (o *PutPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PutPolicyURL) SetBasePath Uses

func (o *PutPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PutPolicyURL) String Uses

func (o *PutPolicyURL) String() string

String returns the string representation of the path with query string

func (*PutPolicyURL) StringFull Uses

func (o *PutPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PutPolicyURL) WithBasePath Uses

func (o *PutPolicyURL) WithBasePath(bp string) *PutPolicyURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

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