rbac

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteRbacPoliciesRbacPolicyIDForbiddenCode int = 403

DeleteRbacPoliciesRbacPolicyIDForbiddenCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDForbidden

View Source
const DeleteRbacPoliciesRbacPolicyIDNoContentCode int = 204

DeleteRbacPoliciesRbacPolicyIDNoContentCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDNoContent

View Source
const DeleteRbacPoliciesRbacPolicyIDNotFoundCode int = 404

DeleteRbacPoliciesRbacPolicyIDNotFoundCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDNotFound

View Source
const DeleteRbacPoliciesRbacPolicyIDUnauthorizedCode int = 401

DeleteRbacPoliciesRbacPolicyIDUnauthorizedCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDUnauthorized

View Source
const DeleteRbacPoliciesRbacPolicyIDUnprocessableEntityCode int = 422

DeleteRbacPoliciesRbacPolicyIDUnprocessableEntityCode is the HTTP code returned for type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity

View Source
const GetRbacPoliciesBadRequestCode int = 400

GetRbacPoliciesBadRequestCode is the HTTP code returned for type GetRbacPoliciesBadRequest

View Source
const GetRbacPoliciesForbiddenCode int = 403

GetRbacPoliciesForbiddenCode is the HTTP code returned for type GetRbacPoliciesForbidden

View Source
const GetRbacPoliciesOKCode int = 200

GetRbacPoliciesOKCode is the HTTP code returned for type GetRbacPoliciesOK

View Source
const GetRbacPoliciesRbacPolicyIDForbiddenCode int = 403

GetRbacPoliciesRbacPolicyIDForbiddenCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDForbidden

View Source
const GetRbacPoliciesRbacPolicyIDNotFoundCode int = 404

GetRbacPoliciesRbacPolicyIDNotFoundCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDNotFound

View Source
const GetRbacPoliciesRbacPolicyIDOKCode int = 200

GetRbacPoliciesRbacPolicyIDOKCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDOK

View Source
const GetRbacPoliciesRbacPolicyIDUnauthorizedCode int = 401

GetRbacPoliciesRbacPolicyIDUnauthorizedCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDUnauthorized

View Source
const GetRbacPoliciesRbacPolicyIDUnprocessableEntityCode int = 422

GetRbacPoliciesRbacPolicyIDUnprocessableEntityCode is the HTTP code returned for type GetRbacPoliciesRbacPolicyIDUnprocessableEntity

View Source
const GetRbacPoliciesUnauthorizedCode int = 401

GetRbacPoliciesUnauthorizedCode is the HTTP code returned for type GetRbacPoliciesUnauthorized

View Source
const GetRbacPoliciesUnprocessableEntityCode int = 422

GetRbacPoliciesUnprocessableEntityCode is the HTTP code returned for type GetRbacPoliciesUnprocessableEntity

View Source
const PostRbacPoliciesConflictCode int = 409

PostRbacPoliciesConflictCode is the HTTP code returned for type PostRbacPoliciesConflict

View Source
const PostRbacPoliciesCreatedCode int = 201

PostRbacPoliciesCreatedCode is the HTTP code returned for type PostRbacPoliciesCreated

View Source
const PostRbacPoliciesForbiddenCode int = 403

PostRbacPoliciesForbiddenCode is the HTTP code returned for type PostRbacPoliciesForbidden

View Source
const PostRbacPoliciesNotFoundCode int = 404

PostRbacPoliciesNotFoundCode is the HTTP code returned for type PostRbacPoliciesNotFound

View Source
const PostRbacPoliciesUnauthorizedCode int = 401

PostRbacPoliciesUnauthorizedCode is the HTTP code returned for type PostRbacPoliciesUnauthorized

View Source
const PostRbacPoliciesUnprocessableEntityCode int = 422

PostRbacPoliciesUnprocessableEntityCode is the HTTP code returned for type PostRbacPoliciesUnprocessableEntity

View Source
const PutRbacPoliciesRbacPolicyIDConflictCode int = 409

PutRbacPoliciesRbacPolicyIDConflictCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDConflict

View Source
const PutRbacPoliciesRbacPolicyIDForbiddenCode int = 403

PutRbacPoliciesRbacPolicyIDForbiddenCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDForbidden

View Source
const PutRbacPoliciesRbacPolicyIDNotFoundCode int = 404

PutRbacPoliciesRbacPolicyIDNotFoundCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDNotFound

View Source
const PutRbacPoliciesRbacPolicyIDOKCode int = 200

PutRbacPoliciesRbacPolicyIDOKCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDOK

View Source
const PutRbacPoliciesRbacPolicyIDUnauthorizedCode int = 401

PutRbacPoliciesRbacPolicyIDUnauthorizedCode is the HTTP code returned for type PutRbacPoliciesRbacPolicyIDUnauthorized

View Source
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

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

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

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

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

WithPayload adds the payload to the delete rbac policies rbac policy Id not found response

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) WriteResponse

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

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

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

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

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 {

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

DeleteRbacPoliciesRbacPolicyIDUnauthorized Unauthorized

swagger:response deleteRbacPoliciesRbacPolicyIdUnauthorized

func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized

func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized() *DeleteRbacPoliciesRbacPolicyIDUnauthorized

NewDeleteRbacPoliciesRbacPolicyIDUnauthorized creates DeleteRbacPoliciesRbacPolicyIDUnauthorized with default headers values

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) SetPayload

SetPayload sets the payload to the delete rbac policies rbac policy Id unauthorized response

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) WithPayload

WithPayload adds the payload to the delete rbac policies rbac policy Id unauthorized response

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse

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

SetPayload sets the payload to the delete rbac policies rbac policy Id unprocessable entity response

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload

WithPayload adds the payload to the delete rbac policies rbac policy Id unprocessable entity response

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse

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

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

func (o *GetRbacPoliciesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetRbacPoliciesOKBody) Validate

func (o *GetRbacPoliciesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get rbac policies o k body

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

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

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

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

WithPayload adds the payload to the get rbac policies rbac policy Id not found response

func (*GetRbacPoliciesRbacPolicyIDNotFound) WriteResponse

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

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

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

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

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

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

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

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 {

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

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

WithPayload adds the payload to the get rbac policies rbac policy Id unauthorized response

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse

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

SetPayload sets the payload to the get rbac policies rbac policy Id unprocessable entity response

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload

WithPayload adds the payload to the get rbac policies rbac policy Id unprocessable entity response

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse

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

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

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

type GetRbacPoliciesUnauthorized struct {

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

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

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

WithPayload adds the payload to the get rbac policies unprocessable entity response

func (*GetRbacPoliciesUnprocessableEntity) WriteResponse

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

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 {

	/*
	  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) WithPayload

WithPayload adds the payload 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

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

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

type PostRbacPoliciesUnauthorized struct {

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

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

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

WithPayload adds the payload to the post rbac policies unprocessable entity response

func (*PostRbacPoliciesUnprocessableEntity) WriteResponse

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

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

WithPayload adds the payload to the put rbac policies rbac policy Id conflict response

func (*PutRbacPoliciesRbacPolicyIDConflict) WriteResponse

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

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

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

WithPayload adds the payload to the put rbac policies rbac policy Id not found response

func (*PutRbacPoliciesRbacPolicyIDNotFound) WriteResponse

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

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

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

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

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

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

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

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 {

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

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

WithPayload adds the payload to the put rbac policies rbac policy Id unauthorized response

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) WriteResponse

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

SetPayload sets the payload to the put rbac policies rbac policy Id unprocessable entity response

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WithPayload

WithPayload adds the payload to the put rbac policies rbac policy Id unprocessable entity response

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL