package
0.13.28
Repository: https://github.com/gandro/cilium.git
Documentation: pkg.go.dev

# Functions

NewDeletePolicy creates a new http.Handler for the delete policy operation.
NewDeletePolicyFailure creates DeletePolicyFailure with default headers values.
NewDeletePolicyInvalid creates DeletePolicyInvalid with default headers values.
NewDeletePolicyNotFound creates DeletePolicyNotFound with default headers values.
NewDeletePolicyOK creates DeletePolicyOK with default headers values.
NewDeletePolicyParams creates a new DeletePolicyParams object with the default values initialized.
NewGetIdentity creates a new http.Handler for the get identity operation.
NewGetIdentityID creates a new http.Handler for the get identity ID operation.
NewGetIdentityIDBadRequest creates GetIdentityIDBadRequest with default headers values.
NewGetIdentityIDInvalidStorageFormat creates GetIdentityIDInvalidStorageFormat with default headers values.
NewGetIdentityIDNotFound creates GetIdentityIDNotFound with default headers values.
NewGetIdentityIDOK creates GetIdentityIDOK with default headers values.
NewGetIdentityIDParams creates a new GetIdentityIDParams object with the default values initialized.
NewGetIdentityIDUnreachable creates GetIdentityIDUnreachable with default headers values.
NewGetIdentityInvalidStorageFormat creates GetIdentityInvalidStorageFormat with default headers values.
NewGetIdentityNotFound creates GetIdentityNotFound with default headers values.
NewGetIdentityOK creates GetIdentityOK with default headers values.
NewGetIdentityParams creates a new GetIdentityParams object with the default values initialized.
NewGetIdentityUnreachable creates GetIdentityUnreachable with default headers values.
NewGetPolicy creates a new http.Handler for the get policy operation.
NewGetPolicyNotFound creates GetPolicyNotFound with default headers values.
NewGetPolicyOK creates GetPolicyOK with default headers values.
NewGetPolicyParams creates a new GetPolicyParams object with the default values initialized.
NewGetPolicyResolve creates a new http.Handler for the get policy resolve operation.
NewGetPolicyResolveOK creates GetPolicyResolveOK with default headers values.
NewGetPolicyResolveParams creates a new GetPolicyResolveParams object with the default values initialized.
NewPutPolicy creates a new http.Handler for the put policy operation.
NewPutPolicyFailure creates PutPolicyFailure with default headers values.
NewPutPolicyInvalidPath creates PutPolicyInvalidPath with default headers values.
NewPutPolicyInvalidPolicy creates PutPolicyInvalidPolicy with default headers values.
NewPutPolicyOK creates PutPolicyOK with default headers values.
NewPutPolicyParams creates a new PutPolicyParams object with the default values initialized.

# Constants

DeletePolicyFailureCode is the HTTP code returned for type DeletePolicyFailure.
DeletePolicyInvalidCode is the HTTP code returned for type DeletePolicyInvalid.
DeletePolicyNotFoundCode is the HTTP code returned for type DeletePolicyNotFound.
DeletePolicyOKCode is the HTTP code returned for type DeletePolicyOK.
GetIdentityIDBadRequestCode is the HTTP code returned for type GetIdentityIDBadRequest.
GetIdentityIDInvalidStorageFormatCode is the HTTP code returned for type GetIdentityIDInvalidStorageFormat.
GetIdentityIDNotFoundCode is the HTTP code returned for type GetIdentityIDNotFound.
GetIdentityIDOKCode is the HTTP code returned for type GetIdentityIDOK.
GetIdentityIDUnreachableCode is the HTTP code returned for type GetIdentityIDUnreachable.
GetIdentityInvalidStorageFormatCode is the HTTP code returned for type GetIdentityInvalidStorageFormat.
GetIdentityNotFoundCode is the HTTP code returned for type GetIdentityNotFound.
GetIdentityOKCode is the HTTP code returned for type GetIdentityOK.
GetIdentityUnreachableCode is the HTTP code returned for type GetIdentityUnreachable.
GetPolicyNotFoundCode is the HTTP code returned for type GetPolicyNotFound.
GetPolicyOKCode is the HTTP code returned for type GetPolicyOK.
GetPolicyResolveOKCode is the HTTP code returned for type GetPolicyResolveOK.
PutPolicyFailureCode is the HTTP code returned for type PutPolicyFailure.
PutPolicyInvalidPathCode is the HTTP code returned for type PutPolicyInvalidPath.
PutPolicyInvalidPolicyCode is the HTTP code returned for type PutPolicyInvalidPolicy.
PutPolicyOKCode is the HTTP code returned for type PutPolicyOK.

# Structs

DeletePolicy swagger:route DELETE /policy policy deletePolicy Delete a policy (sub)tree */.
DeletePolicyFailure Error while deleting policy swagger:response deletePolicyFailure */.
DeletePolicyInvalid Invalid request swagger:response deletePolicyInvalid */.
DeletePolicyNotFound Policy not found swagger:response deletePolicyNotFound */.
DeletePolicyOK Success swagger:response deletePolicyOK */.
DeletePolicyParams contains all the bound params for the delete policy operation typically these are obtained from a http.Request swagger:parameters DeletePolicy.
DeletePolicyURL generates an URL for the delete policy operation.
GetIdentity swagger:route GET /identity policy getIdentity Retrieves a list of identities that have metadata matching the provided parameters.
GetIdentityID swagger:route GET /identity/{id} policy getIdentityId Retrieve identity */.
GetIdentityIDBadRequest Invalid identity provided swagger:response getIdentityIdBadRequest */.
GetIdentityIDInvalidStorageFormat Invalid identity format in storage swagger:response getIdentityIdInvalidStorageFormat */.
GetIdentityIDNotFound Identity not found swagger:response getIdentityIdNotFound */.
GetIdentityIDOK Success swagger:response getIdentityIdOK */.
GetIdentityIDParams contains all the bound params for the get identity ID operation typically these are obtained from a http.Request swagger:parameters GetIdentityID.
GetIdentityIDUnreachable Identity storage unreachable.
GetIdentityIDURL generates an URL for the get identity ID operation.
GetIdentityInvalidStorageFormat Invalid identity format in storage swagger:response getIdentityInvalidStorageFormat */.
GetIdentityNotFound Identities with provided parameters not found swagger:response getIdentityNotFound */.
GetIdentityOK Success swagger:response getIdentityOK */.
GetIdentityParams contains all the bound params for the get identity operation typically these are obtained from a http.Request swagger:parameters GetIdentity.
GetIdentityUnreachable Identity storage unreachable.
GetIdentityURL generates an URL for the get identity operation.
GetPolicy swagger:route GET /policy policy getPolicy Retrieve entire policy tree Returns the entire policy tree with all children.
GetPolicyNotFound No policy rules found swagger:response getPolicyNotFound */.
GetPolicyOK Success swagger:response getPolicyOK */.
GetPolicyParams contains all the bound params for the get policy operation typically these are obtained from a http.Request swagger:parameters GetPolicy.
GetPolicyResolve swagger:route GET /policy/resolve policy getPolicyResolve Resolve policy for an identity context */.
GetPolicyResolveOK Success swagger:response getPolicyResolveOK */.
GetPolicyResolveParams contains all the bound params for the get policy resolve operation typically these are obtained from a http.Request swagger:parameters GetPolicyResolve.
GetPolicyResolveURL generates an URL for the get policy resolve operation.
GetPolicyURL generates an URL for the get policy operation.
PutPolicy swagger:route PUT /policy policy putPolicy Create or update a policy (sub)tree */.
PutPolicyFailure Policy import failed swagger:response putPolicyFailure */.
PutPolicyInvalidPath Invalid path swagger:response putPolicyInvalidPath */.
PutPolicyInvalidPolicy Invalid policy swagger:response putPolicyInvalidPolicy */.
PutPolicyOK Success swagger:response putPolicyOK */.
PutPolicyParams contains all the bound params for the put policy operation typically these are obtained from a http.Request swagger:parameters PutPolicy.
PutPolicyURL generates an URL for the put policy operation.

# Interfaces

DeletePolicyHandler interface for that can handle valid delete policy params.
GetIdentityHandler interface for that can handle valid get identity params.
GetIdentityIDHandler interface for that can handle valid get identity ID params.
GetPolicyHandler interface for that can handle valid get policy params.
GetPolicyResolveHandler interface for that can handle valid get policy resolve params.
PutPolicyHandler interface for that can handle valid put policy params.

# Type aliases

DeletePolicyHandlerFunc turns a function with the right signature into a delete policy handler.
GetIdentityHandlerFunc turns a function with the right signature into a get identity handler.
GetIdentityIDHandlerFunc turns a function with the right signature into a get identity ID handler.
GetPolicyHandlerFunc turns a function with the right signature into a get policy handler.
GetPolicyResolveHandlerFunc turns a function with the right signature into a get policy resolve handler.
PutPolicyHandlerFunc turns a function with the right signature into a put policy handler.