Documentation
¶
Index ¶
- Constants
- type DeleteFqdnCache
- type DeleteFqdnCacheBadRequest
- type DeleteFqdnCacheHandler
- type DeleteFqdnCacheHandlerFunc
- type DeleteFqdnCacheOK
- type DeleteFqdnCacheParams
- type DeleteFqdnCacheURL
- func (o *DeleteFqdnCacheURL) Build() (*url.URL, error)
- func (o *DeleteFqdnCacheURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteFqdnCacheURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteFqdnCacheURL) SetBasePath(bp string)
- func (o *DeleteFqdnCacheURL) String() string
- func (o *DeleteFqdnCacheURL) StringFull(scheme, host string) string
- func (o *DeleteFqdnCacheURL) WithBasePath(bp string) *DeleteFqdnCacheURL
- type DeletePolicy
- type DeletePolicyFailure
- type DeletePolicyHandler
- type DeletePolicyHandlerFunc
- type DeletePolicyInvalid
- type DeletePolicyNotFound
- type DeletePolicyOK
- type DeletePolicyParams
- type DeletePolicyURL
- func (o *DeletePolicyURL) Build() (*url.URL, error)
- func (o *DeletePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeletePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DeletePolicyURL) SetBasePath(bp string)
- func (o *DeletePolicyURL) String() string
- func (o *DeletePolicyURL) StringFull(scheme, host string) string
- func (o *DeletePolicyURL) WithBasePath(bp string) *DeletePolicyURL
- type GetFqdnCache
- type GetFqdnCacheBadRequest
- type GetFqdnCacheHandler
- type GetFqdnCacheHandlerFunc
- type GetFqdnCacheID
- type GetFqdnCacheIDBadRequest
- type GetFqdnCacheIDHandler
- type GetFqdnCacheIDHandlerFunc
- type GetFqdnCacheIDNotFound
- type GetFqdnCacheIDOK
- type GetFqdnCacheIDParams
- type GetFqdnCacheIDURL
- func (o *GetFqdnCacheIDURL) Build() (*url.URL, error)
- func (o *GetFqdnCacheIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetFqdnCacheIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetFqdnCacheIDURL) SetBasePath(bp string)
- func (o *GetFqdnCacheIDURL) String() string
- func (o *GetFqdnCacheIDURL) StringFull(scheme, host string) string
- func (o *GetFqdnCacheIDURL) WithBasePath(bp string) *GetFqdnCacheIDURL
- type GetFqdnCacheNotFound
- type GetFqdnCacheOK
- type GetFqdnCacheParams
- type GetFqdnCacheURL
- func (o *GetFqdnCacheURL) Build() (*url.URL, error)
- func (o *GetFqdnCacheURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetFqdnCacheURL) Must(u *url.URL, err error) *url.URL
- func (o *GetFqdnCacheURL) SetBasePath(bp string)
- func (o *GetFqdnCacheURL) String() string
- func (o *GetFqdnCacheURL) StringFull(scheme, host string) string
- func (o *GetFqdnCacheURL) WithBasePath(bp string) *GetFqdnCacheURL
- type GetIdentity
- type GetIdentityHandler
- type GetIdentityHandlerFunc
- type GetIdentityID
- type GetIdentityIDBadRequest
- type GetIdentityIDHandler
- type GetIdentityIDHandlerFunc
- type GetIdentityIDInvalidStorageFormat
- type GetIdentityIDNotFound
- type GetIdentityIDOK
- type GetIdentityIDParams
- type GetIdentityIDURL
- func (o *GetIdentityIDURL) Build() (*url.URL, error)
- func (o *GetIdentityIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetIdentityIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetIdentityIDURL) SetBasePath(bp string)
- func (o *GetIdentityIDURL) String() string
- func (o *GetIdentityIDURL) StringFull(scheme, host string) string
- func (o *GetIdentityIDURL) WithBasePath(bp string) *GetIdentityIDURL
- type GetIdentityIDUnreachable
- type GetIdentityInvalidStorageFormat
- type GetIdentityNotFound
- type GetIdentityOK
- type GetIdentityParams
- type GetIdentityURL
- func (o *GetIdentityURL) Build() (*url.URL, error)
- func (o *GetIdentityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetIdentityURL) Must(u *url.URL, err error) *url.URL
- func (o *GetIdentityURL) SetBasePath(bp string)
- func (o *GetIdentityURL) String() string
- func (o *GetIdentityURL) StringFull(scheme, host string) string
- func (o *GetIdentityURL) WithBasePath(bp string) *GetIdentityURL
- type GetIdentityUnreachable
- type GetPolicy
- type GetPolicyHandler
- type GetPolicyHandlerFunc
- type GetPolicyNotFound
- type GetPolicyOK
- type GetPolicyParams
- type GetPolicyResolve
- type GetPolicyResolveHandler
- type GetPolicyResolveHandlerFunc
- type GetPolicyResolveOK
- type GetPolicyResolveParams
- type GetPolicyResolveURL
- func (o *GetPolicyResolveURL) Build() (*url.URL, error)
- func (o *GetPolicyResolveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPolicyResolveURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPolicyResolveURL) SetBasePath(bp string)
- func (o *GetPolicyResolveURL) String() string
- func (o *GetPolicyResolveURL) StringFull(scheme, host string) string
- func (o *GetPolicyResolveURL) WithBasePath(bp string) *GetPolicyResolveURL
- type GetPolicyURL
- func (o *GetPolicyURL) Build() (*url.URL, error)
- func (o *GetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPolicyURL) SetBasePath(bp string)
- func (o *GetPolicyURL) String() string
- func (o *GetPolicyURL) StringFull(scheme, host string) string
- func (o *GetPolicyURL) WithBasePath(bp string) *GetPolicyURL
- type PutPolicy
- type PutPolicyFailure
- type PutPolicyHandler
- type PutPolicyHandlerFunc
- type PutPolicyInvalidPath
- type PutPolicyInvalidPolicy
- type PutPolicyOK
- type PutPolicyParams
- type PutPolicyURL
- func (o *PutPolicyURL) Build() (*url.URL, error)
- func (o *PutPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *PutPolicyURL) SetBasePath(bp string)
- func (o *PutPolicyURL) String() string
- func (o *PutPolicyURL) StringFull(scheme, host string) string
- func (o *PutPolicyURL) WithBasePath(bp string) *PutPolicyURL
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 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 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
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteFqdnCache ¶
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 ¶
func NewDeleteFqdnCache(ctx *middleware.Context, handler DeleteFqdnCacheHandler) *DeleteFqdnCache
NewDeleteFqdnCache creates a new http.Handler for the delete fqdn cache operation
func (*DeleteFqdnCache) ServeHTTP ¶
func (o *DeleteFqdnCache) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteFqdnCacheBadRequest ¶
type DeleteFqdnCacheBadRequest struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
DeleteFqdnCacheBadRequest Invalid request (error parsing parameters)
swagger:response deleteFqdnCacheBadRequest
func NewDeleteFqdnCacheBadRequest ¶
func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest
NewDeleteFqdnCacheBadRequest creates DeleteFqdnCacheBadRequest with default headers values
func (*DeleteFqdnCacheBadRequest) SetPayload ¶
func (o *DeleteFqdnCacheBadRequest) SetPayload(payload models.Error)
SetPayload sets the payload to the delete fqdn cache bad request response
func (*DeleteFqdnCacheBadRequest) WithPayload ¶
func (o *DeleteFqdnCacheBadRequest) WithPayload(payload models.Error) *DeleteFqdnCacheBadRequest
WithPayload adds the payload to the delete fqdn cache bad request response
func (*DeleteFqdnCacheBadRequest) WriteResponse ¶
func (o *DeleteFqdnCacheBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteFqdnCacheHandler ¶
type DeleteFqdnCacheHandler interface {
Handle(DeleteFqdnCacheParams) middleware.Responder
}
DeleteFqdnCacheHandler interface for that can handle valid delete fqdn cache params
type DeleteFqdnCacheHandlerFunc ¶
type DeleteFqdnCacheHandlerFunc func(DeleteFqdnCacheParams) middleware.Responder
DeleteFqdnCacheHandlerFunc turns a function with the right signature into a delete fqdn cache handler
func (DeleteFqdnCacheHandlerFunc) Handle ¶
func (fn DeleteFqdnCacheHandlerFunc) Handle(params DeleteFqdnCacheParams) middleware.Responder
Handle executing the request and returning a response
type DeleteFqdnCacheOK ¶
type DeleteFqdnCacheOK struct { }
DeleteFqdnCacheOK Success
swagger:response deleteFqdnCacheOK
func NewDeleteFqdnCacheOK ¶
func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK
NewDeleteFqdnCacheOK creates DeleteFqdnCacheOK with default headers values
func (*DeleteFqdnCacheOK) WriteResponse ¶
func (o *DeleteFqdnCacheOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteFqdnCacheParams ¶
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 ¶
func NewDeleteFqdnCacheParams() DeleteFqdnCacheParams
NewDeleteFqdnCacheParams creates a new DeleteFqdnCacheParams object no default values defined in spec.
func (*DeleteFqdnCacheParams) BindRequest ¶
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 ¶
type DeleteFqdnCacheURL struct { Matchpattern *string // contains filtered or unexported fields }
DeleteFqdnCacheURL generates an URL for the delete fqdn cache operation
func (*DeleteFqdnCacheURL) Build ¶
func (o *DeleteFqdnCacheURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteFqdnCacheURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteFqdnCacheURL) SetBasePath ¶
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 ¶
func (o *DeleteFqdnCacheURL) String() string
String returns the string representation of the path with query string
func (*DeleteFqdnCacheURL) StringFull ¶
func (o *DeleteFqdnCacheURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteFqdnCacheURL) WithBasePath ¶
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 ¶
type DeletePolicy struct { Context *middleware.Context Handler DeletePolicyHandler }
DeletePolicy swagger:route DELETE /policy policy deletePolicy
Delete a policy (sub)tree
func NewDeletePolicy ¶
func NewDeletePolicy(ctx *middleware.Context, handler DeletePolicyHandler) *DeletePolicy
NewDeletePolicy creates a new http.Handler for the delete policy operation
func (*DeletePolicy) ServeHTTP ¶
func (o *DeletePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeletePolicyFailure ¶
DeletePolicyFailure Error while deleting policy
swagger:response deletePolicyFailure
func NewDeletePolicyFailure ¶
func NewDeletePolicyFailure() *DeletePolicyFailure
NewDeletePolicyFailure creates DeletePolicyFailure with default headers values
func (*DeletePolicyFailure) SetPayload ¶
func (o *DeletePolicyFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the delete policy failure response
func (*DeletePolicyFailure) WithPayload ¶
func (o *DeletePolicyFailure) WithPayload(payload models.Error) *DeletePolicyFailure
WithPayload adds the payload to the delete policy failure response
func (*DeletePolicyFailure) WriteResponse ¶
func (o *DeletePolicyFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyHandler ¶
type DeletePolicyHandler interface {
Handle(DeletePolicyParams) middleware.Responder
}
DeletePolicyHandler interface for that can handle valid delete policy params
type DeletePolicyHandlerFunc ¶
type DeletePolicyHandlerFunc func(DeletePolicyParams) middleware.Responder
DeletePolicyHandlerFunc turns a function with the right signature into a delete policy handler
func (DeletePolicyHandlerFunc) Handle ¶
func (fn DeletePolicyHandlerFunc) Handle(params DeletePolicyParams) middleware.Responder
Handle executing the request and returning a response
type DeletePolicyInvalid ¶
DeletePolicyInvalid Invalid request
swagger:response deletePolicyInvalid
func NewDeletePolicyInvalid ¶
func NewDeletePolicyInvalid() *DeletePolicyInvalid
NewDeletePolicyInvalid creates DeletePolicyInvalid with default headers values
func (*DeletePolicyInvalid) SetPayload ¶
func (o *DeletePolicyInvalid) SetPayload(payload models.Error)
SetPayload sets the payload to the delete policy invalid response
func (*DeletePolicyInvalid) WithPayload ¶
func (o *DeletePolicyInvalid) WithPayload(payload models.Error) *DeletePolicyInvalid
WithPayload adds the payload to the delete policy invalid response
func (*DeletePolicyInvalid) WriteResponse ¶
func (o *DeletePolicyInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyNotFound ¶
type DeletePolicyNotFound struct { }
DeletePolicyNotFound Policy not found
swagger:response deletePolicyNotFound
func NewDeletePolicyNotFound ¶
func NewDeletePolicyNotFound() *DeletePolicyNotFound
NewDeletePolicyNotFound creates DeletePolicyNotFound with default headers values
func (*DeletePolicyNotFound) WriteResponse ¶
func (o *DeletePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyOK ¶
DeletePolicyOK Success
swagger:response deletePolicyOK
func NewDeletePolicyOK ¶
func NewDeletePolicyOK() *DeletePolicyOK
NewDeletePolicyOK creates DeletePolicyOK with default headers values
func (*DeletePolicyOK) SetPayload ¶
func (o *DeletePolicyOK) SetPayload(payload *models.Policy)
SetPayload sets the payload to the delete policy o k response
func (*DeletePolicyOK) WithPayload ¶
func (o *DeletePolicyOK) WithPayload(payload *models.Policy) *DeletePolicyOK
WithPayload adds the payload to the delete policy o k response
func (*DeletePolicyOK) WriteResponse ¶
func (o *DeletePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyParams ¶
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 ¶
func NewDeletePolicyParams() DeletePolicyParams
NewDeletePolicyParams creates a new DeletePolicyParams object no default values defined in spec.
func (*DeletePolicyParams) BindRequest ¶
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 ¶
type DeletePolicyURL struct {
// contains filtered or unexported fields
}
DeletePolicyURL generates an URL for the delete policy operation
func (*DeletePolicyURL) Build ¶
func (o *DeletePolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeletePolicyURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*DeletePolicyURL) SetBasePath ¶
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 ¶
func (o *DeletePolicyURL) String() string
String returns the string representation of the path with query string
func (*DeletePolicyURL) StringFull ¶
func (o *DeletePolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeletePolicyURL) WithBasePath ¶
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 ¶
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 ¶
func NewGetFqdnCache(ctx *middleware.Context, handler GetFqdnCacheHandler) *GetFqdnCache
NewGetFqdnCache creates a new http.Handler for the get fqdn cache operation
func (*GetFqdnCache) ServeHTTP ¶
func (o *GetFqdnCache) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetFqdnCacheBadRequest ¶
GetFqdnCacheBadRequest Invalid request (error parsing parameters)
swagger:response getFqdnCacheBadRequest
func NewGetFqdnCacheBadRequest ¶
func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest
NewGetFqdnCacheBadRequest creates GetFqdnCacheBadRequest with default headers values
func (*GetFqdnCacheBadRequest) SetPayload ¶
func (o *GetFqdnCacheBadRequest) SetPayload(payload models.Error)
SetPayload sets the payload to the get fqdn cache bad request response
func (*GetFqdnCacheBadRequest) WithPayload ¶
func (o *GetFqdnCacheBadRequest) WithPayload(payload models.Error) *GetFqdnCacheBadRequest
WithPayload adds the payload to the get fqdn cache bad request response
func (*GetFqdnCacheBadRequest) WriteResponse ¶
func (o *GetFqdnCacheBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFqdnCacheHandler ¶
type GetFqdnCacheHandler interface {
Handle(GetFqdnCacheParams) middleware.Responder
}
GetFqdnCacheHandler interface for that can handle valid get fqdn cache params
type GetFqdnCacheHandlerFunc ¶
type GetFqdnCacheHandlerFunc func(GetFqdnCacheParams) middleware.Responder
GetFqdnCacheHandlerFunc turns a function with the right signature into a get fqdn cache handler
func (GetFqdnCacheHandlerFunc) Handle ¶
func (fn GetFqdnCacheHandlerFunc) Handle(params GetFqdnCacheParams) middleware.Responder
Handle executing the request and returning a response
type GetFqdnCacheID ¶
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 ¶
func NewGetFqdnCacheID(ctx *middleware.Context, handler GetFqdnCacheIDHandler) *GetFqdnCacheID
NewGetFqdnCacheID creates a new http.Handler for the get fqdn cache ID operation
func (*GetFqdnCacheID) ServeHTTP ¶
func (o *GetFqdnCacheID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetFqdnCacheIDBadRequest ¶
type GetFqdnCacheIDBadRequest struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
GetFqdnCacheIDBadRequest Invalid request (error parsing parameters)
swagger:response getFqdnCacheIdBadRequest
func NewGetFqdnCacheIDBadRequest ¶
func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest
NewGetFqdnCacheIDBadRequest creates GetFqdnCacheIDBadRequest with default headers values
func (*GetFqdnCacheIDBadRequest) SetPayload ¶
func (o *GetFqdnCacheIDBadRequest) SetPayload(payload models.Error)
SetPayload sets the payload to the get fqdn cache Id bad request response
func (*GetFqdnCacheIDBadRequest) WithPayload ¶
func (o *GetFqdnCacheIDBadRequest) WithPayload(payload models.Error) *GetFqdnCacheIDBadRequest
WithPayload adds the payload to the get fqdn cache Id bad request response
func (*GetFqdnCacheIDBadRequest) WriteResponse ¶
func (o *GetFqdnCacheIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFqdnCacheIDHandler ¶
type GetFqdnCacheIDHandler interface {
Handle(GetFqdnCacheIDParams) middleware.Responder
}
GetFqdnCacheIDHandler interface for that can handle valid get fqdn cache ID params
type GetFqdnCacheIDHandlerFunc ¶
type GetFqdnCacheIDHandlerFunc func(GetFqdnCacheIDParams) middleware.Responder
GetFqdnCacheIDHandlerFunc turns a function with the right signature into a get fqdn cache ID handler
func (GetFqdnCacheIDHandlerFunc) Handle ¶
func (fn GetFqdnCacheIDHandlerFunc) Handle(params GetFqdnCacheIDParams) middleware.Responder
Handle executing the request and returning a response
type GetFqdnCacheIDNotFound ¶
type GetFqdnCacheIDNotFound struct { }
GetFqdnCacheIDNotFound No DNS data with provided parameters found
swagger:response getFqdnCacheIdNotFound
func NewGetFqdnCacheIDNotFound ¶
func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound
NewGetFqdnCacheIDNotFound creates GetFqdnCacheIDNotFound with default headers values
func (*GetFqdnCacheIDNotFound) WriteResponse ¶
func (o *GetFqdnCacheIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFqdnCacheIDOK ¶
GetFqdnCacheIDOK Success
swagger:response getFqdnCacheIdOK
func NewGetFqdnCacheIDOK ¶
func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK
NewGetFqdnCacheIDOK creates GetFqdnCacheIDOK with default headers values
func (*GetFqdnCacheIDOK) SetPayload ¶
func (o *GetFqdnCacheIDOK) SetPayload(payload []*models.DNSLookup)
SetPayload sets the payload to the get fqdn cache Id o k response
func (*GetFqdnCacheIDOK) WithPayload ¶
func (o *GetFqdnCacheIDOK) WithPayload(payload []*models.DNSLookup) *GetFqdnCacheIDOK
WithPayload adds the payload to the get fqdn cache Id o k response
func (*GetFqdnCacheIDOK) WriteResponse ¶
func (o *GetFqdnCacheIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFqdnCacheIDParams ¶
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 ¶
func NewGetFqdnCacheIDParams() GetFqdnCacheIDParams
NewGetFqdnCacheIDParams creates a new GetFqdnCacheIDParams object no default values defined in spec.
func (*GetFqdnCacheIDParams) BindRequest ¶
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 ¶
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 ¶
func (o *GetFqdnCacheIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetFqdnCacheIDURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetFqdnCacheIDURL) SetBasePath ¶
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 ¶
func (o *GetFqdnCacheIDURL) String() string
String returns the string representation of the path with query string
func (*GetFqdnCacheIDURL) StringFull ¶
func (o *GetFqdnCacheIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetFqdnCacheIDURL) WithBasePath ¶
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 ¶
type GetFqdnCacheNotFound struct { }
GetFqdnCacheNotFound No DNS data with provided parameters found
swagger:response getFqdnCacheNotFound
func NewGetFqdnCacheNotFound ¶
func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound
NewGetFqdnCacheNotFound creates GetFqdnCacheNotFound with default headers values
func (*GetFqdnCacheNotFound) WriteResponse ¶
func (o *GetFqdnCacheNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFqdnCacheOK ¶
GetFqdnCacheOK Success
swagger:response getFqdnCacheOK
func NewGetFqdnCacheOK ¶
func NewGetFqdnCacheOK() *GetFqdnCacheOK
NewGetFqdnCacheOK creates GetFqdnCacheOK with default headers values
func (*GetFqdnCacheOK) SetPayload ¶
func (o *GetFqdnCacheOK) SetPayload(payload []*models.DNSLookup)
SetPayload sets the payload to the get fqdn cache o k response
func (*GetFqdnCacheOK) WithPayload ¶
func (o *GetFqdnCacheOK) WithPayload(payload []*models.DNSLookup) *GetFqdnCacheOK
WithPayload adds the payload to the get fqdn cache o k response
func (*GetFqdnCacheOK) WriteResponse ¶
func (o *GetFqdnCacheOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFqdnCacheParams ¶
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 ¶
func NewGetFqdnCacheParams() GetFqdnCacheParams
NewGetFqdnCacheParams creates a new GetFqdnCacheParams object no default values defined in spec.
func (*GetFqdnCacheParams) BindRequest ¶
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 ¶
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 ¶
func (o *GetFqdnCacheURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetFqdnCacheURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetFqdnCacheURL) SetBasePath ¶
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 ¶
func (o *GetFqdnCacheURL) String() string
String returns the string representation of the path with query string
func (*GetFqdnCacheURL) StringFull ¶
func (o *GetFqdnCacheURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetFqdnCacheURL) WithBasePath ¶
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 GetIdentity ¶
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 ¶
func NewGetIdentity(ctx *middleware.Context, handler GetIdentityHandler) *GetIdentity
NewGetIdentity creates a new http.Handler for the get identity operation
func (*GetIdentity) ServeHTTP ¶
func (o *GetIdentity) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetIdentityHandler ¶
type GetIdentityHandler interface {
Handle(GetIdentityParams) middleware.Responder
}
GetIdentityHandler interface for that can handle valid get identity params
type GetIdentityHandlerFunc ¶
type GetIdentityHandlerFunc func(GetIdentityParams) middleware.Responder
GetIdentityHandlerFunc turns a function with the right signature into a get identity handler
func (GetIdentityHandlerFunc) Handle ¶
func (fn GetIdentityHandlerFunc) Handle(params GetIdentityParams) middleware.Responder
Handle executing the request and returning a response
type GetIdentityID ¶
type GetIdentityID struct { Context *middleware.Context Handler GetIdentityIDHandler }
GetIdentityID swagger:route GET /identity/{id} policy getIdentityId
Retrieve identity
func NewGetIdentityID ¶
func NewGetIdentityID(ctx *middleware.Context, handler GetIdentityIDHandler) *GetIdentityID
NewGetIdentityID creates a new http.Handler for the get identity ID operation
func (*GetIdentityID) ServeHTTP ¶
func (o *GetIdentityID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetIdentityIDBadRequest ¶
type GetIdentityIDBadRequest struct { }
GetIdentityIDBadRequest Invalid identity provided
swagger:response getIdentityIdBadRequest
func NewGetIdentityIDBadRequest ¶
func NewGetIdentityIDBadRequest() *GetIdentityIDBadRequest
NewGetIdentityIDBadRequest creates GetIdentityIDBadRequest with default headers values
func (*GetIdentityIDBadRequest) WriteResponse ¶
func (o *GetIdentityIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityIDHandler ¶
type GetIdentityIDHandler interface {
Handle(GetIdentityIDParams) middleware.Responder
}
GetIdentityIDHandler interface for that can handle valid get identity ID params
type GetIdentityIDHandlerFunc ¶
type GetIdentityIDHandlerFunc func(GetIdentityIDParams) middleware.Responder
GetIdentityIDHandlerFunc turns a function with the right signature into a get identity ID handler
func (GetIdentityIDHandlerFunc) Handle ¶
func (fn GetIdentityIDHandlerFunc) Handle(params GetIdentityIDParams) middleware.Responder
Handle executing the request and returning a response
type GetIdentityIDInvalidStorageFormat ¶
type GetIdentityIDInvalidStorageFormat struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
GetIdentityIDInvalidStorageFormat Invalid identity format in storage
swagger:response getIdentityIdInvalidStorageFormat
func NewGetIdentityIDInvalidStorageFormat ¶
func NewGetIdentityIDInvalidStorageFormat() *GetIdentityIDInvalidStorageFormat
NewGetIdentityIDInvalidStorageFormat creates GetIdentityIDInvalidStorageFormat with default headers values
func (*GetIdentityIDInvalidStorageFormat) SetPayload ¶
func (o *GetIdentityIDInvalidStorageFormat) SetPayload(payload models.Error)
SetPayload sets the payload to the get identity Id invalid storage format response
func (*GetIdentityIDInvalidStorageFormat) WithPayload ¶
func (o *GetIdentityIDInvalidStorageFormat) WithPayload(payload models.Error) *GetIdentityIDInvalidStorageFormat
WithPayload adds the payload to the get identity Id invalid storage format response
func (*GetIdentityIDInvalidStorageFormat) WriteResponse ¶
func (o *GetIdentityIDInvalidStorageFormat) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityIDNotFound ¶
type GetIdentityIDNotFound struct { }
GetIdentityIDNotFound Identity not found
swagger:response getIdentityIdNotFound
func NewGetIdentityIDNotFound ¶
func NewGetIdentityIDNotFound() *GetIdentityIDNotFound
NewGetIdentityIDNotFound creates GetIdentityIDNotFound with default headers values
func (*GetIdentityIDNotFound) WriteResponse ¶
func (o *GetIdentityIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityIDOK ¶
GetIdentityIDOK Success
swagger:response getIdentityIdOK
func NewGetIdentityIDOK ¶
func NewGetIdentityIDOK() *GetIdentityIDOK
NewGetIdentityIDOK creates GetIdentityIDOK with default headers values
func (*GetIdentityIDOK) SetPayload ¶
func (o *GetIdentityIDOK) SetPayload(payload *models.Identity)
SetPayload sets the payload to the get identity Id o k response
func (*GetIdentityIDOK) WithPayload ¶
func (o *GetIdentityIDOK) WithPayload(payload *models.Identity) *GetIdentityIDOK
WithPayload adds the payload to the get identity Id o k response
func (*GetIdentityIDOK) WriteResponse ¶
func (o *GetIdentityIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityIDParams ¶
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 ¶
func NewGetIdentityIDParams() GetIdentityIDParams
NewGetIdentityIDParams creates a new GetIdentityIDParams object no default values defined in spec.
func (*GetIdentityIDParams) BindRequest ¶
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 ¶
type GetIdentityIDURL struct { ID string // contains filtered or unexported fields }
GetIdentityIDURL generates an URL for the get identity ID operation
func (*GetIdentityIDURL) Build ¶
func (o *GetIdentityIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetIdentityIDURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetIdentityIDURL) SetBasePath ¶
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 ¶
func (o *GetIdentityIDURL) String() string
String returns the string representation of the path with query string
func (*GetIdentityIDURL) StringFull ¶
func (o *GetIdentityIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetIdentityIDURL) WithBasePath ¶
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 ¶
type GetIdentityIDUnreachable struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
GetIdentityIDUnreachable Identity storage unreachable. Likely a network problem.
swagger:response getIdentityIdUnreachable
func NewGetIdentityIDUnreachable ¶
func NewGetIdentityIDUnreachable() *GetIdentityIDUnreachable
NewGetIdentityIDUnreachable creates GetIdentityIDUnreachable with default headers values
func (*GetIdentityIDUnreachable) SetPayload ¶
func (o *GetIdentityIDUnreachable) SetPayload(payload models.Error)
SetPayload sets the payload to the get identity Id unreachable response
func (*GetIdentityIDUnreachable) WithPayload ¶
func (o *GetIdentityIDUnreachable) WithPayload(payload models.Error) *GetIdentityIDUnreachable
WithPayload adds the payload to the get identity Id unreachable response
func (*GetIdentityIDUnreachable) WriteResponse ¶
func (o *GetIdentityIDUnreachable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityInvalidStorageFormat ¶
type GetIdentityInvalidStorageFormat struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
GetIdentityInvalidStorageFormat Invalid identity format in storage
swagger:response getIdentityInvalidStorageFormat
func NewGetIdentityInvalidStorageFormat ¶
func NewGetIdentityInvalidStorageFormat() *GetIdentityInvalidStorageFormat
NewGetIdentityInvalidStorageFormat creates GetIdentityInvalidStorageFormat with default headers values
func (*GetIdentityInvalidStorageFormat) SetPayload ¶
func (o *GetIdentityInvalidStorageFormat) SetPayload(payload models.Error)
SetPayload sets the payload to the get identity invalid storage format response
func (*GetIdentityInvalidStorageFormat) WithPayload ¶
func (o *GetIdentityInvalidStorageFormat) WithPayload(payload models.Error) *GetIdentityInvalidStorageFormat
WithPayload adds the payload to the get identity invalid storage format response
func (*GetIdentityInvalidStorageFormat) WriteResponse ¶
func (o *GetIdentityInvalidStorageFormat) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityNotFound ¶
type GetIdentityNotFound struct { }
GetIdentityNotFound Identities with provided parameters not found
swagger:response getIdentityNotFound
func NewGetIdentityNotFound ¶
func NewGetIdentityNotFound() *GetIdentityNotFound
NewGetIdentityNotFound creates GetIdentityNotFound with default headers values
func (*GetIdentityNotFound) WriteResponse ¶
func (o *GetIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityOK ¶
GetIdentityOK Success
swagger:response getIdentityOK
func NewGetIdentityOK ¶
func NewGetIdentityOK() *GetIdentityOK
NewGetIdentityOK creates GetIdentityOK with default headers values
func (*GetIdentityOK) SetPayload ¶
func (o *GetIdentityOK) SetPayload(payload []*models.Identity)
SetPayload sets the payload to the get identity o k response
func (*GetIdentityOK) WithPayload ¶
func (o *GetIdentityOK) WithPayload(payload []*models.Identity) *GetIdentityOK
WithPayload adds the payload to the get identity o k response
func (*GetIdentityOK) WriteResponse ¶
func (o *GetIdentityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIdentityParams ¶
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 ¶
func NewGetIdentityParams() GetIdentityParams
NewGetIdentityParams creates a new GetIdentityParams object no default values defined in spec.
func (*GetIdentityParams) BindRequest ¶
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 ¶
type GetIdentityURL struct {
// contains filtered or unexported fields
}
GetIdentityURL generates an URL for the get identity operation
func (*GetIdentityURL) Build ¶
func (o *GetIdentityURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetIdentityURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetIdentityURL) SetBasePath ¶
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 ¶
func (o *GetIdentityURL) String() string
String returns the string representation of the path with query string
func (*GetIdentityURL) StringFull ¶
func (o *GetIdentityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetIdentityURL) WithBasePath ¶
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 ¶
GetIdentityUnreachable Identity storage unreachable. Likely a network problem.
swagger:response getIdentityUnreachable
func NewGetIdentityUnreachable ¶
func NewGetIdentityUnreachable() *GetIdentityUnreachable
NewGetIdentityUnreachable creates GetIdentityUnreachable with default headers values
func (*GetIdentityUnreachable) SetPayload ¶
func (o *GetIdentityUnreachable) SetPayload(payload models.Error)
SetPayload sets the payload to the get identity unreachable response
func (*GetIdentityUnreachable) WithPayload ¶
func (o *GetIdentityUnreachable) WithPayload(payload models.Error) *GetIdentityUnreachable
WithPayload adds the payload to the get identity unreachable response
func (*GetIdentityUnreachable) WriteResponse ¶
func (o *GetIdentityUnreachable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicy ¶
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 ¶
func NewGetPolicy(ctx *middleware.Context, handler GetPolicyHandler) *GetPolicy
NewGetPolicy creates a new http.Handler for the get policy operation
type GetPolicyHandler ¶
type GetPolicyHandler interface {
Handle(GetPolicyParams) middleware.Responder
}
GetPolicyHandler interface for that can handle valid get policy params
type GetPolicyHandlerFunc ¶
type GetPolicyHandlerFunc func(GetPolicyParams) middleware.Responder
GetPolicyHandlerFunc turns a function with the right signature into a get policy handler
func (GetPolicyHandlerFunc) Handle ¶
func (fn GetPolicyHandlerFunc) Handle(params GetPolicyParams) middleware.Responder
Handle executing the request and returning a response
type GetPolicyNotFound ¶
type GetPolicyNotFound struct { }
GetPolicyNotFound No policy rules found
swagger:response getPolicyNotFound
func NewGetPolicyNotFound ¶
func NewGetPolicyNotFound() *GetPolicyNotFound
NewGetPolicyNotFound creates GetPolicyNotFound with default headers values
func (*GetPolicyNotFound) WriteResponse ¶
func (o *GetPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicyOK ¶
GetPolicyOK Success
swagger:response getPolicyOK
func NewGetPolicyOK ¶
func NewGetPolicyOK() *GetPolicyOK
NewGetPolicyOK creates GetPolicyOK with default headers values
func (*GetPolicyOK) SetPayload ¶
func (o *GetPolicyOK) SetPayload(payload *models.Policy)
SetPayload sets the payload to the get policy o k response
func (*GetPolicyOK) WithPayload ¶
func (o *GetPolicyOK) WithPayload(payload *models.Policy) *GetPolicyOK
WithPayload adds the payload to the get policy o k response
func (*GetPolicyOK) WriteResponse ¶
func (o *GetPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicyParams ¶
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 ¶
func NewGetPolicyParams() GetPolicyParams
NewGetPolicyParams creates a new GetPolicyParams object no default values defined in spec.
func (*GetPolicyParams) BindRequest ¶
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 ¶
type GetPolicyResolve struct { Context *middleware.Context Handler GetPolicyResolveHandler }
GetPolicyResolve swagger:route GET /policy/resolve policy getPolicyResolve
Resolve policy for an identity context
func NewGetPolicyResolve ¶
func NewGetPolicyResolve(ctx *middleware.Context, handler GetPolicyResolveHandler) *GetPolicyResolve
NewGetPolicyResolve creates a new http.Handler for the get policy resolve operation
func (*GetPolicyResolve) ServeHTTP ¶
func (o *GetPolicyResolve) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPolicyResolveHandler ¶
type GetPolicyResolveHandler interface {
Handle(GetPolicyResolveParams) middleware.Responder
}
GetPolicyResolveHandler interface for that can handle valid get policy resolve params
type GetPolicyResolveHandlerFunc ¶
type GetPolicyResolveHandlerFunc func(GetPolicyResolveParams) middleware.Responder
GetPolicyResolveHandlerFunc turns a function with the right signature into a get policy resolve handler
func (GetPolicyResolveHandlerFunc) Handle ¶
func (fn GetPolicyResolveHandlerFunc) Handle(params GetPolicyResolveParams) middleware.Responder
Handle executing the request and returning a response
type GetPolicyResolveOK ¶
type GetPolicyResolveOK struct { /* In: Body */ Payload *models.PolicyTraceResult `json:"body,omitempty"` }
GetPolicyResolveOK Success
swagger:response getPolicyResolveOK
func NewGetPolicyResolveOK ¶
func NewGetPolicyResolveOK() *GetPolicyResolveOK
NewGetPolicyResolveOK creates GetPolicyResolveOK with default headers values
func (*GetPolicyResolveOK) SetPayload ¶
func (o *GetPolicyResolveOK) SetPayload(payload *models.PolicyTraceResult)
SetPayload sets the payload to the get policy resolve o k response
func (*GetPolicyResolveOK) WithPayload ¶
func (o *GetPolicyResolveOK) WithPayload(payload *models.PolicyTraceResult) *GetPolicyResolveOK
WithPayload adds the payload to the get policy resolve o k response
func (*GetPolicyResolveOK) WriteResponse ¶
func (o *GetPolicyResolveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicyResolveParams ¶
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 ¶
func NewGetPolicyResolveParams() GetPolicyResolveParams
NewGetPolicyResolveParams creates a new GetPolicyResolveParams object no default values defined in spec.
func (*GetPolicyResolveParams) BindRequest ¶
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 ¶
type GetPolicyResolveURL struct {
// contains filtered or unexported fields
}
GetPolicyResolveURL generates an URL for the get policy resolve operation
func (*GetPolicyResolveURL) Build ¶
func (o *GetPolicyResolveURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPolicyResolveURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPolicyResolveURL) SetBasePath ¶
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 ¶
func (o *GetPolicyResolveURL) String() string
String returns the string representation of the path with query string
func (*GetPolicyResolveURL) StringFull ¶
func (o *GetPolicyResolveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPolicyResolveURL) WithBasePath ¶
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 GetPolicyURL ¶
type GetPolicyURL struct {
// contains filtered or unexported fields
}
GetPolicyURL generates an URL for the get policy operation
func (*GetPolicyURL) Build ¶
func (o *GetPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPolicyURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPolicyURL) SetBasePath ¶
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 ¶
func (o *GetPolicyURL) String() string
String returns the string representation of the path with query string
func (*GetPolicyURL) StringFull ¶
func (o *GetPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPolicyURL) WithBasePath ¶
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 ¶
type PutPolicy struct { Context *middleware.Context Handler PutPolicyHandler }
PutPolicy swagger:route PUT /policy policy putPolicy
Create or update a policy (sub)tree
func NewPutPolicy ¶
func NewPutPolicy(ctx *middleware.Context, handler PutPolicyHandler) *PutPolicy
NewPutPolicy creates a new http.Handler for the put policy operation
type PutPolicyFailure ¶
PutPolicyFailure Policy import failed
swagger:response putPolicyFailure
func NewPutPolicyFailure ¶
func NewPutPolicyFailure() *PutPolicyFailure
NewPutPolicyFailure creates PutPolicyFailure with default headers values
func (*PutPolicyFailure) SetPayload ¶
func (o *PutPolicyFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the put policy failure response
func (*PutPolicyFailure) WithPayload ¶
func (o *PutPolicyFailure) WithPayload(payload models.Error) *PutPolicyFailure
WithPayload adds the payload to the put policy failure response
func (*PutPolicyFailure) WriteResponse ¶
func (o *PutPolicyFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyHandler ¶
type PutPolicyHandler interface {
Handle(PutPolicyParams) middleware.Responder
}
PutPolicyHandler interface for that can handle valid put policy params
type PutPolicyHandlerFunc ¶
type PutPolicyHandlerFunc func(PutPolicyParams) middleware.Responder
PutPolicyHandlerFunc turns a function with the right signature into a put policy handler
func (PutPolicyHandlerFunc) Handle ¶
func (fn PutPolicyHandlerFunc) Handle(params PutPolicyParams) middleware.Responder
Handle executing the request and returning a response
type PutPolicyInvalidPath ¶
PutPolicyInvalidPath Invalid path
swagger:response putPolicyInvalidPath
func NewPutPolicyInvalidPath ¶
func NewPutPolicyInvalidPath() *PutPolicyInvalidPath
NewPutPolicyInvalidPath creates PutPolicyInvalidPath with default headers values
func (*PutPolicyInvalidPath) SetPayload ¶
func (o *PutPolicyInvalidPath) SetPayload(payload models.Error)
SetPayload sets the payload to the put policy invalid path response
func (*PutPolicyInvalidPath) WithPayload ¶
func (o *PutPolicyInvalidPath) WithPayload(payload models.Error) *PutPolicyInvalidPath
WithPayload adds the payload to the put policy invalid path response
func (*PutPolicyInvalidPath) WriteResponse ¶
func (o *PutPolicyInvalidPath) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyInvalidPolicy ¶
PutPolicyInvalidPolicy Invalid policy
swagger:response putPolicyInvalidPolicy
func NewPutPolicyInvalidPolicy ¶
func NewPutPolicyInvalidPolicy() *PutPolicyInvalidPolicy
NewPutPolicyInvalidPolicy creates PutPolicyInvalidPolicy with default headers values
func (*PutPolicyInvalidPolicy) SetPayload ¶
func (o *PutPolicyInvalidPolicy) SetPayload(payload models.Error)
SetPayload sets the payload to the put policy invalid policy response
func (*PutPolicyInvalidPolicy) WithPayload ¶
func (o *PutPolicyInvalidPolicy) WithPayload(payload models.Error) *PutPolicyInvalidPolicy
WithPayload adds the payload to the put policy invalid policy response
func (*PutPolicyInvalidPolicy) WriteResponse ¶
func (o *PutPolicyInvalidPolicy) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyOK ¶
PutPolicyOK Success
swagger:response putPolicyOK
func NewPutPolicyOK ¶
func NewPutPolicyOK() *PutPolicyOK
NewPutPolicyOK creates PutPolicyOK with default headers values
func (*PutPolicyOK) SetPayload ¶
func (o *PutPolicyOK) SetPayload(payload *models.Policy)
SetPayload sets the payload to the put policy o k response
func (*PutPolicyOK) WithPayload ¶
func (o *PutPolicyOK) WithPayload(payload *models.Policy) *PutPolicyOK
WithPayload adds the payload to the put policy o k response
func (*PutPolicyOK) WriteResponse ¶
func (o *PutPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyParams ¶
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 ¶
func NewPutPolicyParams() PutPolicyParams
NewPutPolicyParams creates a new PutPolicyParams object no default values defined in spec.
func (*PutPolicyParams) BindRequest ¶
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 ¶
type PutPolicyURL struct {
// contains filtered or unexported fields
}
PutPolicyURL generates an URL for the put policy operation
func (*PutPolicyURL) Build ¶
func (o *PutPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutPolicyURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*PutPolicyURL) SetBasePath ¶
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 ¶
func (o *PutPolicyURL) String() string
String returns the string representation of the path with query string
func (*PutPolicyURL) StringFull ¶
func (o *PutPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutPolicyURL) WithBasePath ¶
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
Source 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_identity.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_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_urlbuilder.go
- put_policy.go
- put_policy_parameters.go
- put_policy_responses.go
- put_policy_urlbuilder.go