Documentation ¶
Index ¶
- Constants
- type DeletePolicyPath
- type DeletePolicyPathFailure
- type DeletePolicyPathHandler
- type DeletePolicyPathHandlerFunc
- type DeletePolicyPathInvalid
- type DeletePolicyPathNoContent
- type DeletePolicyPathNotFound
- type DeletePolicyPathParams
- type DeletePolicyPathURL
- func (o *DeletePolicyPathURL) Build() (*url.URL, error)
- func (o *DeletePolicyPathURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeletePolicyPathURL) Must(u *url.URL, err error) *url.URL
- func (o *DeletePolicyPathURL) SetBasePath(bp string)
- func (o *DeletePolicyPathURL) String() string
- func (o *DeletePolicyPathURL) StringFull(scheme, host string) string
- func (o *DeletePolicyPathURL) WithBasePath(bp string) *DeletePolicyPathURL
- 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 GetPolicyOK
- type GetPolicyParams
- type GetPolicyPath
- type GetPolicyPathHandler
- type GetPolicyPathHandlerFunc
- type GetPolicyPathInvalid
- type GetPolicyPathNotFound
- type GetPolicyPathOK
- type GetPolicyPathParams
- type GetPolicyPathURL
- func (o *GetPolicyPathURL) Build() (*url.URL, error)
- func (o *GetPolicyPathURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPolicyPathURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPolicyPathURL) SetBasePath(bp string)
- func (o *GetPolicyPathURL) String() string
- func (o *GetPolicyPathURL) StringFull(scheme, host string) string
- func (o *GetPolicyPathURL) WithBasePath(bp string) *GetPolicyPathURL
- 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 PutPolicyPath
- type PutPolicyPathFailure
- type PutPolicyPathHandler
- type PutPolicyPathHandlerFunc
- type PutPolicyPathInvalidPath
- type PutPolicyPathInvalidPolicy
- type PutPolicyPathOK
- type PutPolicyPathParams
- type PutPolicyPathURL
- func (o *PutPolicyPathURL) Build() (*url.URL, error)
- func (o *PutPolicyPathURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutPolicyPathURL) Must(u *url.URL, err error) *url.URL
- func (o *PutPolicyPathURL) SetBasePath(bp string)
- func (o *PutPolicyPathURL) String() string
- func (o *PutPolicyPathURL) StringFull(scheme, host string) string
- func (o *PutPolicyPathURL) WithBasePath(bp string) *PutPolicyPathURL
Constants ¶
const DeletePolicyPathFailureCode int = 500
DeletePolicyPathFailureCode is the HTTP code returned for type DeletePolicyPathFailure
const DeletePolicyPathInvalidCode int = 400
DeletePolicyPathInvalidCode is the HTTP code returned for type DeletePolicyPathInvalid
const DeletePolicyPathNoContentCode int = 204
DeletePolicyPathNoContentCode is the HTTP code returned for type DeletePolicyPathNoContent
const DeletePolicyPathNotFoundCode int = 404
DeletePolicyPathNotFoundCode is the HTTP code returned for type DeletePolicyPathNotFound
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 GetPolicyOKCode int = 200
GetPolicyOKCode is the HTTP code returned for type GetPolicyOK
const GetPolicyPathInvalidCode int = 400
GetPolicyPathInvalidCode is the HTTP code returned for type GetPolicyPathInvalid
const GetPolicyPathNotFoundCode int = 404
GetPolicyPathNotFoundCode is the HTTP code returned for type GetPolicyPathNotFound
const GetPolicyPathOKCode int = 200
GetPolicyPathOKCode is the HTTP code returned for type GetPolicyPathOK
const GetPolicyResolveOKCode int = 200
GetPolicyResolveOKCode is the HTTP code returned for type GetPolicyResolveOK
const PutPolicyPathFailureCode int = 500
PutPolicyPathFailureCode is the HTTP code returned for type PutPolicyPathFailure
const PutPolicyPathInvalidPathCode int = 460
PutPolicyPathInvalidPathCode is the HTTP code returned for type PutPolicyPathInvalidPath
const PutPolicyPathInvalidPolicyCode int = 400
PutPolicyPathInvalidPolicyCode is the HTTP code returned for type PutPolicyPathInvalidPolicy
const PutPolicyPathOKCode int = 200
PutPolicyPathOKCode is the HTTP code returned for type PutPolicyPathOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletePolicyPath ¶
type DeletePolicyPath struct { Context *middleware.Context Handler DeletePolicyPathHandler }
DeletePolicyPath swagger:route DELETE /policy/{path} policy deletePolicyPath
Delete a policy (sub)tree
func NewDeletePolicyPath ¶
func NewDeletePolicyPath(ctx *middleware.Context, handler DeletePolicyPathHandler) *DeletePolicyPath
NewDeletePolicyPath creates a new http.Handler for the delete policy path operation
func (*DeletePolicyPath) ServeHTTP ¶
func (o *DeletePolicyPath) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeletePolicyPathFailure ¶
DeletePolicyPathFailure Error while deleting policy
swagger:response deletePolicyPathFailure
func NewDeletePolicyPathFailure ¶
func NewDeletePolicyPathFailure() *DeletePolicyPathFailure
NewDeletePolicyPathFailure creates DeletePolicyPathFailure with default headers values
func (*DeletePolicyPathFailure) SetPayload ¶
func (o *DeletePolicyPathFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the delete policy path failure response
func (*DeletePolicyPathFailure) WithPayload ¶
func (o *DeletePolicyPathFailure) WithPayload(payload models.Error) *DeletePolicyPathFailure
WithPayload adds the payload to the delete policy path failure response
func (*DeletePolicyPathFailure) WriteResponse ¶
func (o *DeletePolicyPathFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyPathHandler ¶
type DeletePolicyPathHandler interface {
Handle(DeletePolicyPathParams) middleware.Responder
}
DeletePolicyPathHandler interface for that can handle valid delete policy path params
type DeletePolicyPathHandlerFunc ¶
type DeletePolicyPathHandlerFunc func(DeletePolicyPathParams) middleware.Responder
DeletePolicyPathHandlerFunc turns a function with the right signature into a delete policy path handler
func (DeletePolicyPathHandlerFunc) Handle ¶
func (fn DeletePolicyPathHandlerFunc) Handle(params DeletePolicyPathParams) middleware.Responder
Handle executing the request and returning a response
type DeletePolicyPathInvalid ¶
DeletePolicyPathInvalid Invalid request
swagger:response deletePolicyPathInvalid
func NewDeletePolicyPathInvalid ¶
func NewDeletePolicyPathInvalid() *DeletePolicyPathInvalid
NewDeletePolicyPathInvalid creates DeletePolicyPathInvalid with default headers values
func (*DeletePolicyPathInvalid) SetPayload ¶
func (o *DeletePolicyPathInvalid) SetPayload(payload models.Error)
SetPayload sets the payload to the delete policy path invalid response
func (*DeletePolicyPathInvalid) WithPayload ¶
func (o *DeletePolicyPathInvalid) WithPayload(payload models.Error) *DeletePolicyPathInvalid
WithPayload adds the payload to the delete policy path invalid response
func (*DeletePolicyPathInvalid) WriteResponse ¶
func (o *DeletePolicyPathInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyPathNoContent ¶
type DeletePolicyPathNoContent struct { }
DeletePolicyPathNoContent Success
swagger:response deletePolicyPathNoContent
func NewDeletePolicyPathNoContent ¶
func NewDeletePolicyPathNoContent() *DeletePolicyPathNoContent
NewDeletePolicyPathNoContent creates DeletePolicyPathNoContent with default headers values
func (*DeletePolicyPathNoContent) WriteResponse ¶
func (o *DeletePolicyPathNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyPathNotFound ¶
type DeletePolicyPathNotFound struct { }
DeletePolicyPathNotFound Policy tree not found
swagger:response deletePolicyPathNotFound
func NewDeletePolicyPathNotFound ¶
func NewDeletePolicyPathNotFound() *DeletePolicyPathNotFound
NewDeletePolicyPathNotFound creates DeletePolicyPathNotFound with default headers values
func (*DeletePolicyPathNotFound) WriteResponse ¶
func (o *DeletePolicyPathNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePolicyPathParams ¶
type DeletePolicyPathParams struct { // HTTP Request Object HTTPRequest *http.Request /*Path to policy node Required: true In: path */ Path string }
DeletePolicyPathParams contains all the bound params for the delete policy path operation typically these are obtained from a http.Request
swagger:parameters DeletePolicyPath
func NewDeletePolicyPathParams ¶
func NewDeletePolicyPathParams() DeletePolicyPathParams
NewDeletePolicyPathParams creates a new DeletePolicyPathParams object with the default values initialized.
func (*DeletePolicyPathParams) BindRequest ¶
func (o *DeletePolicyPathParams) 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
type DeletePolicyPathURL ¶
type DeletePolicyPathURL struct { Path string // contains filtered or unexported fields }
DeletePolicyPathURL generates an URL for the delete policy path operation
func (*DeletePolicyPathURL) Build ¶
func (o *DeletePolicyPathURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeletePolicyPathURL) BuildFull ¶
func (o *DeletePolicyPathURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeletePolicyPathURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeletePolicyPathURL) SetBasePath ¶
func (o *DeletePolicyPathURL) 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 (*DeletePolicyPathURL) String ¶
func (o *DeletePolicyPathURL) String() string
String returns the string representation of the path with query string
func (*DeletePolicyPathURL) StringFull ¶
func (o *DeletePolicyPathURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeletePolicyPathURL) WithBasePath ¶
func (o *DeletePolicyPathURL) WithBasePath(bp string) *DeletePolicyPathURL
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
Retrieve identity by labels
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 /*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 with the default values initialized.
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
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 Identity 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 /* Required: true 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 with the default values initialized.
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
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 GetPolicyOK ¶
type GetPolicyOK struct { /* In: Body */ Payload models.PolicyTree `json:"body,omitempty"` }
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.PolicyTree)
SetPayload sets the payload to the get policy o k response
func (*GetPolicyOK) WithPayload ¶
func (o *GetPolicyOK) WithPayload(payload models.PolicyTree) *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 ¶
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 with the default values initialized.
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
type GetPolicyPath ¶
type GetPolicyPath struct { Context *middleware.Context Handler GetPolicyPathHandler }
GetPolicyPath swagger:route GET /policy/{path} policy getPolicyPath
Retrieve policy subtree ¶
Returns the policy node at path with all its children
func NewGetPolicyPath ¶
func NewGetPolicyPath(ctx *middleware.Context, handler GetPolicyPathHandler) *GetPolicyPath
NewGetPolicyPath creates a new http.Handler for the get policy path operation
func (*GetPolicyPath) ServeHTTP ¶
func (o *GetPolicyPath) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPolicyPathHandler ¶
type GetPolicyPathHandler interface {
Handle(GetPolicyPathParams) middleware.Responder
}
GetPolicyPathHandler interface for that can handle valid get policy path params
type GetPolicyPathHandlerFunc ¶
type GetPolicyPathHandlerFunc func(GetPolicyPathParams) middleware.Responder
GetPolicyPathHandlerFunc turns a function with the right signature into a get policy path handler
func (GetPolicyPathHandlerFunc) Handle ¶
func (fn GetPolicyPathHandlerFunc) Handle(params GetPolicyPathParams) middleware.Responder
Handle executing the request and returning a response
type GetPolicyPathInvalid ¶
GetPolicyPathInvalid Invalid policy path
swagger:response getPolicyPathInvalid
func NewGetPolicyPathInvalid ¶
func NewGetPolicyPathInvalid() *GetPolicyPathInvalid
NewGetPolicyPathInvalid creates GetPolicyPathInvalid with default headers values
func (*GetPolicyPathInvalid) SetPayload ¶
func (o *GetPolicyPathInvalid) SetPayload(payload models.Error)
SetPayload sets the payload to the get policy path invalid response
func (*GetPolicyPathInvalid) WithPayload ¶
func (o *GetPolicyPathInvalid) WithPayload(payload models.Error) *GetPolicyPathInvalid
WithPayload adds the payload to the get policy path invalid response
func (*GetPolicyPathInvalid) WriteResponse ¶
func (o *GetPolicyPathInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicyPathNotFound ¶
type GetPolicyPathNotFound struct { }
GetPolicyPathNotFound Policy tree not found
swagger:response getPolicyPathNotFound
func NewGetPolicyPathNotFound ¶
func NewGetPolicyPathNotFound() *GetPolicyPathNotFound
NewGetPolicyPathNotFound creates GetPolicyPathNotFound with default headers values
func (*GetPolicyPathNotFound) WriteResponse ¶
func (o *GetPolicyPathNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicyPathOK ¶
type GetPolicyPathOK struct { /* In: Body */ Payload models.PolicyTree `json:"body,omitempty"` }
GetPolicyPathOK Success
swagger:response getPolicyPathOK
func NewGetPolicyPathOK ¶
func NewGetPolicyPathOK() *GetPolicyPathOK
NewGetPolicyPathOK creates GetPolicyPathOK with default headers values
func (*GetPolicyPathOK) SetPayload ¶
func (o *GetPolicyPathOK) SetPayload(payload models.PolicyTree)
SetPayload sets the payload to the get policy path o k response
func (*GetPolicyPathOK) WithPayload ¶
func (o *GetPolicyPathOK) WithPayload(payload models.PolicyTree) *GetPolicyPathOK
WithPayload adds the payload to the get policy path o k response
func (*GetPolicyPathOK) WriteResponse ¶
func (o *GetPolicyPathOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPolicyPathParams ¶
type GetPolicyPathParams struct { // HTTP Request Object HTTPRequest *http.Request /*Path to policy node Required: true In: path */ Path string }
GetPolicyPathParams contains all the bound params for the get policy path operation typically these are obtained from a http.Request
swagger:parameters GetPolicyPath
func NewGetPolicyPathParams ¶
func NewGetPolicyPathParams() GetPolicyPathParams
NewGetPolicyPathParams creates a new GetPolicyPathParams object with the default values initialized.
func (*GetPolicyPathParams) BindRequest ¶
func (o *GetPolicyPathParams) 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
type GetPolicyPathURL ¶
type GetPolicyPathURL struct { Path string // contains filtered or unexported fields }
GetPolicyPathURL generates an URL for the get policy path operation
func (*GetPolicyPathURL) Build ¶
func (o *GetPolicyPathURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPolicyPathURL) BuildFull ¶
func (o *GetPolicyPathURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPolicyPathURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPolicyPathURL) SetBasePath ¶
func (o *GetPolicyPathURL) 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 (*GetPolicyPathURL) String ¶
func (o *GetPolicyPathURL) String() string
String returns the string representation of the path with query string
func (*GetPolicyPathURL) StringFull ¶
func (o *GetPolicyPathURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPolicyPathURL) WithBasePath ¶
func (o *GetPolicyPathURL) WithBasePath(bp string) *GetPolicyPathURL
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 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 /*Context to provide policy evaluation on In: body */ IdentityContext *models.IdentityContext }
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 with the default values initialized.
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
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 PutPolicyPath ¶
type PutPolicyPath struct { Context *middleware.Context Handler PutPolicyPathHandler }
PutPolicyPath swagger:route PUT /policy/{path} policy putPolicyPath
Create or update a policy (sub)tree
func NewPutPolicyPath ¶
func NewPutPolicyPath(ctx *middleware.Context, handler PutPolicyPathHandler) *PutPolicyPath
NewPutPolicyPath creates a new http.Handler for the put policy path operation
func (*PutPolicyPath) ServeHTTP ¶
func (o *PutPolicyPath) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutPolicyPathFailure ¶
PutPolicyPathFailure Policy import failed
swagger:response putPolicyPathFailure
func NewPutPolicyPathFailure ¶
func NewPutPolicyPathFailure() *PutPolicyPathFailure
NewPutPolicyPathFailure creates PutPolicyPathFailure with default headers values
func (*PutPolicyPathFailure) SetPayload ¶
func (o *PutPolicyPathFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the put policy path failure response
func (*PutPolicyPathFailure) WithPayload ¶
func (o *PutPolicyPathFailure) WithPayload(payload models.Error) *PutPolicyPathFailure
WithPayload adds the payload to the put policy path failure response
func (*PutPolicyPathFailure) WriteResponse ¶
func (o *PutPolicyPathFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyPathHandler ¶
type PutPolicyPathHandler interface {
Handle(PutPolicyPathParams) middleware.Responder
}
PutPolicyPathHandler interface for that can handle valid put policy path params
type PutPolicyPathHandlerFunc ¶
type PutPolicyPathHandlerFunc func(PutPolicyPathParams) middleware.Responder
PutPolicyPathHandlerFunc turns a function with the right signature into a put policy path handler
func (PutPolicyPathHandlerFunc) Handle ¶
func (fn PutPolicyPathHandlerFunc) Handle(params PutPolicyPathParams) middleware.Responder
Handle executing the request and returning a response
type PutPolicyPathInvalidPath ¶
type PutPolicyPathInvalidPath struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PutPolicyPathInvalidPath Invalid path
swagger:response putPolicyPathInvalidPath
func NewPutPolicyPathInvalidPath ¶
func NewPutPolicyPathInvalidPath() *PutPolicyPathInvalidPath
NewPutPolicyPathInvalidPath creates PutPolicyPathInvalidPath with default headers values
func (*PutPolicyPathInvalidPath) SetPayload ¶
func (o *PutPolicyPathInvalidPath) SetPayload(payload models.Error)
SetPayload sets the payload to the put policy path invalid path response
func (*PutPolicyPathInvalidPath) WithPayload ¶
func (o *PutPolicyPathInvalidPath) WithPayload(payload models.Error) *PutPolicyPathInvalidPath
WithPayload adds the payload to the put policy path invalid path response
func (*PutPolicyPathInvalidPath) WriteResponse ¶
func (o *PutPolicyPathInvalidPath) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyPathInvalidPolicy ¶
type PutPolicyPathInvalidPolicy struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PutPolicyPathInvalidPolicy Invalid policy
swagger:response putPolicyPathInvalidPolicy
func NewPutPolicyPathInvalidPolicy ¶
func NewPutPolicyPathInvalidPolicy() *PutPolicyPathInvalidPolicy
NewPutPolicyPathInvalidPolicy creates PutPolicyPathInvalidPolicy with default headers values
func (*PutPolicyPathInvalidPolicy) SetPayload ¶
func (o *PutPolicyPathInvalidPolicy) SetPayload(payload models.Error)
SetPayload sets the payload to the put policy path invalid policy response
func (*PutPolicyPathInvalidPolicy) WithPayload ¶
func (o *PutPolicyPathInvalidPolicy) WithPayload(payload models.Error) *PutPolicyPathInvalidPolicy
WithPayload adds the payload to the put policy path invalid policy response
func (*PutPolicyPathInvalidPolicy) WriteResponse ¶
func (o *PutPolicyPathInvalidPolicy) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyPathOK ¶
type PutPolicyPathOK struct { /* In: Body */ Payload models.PolicyTree `json:"body,omitempty"` }
PutPolicyPathOK Success
swagger:response putPolicyPathOK
func NewPutPolicyPathOK ¶
func NewPutPolicyPathOK() *PutPolicyPathOK
NewPutPolicyPathOK creates PutPolicyPathOK with default headers values
func (*PutPolicyPathOK) SetPayload ¶
func (o *PutPolicyPathOK) SetPayload(payload models.PolicyTree)
SetPayload sets the payload to the put policy path o k response
func (*PutPolicyPathOK) WithPayload ¶
func (o *PutPolicyPathOK) WithPayload(payload models.PolicyTree) *PutPolicyPathOK
WithPayload adds the payload to the put policy path o k response
func (*PutPolicyPathOK) WriteResponse ¶
func (o *PutPolicyPathOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutPolicyPathParams ¶
type PutPolicyPathParams struct { // HTTP Request Object HTTPRequest *http.Request /*Path to policy node Required: true In: path */ Path string /*Policy tree or subtree Required: true In: body */ Policy *string }
PutPolicyPathParams contains all the bound params for the put policy path operation typically these are obtained from a http.Request
swagger:parameters PutPolicyPath
func NewPutPolicyPathParams ¶
func NewPutPolicyPathParams() PutPolicyPathParams
NewPutPolicyPathParams creates a new PutPolicyPathParams object with the default values initialized.
func (*PutPolicyPathParams) BindRequest ¶
func (o *PutPolicyPathParams) 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
type PutPolicyPathURL ¶
type PutPolicyPathURL struct { Path string // contains filtered or unexported fields }
PutPolicyPathURL generates an URL for the put policy path operation
func (*PutPolicyPathURL) Build ¶
func (o *PutPolicyPathURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutPolicyPathURL) BuildFull ¶
func (o *PutPolicyPathURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutPolicyPathURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutPolicyPathURL) SetBasePath ¶
func (o *PutPolicyPathURL) 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 (*PutPolicyPathURL) String ¶
func (o *PutPolicyPathURL) String() string
String returns the string representation of the path with query string
func (*PutPolicyPathURL) StringFull ¶
func (o *PutPolicyPathURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutPolicyPathURL) WithBasePath ¶
func (o *PutPolicyPathURL) WithBasePath(bp string) *PutPolicyPathURL
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_policy_path.go
- delete_policy_path_parameters.go
- delete_policy_path_responses.go
- delete_policy_path_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_path.go
- get_policy_path_parameters.go
- get_policy_path_responses.go
- get_policy_path_urlbuilder.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_path.go
- put_policy_path_parameters.go
- put_policy_path_responses.go
- put_policy_path_urlbuilder.go