Documentation
¶
Index ¶
- Constants
- type DeleteRbacPoliciesRbacPolicyID
- type DeleteRbacPoliciesRbacPolicyIDForbidden
- type DeleteRbacPoliciesRbacPolicyIDHandler
- type DeleteRbacPoliciesRbacPolicyIDHandlerFunc
- type DeleteRbacPoliciesRbacPolicyIDNoContent
- type DeleteRbacPoliciesRbacPolicyIDNotFound
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) SetPayload(payload *models.Error)
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) WithPayload(payload *models.Error) *DeleteRbacPoliciesRbacPolicyIDNotFound
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteRbacPoliciesRbacPolicyIDParams
- type DeleteRbacPoliciesRbacPolicyIDURL
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) Build() (*url.URL, error)
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) SetBasePath(bp string)
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) String() string
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) StringFull(scheme, host string) string
- func (o *DeleteRbacPoliciesRbacPolicyIDURL) WithBasePath(bp string) *DeleteRbacPoliciesRbacPolicyIDURL
- type DeleteRbacPoliciesRbacPolicyIDUnauthorized
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) SetPayload(payload *models.Error)
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) WithPayload(payload *models.Error) *DeleteRbacPoliciesRbacPolicyIDUnauthorized
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRbacPolicies
- type GetRbacPoliciesBadRequest
- type GetRbacPoliciesForbidden
- type GetRbacPoliciesHandler
- type GetRbacPoliciesHandlerFunc
- type GetRbacPoliciesOK
- type GetRbacPoliciesOKBody
- type GetRbacPoliciesParams
- type GetRbacPoliciesRbacPolicyID
- type GetRbacPoliciesRbacPolicyIDForbidden
- type GetRbacPoliciesRbacPolicyIDHandler
- type GetRbacPoliciesRbacPolicyIDHandlerFunc
- type GetRbacPoliciesRbacPolicyIDNotFound
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) SetPayload(payload *models.Error)
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) WithPayload(payload *models.Error) *GetRbacPoliciesRbacPolicyIDNotFound
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRbacPoliciesRbacPolicyIDOK
- type GetRbacPoliciesRbacPolicyIDParams
- type GetRbacPoliciesRbacPolicyIDURL
- func (o *GetRbacPoliciesRbacPolicyIDURL) Build() (*url.URL, error)
- func (o *GetRbacPoliciesRbacPolicyIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRbacPoliciesRbacPolicyIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRbacPoliciesRbacPolicyIDURL) SetBasePath(bp string)
- func (o *GetRbacPoliciesRbacPolicyIDURL) String() string
- func (o *GetRbacPoliciesRbacPolicyIDURL) StringFull(scheme, host string) string
- func (o *GetRbacPoliciesRbacPolicyIDURL) WithBasePath(bp string) *GetRbacPoliciesRbacPolicyIDURL
- type GetRbacPoliciesRbacPolicyIDUnauthorized
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) SetPayload(payload *models.Error)
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) WithPayload(payload *models.Error) *GetRbacPoliciesRbacPolicyIDUnauthorized
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload(payload *models.Error) *GetRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRbacPoliciesURL
- func (o *GetRbacPoliciesURL) Build() (*url.URL, error)
- func (o *GetRbacPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRbacPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRbacPoliciesURL) SetBasePath(bp string)
- func (o *GetRbacPoliciesURL) String() string
- func (o *GetRbacPoliciesURL) StringFull(scheme, host string) string
- func (o *GetRbacPoliciesURL) WithBasePath(bp string) *GetRbacPoliciesURL
- type GetRbacPoliciesUnauthorized
- type GetRbacPoliciesUnprocessableEntity
- func (o *GetRbacPoliciesUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetRbacPoliciesUnprocessableEntity) WithPayload(payload *models.Error) *GetRbacPoliciesUnprocessableEntity
- func (o *GetRbacPoliciesUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostRbacPolicies
- type PostRbacPoliciesConflict
- type PostRbacPoliciesCreated
- func (o *PostRbacPoliciesCreated) SetPayload(payload *models.Rbacpolicy)
- func (o *PostRbacPoliciesCreated) SetXTargetID(xTargetID strfmt.UUID)
- func (o *PostRbacPoliciesCreated) WithPayload(payload *models.Rbacpolicy) *PostRbacPoliciesCreated
- func (o *PostRbacPoliciesCreated) WithXTargetID(xTargetID strfmt.UUID) *PostRbacPoliciesCreated
- func (o *PostRbacPoliciesCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostRbacPoliciesForbidden
- type PostRbacPoliciesHandler
- type PostRbacPoliciesHandlerFunc
- type PostRbacPoliciesNotFound
- type PostRbacPoliciesParams
- type PostRbacPoliciesURL
- func (o *PostRbacPoliciesURL) Build() (*url.URL, error)
- func (o *PostRbacPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostRbacPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *PostRbacPoliciesURL) SetBasePath(bp string)
- func (o *PostRbacPoliciesURL) String() string
- func (o *PostRbacPoliciesURL) StringFull(scheme, host string) string
- func (o *PostRbacPoliciesURL) WithBasePath(bp string) *PostRbacPoliciesURL
- type PostRbacPoliciesUnauthorized
- type PostRbacPoliciesUnprocessableEntity
- func (o *PostRbacPoliciesUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PostRbacPoliciesUnprocessableEntity) WithPayload(payload *models.Error) *PostRbacPoliciesUnprocessableEntity
- func (o *PostRbacPoliciesUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRbacPoliciesRbacPolicyID
- type PutRbacPoliciesRbacPolicyIDConflict
- func (o *PutRbacPoliciesRbacPolicyIDConflict) SetPayload(payload *models.Error)
- func (o *PutRbacPoliciesRbacPolicyIDConflict) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDConflict
- func (o *PutRbacPoliciesRbacPolicyIDConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRbacPoliciesRbacPolicyIDForbidden
- type PutRbacPoliciesRbacPolicyIDHandler
- type PutRbacPoliciesRbacPolicyIDHandlerFunc
- type PutRbacPoliciesRbacPolicyIDNotFound
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) SetPayload(payload *models.Error)
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDNotFound
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRbacPoliciesRbacPolicyIDOK
- type PutRbacPoliciesRbacPolicyIDParams
- type PutRbacPoliciesRbacPolicyIDURL
- func (o *PutRbacPoliciesRbacPolicyIDURL) Build() (*url.URL, error)
- func (o *PutRbacPoliciesRbacPolicyIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutRbacPoliciesRbacPolicyIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutRbacPoliciesRbacPolicyIDURL) SetBasePath(bp string)
- func (o *PutRbacPoliciesRbacPolicyIDURL) String() string
- func (o *PutRbacPoliciesRbacPolicyIDURL) StringFull(scheme, host string) string
- func (o *PutRbacPoliciesRbacPolicyIDURL) WithBasePath(bp string) *PutRbacPoliciesRbacPolicyIDURL
- type PutRbacPoliciesRbacPolicyIDUnauthorized
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) SetPayload(payload *models.Error)
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDUnauthorized
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const DeleteRbacPoliciesRbacPolicyIDForbiddenCode int = 403
DeleteRbacPoliciesRbacPolicyIDForbiddenCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDForbidden
const DeleteRbacPoliciesRbacPolicyIDNoContentCode int = 204
DeleteRbacPoliciesRbacPolicyIDNoContentCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDNoContent
const DeleteRbacPoliciesRbacPolicyIDNotFoundCode int = 404
DeleteRbacPoliciesRbacPolicyIDNotFoundCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDNotFound
DeleteRbacPoliciesRbacPolicyIDUnauthorizedCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDUnauthorized
const DeleteRbacPoliciesRbacPolicyIDUnprocessableEntityCode int = 422
DeleteRbacPoliciesRbacPolicyIDUnprocessableEntityCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
const GetRbacPoliciesBadRequestCode int = 400
GetRbacPoliciesBadRequestCode is the HTTP code returned for type GetRbacPoliciesBadRequest
const GetRbacPoliciesForbiddenCode int = 403
GetRbacPoliciesForbiddenCode is the HTTP code returned for type GetRbacPoliciesForbidden
const GetRbacPoliciesOKCode int = 200
GetRbacPoliciesOKCode is the HTTP code returned for type GetRbacPoliciesOK
const GetRbacPoliciesRbacPolicyIDForbiddenCode int = 403
GetRbacPoliciesRbacPolicyIDForbiddenCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDForbidden
const GetRbacPoliciesRbacPolicyIDNotFoundCode int = 404
GetRbacPoliciesRbacPolicyIDNotFoundCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDNotFound
const GetRbacPoliciesRbacPolicyIDOKCode int = 200
GetRbacPoliciesRbacPolicyIDOKCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDOK
GetRbacPoliciesRbacPolicyIDUnauthorizedCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDUnauthorized
const GetRbacPoliciesRbacPolicyIDUnprocessableEntityCode int = 422
GetRbacPoliciesRbacPolicyIDUnprocessableEntityCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDUnprocessableEntity
GetRbacPoliciesUnauthorizedCode is the HTTP code returned for type GetRbacPoliciesUnauthorized
const GetRbacPoliciesUnprocessableEntityCode int = 422
GetRbacPoliciesUnprocessableEntityCode is the HTTP code returned for type GetRbacPoliciesUnprocessableEntity
const PostRbacPoliciesConflictCode int = 409
PostRbacPoliciesConflictCode is the HTTP code returned for type PostRbacPoliciesConflict
const PostRbacPoliciesCreatedCode int = 201
PostRbacPoliciesCreatedCode is the HTTP code returned for type PostRbacPoliciesCreated
const PostRbacPoliciesForbiddenCode int = 403
PostRbacPoliciesForbiddenCode is the HTTP code returned for type PostRbacPoliciesForbidden
const PostRbacPoliciesNotFoundCode int = 404
PostRbacPoliciesNotFoundCode is the HTTP code returned for type PostRbacPoliciesNotFound
PostRbacPoliciesUnauthorizedCode is the HTTP code returned for type PostRbacPoliciesUnauthorized
const PostRbacPoliciesUnprocessableEntityCode int = 422
PostRbacPoliciesUnprocessableEntityCode is the HTTP code returned for type PostRbacPoliciesUnprocessableEntity
const PutRbacPoliciesRbacPolicyIDConflictCode int = 409
PutRbacPoliciesRbacPolicyIDConflictCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDConflict
const PutRbacPoliciesRbacPolicyIDForbiddenCode int = 403
PutRbacPoliciesRbacPolicyIDForbiddenCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDForbidden
const PutRbacPoliciesRbacPolicyIDNotFoundCode int = 404
PutRbacPoliciesRbacPolicyIDNotFoundCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDNotFound
const PutRbacPoliciesRbacPolicyIDOKCode int = 200
PutRbacPoliciesRbacPolicyIDOKCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDOK
PutRbacPoliciesRbacPolicyIDUnauthorizedCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDUnauthorized
const PutRbacPoliciesRbacPolicyIDUnprocessableEntityCode int = 422
PutRbacPoliciesRbacPolicyIDUnprocessableEntityCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRbacPoliciesRbacPolicyID ¶
type DeleteRbacPoliciesRbacPolicyID struct { Context *middleware.Context Handler DeleteRbacPoliciesRbacPolicyIDHandler }
DeleteRbacPoliciesRbacPolicyID swagger:route DELETE /rbac-policies/{rbac_policy_id} RBAC deleteRbacPoliciesRbacPolicyId
Delete RBAC policy
func NewDeleteRbacPoliciesRbacPolicyID ¶
func NewDeleteRbacPoliciesRbacPolicyID(ctx *middleware.Context, handler DeleteRbacPoliciesRbacPolicyIDHandler) *DeleteRbacPoliciesRbacPolicyID
NewDeleteRbacPoliciesRbacPolicyID creates a new http.Handler for the delete rbac policies rbac policy ID operation
func (*DeleteRbacPoliciesRbacPolicyID) ServeHTTP ¶
func (o *DeleteRbacPoliciesRbacPolicyID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteRbacPoliciesRbacPolicyIDForbidden ¶
type DeleteRbacPoliciesRbacPolicyIDForbidden struct { }
DeleteRbacPoliciesRbacPolicyIDForbidden Forbidden
swagger:response deleteRbacPoliciesRbacPolicyIdForbidden
func NewDeleteRbacPoliciesRbacPolicyIDForbidden ¶
func NewDeleteRbacPoliciesRbacPolicyIDForbidden() *DeleteRbacPoliciesRbacPolicyIDForbidden
NewDeleteRbacPoliciesRbacPolicyIDForbidden creates DeleteRbacPoliciesRbacPolicyIDForbidden with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) WriteResponse ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRbacPoliciesRbacPolicyIDHandler ¶
type DeleteRbacPoliciesRbacPolicyIDHandler interface {
Handle(DeleteRbacPoliciesRbacPolicyIDParams, interface{}) middleware.Responder
}
DeleteRbacPoliciesRbacPolicyIDHandler interface for that can handle valid delete rbac policies rbac policy ID params
type DeleteRbacPoliciesRbacPolicyIDHandlerFunc ¶
type DeleteRbacPoliciesRbacPolicyIDHandlerFunc func(DeleteRbacPoliciesRbacPolicyIDParams, interface{}) middleware.Responder
DeleteRbacPoliciesRbacPolicyIDHandlerFunc turns a function with the right signature into a delete rbac policies rbac policy ID handler
func (DeleteRbacPoliciesRbacPolicyIDHandlerFunc) Handle ¶
func (fn DeleteRbacPoliciesRbacPolicyIDHandlerFunc) Handle(params DeleteRbacPoliciesRbacPolicyIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteRbacPoliciesRbacPolicyIDNoContent ¶
type DeleteRbacPoliciesRbacPolicyIDNoContent struct { }
DeleteRbacPoliciesRbacPolicyIDNoContent RBAC policy successfully deleted.
swagger:response deleteRbacPoliciesRbacPolicyIdNoContent
func NewDeleteRbacPoliciesRbacPolicyIDNoContent ¶
func NewDeleteRbacPoliciesRbacPolicyIDNoContent() *DeleteRbacPoliciesRbacPolicyIDNoContent
NewDeleteRbacPoliciesRbacPolicyIDNoContent creates DeleteRbacPoliciesRbacPolicyIDNoContent with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) WriteResponse ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRbacPoliciesRbacPolicyIDNotFound ¶
type DeleteRbacPoliciesRbacPolicyIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteRbacPoliciesRbacPolicyIDNotFound Not Found
swagger:response deleteRbacPoliciesRbacPolicyIdNotFound
func NewDeleteRbacPoliciesRbacPolicyIDNotFound ¶
func NewDeleteRbacPoliciesRbacPolicyIDNotFound() *DeleteRbacPoliciesRbacPolicyIDNotFound
NewDeleteRbacPoliciesRbacPolicyIDNotFound creates DeleteRbacPoliciesRbacPolicyIDNotFound with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) SetPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete rbac policies rbac policy Id not found response
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) WithPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) WithPayload(payload *models.Error) *DeleteRbacPoliciesRbacPolicyIDNotFound
WithPayload adds the payload to the delete rbac policies rbac policy Id not found response
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) WriteResponse ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRbacPoliciesRbacPolicyIDParams ¶
type DeleteRbacPoliciesRbacPolicyIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The UUID of the RBAC policy. Required: true In: path */ RbacPolicyID strfmt.UUID }
DeleteRbacPoliciesRbacPolicyIDParams contains all the bound params for the delete rbac policies rbac policy ID operation typically these are obtained from a http.Request
swagger:parameters DeleteRbacPoliciesRbacPolicyID
func NewDeleteRbacPoliciesRbacPolicyIDParams ¶
func NewDeleteRbacPoliciesRbacPolicyIDParams() DeleteRbacPoliciesRbacPolicyIDParams
NewDeleteRbacPoliciesRbacPolicyIDParams creates a new DeleteRbacPoliciesRbacPolicyIDParams object
There are no default values defined in the spec.
func (*DeleteRbacPoliciesRbacPolicyIDParams) BindRequest ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) 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 NewDeleteRbacPoliciesRbacPolicyIDParams() beforehand.
type DeleteRbacPoliciesRbacPolicyIDURL ¶
type DeleteRbacPoliciesRbacPolicyIDURL struct { RbacPolicyID strfmt.UUID // contains filtered or unexported fields }
DeleteRbacPoliciesRbacPolicyIDURL generates an URL for the delete rbac policies rbac policy ID operation
func (*DeleteRbacPoliciesRbacPolicyIDURL) Build ¶
func (o *DeleteRbacPoliciesRbacPolicyIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteRbacPoliciesRbacPolicyIDURL) BuildFull ¶
func (o *DeleteRbacPoliciesRbacPolicyIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteRbacPoliciesRbacPolicyIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteRbacPoliciesRbacPolicyIDURL) SetBasePath ¶
func (o *DeleteRbacPoliciesRbacPolicyIDURL) 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 (*DeleteRbacPoliciesRbacPolicyIDURL) String ¶
func (o *DeleteRbacPoliciesRbacPolicyIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteRbacPoliciesRbacPolicyIDURL) StringFull ¶
func (o *DeleteRbacPoliciesRbacPolicyIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteRbacPoliciesRbacPolicyIDURL) WithBasePath ¶
func (o *DeleteRbacPoliciesRbacPolicyIDURL) WithBasePath(bp string) *DeleteRbacPoliciesRbacPolicyIDURL
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 DeleteRbacPoliciesRbacPolicyIDUnauthorized ¶
type DeleteRbacPoliciesRbacPolicyIDUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
DeleteRbacPoliciesRbacPolicyIDUnauthorized Unauthorized
swagger:response deleteRbacPoliciesRbacPolicyIdUnauthorized
func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized ¶
func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized() *DeleteRbacPoliciesRbacPolicyIDUnauthorized
NewDeleteRbacPoliciesRbacPolicyIDUnauthorized creates DeleteRbacPoliciesRbacPolicyIDUnauthorized with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) SetPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete rbac policies rbac policy Id unauthorized response
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) WithPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) WithPayload(payload *models.Error) *DeleteRbacPoliciesRbacPolicyIDUnauthorized
WithPayload adds the payload to the delete rbac policies rbac policy Id unauthorized response
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity Unprocessable Content
swagger:response deleteRbacPoliciesRbacPolicyIdUnprocessableEntity
func NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
func NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity() *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity creates DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete rbac policies rbac policy Id unprocessable entity response
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
WithPayload adds the payload to the delete rbac policies rbac policy Id unprocessable entity response
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPolicies ¶
type GetRbacPolicies struct { Context *middleware.Context Handler GetRbacPoliciesHandler }
GetRbacPolicies swagger:route GET /rbac-policies RBAC getRbacPolicies
List RBAC policies
func NewGetRbacPolicies ¶
func NewGetRbacPolicies(ctx *middleware.Context, handler GetRbacPoliciesHandler) *GetRbacPolicies
NewGetRbacPolicies creates a new http.Handler for the get rbac policies operation
func (*GetRbacPolicies) ServeHTTP ¶
func (o *GetRbacPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRbacPoliciesBadRequest ¶
type GetRbacPoliciesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRbacPoliciesBadRequest Bad request
swagger:response getRbacPoliciesBadRequest
func NewGetRbacPoliciesBadRequest ¶
func NewGetRbacPoliciesBadRequest() *GetRbacPoliciesBadRequest
NewGetRbacPoliciesBadRequest creates GetRbacPoliciesBadRequest with default headers values
func (*GetRbacPoliciesBadRequest) SetPayload ¶
func (o *GetRbacPoliciesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rbac policies bad request response
func (*GetRbacPoliciesBadRequest) WithPayload ¶
func (o *GetRbacPoliciesBadRequest) WithPayload(payload *models.Error) *GetRbacPoliciesBadRequest
WithPayload adds the payload to the get rbac policies bad request response
func (*GetRbacPoliciesBadRequest) WriteResponse ¶
func (o *GetRbacPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesForbidden ¶
type GetRbacPoliciesForbidden struct { }
GetRbacPoliciesForbidden Forbidden
swagger:response getRbacPoliciesForbidden
func NewGetRbacPoliciesForbidden ¶
func NewGetRbacPoliciesForbidden() *GetRbacPoliciesForbidden
NewGetRbacPoliciesForbidden creates GetRbacPoliciesForbidden with default headers values
func (*GetRbacPoliciesForbidden) WriteResponse ¶
func (o *GetRbacPoliciesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesHandler ¶
type GetRbacPoliciesHandler interface {
Handle(GetRbacPoliciesParams, interface{}) middleware.Responder
}
GetRbacPoliciesHandler interface for that can handle valid get rbac policies params
type GetRbacPoliciesHandlerFunc ¶
type GetRbacPoliciesHandlerFunc func(GetRbacPoliciesParams, interface{}) middleware.Responder
GetRbacPoliciesHandlerFunc turns a function with the right signature into a get rbac policies handler
func (GetRbacPoliciesHandlerFunc) Handle ¶
func (fn GetRbacPoliciesHandlerFunc) Handle(params GetRbacPoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetRbacPoliciesOK ¶
type GetRbacPoliciesOK struct { /* In: Body */ Payload *GetRbacPoliciesOKBody `json:"body,omitempty"` }
GetRbacPoliciesOK A JSON array of rbac policies
swagger:response getRbacPoliciesOK
func NewGetRbacPoliciesOK ¶
func NewGetRbacPoliciesOK() *GetRbacPoliciesOK
NewGetRbacPoliciesOK creates GetRbacPoliciesOK with default headers values
func (*GetRbacPoliciesOK) SetPayload ¶
func (o *GetRbacPoliciesOK) SetPayload(payload *GetRbacPoliciesOKBody)
SetPayload sets the payload to the get rbac policies o k response
func (*GetRbacPoliciesOK) WithPayload ¶
func (o *GetRbacPoliciesOK) WithPayload(payload *GetRbacPoliciesOKBody) *GetRbacPoliciesOK
WithPayload adds the payload to the get rbac policies o k response
func (*GetRbacPoliciesOK) WriteResponse ¶
func (o *GetRbacPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesOKBody ¶
type GetRbacPoliciesOKBody struct { // items Items []*models.Rbacpolicy `json:"items"` // links Links []*models.Link `json:"links,omitempty"` }
GetRbacPoliciesOKBody get rbac policies o k body
swagger:model GetRbacPoliciesOKBody
func (*GetRbacPoliciesOKBody) ContextValidate ¶
ContextValidate validate this get rbac policies o k body based on the context it is used
func (*GetRbacPoliciesOKBody) MarshalBinary ¶
func (o *GetRbacPoliciesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRbacPoliciesOKBody) UnmarshalBinary ¶
func (o *GetRbacPoliciesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRbacPoliciesParams ¶
type GetRbacPoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Sets the page size. In: query */ Limit *int64 /*Pagination ID of the last item in the previous list. In: query */ Marker *strfmt.UUID /*Sets the page direction. In: query */ PageReverse *bool /*Comma-separated list of sort keys, optionally prefix with - to reverse sort order. In: query */ Sort *string }
GetRbacPoliciesParams contains all the bound params for the get rbac policies operation typically these are obtained from a http.Request
swagger:parameters GetRbacPolicies
func NewGetRbacPoliciesParams ¶
func NewGetRbacPoliciesParams() GetRbacPoliciesParams
NewGetRbacPoliciesParams creates a new GetRbacPoliciesParams object
There are no default values defined in the spec.
func (*GetRbacPoliciesParams) BindRequest ¶
func (o *GetRbacPoliciesParams) 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 NewGetRbacPoliciesParams() beforehand.
type GetRbacPoliciesRbacPolicyID ¶
type GetRbacPoliciesRbacPolicyID struct { Context *middleware.Context Handler GetRbacPoliciesRbacPolicyIDHandler }
GetRbacPoliciesRbacPolicyID swagger:route GET /rbac-policies/{rbac_policy_id} RBAC getRbacPoliciesRbacPolicyId
Show details of an RBAC policy
func NewGetRbacPoliciesRbacPolicyID ¶
func NewGetRbacPoliciesRbacPolicyID(ctx *middleware.Context, handler GetRbacPoliciesRbacPolicyIDHandler) *GetRbacPoliciesRbacPolicyID
NewGetRbacPoliciesRbacPolicyID creates a new http.Handler for the get rbac policies rbac policy ID operation
func (*GetRbacPoliciesRbacPolicyID) ServeHTTP ¶
func (o *GetRbacPoliciesRbacPolicyID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRbacPoliciesRbacPolicyIDForbidden ¶
type GetRbacPoliciesRbacPolicyIDForbidden struct { }
GetRbacPoliciesRbacPolicyIDForbidden Forbidden
swagger:response getRbacPoliciesRbacPolicyIdForbidden
func NewGetRbacPoliciesRbacPolicyIDForbidden ¶
func NewGetRbacPoliciesRbacPolicyIDForbidden() *GetRbacPoliciesRbacPolicyIDForbidden
NewGetRbacPoliciesRbacPolicyIDForbidden creates GetRbacPoliciesRbacPolicyIDForbidden with default headers values
func (*GetRbacPoliciesRbacPolicyIDForbidden) WriteResponse ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesRbacPolicyIDHandler ¶
type GetRbacPoliciesRbacPolicyIDHandler interface {
Handle(GetRbacPoliciesRbacPolicyIDParams, interface{}) middleware.Responder
}
GetRbacPoliciesRbacPolicyIDHandler interface for that can handle valid get rbac policies rbac policy ID params
type GetRbacPoliciesRbacPolicyIDHandlerFunc ¶
type GetRbacPoliciesRbacPolicyIDHandlerFunc func(GetRbacPoliciesRbacPolicyIDParams, interface{}) middleware.Responder
GetRbacPoliciesRbacPolicyIDHandlerFunc turns a function with the right signature into a get rbac policies rbac policy ID handler
func (GetRbacPoliciesRbacPolicyIDHandlerFunc) Handle ¶
func (fn GetRbacPoliciesRbacPolicyIDHandlerFunc) Handle(params GetRbacPoliciesRbacPolicyIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetRbacPoliciesRbacPolicyIDNotFound ¶
type GetRbacPoliciesRbacPolicyIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRbacPoliciesRbacPolicyIDNotFound Not Found
swagger:response getRbacPoliciesRbacPolicyIdNotFound
func NewGetRbacPoliciesRbacPolicyIDNotFound ¶
func NewGetRbacPoliciesRbacPolicyIDNotFound() *GetRbacPoliciesRbacPolicyIDNotFound
NewGetRbacPoliciesRbacPolicyIDNotFound creates GetRbacPoliciesRbacPolicyIDNotFound with default headers values
func (*GetRbacPoliciesRbacPolicyIDNotFound) SetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rbac policies rbac policy Id not found response
func (*GetRbacPoliciesRbacPolicyIDNotFound) WithPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) WithPayload(payload *models.Error) *GetRbacPoliciesRbacPolicyIDNotFound
WithPayload adds the payload to the get rbac policies rbac policy Id not found response
func (*GetRbacPoliciesRbacPolicyIDNotFound) WriteResponse ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesRbacPolicyIDOK ¶
type GetRbacPoliciesRbacPolicyIDOK struct { /* In: Body */ Payload *models.Rbacpolicy `json:"body,omitempty"` }
GetRbacPoliciesRbacPolicyIDOK RBAC Policy
swagger:response getRbacPoliciesRbacPolicyIdOK
func NewGetRbacPoliciesRbacPolicyIDOK ¶
func NewGetRbacPoliciesRbacPolicyIDOK() *GetRbacPoliciesRbacPolicyIDOK
NewGetRbacPoliciesRbacPolicyIDOK creates GetRbacPoliciesRbacPolicyIDOK with default headers values
func (*GetRbacPoliciesRbacPolicyIDOK) SetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) SetPayload(payload *models.Rbacpolicy)
SetPayload sets the payload to the get rbac policies rbac policy Id o k response
func (*GetRbacPoliciesRbacPolicyIDOK) WithPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) WithPayload(payload *models.Rbacpolicy) *GetRbacPoliciesRbacPolicyIDOK
WithPayload adds the payload to the get rbac policies rbac policy Id o k response
func (*GetRbacPoliciesRbacPolicyIDOK) WriteResponse ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesRbacPolicyIDParams ¶
type GetRbacPoliciesRbacPolicyIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The UUID of the RBAC policy. Required: true In: path */ RbacPolicyID strfmt.UUID }
GetRbacPoliciesRbacPolicyIDParams contains all the bound params for the get rbac policies rbac policy ID operation typically these are obtained from a http.Request
swagger:parameters GetRbacPoliciesRbacPolicyID
func NewGetRbacPoliciesRbacPolicyIDParams ¶
func NewGetRbacPoliciesRbacPolicyIDParams() GetRbacPoliciesRbacPolicyIDParams
NewGetRbacPoliciesRbacPolicyIDParams creates a new GetRbacPoliciesRbacPolicyIDParams object
There are no default values defined in the spec.
func (*GetRbacPoliciesRbacPolicyIDParams) BindRequest ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) 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 NewGetRbacPoliciesRbacPolicyIDParams() beforehand.
type GetRbacPoliciesRbacPolicyIDURL ¶
type GetRbacPoliciesRbacPolicyIDURL struct { RbacPolicyID strfmt.UUID // contains filtered or unexported fields }
GetRbacPoliciesRbacPolicyIDURL generates an URL for the get rbac policies rbac policy ID operation
func (*GetRbacPoliciesRbacPolicyIDURL) Build ¶
func (o *GetRbacPoliciesRbacPolicyIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRbacPoliciesRbacPolicyIDURL) BuildFull ¶
func (o *GetRbacPoliciesRbacPolicyIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRbacPoliciesRbacPolicyIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRbacPoliciesRbacPolicyIDURL) SetBasePath ¶
func (o *GetRbacPoliciesRbacPolicyIDURL) 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 (*GetRbacPoliciesRbacPolicyIDURL) String ¶
func (o *GetRbacPoliciesRbacPolicyIDURL) String() string
String returns the string representation of the path with query string
func (*GetRbacPoliciesRbacPolicyIDURL) StringFull ¶
func (o *GetRbacPoliciesRbacPolicyIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRbacPoliciesRbacPolicyIDURL) WithBasePath ¶
func (o *GetRbacPoliciesRbacPolicyIDURL) WithBasePath(bp string) *GetRbacPoliciesRbacPolicyIDURL
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 GetRbacPoliciesRbacPolicyIDUnauthorized ¶
type GetRbacPoliciesRbacPolicyIDUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
GetRbacPoliciesRbacPolicyIDUnauthorized Unauthorized
swagger:response getRbacPoliciesRbacPolicyIdUnauthorized
func NewGetRbacPoliciesRbacPolicyIDUnauthorized ¶
func NewGetRbacPoliciesRbacPolicyIDUnauthorized() *GetRbacPoliciesRbacPolicyIDUnauthorized
NewGetRbacPoliciesRbacPolicyIDUnauthorized creates GetRbacPoliciesRbacPolicyIDUnauthorized with default headers values
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) SetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rbac policies rbac policy Id unauthorized response
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) WithPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) WithPayload(payload *models.Error) *GetRbacPoliciesRbacPolicyIDUnauthorized
WithPayload adds the payload to the get rbac policies rbac policy Id unauthorized response
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
type GetRbacPoliciesRbacPolicyIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRbacPoliciesRbacPolicyIDUnprocessableEntity Unprocessable Content
swagger:response getRbacPoliciesRbacPolicyIdUnprocessableEntity
func NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
func NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity() *GetRbacPoliciesRbacPolicyIDUnprocessableEntity
NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity creates GetRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rbac policies rbac policy Id unprocessable entity response
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload(payload *models.Error) *GetRbacPoliciesRbacPolicyIDUnprocessableEntity
WithPayload adds the payload to the get rbac policies rbac policy Id unprocessable entity response
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesURL ¶
type GetRbacPoliciesURL struct { Limit *int64 Marker *strfmt.UUID PageReverse *bool Sort *string // contains filtered or unexported fields }
GetRbacPoliciesURL generates an URL for the get rbac policies operation
func (*GetRbacPoliciesURL) Build ¶
func (o *GetRbacPoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRbacPoliciesURL) BuildFull ¶
func (o *GetRbacPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRbacPoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRbacPoliciesURL) SetBasePath ¶
func (o *GetRbacPoliciesURL) 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 (*GetRbacPoliciesURL) String ¶
func (o *GetRbacPoliciesURL) String() string
String returns the string representation of the path with query string
func (*GetRbacPoliciesURL) StringFull ¶
func (o *GetRbacPoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRbacPoliciesURL) WithBasePath ¶
func (o *GetRbacPoliciesURL) WithBasePath(bp string) *GetRbacPoliciesURL
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 GetRbacPoliciesUnauthorized ¶
GetRbacPoliciesUnauthorized Unauthorized
swagger:response getRbacPoliciesUnauthorized
func NewGetRbacPoliciesUnauthorized ¶
func NewGetRbacPoliciesUnauthorized() *GetRbacPoliciesUnauthorized
NewGetRbacPoliciesUnauthorized creates GetRbacPoliciesUnauthorized with default headers values
func (*GetRbacPoliciesUnauthorized) SetPayload ¶
func (o *GetRbacPoliciesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rbac policies unauthorized response
func (*GetRbacPoliciesUnauthorized) WithPayload ¶
func (o *GetRbacPoliciesUnauthorized) WithPayload(payload *models.Error) *GetRbacPoliciesUnauthorized
WithPayload adds the payload to the get rbac policies unauthorized response
func (*GetRbacPoliciesUnauthorized) WriteResponse ¶
func (o *GetRbacPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRbacPoliciesUnprocessableEntity ¶
type GetRbacPoliciesUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRbacPoliciesUnprocessableEntity Unprocessable Content
swagger:response getRbacPoliciesUnprocessableEntity
func NewGetRbacPoliciesUnprocessableEntity ¶
func NewGetRbacPoliciesUnprocessableEntity() *GetRbacPoliciesUnprocessableEntity
NewGetRbacPoliciesUnprocessableEntity creates GetRbacPoliciesUnprocessableEntity with default headers values
func (*GetRbacPoliciesUnprocessableEntity) SetPayload ¶
func (o *GetRbacPoliciesUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rbac policies unprocessable entity response
func (*GetRbacPoliciesUnprocessableEntity) WithPayload ¶
func (o *GetRbacPoliciesUnprocessableEntity) WithPayload(payload *models.Error) *GetRbacPoliciesUnprocessableEntity
WithPayload adds the payload to the get rbac policies unprocessable entity response
func (*GetRbacPoliciesUnprocessableEntity) WriteResponse ¶
func (o *GetRbacPoliciesUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRbacPolicies ¶
type PostRbacPolicies struct { Context *middleware.Context Handler PostRbacPoliciesHandler }
PostRbacPolicies swagger:route POST /rbac-policies RBAC postRbacPolicies
Create RBAC policy
func NewPostRbacPolicies ¶
func NewPostRbacPolicies(ctx *middleware.Context, handler PostRbacPoliciesHandler) *PostRbacPolicies
NewPostRbacPolicies creates a new http.Handler for the post rbac policies operation
func (*PostRbacPolicies) ServeHTTP ¶
func (o *PostRbacPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostRbacPoliciesConflict ¶
type PostRbacPoliciesConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PostRbacPoliciesConflict Duplicate RBAC Policy
swagger:response postRbacPoliciesConflict
func NewPostRbacPoliciesConflict ¶
func NewPostRbacPoliciesConflict() *PostRbacPoliciesConflict
NewPostRbacPoliciesConflict creates PostRbacPoliciesConflict with default headers values
func (*PostRbacPoliciesConflict) SetPayload ¶
func (o *PostRbacPoliciesConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the post rbac policies conflict response
func (*PostRbacPoliciesConflict) WithPayload ¶
func (o *PostRbacPoliciesConflict) WithPayload(payload *models.Error) *PostRbacPoliciesConflict
WithPayload adds the payload to the post rbac policies conflict response
func (*PostRbacPoliciesConflict) WriteResponse ¶
func (o *PostRbacPoliciesConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRbacPoliciesCreated ¶
type PostRbacPoliciesCreated struct { /*The UUID of the created resource */ XTargetID strfmt.UUID `json:"X-Target-Id"` /* In: Body */ Payload *models.Rbacpolicy `json:"body,omitempty"` }
PostRbacPoliciesCreated RBAC policy
swagger:response postRbacPoliciesCreated
func NewPostRbacPoliciesCreated ¶
func NewPostRbacPoliciesCreated() *PostRbacPoliciesCreated
NewPostRbacPoliciesCreated creates PostRbacPoliciesCreated with default headers values
func (*PostRbacPoliciesCreated) SetPayload ¶
func (o *PostRbacPoliciesCreated) SetPayload(payload *models.Rbacpolicy)
SetPayload sets the payload to the post rbac policies created response
func (*PostRbacPoliciesCreated) SetXTargetID ¶ added in v1.2.0
func (o *PostRbacPoliciesCreated) SetXTargetID(xTargetID strfmt.UUID)
SetXTargetID sets the xTargetId to the post rbac policies created response
func (*PostRbacPoliciesCreated) WithPayload ¶
func (o *PostRbacPoliciesCreated) WithPayload(payload *models.Rbacpolicy) *PostRbacPoliciesCreated
WithPayload adds the payload to the post rbac policies created response
func (*PostRbacPoliciesCreated) WithXTargetID ¶ added in v1.2.0
func (o *PostRbacPoliciesCreated) WithXTargetID(xTargetID strfmt.UUID) *PostRbacPoliciesCreated
WithXTargetID adds the xTargetId to the post rbac policies created response
func (*PostRbacPoliciesCreated) WriteResponse ¶
func (o *PostRbacPoliciesCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRbacPoliciesForbidden ¶
type PostRbacPoliciesForbidden struct { }
PostRbacPoliciesForbidden Forbidden
swagger:response postRbacPoliciesForbidden
func NewPostRbacPoliciesForbidden ¶
func NewPostRbacPoliciesForbidden() *PostRbacPoliciesForbidden
NewPostRbacPoliciesForbidden creates PostRbacPoliciesForbidden with default headers values
func (*PostRbacPoliciesForbidden) WriteResponse ¶
func (o *PostRbacPoliciesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRbacPoliciesHandler ¶
type PostRbacPoliciesHandler interface {
Handle(PostRbacPoliciesParams, interface{}) middleware.Responder
}
PostRbacPoliciesHandler interface for that can handle valid post rbac policies params
type PostRbacPoliciesHandlerFunc ¶
type PostRbacPoliciesHandlerFunc func(PostRbacPoliciesParams, interface{}) middleware.Responder
PostRbacPoliciesHandlerFunc turns a function with the right signature into a post rbac policies handler
func (PostRbacPoliciesHandlerFunc) Handle ¶
func (fn PostRbacPoliciesHandlerFunc) Handle(params PostRbacPoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PostRbacPoliciesNotFound ¶
type PostRbacPoliciesNotFound struct { }
PostRbacPoliciesNotFound service_id not found
swagger:response postRbacPoliciesNotFound
func NewPostRbacPoliciesNotFound ¶
func NewPostRbacPoliciesNotFound() *PostRbacPoliciesNotFound
NewPostRbacPoliciesNotFound creates PostRbacPoliciesNotFound with default headers values
func (*PostRbacPoliciesNotFound) WriteResponse ¶
func (o *PostRbacPoliciesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRbacPoliciesParams ¶
type PostRbacPoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*RBAC Policy Required: true In: body */ Body *models.Rbacpolicy }
PostRbacPoliciesParams contains all the bound params for the post rbac policies operation typically these are obtained from a http.Request
swagger:parameters PostRbacPolicies
func NewPostRbacPoliciesParams ¶
func NewPostRbacPoliciesParams() PostRbacPoliciesParams
NewPostRbacPoliciesParams creates a new PostRbacPoliciesParams object
There are no default values defined in the spec.
func (*PostRbacPoliciesParams) BindRequest ¶
func (o *PostRbacPoliciesParams) 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 NewPostRbacPoliciesParams() beforehand.
type PostRbacPoliciesURL ¶
type PostRbacPoliciesURL struct {
// contains filtered or unexported fields
}
PostRbacPoliciesURL generates an URL for the post rbac policies operation
func (*PostRbacPoliciesURL) Build ¶
func (o *PostRbacPoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostRbacPoliciesURL) BuildFull ¶
func (o *PostRbacPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostRbacPoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostRbacPoliciesURL) SetBasePath ¶
func (o *PostRbacPoliciesURL) 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 (*PostRbacPoliciesURL) String ¶
func (o *PostRbacPoliciesURL) String() string
String returns the string representation of the path with query string
func (*PostRbacPoliciesURL) StringFull ¶
func (o *PostRbacPoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostRbacPoliciesURL) WithBasePath ¶
func (o *PostRbacPoliciesURL) WithBasePath(bp string) *PostRbacPoliciesURL
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 PostRbacPoliciesUnauthorized ¶
PostRbacPoliciesUnauthorized Unauthorized
swagger:response postRbacPoliciesUnauthorized
func NewPostRbacPoliciesUnauthorized ¶
func NewPostRbacPoliciesUnauthorized() *PostRbacPoliciesUnauthorized
NewPostRbacPoliciesUnauthorized creates PostRbacPoliciesUnauthorized with default headers values
func (*PostRbacPoliciesUnauthorized) SetPayload ¶
func (o *PostRbacPoliciesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the post rbac policies unauthorized response
func (*PostRbacPoliciesUnauthorized) WithPayload ¶
func (o *PostRbacPoliciesUnauthorized) WithPayload(payload *models.Error) *PostRbacPoliciesUnauthorized
WithPayload adds the payload to the post rbac policies unauthorized response
func (*PostRbacPoliciesUnauthorized) WriteResponse ¶
func (o *PostRbacPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRbacPoliciesUnprocessableEntity ¶
type PostRbacPoliciesUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PostRbacPoliciesUnprocessableEntity Unprocessable Content
swagger:response postRbacPoliciesUnprocessableEntity
func NewPostRbacPoliciesUnprocessableEntity ¶
func NewPostRbacPoliciesUnprocessableEntity() *PostRbacPoliciesUnprocessableEntity
NewPostRbacPoliciesUnprocessableEntity creates PostRbacPoliciesUnprocessableEntity with default headers values
func (*PostRbacPoliciesUnprocessableEntity) SetPayload ¶
func (o *PostRbacPoliciesUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the post rbac policies unprocessable entity response
func (*PostRbacPoliciesUnprocessableEntity) WithPayload ¶
func (o *PostRbacPoliciesUnprocessableEntity) WithPayload(payload *models.Error) *PostRbacPoliciesUnprocessableEntity
WithPayload adds the payload to the post rbac policies unprocessable entity response
func (*PostRbacPoliciesUnprocessableEntity) WriteResponse ¶
func (o *PostRbacPoliciesUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRbacPoliciesRbacPolicyID ¶
type PutRbacPoliciesRbacPolicyID struct { Context *middleware.Context Handler PutRbacPoliciesRbacPolicyIDHandler }
PutRbacPoliciesRbacPolicyID swagger:route PUT /rbac-policies/{rbac_policy_id} RBAC putRbacPoliciesRbacPolicyId
Update an existing RBAC policy
func NewPutRbacPoliciesRbacPolicyID ¶
func NewPutRbacPoliciesRbacPolicyID(ctx *middleware.Context, handler PutRbacPoliciesRbacPolicyIDHandler) *PutRbacPoliciesRbacPolicyID
NewPutRbacPoliciesRbacPolicyID creates a new http.Handler for the put rbac policies rbac policy ID operation
func (*PutRbacPoliciesRbacPolicyID) ServeHTTP ¶
func (o *PutRbacPoliciesRbacPolicyID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutRbacPoliciesRbacPolicyIDConflict ¶
type PutRbacPoliciesRbacPolicyIDConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutRbacPoliciesRbacPolicyIDConflict Duplicate RBAC Policy
swagger:response putRbacPoliciesRbacPolicyIdConflict
func NewPutRbacPoliciesRbacPolicyIDConflict ¶
func NewPutRbacPoliciesRbacPolicyIDConflict() *PutRbacPoliciesRbacPolicyIDConflict
NewPutRbacPoliciesRbacPolicyIDConflict creates PutRbacPoliciesRbacPolicyIDConflict with default headers values
func (*PutRbacPoliciesRbacPolicyIDConflict) SetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the put rbac policies rbac policy Id conflict response
func (*PutRbacPoliciesRbacPolicyIDConflict) WithPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDConflict
WithPayload adds the payload to the put rbac policies rbac policy Id conflict response
func (*PutRbacPoliciesRbacPolicyIDConflict) WriteResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRbacPoliciesRbacPolicyIDForbidden ¶
type PutRbacPoliciesRbacPolicyIDForbidden struct { }
PutRbacPoliciesRbacPolicyIDForbidden Forbidden
swagger:response putRbacPoliciesRbacPolicyIdForbidden
func NewPutRbacPoliciesRbacPolicyIDForbidden ¶
func NewPutRbacPoliciesRbacPolicyIDForbidden() *PutRbacPoliciesRbacPolicyIDForbidden
NewPutRbacPoliciesRbacPolicyIDForbidden creates PutRbacPoliciesRbacPolicyIDForbidden with default headers values
func (*PutRbacPoliciesRbacPolicyIDForbidden) WriteResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRbacPoliciesRbacPolicyIDHandler ¶
type PutRbacPoliciesRbacPolicyIDHandler interface {
Handle(PutRbacPoliciesRbacPolicyIDParams, interface{}) middleware.Responder
}
PutRbacPoliciesRbacPolicyIDHandler interface for that can handle valid put rbac policies rbac policy ID params
type PutRbacPoliciesRbacPolicyIDHandlerFunc ¶
type PutRbacPoliciesRbacPolicyIDHandlerFunc func(PutRbacPoliciesRbacPolicyIDParams, interface{}) middleware.Responder
PutRbacPoliciesRbacPolicyIDHandlerFunc turns a function with the right signature into a put rbac policies rbac policy ID handler
func (PutRbacPoliciesRbacPolicyIDHandlerFunc) Handle ¶
func (fn PutRbacPoliciesRbacPolicyIDHandlerFunc) Handle(params PutRbacPoliciesRbacPolicyIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PutRbacPoliciesRbacPolicyIDNotFound ¶
type PutRbacPoliciesRbacPolicyIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutRbacPoliciesRbacPolicyIDNotFound Not Found
swagger:response putRbacPoliciesRbacPolicyIdNotFound
func NewPutRbacPoliciesRbacPolicyIDNotFound ¶
func NewPutRbacPoliciesRbacPolicyIDNotFound() *PutRbacPoliciesRbacPolicyIDNotFound
NewPutRbacPoliciesRbacPolicyIDNotFound creates PutRbacPoliciesRbacPolicyIDNotFound with default headers values
func (*PutRbacPoliciesRbacPolicyIDNotFound) SetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the put rbac policies rbac policy Id not found response
func (*PutRbacPoliciesRbacPolicyIDNotFound) WithPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDNotFound
WithPayload adds the payload to the put rbac policies rbac policy Id not found response
func (*PutRbacPoliciesRbacPolicyIDNotFound) WriteResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRbacPoliciesRbacPolicyIDOK ¶
type PutRbacPoliciesRbacPolicyIDOK struct { /* In: Body */ Payload *models.Rbacpolicy `json:"body,omitempty"` }
PutRbacPoliciesRbacPolicyIDOK RBAC Policy
swagger:response putRbacPoliciesRbacPolicyIdOK
func NewPutRbacPoliciesRbacPolicyIDOK ¶
func NewPutRbacPoliciesRbacPolicyIDOK() *PutRbacPoliciesRbacPolicyIDOK
NewPutRbacPoliciesRbacPolicyIDOK creates PutRbacPoliciesRbacPolicyIDOK with default headers values
func (*PutRbacPoliciesRbacPolicyIDOK) SetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) SetPayload(payload *models.Rbacpolicy)
SetPayload sets the payload to the put rbac policies rbac policy Id o k response
func (*PutRbacPoliciesRbacPolicyIDOK) WithPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) WithPayload(payload *models.Rbacpolicy) *PutRbacPoliciesRbacPolicyIDOK
WithPayload adds the payload to the put rbac policies rbac policy Id o k response
func (*PutRbacPoliciesRbacPolicyIDOK) WriteResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRbacPoliciesRbacPolicyIDParams ¶
type PutRbacPoliciesRbacPolicyIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*RBAC policy resource that needs to be updated Required: true In: body */ Body *models.Rbacpolicycommon /*The UUID of the RBAC policy. Required: true In: path */ RbacPolicyID strfmt.UUID }
PutRbacPoliciesRbacPolicyIDParams contains all the bound params for the put rbac policies rbac policy ID operation typically these are obtained from a http.Request
swagger:parameters PutRbacPoliciesRbacPolicyID
func NewPutRbacPoliciesRbacPolicyIDParams ¶
func NewPutRbacPoliciesRbacPolicyIDParams() PutRbacPoliciesRbacPolicyIDParams
NewPutRbacPoliciesRbacPolicyIDParams creates a new PutRbacPoliciesRbacPolicyIDParams object
There are no default values defined in the spec.
func (*PutRbacPoliciesRbacPolicyIDParams) BindRequest ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) 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 NewPutRbacPoliciesRbacPolicyIDParams() beforehand.
type PutRbacPoliciesRbacPolicyIDURL ¶
type PutRbacPoliciesRbacPolicyIDURL struct { RbacPolicyID strfmt.UUID // contains filtered or unexported fields }
PutRbacPoliciesRbacPolicyIDURL generates an URL for the put rbac policies rbac policy ID operation
func (*PutRbacPoliciesRbacPolicyIDURL) Build ¶
func (o *PutRbacPoliciesRbacPolicyIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutRbacPoliciesRbacPolicyIDURL) BuildFull ¶
func (o *PutRbacPoliciesRbacPolicyIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutRbacPoliciesRbacPolicyIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutRbacPoliciesRbacPolicyIDURL) SetBasePath ¶
func (o *PutRbacPoliciesRbacPolicyIDURL) 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 (*PutRbacPoliciesRbacPolicyIDURL) String ¶
func (o *PutRbacPoliciesRbacPolicyIDURL) String() string
String returns the string representation of the path with query string
func (*PutRbacPoliciesRbacPolicyIDURL) StringFull ¶
func (o *PutRbacPoliciesRbacPolicyIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutRbacPoliciesRbacPolicyIDURL) WithBasePath ¶
func (o *PutRbacPoliciesRbacPolicyIDURL) WithBasePath(bp string) *PutRbacPoliciesRbacPolicyIDURL
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 PutRbacPoliciesRbacPolicyIDUnauthorized ¶
type PutRbacPoliciesRbacPolicyIDUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
PutRbacPoliciesRbacPolicyIDUnauthorized Unauthorized
swagger:response putRbacPoliciesRbacPolicyIdUnauthorized
func NewPutRbacPoliciesRbacPolicyIDUnauthorized ¶
func NewPutRbacPoliciesRbacPolicyIDUnauthorized() *PutRbacPoliciesRbacPolicyIDUnauthorized
NewPutRbacPoliciesRbacPolicyIDUnauthorized creates PutRbacPoliciesRbacPolicyIDUnauthorized with default headers values
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) SetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the put rbac policies rbac policy Id unauthorized response
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) WithPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDUnauthorized
WithPayload adds the payload to the put rbac policies rbac policy Id unauthorized response
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
type PutRbacPoliciesRbacPolicyIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutRbacPoliciesRbacPolicyIDUnprocessableEntity Unprocessable Content
swagger:response putRbacPoliciesRbacPolicyIdUnprocessableEntity
func NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
func NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity() *PutRbacPoliciesRbacPolicyIDUnprocessableEntity
NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity creates PutRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the put rbac policies rbac policy Id unprocessable entity response
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload(payload *models.Error) *PutRbacPoliciesRbacPolicyIDUnprocessableEntity
WithPayload adds the payload to the put rbac policies rbac policy Id unprocessable entity response
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- delete_rbac_policies_rbac_policy_id.go
- delete_rbac_policies_rbac_policy_id_parameters.go
- delete_rbac_policies_rbac_policy_id_responses.go
- delete_rbac_policies_rbac_policy_id_urlbuilder.go
- get_rbac_policies.go
- get_rbac_policies_parameters.go
- get_rbac_policies_rbac_policy_id.go
- get_rbac_policies_rbac_policy_id_parameters.go
- get_rbac_policies_rbac_policy_id_responses.go
- get_rbac_policies_rbac_policy_id_urlbuilder.go
- get_rbac_policies_responses.go
- get_rbac_policies_urlbuilder.go
- post_rbac_policies.go
- post_rbac_policies_parameters.go
- post_rbac_policies_responses.go
- post_rbac_policies_urlbuilder.go
- put_rbac_policies_rbac_policy_id.go
- put_rbac_policies_rbac_policy_id_parameters.go
- put_rbac_policies_rbac_policy_id_responses.go
- put_rbac_policies_rbac_policy_id_urlbuilder.go