Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteRbacPoliciesRbacPolicyID(params *DeleteRbacPoliciesRbacPolicyIDParams, ...) (*DeleteRbacPoliciesRbacPolicyIDNoContent, error)
- func (a *Client) GetRbacPolicies(params *GetRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRbacPoliciesOK, error)
- func (a *Client) GetRbacPoliciesRbacPolicyID(params *GetRbacPoliciesRbacPolicyIDParams, ...) (*GetRbacPoliciesRbacPolicyIDOK, error)
- func (a *Client) PostRbacPolicies(params *PostRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostRbacPoliciesCreated, error)
- func (a *Client) PutRbacPoliciesRbacPolicyID(params *PutRbacPoliciesRbacPolicyIDParams, ...) (*PutRbacPoliciesRbacPolicyIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteRbacPoliciesRbacPolicyIDForbidden
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) Code() int
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) Error() string
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsCode(code int) bool
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsRedirect() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsSuccess() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) String() string
- type DeleteRbacPoliciesRbacPolicyIDNoContent
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) Code() int
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) Error() string
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsClientError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsCode(code int) bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsRedirect() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsServerError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsSuccess() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) String() string
- type DeleteRbacPoliciesRbacPolicyIDNotFound
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) Code() int
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) Error() string
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) GetPayload() *models.Error
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsCode(code int) bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsSuccess() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) String() string
- type DeleteRbacPoliciesRbacPolicyIDParams
- func NewDeleteRbacPoliciesRbacPolicyIDParams() *DeleteRbacPoliciesRbacPolicyIDParams
- func NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *DeleteRbacPoliciesRbacPolicyIDParams
- func NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *DeleteRbacPoliciesRbacPolicyIDParams
- func NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *DeleteRbacPoliciesRbacPolicyIDParams
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetContext(ctx context.Context)
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetDefaults()
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithContext(ctx context.Context) *DeleteRbacPoliciesRbacPolicyIDParams
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithDefaults() *DeleteRbacPoliciesRbacPolicyIDParams
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithHTTPClient(client *http.Client) *DeleteRbacPoliciesRbacPolicyIDParams
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID(rbacPolicyID strfmt.UUID) *DeleteRbacPoliciesRbacPolicyIDParams
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithTimeout(timeout time.Duration) *DeleteRbacPoliciesRbacPolicyIDParams
- func (o *DeleteRbacPoliciesRbacPolicyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRbacPoliciesRbacPolicyIDReader
- type DeleteRbacPoliciesRbacPolicyIDUnauthorized
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) Code() int
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) Error() string
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) GetPayload() *models.Error
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsCode(code int) bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) String() string
- type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Code() int
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Error() string
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload() *models.Error
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode(code int) bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess() bool
- func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) String() string
- type GetRbacPoliciesBadRequest
- func (o *GetRbacPoliciesBadRequest) Code() int
- func (o *GetRbacPoliciesBadRequest) Error() string
- func (o *GetRbacPoliciesBadRequest) GetPayload() *models.Error
- func (o *GetRbacPoliciesBadRequest) IsClientError() bool
- func (o *GetRbacPoliciesBadRequest) IsCode(code int) bool
- func (o *GetRbacPoliciesBadRequest) IsRedirect() bool
- func (o *GetRbacPoliciesBadRequest) IsServerError() bool
- func (o *GetRbacPoliciesBadRequest) IsSuccess() bool
- func (o *GetRbacPoliciesBadRequest) String() string
- type GetRbacPoliciesForbidden
- func (o *GetRbacPoliciesForbidden) Code() int
- func (o *GetRbacPoliciesForbidden) Error() string
- func (o *GetRbacPoliciesForbidden) IsClientError() bool
- func (o *GetRbacPoliciesForbidden) IsCode(code int) bool
- func (o *GetRbacPoliciesForbidden) IsRedirect() bool
- func (o *GetRbacPoliciesForbidden) IsServerError() bool
- func (o *GetRbacPoliciesForbidden) IsSuccess() bool
- func (o *GetRbacPoliciesForbidden) String() string
- type GetRbacPoliciesOK
- func (o *GetRbacPoliciesOK) Code() int
- func (o *GetRbacPoliciesOK) Error() string
- func (o *GetRbacPoliciesOK) GetPayload() *GetRbacPoliciesOKBody
- func (o *GetRbacPoliciesOK) IsClientError() bool
- func (o *GetRbacPoliciesOK) IsCode(code int) bool
- func (o *GetRbacPoliciesOK) IsRedirect() bool
- func (o *GetRbacPoliciesOK) IsServerError() bool
- func (o *GetRbacPoliciesOK) IsSuccess() bool
- func (o *GetRbacPoliciesOK) String() string
- type GetRbacPoliciesOKBody
- type GetRbacPoliciesParams
- func NewGetRbacPoliciesParams() *GetRbacPoliciesParams
- func NewGetRbacPoliciesParamsWithContext(ctx context.Context) *GetRbacPoliciesParams
- func NewGetRbacPoliciesParamsWithHTTPClient(client *http.Client) *GetRbacPoliciesParams
- func NewGetRbacPoliciesParamsWithTimeout(timeout time.Duration) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) SetContext(ctx context.Context)
- func (o *GetRbacPoliciesParams) SetDefaults()
- func (o *GetRbacPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetRbacPoliciesParams) SetLimit(limit *int64)
- func (o *GetRbacPoliciesParams) SetMarker(marker *strfmt.UUID)
- func (o *GetRbacPoliciesParams) SetPageReverse(pageReverse *bool)
- func (o *GetRbacPoliciesParams) SetSort(sort *string)
- func (o *GetRbacPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetRbacPoliciesParams) WithContext(ctx context.Context) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithDefaults() *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithHTTPClient(client *http.Client) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithLimit(limit *int64) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithMarker(marker *strfmt.UUID) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithPageReverse(pageReverse *bool) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithSort(sort *string) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WithTimeout(timeout time.Duration) *GetRbacPoliciesParams
- func (o *GetRbacPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRbacPoliciesRbacPolicyIDForbidden
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) Code() int
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) Error() string
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsCode(code int) bool
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsRedirect() bool
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsSuccess() bool
- func (o *GetRbacPoliciesRbacPolicyIDForbidden) String() string
- type GetRbacPoliciesRbacPolicyIDNotFound
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) Code() int
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) Error() string
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) GetPayload() *models.Error
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsCode(code int) bool
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsSuccess() bool
- func (o *GetRbacPoliciesRbacPolicyIDNotFound) String() string
- type GetRbacPoliciesRbacPolicyIDOK
- func (o *GetRbacPoliciesRbacPolicyIDOK) Code() int
- func (o *GetRbacPoliciesRbacPolicyIDOK) Error() string
- func (o *GetRbacPoliciesRbacPolicyIDOK) GetPayload() *models.Rbacpolicy
- func (o *GetRbacPoliciesRbacPolicyIDOK) IsClientError() bool
- func (o *GetRbacPoliciesRbacPolicyIDOK) IsCode(code int) bool
- func (o *GetRbacPoliciesRbacPolicyIDOK) IsRedirect() bool
- func (o *GetRbacPoliciesRbacPolicyIDOK) IsServerError() bool
- func (o *GetRbacPoliciesRbacPolicyIDOK) IsSuccess() bool
- func (o *GetRbacPoliciesRbacPolicyIDOK) String() string
- type GetRbacPoliciesRbacPolicyIDParams
- func NewGetRbacPoliciesRbacPolicyIDParams() *GetRbacPoliciesRbacPolicyIDParams
- func NewGetRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *GetRbacPoliciesRbacPolicyIDParams
- func NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *GetRbacPoliciesRbacPolicyIDParams
- func NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *GetRbacPoliciesRbacPolicyIDParams
- func (o *GetRbacPoliciesRbacPolicyIDParams) SetContext(ctx context.Context)
- func (o *GetRbacPoliciesRbacPolicyIDParams) SetDefaults()
- func (o *GetRbacPoliciesRbacPolicyIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)
- func (o *GetRbacPoliciesRbacPolicyIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRbacPoliciesRbacPolicyIDParams) WithContext(ctx context.Context) *GetRbacPoliciesRbacPolicyIDParams
- func (o *GetRbacPoliciesRbacPolicyIDParams) WithDefaults() *GetRbacPoliciesRbacPolicyIDParams
- func (o *GetRbacPoliciesRbacPolicyIDParams) WithHTTPClient(client *http.Client) *GetRbacPoliciesRbacPolicyIDParams
- func (o *GetRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID(rbacPolicyID strfmt.UUID) *GetRbacPoliciesRbacPolicyIDParams
- func (o *GetRbacPoliciesRbacPolicyIDParams) WithTimeout(timeout time.Duration) *GetRbacPoliciesRbacPolicyIDParams
- func (o *GetRbacPoliciesRbacPolicyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRbacPoliciesRbacPolicyIDReader
- type GetRbacPoliciesRbacPolicyIDUnauthorized
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) Code() int
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) Error() string
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) GetPayload() *models.Error
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsCode(code int) bool
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) String() string
- type GetRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Code() int
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Error() string
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload() *models.Error
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode(code int) bool
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess() bool
- func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) String() string
- type GetRbacPoliciesReader
- type GetRbacPoliciesUnauthorized
- func (o *GetRbacPoliciesUnauthorized) Code() int
- func (o *GetRbacPoliciesUnauthorized) Error() string
- func (o *GetRbacPoliciesUnauthorized) GetPayload() *models.Error
- func (o *GetRbacPoliciesUnauthorized) IsClientError() bool
- func (o *GetRbacPoliciesUnauthorized) IsCode(code int) bool
- func (o *GetRbacPoliciesUnauthorized) IsRedirect() bool
- func (o *GetRbacPoliciesUnauthorized) IsServerError() bool
- func (o *GetRbacPoliciesUnauthorized) IsSuccess() bool
- func (o *GetRbacPoliciesUnauthorized) String() string
- type GetRbacPoliciesUnprocessableEntity
- func (o *GetRbacPoliciesUnprocessableEntity) Code() int
- func (o *GetRbacPoliciesUnprocessableEntity) Error() string
- func (o *GetRbacPoliciesUnprocessableEntity) GetPayload() *models.Error
- func (o *GetRbacPoliciesUnprocessableEntity) IsClientError() bool
- func (o *GetRbacPoliciesUnprocessableEntity) IsCode(code int) bool
- func (o *GetRbacPoliciesUnprocessableEntity) IsRedirect() bool
- func (o *GetRbacPoliciesUnprocessableEntity) IsServerError() bool
- func (o *GetRbacPoliciesUnprocessableEntity) IsSuccess() bool
- func (o *GetRbacPoliciesUnprocessableEntity) String() string
- type PostRbacPoliciesConflict
- func (o *PostRbacPoliciesConflict) Code() int
- func (o *PostRbacPoliciesConflict) Error() string
- func (o *PostRbacPoliciesConflict) GetPayload() *models.Error
- func (o *PostRbacPoliciesConflict) IsClientError() bool
- func (o *PostRbacPoliciesConflict) IsCode(code int) bool
- func (o *PostRbacPoliciesConflict) IsRedirect() bool
- func (o *PostRbacPoliciesConflict) IsServerError() bool
- func (o *PostRbacPoliciesConflict) IsSuccess() bool
- func (o *PostRbacPoliciesConflict) String() string
- type PostRbacPoliciesCreated
- func (o *PostRbacPoliciesCreated) Code() int
- func (o *PostRbacPoliciesCreated) Error() string
- func (o *PostRbacPoliciesCreated) GetPayload() *models.Rbacpolicy
- func (o *PostRbacPoliciesCreated) IsClientError() bool
- func (o *PostRbacPoliciesCreated) IsCode(code int) bool
- func (o *PostRbacPoliciesCreated) IsRedirect() bool
- func (o *PostRbacPoliciesCreated) IsServerError() bool
- func (o *PostRbacPoliciesCreated) IsSuccess() bool
- func (o *PostRbacPoliciesCreated) String() string
- type PostRbacPoliciesForbidden
- func (o *PostRbacPoliciesForbidden) Code() int
- func (o *PostRbacPoliciesForbidden) Error() string
- func (o *PostRbacPoliciesForbidden) IsClientError() bool
- func (o *PostRbacPoliciesForbidden) IsCode(code int) bool
- func (o *PostRbacPoliciesForbidden) IsRedirect() bool
- func (o *PostRbacPoliciesForbidden) IsServerError() bool
- func (o *PostRbacPoliciesForbidden) IsSuccess() bool
- func (o *PostRbacPoliciesForbidden) String() string
- type PostRbacPoliciesNotFound
- func (o *PostRbacPoliciesNotFound) Code() int
- func (o *PostRbacPoliciesNotFound) Error() string
- func (o *PostRbacPoliciesNotFound) IsClientError() bool
- func (o *PostRbacPoliciesNotFound) IsCode(code int) bool
- func (o *PostRbacPoliciesNotFound) IsRedirect() bool
- func (o *PostRbacPoliciesNotFound) IsServerError() bool
- func (o *PostRbacPoliciesNotFound) IsSuccess() bool
- func (o *PostRbacPoliciesNotFound) String() string
- type PostRbacPoliciesParams
- func NewPostRbacPoliciesParams() *PostRbacPoliciesParams
- func NewPostRbacPoliciesParamsWithContext(ctx context.Context) *PostRbacPoliciesParams
- func NewPostRbacPoliciesParamsWithHTTPClient(client *http.Client) *PostRbacPoliciesParams
- func NewPostRbacPoliciesParamsWithTimeout(timeout time.Duration) *PostRbacPoliciesParams
- func (o *PostRbacPoliciesParams) SetBody(body *models.Rbacpolicy)
- func (o *PostRbacPoliciesParams) SetContext(ctx context.Context)
- func (o *PostRbacPoliciesParams) SetDefaults()
- func (o *PostRbacPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *PostRbacPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *PostRbacPoliciesParams) WithBody(body *models.Rbacpolicy) *PostRbacPoliciesParams
- func (o *PostRbacPoliciesParams) WithContext(ctx context.Context) *PostRbacPoliciesParams
- func (o *PostRbacPoliciesParams) WithDefaults() *PostRbacPoliciesParams
- func (o *PostRbacPoliciesParams) WithHTTPClient(client *http.Client) *PostRbacPoliciesParams
- func (o *PostRbacPoliciesParams) WithTimeout(timeout time.Duration) *PostRbacPoliciesParams
- func (o *PostRbacPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRbacPoliciesReader
- type PostRbacPoliciesUnauthorized
- func (o *PostRbacPoliciesUnauthorized) Code() int
- func (o *PostRbacPoliciesUnauthorized) Error() string
- func (o *PostRbacPoliciesUnauthorized) GetPayload() *models.Error
- func (o *PostRbacPoliciesUnauthorized) IsClientError() bool
- func (o *PostRbacPoliciesUnauthorized) IsCode(code int) bool
- func (o *PostRbacPoliciesUnauthorized) IsRedirect() bool
- func (o *PostRbacPoliciesUnauthorized) IsServerError() bool
- func (o *PostRbacPoliciesUnauthorized) IsSuccess() bool
- func (o *PostRbacPoliciesUnauthorized) String() string
- type PostRbacPoliciesUnprocessableEntity
- func (o *PostRbacPoliciesUnprocessableEntity) Code() int
- func (o *PostRbacPoliciesUnprocessableEntity) Error() string
- func (o *PostRbacPoliciesUnprocessableEntity) GetPayload() *models.Error
- func (o *PostRbacPoliciesUnprocessableEntity) IsClientError() bool
- func (o *PostRbacPoliciesUnprocessableEntity) IsCode(code int) bool
- func (o *PostRbacPoliciesUnprocessableEntity) IsRedirect() bool
- func (o *PostRbacPoliciesUnprocessableEntity) IsServerError() bool
- func (o *PostRbacPoliciesUnprocessableEntity) IsSuccess() bool
- func (o *PostRbacPoliciesUnprocessableEntity) String() string
- type PutRbacPoliciesRbacPolicyIDConflict
- func (o *PutRbacPoliciesRbacPolicyIDConflict) Code() int
- func (o *PutRbacPoliciesRbacPolicyIDConflict) Error() string
- func (o *PutRbacPoliciesRbacPolicyIDConflict) GetPayload() *models.Error
- func (o *PutRbacPoliciesRbacPolicyIDConflict) IsClientError() bool
- func (o *PutRbacPoliciesRbacPolicyIDConflict) IsCode(code int) bool
- func (o *PutRbacPoliciesRbacPolicyIDConflict) IsRedirect() bool
- func (o *PutRbacPoliciesRbacPolicyIDConflict) IsServerError() bool
- func (o *PutRbacPoliciesRbacPolicyIDConflict) IsSuccess() bool
- func (o *PutRbacPoliciesRbacPolicyIDConflict) String() string
- type PutRbacPoliciesRbacPolicyIDForbidden
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) Code() int
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) Error() string
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsCode(code int) bool
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsRedirect() bool
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsSuccess() bool
- func (o *PutRbacPoliciesRbacPolicyIDForbidden) String() string
- type PutRbacPoliciesRbacPolicyIDNotFound
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) Code() int
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) Error() string
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) GetPayload() *models.Error
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsCode(code int) bool
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsSuccess() bool
- func (o *PutRbacPoliciesRbacPolicyIDNotFound) String() string
- type PutRbacPoliciesRbacPolicyIDOK
- func (o *PutRbacPoliciesRbacPolicyIDOK) Code() int
- func (o *PutRbacPoliciesRbacPolicyIDOK) Error() string
- func (o *PutRbacPoliciesRbacPolicyIDOK) GetPayload() *models.Rbacpolicy
- func (o *PutRbacPoliciesRbacPolicyIDOK) IsClientError() bool
- func (o *PutRbacPoliciesRbacPolicyIDOK) IsCode(code int) bool
- func (o *PutRbacPoliciesRbacPolicyIDOK) IsRedirect() bool
- func (o *PutRbacPoliciesRbacPolicyIDOK) IsServerError() bool
- func (o *PutRbacPoliciesRbacPolicyIDOK) IsSuccess() bool
- func (o *PutRbacPoliciesRbacPolicyIDOK) String() string
- type PutRbacPoliciesRbacPolicyIDParams
- func NewPutRbacPoliciesRbacPolicyIDParams() *PutRbacPoliciesRbacPolicyIDParams
- func NewPutRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *PutRbacPoliciesRbacPolicyIDParams
- func NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *PutRbacPoliciesRbacPolicyIDParams
- func NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) SetBody(body *models.Rbacpolicycommon)
- func (o *PutRbacPoliciesRbacPolicyIDParams) SetContext(ctx context.Context)
- func (o *PutRbacPoliciesRbacPolicyIDParams) SetDefaults()
- func (o *PutRbacPoliciesRbacPolicyIDParams) SetHTTPClient(client *http.Client)
- func (o *PutRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)
- func (o *PutRbacPoliciesRbacPolicyIDParams) SetTimeout(timeout time.Duration)
- func (o *PutRbacPoliciesRbacPolicyIDParams) WithBody(body *models.Rbacpolicycommon) *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) WithContext(ctx context.Context) *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) WithDefaults() *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) WithHTTPClient(client *http.Client) *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID(rbacPolicyID strfmt.UUID) *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) WithTimeout(timeout time.Duration) *PutRbacPoliciesRbacPolicyIDParams
- func (o *PutRbacPoliciesRbacPolicyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutRbacPoliciesRbacPolicyIDReader
- type PutRbacPoliciesRbacPolicyIDUnauthorized
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) Code() int
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) Error() string
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) GetPayload() *models.Error
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsCode(code int) bool
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) String() string
- type PutRbacPoliciesRbacPolicyIDUnprocessableEntity
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Code() int
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Error() string
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload() *models.Error
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode(code int) bool
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess() bool
- func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for rbac API
func (*Client) DeleteRbacPoliciesRbacPolicyID ¶
func (a *Client) DeleteRbacPoliciesRbacPolicyID(params *DeleteRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRbacPoliciesRbacPolicyIDNoContent, error)
DeleteRbacPoliciesRbacPolicyID deletes r b a c policy
func (*Client) GetRbacPolicies ¶
func (a *Client) GetRbacPolicies(params *GetRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesOK, error)
GetRbacPolicies lists r b a c policies
func (*Client) GetRbacPoliciesRbacPolicyID ¶
func (a *Client) GetRbacPoliciesRbacPolicyID(params *GetRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesRbacPolicyIDOK, error)
GetRbacPoliciesRbacPolicyID shows details of an r b a c policy
func (*Client) PostRbacPolicies ¶
func (a *Client) PostRbacPolicies(params *PostRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRbacPoliciesCreated, error)
PostRbacPolicies creates r b a c policy
func (*Client) PutRbacPoliciesRbacPolicyID ¶
func (a *Client) PutRbacPoliciesRbacPolicyID(params *PutRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutRbacPoliciesRbacPolicyIDOK, error)
PutRbacPoliciesRbacPolicyID updates an existing r b a c policy
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteRbacPoliciesRbacPolicyID(params *DeleteRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRbacPoliciesRbacPolicyIDNoContent, error) GetRbacPolicies(params *GetRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesOK, error) GetRbacPoliciesRbacPolicyID(params *GetRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesRbacPolicyIDOK, error) PostRbacPolicies(params *PostRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRbacPoliciesCreated, error) PutRbacPoliciesRbacPolicyID(params *PutRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutRbacPoliciesRbacPolicyIDOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new rbac API client.
type DeleteRbacPoliciesRbacPolicyIDForbidden ¶
type DeleteRbacPoliciesRbacPolicyIDForbidden struct { }
DeleteRbacPoliciesRbacPolicyIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteRbacPoliciesRbacPolicyIDForbidden ¶
func NewDeleteRbacPoliciesRbacPolicyIDForbidden() *DeleteRbacPoliciesRbacPolicyIDForbidden
NewDeleteRbacPoliciesRbacPolicyIDForbidden creates a DeleteRbacPoliciesRbacPolicyIDForbidden with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) Code ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) Code() int
Code gets the status code for the delete rbac policies rbac policy Id forbidden response
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) Error ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) Error() string
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsClientError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool
IsClientError returns true when this delete rbac policies rbac policy Id forbidden response has a 4xx status code
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsCode ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsCode(code int) bool
IsCode returns true when this delete rbac policies rbac policy Id forbidden response a status code equal to that given
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsRedirect ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsRedirect() bool
IsRedirect returns true when this delete rbac policies rbac policy Id forbidden response has a 3xx status code
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsServerError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool
IsServerError returns true when this delete rbac policies rbac policy Id forbidden response has a 5xx status code
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsSuccess ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsSuccess() bool
IsSuccess returns true when this delete rbac policies rbac policy Id forbidden response has a 2xx status code
func (*DeleteRbacPoliciesRbacPolicyIDForbidden) String ¶
func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) String() string
type DeleteRbacPoliciesRbacPolicyIDNoContent ¶
type DeleteRbacPoliciesRbacPolicyIDNoContent struct { }
DeleteRbacPoliciesRbacPolicyIDNoContent describes a response with status code 204, with default header values.
RBAC policy successfully deleted.
func NewDeleteRbacPoliciesRbacPolicyIDNoContent ¶
func NewDeleteRbacPoliciesRbacPolicyIDNoContent() *DeleteRbacPoliciesRbacPolicyIDNoContent
NewDeleteRbacPoliciesRbacPolicyIDNoContent creates a DeleteRbacPoliciesRbacPolicyIDNoContent with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) Code ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) Code() int
Code gets the status code for the delete rbac policies rbac policy Id no content response
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) Error ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) Error() string
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsClientError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsClientError() bool
IsClientError returns true when this delete rbac policies rbac policy Id no content response has a 4xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsCode ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsCode(code int) bool
IsCode returns true when this delete rbac policies rbac policy Id no content response a status code equal to that given
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsRedirect ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete rbac policies rbac policy Id no content response has a 3xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsServerError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsServerError() bool
IsServerError returns true when this delete rbac policies rbac policy Id no content response has a 5xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsSuccess ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete rbac policies rbac policy Id no content response has a 2xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNoContent) String ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) String() string
type DeleteRbacPoliciesRbacPolicyIDNotFound ¶
DeleteRbacPoliciesRbacPolicyIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteRbacPoliciesRbacPolicyIDNotFound ¶
func NewDeleteRbacPoliciesRbacPolicyIDNotFound() *DeleteRbacPoliciesRbacPolicyIDNotFound
NewDeleteRbacPoliciesRbacPolicyIDNotFound creates a DeleteRbacPoliciesRbacPolicyIDNotFound with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) Code ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) Code() int
Code gets the status code for the delete rbac policies rbac policy Id not found response
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) Error ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) Error() string
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) GetPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) GetPayload() *models.Error
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsClientError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool
IsClientError returns true when this delete rbac policies rbac policy Id not found response has a 4xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsCode ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsCode(code int) bool
IsCode returns true when this delete rbac policies rbac policy Id not found response a status code equal to that given
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsRedirect ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete rbac policies rbac policy Id not found response has a 3xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsServerError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool
IsServerError returns true when this delete rbac policies rbac policy Id not found response has a 5xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsSuccess ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete rbac policies rbac policy Id not found response has a 2xx status code
func (*DeleteRbacPoliciesRbacPolicyIDNotFound) String ¶
func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) String() string
type DeleteRbacPoliciesRbacPolicyIDParams ¶
type DeleteRbacPoliciesRbacPolicyIDParams struct { /* RbacPolicyID. The UUID of the RBAC policy. Format: uuid */ RbacPolicyID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRbacPoliciesRbacPolicyIDParams contains all the parameters to send to the API endpoint
for the delete rbac policies rbac policy ID operation. Typically these are written to a http.Request.
func NewDeleteRbacPoliciesRbacPolicyIDParams ¶
func NewDeleteRbacPoliciesRbacPolicyIDParams() *DeleteRbacPoliciesRbacPolicyIDParams
NewDeleteRbacPoliciesRbacPolicyIDParams creates a new DeleteRbacPoliciesRbacPolicyIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext ¶
func NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *DeleteRbacPoliciesRbacPolicyIDParams
NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext creates a new DeleteRbacPoliciesRbacPolicyIDParams object with the ability to set a context for a request.
func NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient ¶
func NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *DeleteRbacPoliciesRbacPolicyIDParams
NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient creates a new DeleteRbacPoliciesRbacPolicyIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout ¶
func NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *DeleteRbacPoliciesRbacPolicyIDParams
NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout creates a new DeleteRbacPoliciesRbacPolicyIDParams object with the ability to set a timeout on a request.
func (*DeleteRbacPoliciesRbacPolicyIDParams) SetContext ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) SetDefaults ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetDefaults()
SetDefaults hydrates default values in the delete rbac policies rbac policy ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRbacPoliciesRbacPolicyIDParams) SetHTTPClient ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)
SetRbacPolicyID adds the rbacPolicyId to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) SetTimeout ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) WithContext ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithContext(ctx context.Context) *DeleteRbacPoliciesRbacPolicyIDParams
WithContext adds the context to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) WithDefaults ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithDefaults() *DeleteRbacPoliciesRbacPolicyIDParams
WithDefaults hydrates default values in the delete rbac policies rbac policy ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRbacPoliciesRbacPolicyIDParams) WithHTTPClient ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithHTTPClient(client *http.Client) *DeleteRbacPoliciesRbacPolicyIDParams
WithHTTPClient adds the HTTPClient to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID(rbacPolicyID strfmt.UUID) *DeleteRbacPoliciesRbacPolicyIDParams
WithRbacPolicyID adds the rbacPolicyID to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) WithTimeout ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) WithTimeout(timeout time.Duration) *DeleteRbacPoliciesRbacPolicyIDParams
WithTimeout adds the timeout to the delete rbac policies rbac policy ID params
func (*DeleteRbacPoliciesRbacPolicyIDParams) WriteToRequest ¶
func (o *DeleteRbacPoliciesRbacPolicyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRbacPoliciesRbacPolicyIDReader ¶
type DeleteRbacPoliciesRbacPolicyIDReader struct {
// contains filtered or unexported fields
}
DeleteRbacPoliciesRbacPolicyIDReader is a Reader for the DeleteRbacPoliciesRbacPolicyID structure.
func (*DeleteRbacPoliciesRbacPolicyIDReader) ReadResponse ¶
func (o *DeleteRbacPoliciesRbacPolicyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRbacPoliciesRbacPolicyIDUnauthorized ¶
type DeleteRbacPoliciesRbacPolicyIDUnauthorized struct {
}DeleteRbacPoliciesRbacPolicyIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized ¶
func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized() *DeleteRbacPoliciesRbacPolicyIDUnauthorized
NewDeleteRbacPoliciesRbacPolicyIDUnauthorized creates a DeleteRbacPoliciesRbacPolicyIDUnauthorized with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) Code ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) Code() int
Code gets the status code for the delete rbac policies rbac policy Id unauthorized response
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) Error ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) Error() string
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) GetPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) GetPayload() *models.Error
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsClientError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete rbac policies rbac policy Id unauthorized response has a 4xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsCode ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete rbac policies rbac policy Id unauthorized response a status code equal to that given
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete rbac policies rbac policy Id unauthorized response has a 3xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsServerError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete rbac policies rbac policy Id unauthorized response has a 5xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete rbac policies rbac policy Id unauthorized response has a 2xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) String ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnauthorized) String() string
type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
func NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity() *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity
NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity creates a DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Code ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Code() int
Code gets the status code for the delete rbac policies rbac policy Id unprocessable entity response
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Error ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Error() string
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload() *models.Error
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError() bool
IsClientError returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 4xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this delete rbac policies rbac policy Id unprocessable entity response a status code equal to that given
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 3xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError() bool
IsServerError returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 5xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 2xx status code
func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) String ¶
func (o *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) String() string
type GetRbacPoliciesBadRequest ¶
GetRbacPoliciesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetRbacPoliciesBadRequest ¶
func NewGetRbacPoliciesBadRequest() *GetRbacPoliciesBadRequest
NewGetRbacPoliciesBadRequest creates a GetRbacPoliciesBadRequest with default headers values
func (*GetRbacPoliciesBadRequest) Code ¶
func (o *GetRbacPoliciesBadRequest) Code() int
Code gets the status code for the get rbac policies bad request response
func (*GetRbacPoliciesBadRequest) Error ¶
func (o *GetRbacPoliciesBadRequest) Error() string
func (*GetRbacPoliciesBadRequest) GetPayload ¶
func (o *GetRbacPoliciesBadRequest) GetPayload() *models.Error
func (*GetRbacPoliciesBadRequest) IsClientError ¶
func (o *GetRbacPoliciesBadRequest) IsClientError() bool
IsClientError returns true when this get rbac policies bad request response has a 4xx status code
func (*GetRbacPoliciesBadRequest) IsCode ¶
func (o *GetRbacPoliciesBadRequest) IsCode(code int) bool
IsCode returns true when this get rbac policies bad request response a status code equal to that given
func (*GetRbacPoliciesBadRequest) IsRedirect ¶
func (o *GetRbacPoliciesBadRequest) IsRedirect() bool
IsRedirect returns true when this get rbac policies bad request response has a 3xx status code
func (*GetRbacPoliciesBadRequest) IsServerError ¶
func (o *GetRbacPoliciesBadRequest) IsServerError() bool
IsServerError returns true when this get rbac policies bad request response has a 5xx status code
func (*GetRbacPoliciesBadRequest) IsSuccess ¶
func (o *GetRbacPoliciesBadRequest) IsSuccess() bool
IsSuccess returns true when this get rbac policies bad request response has a 2xx status code
func (*GetRbacPoliciesBadRequest) String ¶
func (o *GetRbacPoliciesBadRequest) String() string
type GetRbacPoliciesForbidden ¶
type GetRbacPoliciesForbidden struct { }
GetRbacPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRbacPoliciesForbidden ¶
func NewGetRbacPoliciesForbidden() *GetRbacPoliciesForbidden
NewGetRbacPoliciesForbidden creates a GetRbacPoliciesForbidden with default headers values
func (*GetRbacPoliciesForbidden) Code ¶
func (o *GetRbacPoliciesForbidden) Code() int
Code gets the status code for the get rbac policies forbidden response
func (*GetRbacPoliciesForbidden) Error ¶
func (o *GetRbacPoliciesForbidden) Error() string
func (*GetRbacPoliciesForbidden) IsClientError ¶
func (o *GetRbacPoliciesForbidden) IsClientError() bool
IsClientError returns true when this get rbac policies forbidden response has a 4xx status code
func (*GetRbacPoliciesForbidden) IsCode ¶
func (o *GetRbacPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this get rbac policies forbidden response a status code equal to that given
func (*GetRbacPoliciesForbidden) IsRedirect ¶
func (o *GetRbacPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this get rbac policies forbidden response has a 3xx status code
func (*GetRbacPoliciesForbidden) IsServerError ¶
func (o *GetRbacPoliciesForbidden) IsServerError() bool
IsServerError returns true when this get rbac policies forbidden response has a 5xx status code
func (*GetRbacPoliciesForbidden) IsSuccess ¶
func (o *GetRbacPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this get rbac policies forbidden response has a 2xx status code
func (*GetRbacPoliciesForbidden) String ¶
func (o *GetRbacPoliciesForbidden) String() string
type GetRbacPoliciesOK ¶
type GetRbacPoliciesOK struct {
Payload *GetRbacPoliciesOKBody
}
GetRbacPoliciesOK describes a response with status code 200, with default header values.
A JSON array of rbac policies
func NewGetRbacPoliciesOK ¶
func NewGetRbacPoliciesOK() *GetRbacPoliciesOK
NewGetRbacPoliciesOK creates a GetRbacPoliciesOK with default headers values
func (*GetRbacPoliciesOK) Code ¶
func (o *GetRbacPoliciesOK) Code() int
Code gets the status code for the get rbac policies o k response
func (*GetRbacPoliciesOK) Error ¶
func (o *GetRbacPoliciesOK) Error() string
func (*GetRbacPoliciesOK) GetPayload ¶
func (o *GetRbacPoliciesOK) GetPayload() *GetRbacPoliciesOKBody
func (*GetRbacPoliciesOK) IsClientError ¶
func (o *GetRbacPoliciesOK) IsClientError() bool
IsClientError returns true when this get rbac policies o k response has a 4xx status code
func (*GetRbacPoliciesOK) IsCode ¶
func (o *GetRbacPoliciesOK) IsCode(code int) bool
IsCode returns true when this get rbac policies o k response a status code equal to that given
func (*GetRbacPoliciesOK) IsRedirect ¶
func (o *GetRbacPoliciesOK) IsRedirect() bool
IsRedirect returns true when this get rbac policies o k response has a 3xx status code
func (*GetRbacPoliciesOK) IsServerError ¶
func (o *GetRbacPoliciesOK) IsServerError() bool
IsServerError returns true when this get rbac policies o k response has a 5xx status code
func (*GetRbacPoliciesOK) IsSuccess ¶
func (o *GetRbacPoliciesOK) IsSuccess() bool
IsSuccess returns true when this get rbac policies o k response has a 2xx status code
func (*GetRbacPoliciesOK) String ¶
func (o *GetRbacPoliciesOK) String() string
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 { /* Limit. Sets the page size. */ Limit *int64 /* Marker. Pagination ID of the last item in the previous list. Format: uuid */ Marker *strfmt.UUID /* PageReverse. Sets the page direction. */ PageReverse *bool /* Sort. Comma-separated list of sort keys, optionally prefix with - to reverse sort order. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRbacPoliciesParams contains all the parameters to send to the API endpoint
for the get rbac policies operation. Typically these are written to a http.Request.
func NewGetRbacPoliciesParams ¶
func NewGetRbacPoliciesParams() *GetRbacPoliciesParams
NewGetRbacPoliciesParams creates a new GetRbacPoliciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRbacPoliciesParamsWithContext ¶
func NewGetRbacPoliciesParamsWithContext(ctx context.Context) *GetRbacPoliciesParams
NewGetRbacPoliciesParamsWithContext creates a new GetRbacPoliciesParams object with the ability to set a context for a request.
func NewGetRbacPoliciesParamsWithHTTPClient ¶
func NewGetRbacPoliciesParamsWithHTTPClient(client *http.Client) *GetRbacPoliciesParams
NewGetRbacPoliciesParamsWithHTTPClient creates a new GetRbacPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetRbacPoliciesParamsWithTimeout ¶
func NewGetRbacPoliciesParamsWithTimeout(timeout time.Duration) *GetRbacPoliciesParams
NewGetRbacPoliciesParamsWithTimeout creates a new GetRbacPoliciesParams object with the ability to set a timeout on a request.
func (*GetRbacPoliciesParams) SetContext ¶
func (o *GetRbacPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get rbac policies params
func (*GetRbacPoliciesParams) SetDefaults ¶
func (o *GetRbacPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get rbac policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetRbacPoliciesParams) SetHTTPClient ¶
func (o *GetRbacPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rbac policies params
func (*GetRbacPoliciesParams) SetLimit ¶
func (o *GetRbacPoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get rbac policies params
func (*GetRbacPoliciesParams) SetMarker ¶
func (o *GetRbacPoliciesParams) SetMarker(marker *strfmt.UUID)
SetMarker adds the marker to the get rbac policies params
func (*GetRbacPoliciesParams) SetPageReverse ¶
func (o *GetRbacPoliciesParams) SetPageReverse(pageReverse *bool)
SetPageReverse adds the pageReverse to the get rbac policies params
func (*GetRbacPoliciesParams) SetSort ¶
func (o *GetRbacPoliciesParams) SetSort(sort *string)
SetSort adds the sort to the get rbac policies params
func (*GetRbacPoliciesParams) SetTimeout ¶
func (o *GetRbacPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rbac policies params
func (*GetRbacPoliciesParams) WithContext ¶
func (o *GetRbacPoliciesParams) WithContext(ctx context.Context) *GetRbacPoliciesParams
WithContext adds the context to the get rbac policies params
func (*GetRbacPoliciesParams) WithDefaults ¶
func (o *GetRbacPoliciesParams) WithDefaults() *GetRbacPoliciesParams
WithDefaults hydrates default values in the get rbac policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetRbacPoliciesParams) WithHTTPClient ¶
func (o *GetRbacPoliciesParams) WithHTTPClient(client *http.Client) *GetRbacPoliciesParams
WithHTTPClient adds the HTTPClient to the get rbac policies params
func (*GetRbacPoliciesParams) WithLimit ¶
func (o *GetRbacPoliciesParams) WithLimit(limit *int64) *GetRbacPoliciesParams
WithLimit adds the limit to the get rbac policies params
func (*GetRbacPoliciesParams) WithMarker ¶
func (o *GetRbacPoliciesParams) WithMarker(marker *strfmt.UUID) *GetRbacPoliciesParams
WithMarker adds the marker to the get rbac policies params
func (*GetRbacPoliciesParams) WithPageReverse ¶
func (o *GetRbacPoliciesParams) WithPageReverse(pageReverse *bool) *GetRbacPoliciesParams
WithPageReverse adds the pageReverse to the get rbac policies params
func (*GetRbacPoliciesParams) WithSort ¶
func (o *GetRbacPoliciesParams) WithSort(sort *string) *GetRbacPoliciesParams
WithSort adds the sort to the get rbac policies params
func (*GetRbacPoliciesParams) WithTimeout ¶
func (o *GetRbacPoliciesParams) WithTimeout(timeout time.Duration) *GetRbacPoliciesParams
WithTimeout adds the timeout to the get rbac policies params
func (*GetRbacPoliciesParams) WriteToRequest ¶
func (o *GetRbacPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRbacPoliciesRbacPolicyIDForbidden ¶
type GetRbacPoliciesRbacPolicyIDForbidden struct { }
GetRbacPoliciesRbacPolicyIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRbacPoliciesRbacPolicyIDForbidden ¶
func NewGetRbacPoliciesRbacPolicyIDForbidden() *GetRbacPoliciesRbacPolicyIDForbidden
NewGetRbacPoliciesRbacPolicyIDForbidden creates a GetRbacPoliciesRbacPolicyIDForbidden with default headers values
func (*GetRbacPoliciesRbacPolicyIDForbidden) Code ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) Code() int
Code gets the status code for the get rbac policies rbac policy Id forbidden response
func (*GetRbacPoliciesRbacPolicyIDForbidden) Error ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) Error() string
func (*GetRbacPoliciesRbacPolicyIDForbidden) IsClientError ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool
IsClientError returns true when this get rbac policies rbac policy Id forbidden response has a 4xx status code
func (*GetRbacPoliciesRbacPolicyIDForbidden) IsCode ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsCode(code int) bool
IsCode returns true when this get rbac policies rbac policy Id forbidden response a status code equal to that given
func (*GetRbacPoliciesRbacPolicyIDForbidden) IsRedirect ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsRedirect() bool
IsRedirect returns true when this get rbac policies rbac policy Id forbidden response has a 3xx status code
func (*GetRbacPoliciesRbacPolicyIDForbidden) IsServerError ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool
IsServerError returns true when this get rbac policies rbac policy Id forbidden response has a 5xx status code
func (*GetRbacPoliciesRbacPolicyIDForbidden) IsSuccess ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsSuccess() bool
IsSuccess returns true when this get rbac policies rbac policy Id forbidden response has a 2xx status code
func (*GetRbacPoliciesRbacPolicyIDForbidden) String ¶
func (o *GetRbacPoliciesRbacPolicyIDForbidden) String() string
type GetRbacPoliciesRbacPolicyIDNotFound ¶
GetRbacPoliciesRbacPolicyIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetRbacPoliciesRbacPolicyIDNotFound ¶
func NewGetRbacPoliciesRbacPolicyIDNotFound() *GetRbacPoliciesRbacPolicyIDNotFound
NewGetRbacPoliciesRbacPolicyIDNotFound creates a GetRbacPoliciesRbacPolicyIDNotFound with default headers values
func (*GetRbacPoliciesRbacPolicyIDNotFound) Code ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) Code() int
Code gets the status code for the get rbac policies rbac policy Id not found response
func (*GetRbacPoliciesRbacPolicyIDNotFound) Error ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) Error() string
func (*GetRbacPoliciesRbacPolicyIDNotFound) GetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) GetPayload() *models.Error
func (*GetRbacPoliciesRbacPolicyIDNotFound) IsClientError ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool
IsClientError returns true when this get rbac policies rbac policy Id not found response has a 4xx status code
func (*GetRbacPoliciesRbacPolicyIDNotFound) IsCode ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsCode(code int) bool
IsCode returns true when this get rbac policies rbac policy Id not found response a status code equal to that given
func (*GetRbacPoliciesRbacPolicyIDNotFound) IsRedirect ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool
IsRedirect returns true when this get rbac policies rbac policy Id not found response has a 3xx status code
func (*GetRbacPoliciesRbacPolicyIDNotFound) IsServerError ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool
IsServerError returns true when this get rbac policies rbac policy Id not found response has a 5xx status code
func (*GetRbacPoliciesRbacPolicyIDNotFound) IsSuccess ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsSuccess() bool
IsSuccess returns true when this get rbac policies rbac policy Id not found response has a 2xx status code
func (*GetRbacPoliciesRbacPolicyIDNotFound) String ¶
func (o *GetRbacPoliciesRbacPolicyIDNotFound) String() string
type GetRbacPoliciesRbacPolicyIDOK ¶
type GetRbacPoliciesRbacPolicyIDOK struct {
Payload *models.Rbacpolicy
}
GetRbacPoliciesRbacPolicyIDOK describes a response with status code 200, with default header values.
RBAC Policy
func NewGetRbacPoliciesRbacPolicyIDOK ¶
func NewGetRbacPoliciesRbacPolicyIDOK() *GetRbacPoliciesRbacPolicyIDOK
NewGetRbacPoliciesRbacPolicyIDOK creates a GetRbacPoliciesRbacPolicyIDOK with default headers values
func (*GetRbacPoliciesRbacPolicyIDOK) Code ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) Code() int
Code gets the status code for the get rbac policies rbac policy Id o k response
func (*GetRbacPoliciesRbacPolicyIDOK) Error ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) Error() string
func (*GetRbacPoliciesRbacPolicyIDOK) GetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) GetPayload() *models.Rbacpolicy
func (*GetRbacPoliciesRbacPolicyIDOK) IsClientError ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) IsClientError() bool
IsClientError returns true when this get rbac policies rbac policy Id o k response has a 4xx status code
func (*GetRbacPoliciesRbacPolicyIDOK) IsCode ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) IsCode(code int) bool
IsCode returns true when this get rbac policies rbac policy Id o k response a status code equal to that given
func (*GetRbacPoliciesRbacPolicyIDOK) IsRedirect ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) IsRedirect() bool
IsRedirect returns true when this get rbac policies rbac policy Id o k response has a 3xx status code
func (*GetRbacPoliciesRbacPolicyIDOK) IsServerError ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) IsServerError() bool
IsServerError returns true when this get rbac policies rbac policy Id o k response has a 5xx status code
func (*GetRbacPoliciesRbacPolicyIDOK) IsSuccess ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) IsSuccess() bool
IsSuccess returns true when this get rbac policies rbac policy Id o k response has a 2xx status code
func (*GetRbacPoliciesRbacPolicyIDOK) String ¶
func (o *GetRbacPoliciesRbacPolicyIDOK) String() string
type GetRbacPoliciesRbacPolicyIDParams ¶
type GetRbacPoliciesRbacPolicyIDParams struct { /* RbacPolicyID. The UUID of the RBAC policy. Format: uuid */ RbacPolicyID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRbacPoliciesRbacPolicyIDParams contains all the parameters to send to the API endpoint
for the get rbac policies rbac policy ID operation. Typically these are written to a http.Request.
func NewGetRbacPoliciesRbacPolicyIDParams ¶
func NewGetRbacPoliciesRbacPolicyIDParams() *GetRbacPoliciesRbacPolicyIDParams
NewGetRbacPoliciesRbacPolicyIDParams creates a new GetRbacPoliciesRbacPolicyIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRbacPoliciesRbacPolicyIDParamsWithContext ¶
func NewGetRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *GetRbacPoliciesRbacPolicyIDParams
NewGetRbacPoliciesRbacPolicyIDParamsWithContext creates a new GetRbacPoliciesRbacPolicyIDParams object with the ability to set a context for a request.
func NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient ¶
func NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *GetRbacPoliciesRbacPolicyIDParams
NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient creates a new GetRbacPoliciesRbacPolicyIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout ¶
func NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *GetRbacPoliciesRbacPolicyIDParams
NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout creates a new GetRbacPoliciesRbacPolicyIDParams object with the ability to set a timeout on a request.
func (*GetRbacPoliciesRbacPolicyIDParams) SetContext ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) SetDefaults ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) SetDefaults()
SetDefaults hydrates default values in the get rbac policies rbac policy ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetRbacPoliciesRbacPolicyIDParams) SetHTTPClient ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)
SetRbacPolicyID adds the rbacPolicyId to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) SetTimeout ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) WithContext ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) WithContext(ctx context.Context) *GetRbacPoliciesRbacPolicyIDParams
WithContext adds the context to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) WithDefaults ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) WithDefaults() *GetRbacPoliciesRbacPolicyIDParams
WithDefaults hydrates default values in the get rbac policies rbac policy ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetRbacPoliciesRbacPolicyIDParams) WithHTTPClient ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) WithHTTPClient(client *http.Client) *GetRbacPoliciesRbacPolicyIDParams
WithHTTPClient adds the HTTPClient to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID(rbacPolicyID strfmt.UUID) *GetRbacPoliciesRbacPolicyIDParams
WithRbacPolicyID adds the rbacPolicyID to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) WithTimeout ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) WithTimeout(timeout time.Duration) *GetRbacPoliciesRbacPolicyIDParams
WithTimeout adds the timeout to the get rbac policies rbac policy ID params
func (*GetRbacPoliciesRbacPolicyIDParams) WriteToRequest ¶
func (o *GetRbacPoliciesRbacPolicyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRbacPoliciesRbacPolicyIDReader ¶
type GetRbacPoliciesRbacPolicyIDReader struct {
// contains filtered or unexported fields
}
GetRbacPoliciesRbacPolicyIDReader is a Reader for the GetRbacPoliciesRbacPolicyID structure.
func (*GetRbacPoliciesRbacPolicyIDReader) ReadResponse ¶
func (o *GetRbacPoliciesRbacPolicyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRbacPoliciesRbacPolicyIDUnauthorized ¶
type GetRbacPoliciesRbacPolicyIDUnauthorized struct {
}GetRbacPoliciesRbacPolicyIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRbacPoliciesRbacPolicyIDUnauthorized ¶
func NewGetRbacPoliciesRbacPolicyIDUnauthorized() *GetRbacPoliciesRbacPolicyIDUnauthorized
NewGetRbacPoliciesRbacPolicyIDUnauthorized creates a GetRbacPoliciesRbacPolicyIDUnauthorized with default headers values
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) Code ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) Code() int
Code gets the status code for the get rbac policies rbac policy Id unauthorized response
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) Error ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) Error() string
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) GetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) GetPayload() *models.Error
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsClientError ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool
IsClientError returns true when this get rbac policies rbac policy Id unauthorized response has a 4xx status code
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsCode ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get rbac policies rbac policy Id unauthorized response a status code equal to that given
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get rbac policies rbac policy Id unauthorized response has a 3xx status code
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsServerError ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool
IsServerError returns true when this get rbac policies rbac policy Id unauthorized response has a 5xx status code
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get rbac policies rbac policy Id unauthorized response has a 2xx status code
func (*GetRbacPoliciesRbacPolicyIDUnauthorized) String ¶
func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) String() string
type GetRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
GetRbacPoliciesRbacPolicyIDUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
func NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity() *GetRbacPoliciesRbacPolicyIDUnprocessableEntity
NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity creates a GetRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Code ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Code() int
Code gets the status code for the get rbac policies rbac policy Id unprocessable entity response
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Error ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Error() string
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload() *models.Error
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get rbac policies rbac policy Id unprocessable entity response has a 4xx status code
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get rbac policies rbac policy Id unprocessable entity response a status code equal to that given
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get rbac policies rbac policy Id unprocessable entity response has a 3xx status code
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get rbac policies rbac policy Id unprocessable entity response has a 5xx status code
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get rbac policies rbac policy Id unprocessable entity response has a 2xx status code
func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) String ¶
func (o *GetRbacPoliciesRbacPolicyIDUnprocessableEntity) String() string
type GetRbacPoliciesReader ¶
type GetRbacPoliciesReader struct {
// contains filtered or unexported fields
}
GetRbacPoliciesReader is a Reader for the GetRbacPolicies structure.
func (*GetRbacPoliciesReader) ReadResponse ¶
func (o *GetRbacPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRbacPoliciesUnauthorized ¶
type GetRbacPoliciesUnauthorized struct {
}GetRbacPoliciesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRbacPoliciesUnauthorized ¶
func NewGetRbacPoliciesUnauthorized() *GetRbacPoliciesUnauthorized
NewGetRbacPoliciesUnauthorized creates a GetRbacPoliciesUnauthorized with default headers values
func (*GetRbacPoliciesUnauthorized) Code ¶
func (o *GetRbacPoliciesUnauthorized) Code() int
Code gets the status code for the get rbac policies unauthorized response
func (*GetRbacPoliciesUnauthorized) Error ¶
func (o *GetRbacPoliciesUnauthorized) Error() string
func (*GetRbacPoliciesUnauthorized) GetPayload ¶
func (o *GetRbacPoliciesUnauthorized) GetPayload() *models.Error
func (*GetRbacPoliciesUnauthorized) IsClientError ¶
func (o *GetRbacPoliciesUnauthorized) IsClientError() bool
IsClientError returns true when this get rbac policies unauthorized response has a 4xx status code
func (*GetRbacPoliciesUnauthorized) IsCode ¶
func (o *GetRbacPoliciesUnauthorized) IsCode(code int) bool
IsCode returns true when this get rbac policies unauthorized response a status code equal to that given
func (*GetRbacPoliciesUnauthorized) IsRedirect ¶
func (o *GetRbacPoliciesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get rbac policies unauthorized response has a 3xx status code
func (*GetRbacPoliciesUnauthorized) IsServerError ¶
func (o *GetRbacPoliciesUnauthorized) IsServerError() bool
IsServerError returns true when this get rbac policies unauthorized response has a 5xx status code
func (*GetRbacPoliciesUnauthorized) IsSuccess ¶
func (o *GetRbacPoliciesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get rbac policies unauthorized response has a 2xx status code
func (*GetRbacPoliciesUnauthorized) String ¶
func (o *GetRbacPoliciesUnauthorized) String() string
type GetRbacPoliciesUnprocessableEntity ¶
GetRbacPoliciesUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewGetRbacPoliciesUnprocessableEntity ¶
func NewGetRbacPoliciesUnprocessableEntity() *GetRbacPoliciesUnprocessableEntity
NewGetRbacPoliciesUnprocessableEntity creates a GetRbacPoliciesUnprocessableEntity with default headers values
func (*GetRbacPoliciesUnprocessableEntity) Code ¶
func (o *GetRbacPoliciesUnprocessableEntity) Code() int
Code gets the status code for the get rbac policies unprocessable entity response
func (*GetRbacPoliciesUnprocessableEntity) Error ¶
func (o *GetRbacPoliciesUnprocessableEntity) Error() string
func (*GetRbacPoliciesUnprocessableEntity) GetPayload ¶
func (o *GetRbacPoliciesUnprocessableEntity) GetPayload() *models.Error
func (*GetRbacPoliciesUnprocessableEntity) IsClientError ¶
func (o *GetRbacPoliciesUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get rbac policies unprocessable entity response has a 4xx status code
func (*GetRbacPoliciesUnprocessableEntity) IsCode ¶
func (o *GetRbacPoliciesUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get rbac policies unprocessable entity response a status code equal to that given
func (*GetRbacPoliciesUnprocessableEntity) IsRedirect ¶
func (o *GetRbacPoliciesUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get rbac policies unprocessable entity response has a 3xx status code
func (*GetRbacPoliciesUnprocessableEntity) IsServerError ¶
func (o *GetRbacPoliciesUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get rbac policies unprocessable entity response has a 5xx status code
func (*GetRbacPoliciesUnprocessableEntity) IsSuccess ¶
func (o *GetRbacPoliciesUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get rbac policies unprocessable entity response has a 2xx status code
func (*GetRbacPoliciesUnprocessableEntity) String ¶
func (o *GetRbacPoliciesUnprocessableEntity) String() string
type PostRbacPoliciesConflict ¶
PostRbacPoliciesConflict describes a response with status code 409, with default header values.
Duplicate RBAC Policy
func NewPostRbacPoliciesConflict ¶
func NewPostRbacPoliciesConflict() *PostRbacPoliciesConflict
NewPostRbacPoliciesConflict creates a PostRbacPoliciesConflict with default headers values
func (*PostRbacPoliciesConflict) Code ¶
func (o *PostRbacPoliciesConflict) Code() int
Code gets the status code for the post rbac policies conflict response
func (*PostRbacPoliciesConflict) Error ¶
func (o *PostRbacPoliciesConflict) Error() string
func (*PostRbacPoliciesConflict) GetPayload ¶
func (o *PostRbacPoliciesConflict) GetPayload() *models.Error
func (*PostRbacPoliciesConflict) IsClientError ¶
func (o *PostRbacPoliciesConflict) IsClientError() bool
IsClientError returns true when this post rbac policies conflict response has a 4xx status code
func (*PostRbacPoliciesConflict) IsCode ¶
func (o *PostRbacPoliciesConflict) IsCode(code int) bool
IsCode returns true when this post rbac policies conflict response a status code equal to that given
func (*PostRbacPoliciesConflict) IsRedirect ¶
func (o *PostRbacPoliciesConflict) IsRedirect() bool
IsRedirect returns true when this post rbac policies conflict response has a 3xx status code
func (*PostRbacPoliciesConflict) IsServerError ¶
func (o *PostRbacPoliciesConflict) IsServerError() bool
IsServerError returns true when this post rbac policies conflict response has a 5xx status code
func (*PostRbacPoliciesConflict) IsSuccess ¶
func (o *PostRbacPoliciesConflict) IsSuccess() bool
IsSuccess returns true when this post rbac policies conflict response has a 2xx status code
func (*PostRbacPoliciesConflict) String ¶
func (o *PostRbacPoliciesConflict) String() string
type PostRbacPoliciesCreated ¶
type PostRbacPoliciesCreated struct { /* The UUID of the created resource Format: uuid */ XTargetID strfmt.UUID Payload *models.Rbacpolicy }
PostRbacPoliciesCreated describes a response with status code 201, with default header values.
RBAC policy
func NewPostRbacPoliciesCreated ¶
func NewPostRbacPoliciesCreated() *PostRbacPoliciesCreated
NewPostRbacPoliciesCreated creates a PostRbacPoliciesCreated with default headers values
func (*PostRbacPoliciesCreated) Code ¶
func (o *PostRbacPoliciesCreated) Code() int
Code gets the status code for the post rbac policies created response
func (*PostRbacPoliciesCreated) Error ¶
func (o *PostRbacPoliciesCreated) Error() string
func (*PostRbacPoliciesCreated) GetPayload ¶
func (o *PostRbacPoliciesCreated) GetPayload() *models.Rbacpolicy
func (*PostRbacPoliciesCreated) IsClientError ¶
func (o *PostRbacPoliciesCreated) IsClientError() bool
IsClientError returns true when this post rbac policies created response has a 4xx status code
func (*PostRbacPoliciesCreated) IsCode ¶
func (o *PostRbacPoliciesCreated) IsCode(code int) bool
IsCode returns true when this post rbac policies created response a status code equal to that given
func (*PostRbacPoliciesCreated) IsRedirect ¶
func (o *PostRbacPoliciesCreated) IsRedirect() bool
IsRedirect returns true when this post rbac policies created response has a 3xx status code
func (*PostRbacPoliciesCreated) IsServerError ¶
func (o *PostRbacPoliciesCreated) IsServerError() bool
IsServerError returns true when this post rbac policies created response has a 5xx status code
func (*PostRbacPoliciesCreated) IsSuccess ¶
func (o *PostRbacPoliciesCreated) IsSuccess() bool
IsSuccess returns true when this post rbac policies created response has a 2xx status code
func (*PostRbacPoliciesCreated) String ¶
func (o *PostRbacPoliciesCreated) String() string
type PostRbacPoliciesForbidden ¶
type PostRbacPoliciesForbidden struct { }
PostRbacPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostRbacPoliciesForbidden ¶
func NewPostRbacPoliciesForbidden() *PostRbacPoliciesForbidden
NewPostRbacPoliciesForbidden creates a PostRbacPoliciesForbidden with default headers values
func (*PostRbacPoliciesForbidden) Code ¶
func (o *PostRbacPoliciesForbidden) Code() int
Code gets the status code for the post rbac policies forbidden response
func (*PostRbacPoliciesForbidden) Error ¶
func (o *PostRbacPoliciesForbidden) Error() string
func (*PostRbacPoliciesForbidden) IsClientError ¶
func (o *PostRbacPoliciesForbidden) IsClientError() bool
IsClientError returns true when this post rbac policies forbidden response has a 4xx status code
func (*PostRbacPoliciesForbidden) IsCode ¶
func (o *PostRbacPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this post rbac policies forbidden response a status code equal to that given
func (*PostRbacPoliciesForbidden) IsRedirect ¶
func (o *PostRbacPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this post rbac policies forbidden response has a 3xx status code
func (*PostRbacPoliciesForbidden) IsServerError ¶
func (o *PostRbacPoliciesForbidden) IsServerError() bool
IsServerError returns true when this post rbac policies forbidden response has a 5xx status code
func (*PostRbacPoliciesForbidden) IsSuccess ¶
func (o *PostRbacPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this post rbac policies forbidden response has a 2xx status code
func (*PostRbacPoliciesForbidden) String ¶
func (o *PostRbacPoliciesForbidden) String() string
type PostRbacPoliciesNotFound ¶
type PostRbacPoliciesNotFound struct { }
PostRbacPoliciesNotFound describes a response with status code 404, with default header values.
service_id not found
func NewPostRbacPoliciesNotFound ¶
func NewPostRbacPoliciesNotFound() *PostRbacPoliciesNotFound
NewPostRbacPoliciesNotFound creates a PostRbacPoliciesNotFound with default headers values
func (*PostRbacPoliciesNotFound) Code ¶
func (o *PostRbacPoliciesNotFound) Code() int
Code gets the status code for the post rbac policies not found response
func (*PostRbacPoliciesNotFound) Error ¶
func (o *PostRbacPoliciesNotFound) Error() string
func (*PostRbacPoliciesNotFound) IsClientError ¶
func (o *PostRbacPoliciesNotFound) IsClientError() bool
IsClientError returns true when this post rbac policies not found response has a 4xx status code
func (*PostRbacPoliciesNotFound) IsCode ¶
func (o *PostRbacPoliciesNotFound) IsCode(code int) bool
IsCode returns true when this post rbac policies not found response a status code equal to that given
func (*PostRbacPoliciesNotFound) IsRedirect ¶
func (o *PostRbacPoliciesNotFound) IsRedirect() bool
IsRedirect returns true when this post rbac policies not found response has a 3xx status code
func (*PostRbacPoliciesNotFound) IsServerError ¶
func (o *PostRbacPoliciesNotFound) IsServerError() bool
IsServerError returns true when this post rbac policies not found response has a 5xx status code
func (*PostRbacPoliciesNotFound) IsSuccess ¶
func (o *PostRbacPoliciesNotFound) IsSuccess() bool
IsSuccess returns true when this post rbac policies not found response has a 2xx status code
func (*PostRbacPoliciesNotFound) String ¶
func (o *PostRbacPoliciesNotFound) String() string
type PostRbacPoliciesParams ¶
type PostRbacPoliciesParams struct { /* Body. RBAC Policy */ Body *models.Rbacpolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRbacPoliciesParams contains all the parameters to send to the API endpoint
for the post rbac policies operation. Typically these are written to a http.Request.
func NewPostRbacPoliciesParams ¶
func NewPostRbacPoliciesParams() *PostRbacPoliciesParams
NewPostRbacPoliciesParams creates a new PostRbacPoliciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostRbacPoliciesParamsWithContext ¶
func NewPostRbacPoliciesParamsWithContext(ctx context.Context) *PostRbacPoliciesParams
NewPostRbacPoliciesParamsWithContext creates a new PostRbacPoliciesParams object with the ability to set a context for a request.
func NewPostRbacPoliciesParamsWithHTTPClient ¶
func NewPostRbacPoliciesParamsWithHTTPClient(client *http.Client) *PostRbacPoliciesParams
NewPostRbacPoliciesParamsWithHTTPClient creates a new PostRbacPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewPostRbacPoliciesParamsWithTimeout ¶
func NewPostRbacPoliciesParamsWithTimeout(timeout time.Duration) *PostRbacPoliciesParams
NewPostRbacPoliciesParamsWithTimeout creates a new PostRbacPoliciesParams object with the ability to set a timeout on a request.
func (*PostRbacPoliciesParams) SetBody ¶
func (o *PostRbacPoliciesParams) SetBody(body *models.Rbacpolicy)
SetBody adds the body to the post rbac policies params
func (*PostRbacPoliciesParams) SetContext ¶
func (o *PostRbacPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the post rbac policies params
func (*PostRbacPoliciesParams) SetDefaults ¶
func (o *PostRbacPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the post rbac policies params (not the query body).
All values with no default are reset to their zero value.
func (*PostRbacPoliciesParams) SetHTTPClient ¶
func (o *PostRbacPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post rbac policies params
func (*PostRbacPoliciesParams) SetTimeout ¶
func (o *PostRbacPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post rbac policies params
func (*PostRbacPoliciesParams) WithBody ¶
func (o *PostRbacPoliciesParams) WithBody(body *models.Rbacpolicy) *PostRbacPoliciesParams
WithBody adds the body to the post rbac policies params
func (*PostRbacPoliciesParams) WithContext ¶
func (o *PostRbacPoliciesParams) WithContext(ctx context.Context) *PostRbacPoliciesParams
WithContext adds the context to the post rbac policies params
func (*PostRbacPoliciesParams) WithDefaults ¶
func (o *PostRbacPoliciesParams) WithDefaults() *PostRbacPoliciesParams
WithDefaults hydrates default values in the post rbac policies params (not the query body).
All values with no default are reset to their zero value.
func (*PostRbacPoliciesParams) WithHTTPClient ¶
func (o *PostRbacPoliciesParams) WithHTTPClient(client *http.Client) *PostRbacPoliciesParams
WithHTTPClient adds the HTTPClient to the post rbac policies params
func (*PostRbacPoliciesParams) WithTimeout ¶
func (o *PostRbacPoliciesParams) WithTimeout(timeout time.Duration) *PostRbacPoliciesParams
WithTimeout adds the timeout to the post rbac policies params
func (*PostRbacPoliciesParams) WriteToRequest ¶
func (o *PostRbacPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRbacPoliciesReader ¶
type PostRbacPoliciesReader struct {
// contains filtered or unexported fields
}
PostRbacPoliciesReader is a Reader for the PostRbacPolicies structure.
func (*PostRbacPoliciesReader) ReadResponse ¶
func (o *PostRbacPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRbacPoliciesUnauthorized ¶
type PostRbacPoliciesUnauthorized struct {
}PostRbacPoliciesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostRbacPoliciesUnauthorized ¶
func NewPostRbacPoliciesUnauthorized() *PostRbacPoliciesUnauthorized
NewPostRbacPoliciesUnauthorized creates a PostRbacPoliciesUnauthorized with default headers values
func (*PostRbacPoliciesUnauthorized) Code ¶
func (o *PostRbacPoliciesUnauthorized) Code() int
Code gets the status code for the post rbac policies unauthorized response
func (*PostRbacPoliciesUnauthorized) Error ¶
func (o *PostRbacPoliciesUnauthorized) Error() string
func (*PostRbacPoliciesUnauthorized) GetPayload ¶
func (o *PostRbacPoliciesUnauthorized) GetPayload() *models.Error
func (*PostRbacPoliciesUnauthorized) IsClientError ¶
func (o *PostRbacPoliciesUnauthorized) IsClientError() bool
IsClientError returns true when this post rbac policies unauthorized response has a 4xx status code
func (*PostRbacPoliciesUnauthorized) IsCode ¶
func (o *PostRbacPoliciesUnauthorized) IsCode(code int) bool
IsCode returns true when this post rbac policies unauthorized response a status code equal to that given
func (*PostRbacPoliciesUnauthorized) IsRedirect ¶
func (o *PostRbacPoliciesUnauthorized) IsRedirect() bool
IsRedirect returns true when this post rbac policies unauthorized response has a 3xx status code
func (*PostRbacPoliciesUnauthorized) IsServerError ¶
func (o *PostRbacPoliciesUnauthorized) IsServerError() bool
IsServerError returns true when this post rbac policies unauthorized response has a 5xx status code
func (*PostRbacPoliciesUnauthorized) IsSuccess ¶
func (o *PostRbacPoliciesUnauthorized) IsSuccess() bool
IsSuccess returns true when this post rbac policies unauthorized response has a 2xx status code
func (*PostRbacPoliciesUnauthorized) String ¶
func (o *PostRbacPoliciesUnauthorized) String() string
type PostRbacPoliciesUnprocessableEntity ¶
PostRbacPoliciesUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewPostRbacPoliciesUnprocessableEntity ¶
func NewPostRbacPoliciesUnprocessableEntity() *PostRbacPoliciesUnprocessableEntity
NewPostRbacPoliciesUnprocessableEntity creates a PostRbacPoliciesUnprocessableEntity with default headers values
func (*PostRbacPoliciesUnprocessableEntity) Code ¶
func (o *PostRbacPoliciesUnprocessableEntity) Code() int
Code gets the status code for the post rbac policies unprocessable entity response
func (*PostRbacPoliciesUnprocessableEntity) Error ¶
func (o *PostRbacPoliciesUnprocessableEntity) Error() string
func (*PostRbacPoliciesUnprocessableEntity) GetPayload ¶
func (o *PostRbacPoliciesUnprocessableEntity) GetPayload() *models.Error
func (*PostRbacPoliciesUnprocessableEntity) IsClientError ¶
func (o *PostRbacPoliciesUnprocessableEntity) IsClientError() bool
IsClientError returns true when this post rbac policies unprocessable entity response has a 4xx status code
func (*PostRbacPoliciesUnprocessableEntity) IsCode ¶
func (o *PostRbacPoliciesUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this post rbac policies unprocessable entity response a status code equal to that given
func (*PostRbacPoliciesUnprocessableEntity) IsRedirect ¶
func (o *PostRbacPoliciesUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this post rbac policies unprocessable entity response has a 3xx status code
func (*PostRbacPoliciesUnprocessableEntity) IsServerError ¶
func (o *PostRbacPoliciesUnprocessableEntity) IsServerError() bool
IsServerError returns true when this post rbac policies unprocessable entity response has a 5xx status code
func (*PostRbacPoliciesUnprocessableEntity) IsSuccess ¶
func (o *PostRbacPoliciesUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this post rbac policies unprocessable entity response has a 2xx status code
func (*PostRbacPoliciesUnprocessableEntity) String ¶
func (o *PostRbacPoliciesUnprocessableEntity) String() string
type PutRbacPoliciesRbacPolicyIDConflict ¶
PutRbacPoliciesRbacPolicyIDConflict describes a response with status code 409, with default header values.
Duplicate RBAC Policy
func NewPutRbacPoliciesRbacPolicyIDConflict ¶
func NewPutRbacPoliciesRbacPolicyIDConflict() *PutRbacPoliciesRbacPolicyIDConflict
NewPutRbacPoliciesRbacPolicyIDConflict creates a PutRbacPoliciesRbacPolicyIDConflict with default headers values
func (*PutRbacPoliciesRbacPolicyIDConflict) Code ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) Code() int
Code gets the status code for the put rbac policies rbac policy Id conflict response
func (*PutRbacPoliciesRbacPolicyIDConflict) Error ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) Error() string
func (*PutRbacPoliciesRbacPolicyIDConflict) GetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) GetPayload() *models.Error
func (*PutRbacPoliciesRbacPolicyIDConflict) IsClientError ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) IsClientError() bool
IsClientError returns true when this put rbac policies rbac policy Id conflict response has a 4xx status code
func (*PutRbacPoliciesRbacPolicyIDConflict) IsCode ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) IsCode(code int) bool
IsCode returns true when this put rbac policies rbac policy Id conflict response a status code equal to that given
func (*PutRbacPoliciesRbacPolicyIDConflict) IsRedirect ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) IsRedirect() bool
IsRedirect returns true when this put rbac policies rbac policy Id conflict response has a 3xx status code
func (*PutRbacPoliciesRbacPolicyIDConflict) IsServerError ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) IsServerError() bool
IsServerError returns true when this put rbac policies rbac policy Id conflict response has a 5xx status code
func (*PutRbacPoliciesRbacPolicyIDConflict) IsSuccess ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) IsSuccess() bool
IsSuccess returns true when this put rbac policies rbac policy Id conflict response has a 2xx status code
func (*PutRbacPoliciesRbacPolicyIDConflict) String ¶
func (o *PutRbacPoliciesRbacPolicyIDConflict) String() string
type PutRbacPoliciesRbacPolicyIDForbidden ¶
type PutRbacPoliciesRbacPolicyIDForbidden struct { }
PutRbacPoliciesRbacPolicyIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPutRbacPoliciesRbacPolicyIDForbidden ¶
func NewPutRbacPoliciesRbacPolicyIDForbidden() *PutRbacPoliciesRbacPolicyIDForbidden
NewPutRbacPoliciesRbacPolicyIDForbidden creates a PutRbacPoliciesRbacPolicyIDForbidden with default headers values
func (*PutRbacPoliciesRbacPolicyIDForbidden) Code ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) Code() int
Code gets the status code for the put rbac policies rbac policy Id forbidden response
func (*PutRbacPoliciesRbacPolicyIDForbidden) Error ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) Error() string
func (*PutRbacPoliciesRbacPolicyIDForbidden) IsClientError ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool
IsClientError returns true when this put rbac policies rbac policy Id forbidden response has a 4xx status code
func (*PutRbacPoliciesRbacPolicyIDForbidden) IsCode ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsCode(code int) bool
IsCode returns true when this put rbac policies rbac policy Id forbidden response a status code equal to that given
func (*PutRbacPoliciesRbacPolicyIDForbidden) IsRedirect ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsRedirect() bool
IsRedirect returns true when this put rbac policies rbac policy Id forbidden response has a 3xx status code
func (*PutRbacPoliciesRbacPolicyIDForbidden) IsServerError ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool
IsServerError returns true when this put rbac policies rbac policy Id forbidden response has a 5xx status code
func (*PutRbacPoliciesRbacPolicyIDForbidden) IsSuccess ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsSuccess() bool
IsSuccess returns true when this put rbac policies rbac policy Id forbidden response has a 2xx status code
func (*PutRbacPoliciesRbacPolicyIDForbidden) String ¶
func (o *PutRbacPoliciesRbacPolicyIDForbidden) String() string
type PutRbacPoliciesRbacPolicyIDNotFound ¶
PutRbacPoliciesRbacPolicyIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutRbacPoliciesRbacPolicyIDNotFound ¶
func NewPutRbacPoliciesRbacPolicyIDNotFound() *PutRbacPoliciesRbacPolicyIDNotFound
NewPutRbacPoliciesRbacPolicyIDNotFound creates a PutRbacPoliciesRbacPolicyIDNotFound with default headers values
func (*PutRbacPoliciesRbacPolicyIDNotFound) Code ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) Code() int
Code gets the status code for the put rbac policies rbac policy Id not found response
func (*PutRbacPoliciesRbacPolicyIDNotFound) Error ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) Error() string
func (*PutRbacPoliciesRbacPolicyIDNotFound) GetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) GetPayload() *models.Error
func (*PutRbacPoliciesRbacPolicyIDNotFound) IsClientError ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool
IsClientError returns true when this put rbac policies rbac policy Id not found response has a 4xx status code
func (*PutRbacPoliciesRbacPolicyIDNotFound) IsCode ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsCode(code int) bool
IsCode returns true when this put rbac policies rbac policy Id not found response a status code equal to that given
func (*PutRbacPoliciesRbacPolicyIDNotFound) IsRedirect ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool
IsRedirect returns true when this put rbac policies rbac policy Id not found response has a 3xx status code
func (*PutRbacPoliciesRbacPolicyIDNotFound) IsServerError ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool
IsServerError returns true when this put rbac policies rbac policy Id not found response has a 5xx status code
func (*PutRbacPoliciesRbacPolicyIDNotFound) IsSuccess ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsSuccess() bool
IsSuccess returns true when this put rbac policies rbac policy Id not found response has a 2xx status code
func (*PutRbacPoliciesRbacPolicyIDNotFound) String ¶
func (o *PutRbacPoliciesRbacPolicyIDNotFound) String() string
type PutRbacPoliciesRbacPolicyIDOK ¶
type PutRbacPoliciesRbacPolicyIDOK struct {
Payload *models.Rbacpolicy
}
PutRbacPoliciesRbacPolicyIDOK describes a response with status code 200, with default header values.
RBAC Policy
func NewPutRbacPoliciesRbacPolicyIDOK ¶
func NewPutRbacPoliciesRbacPolicyIDOK() *PutRbacPoliciesRbacPolicyIDOK
NewPutRbacPoliciesRbacPolicyIDOK creates a PutRbacPoliciesRbacPolicyIDOK with default headers values
func (*PutRbacPoliciesRbacPolicyIDOK) Code ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) Code() int
Code gets the status code for the put rbac policies rbac policy Id o k response
func (*PutRbacPoliciesRbacPolicyIDOK) Error ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) Error() string
func (*PutRbacPoliciesRbacPolicyIDOK) GetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) GetPayload() *models.Rbacpolicy
func (*PutRbacPoliciesRbacPolicyIDOK) IsClientError ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) IsClientError() bool
IsClientError returns true when this put rbac policies rbac policy Id o k response has a 4xx status code
func (*PutRbacPoliciesRbacPolicyIDOK) IsCode ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) IsCode(code int) bool
IsCode returns true when this put rbac policies rbac policy Id o k response a status code equal to that given
func (*PutRbacPoliciesRbacPolicyIDOK) IsRedirect ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) IsRedirect() bool
IsRedirect returns true when this put rbac policies rbac policy Id o k response has a 3xx status code
func (*PutRbacPoliciesRbacPolicyIDOK) IsServerError ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) IsServerError() bool
IsServerError returns true when this put rbac policies rbac policy Id o k response has a 5xx status code
func (*PutRbacPoliciesRbacPolicyIDOK) IsSuccess ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) IsSuccess() bool
IsSuccess returns true when this put rbac policies rbac policy Id o k response has a 2xx status code
func (*PutRbacPoliciesRbacPolicyIDOK) String ¶
func (o *PutRbacPoliciesRbacPolicyIDOK) String() string
type PutRbacPoliciesRbacPolicyIDParams ¶
type PutRbacPoliciesRbacPolicyIDParams struct { /* Body. RBAC policy resource that needs to be updated */ Body *models.Rbacpolicycommon /* RbacPolicyID. The UUID of the RBAC policy. Format: uuid */ RbacPolicyID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutRbacPoliciesRbacPolicyIDParams contains all the parameters to send to the API endpoint
for the put rbac policies rbac policy ID operation. Typically these are written to a http.Request.
func NewPutRbacPoliciesRbacPolicyIDParams ¶
func NewPutRbacPoliciesRbacPolicyIDParams() *PutRbacPoliciesRbacPolicyIDParams
NewPutRbacPoliciesRbacPolicyIDParams creates a new PutRbacPoliciesRbacPolicyIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutRbacPoliciesRbacPolicyIDParamsWithContext ¶
func NewPutRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *PutRbacPoliciesRbacPolicyIDParams
NewPutRbacPoliciesRbacPolicyIDParamsWithContext creates a new PutRbacPoliciesRbacPolicyIDParams object with the ability to set a context for a request.
func NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient ¶
func NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *PutRbacPoliciesRbacPolicyIDParams
NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient creates a new PutRbacPoliciesRbacPolicyIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout ¶
func NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *PutRbacPoliciesRbacPolicyIDParams
NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout creates a new PutRbacPoliciesRbacPolicyIDParams object with the ability to set a timeout on a request.
func (*PutRbacPoliciesRbacPolicyIDParams) SetBody ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) SetBody(body *models.Rbacpolicycommon)
SetBody adds the body to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) SetContext ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) SetDefaults ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) SetDefaults()
SetDefaults hydrates default values in the put rbac policies rbac policy ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutRbacPoliciesRbacPolicyIDParams) SetHTTPClient ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)
SetRbacPolicyID adds the rbacPolicyId to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) SetTimeout ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) WithBody ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WithBody(body *models.Rbacpolicycommon) *PutRbacPoliciesRbacPolicyIDParams
WithBody adds the body to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) WithContext ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WithContext(ctx context.Context) *PutRbacPoliciesRbacPolicyIDParams
WithContext adds the context to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) WithDefaults ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WithDefaults() *PutRbacPoliciesRbacPolicyIDParams
WithDefaults hydrates default values in the put rbac policies rbac policy ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutRbacPoliciesRbacPolicyIDParams) WithHTTPClient ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WithHTTPClient(client *http.Client) *PutRbacPoliciesRbacPolicyIDParams
WithHTTPClient adds the HTTPClient to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID(rbacPolicyID strfmt.UUID) *PutRbacPoliciesRbacPolicyIDParams
WithRbacPolicyID adds the rbacPolicyID to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) WithTimeout ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WithTimeout(timeout time.Duration) *PutRbacPoliciesRbacPolicyIDParams
WithTimeout adds the timeout to the put rbac policies rbac policy ID params
func (*PutRbacPoliciesRbacPolicyIDParams) WriteToRequest ¶
func (o *PutRbacPoliciesRbacPolicyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutRbacPoliciesRbacPolicyIDReader ¶
type PutRbacPoliciesRbacPolicyIDReader struct {
// contains filtered or unexported fields
}
PutRbacPoliciesRbacPolicyIDReader is a Reader for the PutRbacPoliciesRbacPolicyID structure.
func (*PutRbacPoliciesRbacPolicyIDReader) ReadResponse ¶
func (o *PutRbacPoliciesRbacPolicyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutRbacPoliciesRbacPolicyIDUnauthorized ¶
type PutRbacPoliciesRbacPolicyIDUnauthorized struct {
}PutRbacPoliciesRbacPolicyIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPutRbacPoliciesRbacPolicyIDUnauthorized ¶
func NewPutRbacPoliciesRbacPolicyIDUnauthorized() *PutRbacPoliciesRbacPolicyIDUnauthorized
NewPutRbacPoliciesRbacPolicyIDUnauthorized creates a PutRbacPoliciesRbacPolicyIDUnauthorized with default headers values
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) Code ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) Code() int
Code gets the status code for the put rbac policies rbac policy Id unauthorized response
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) Error ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) Error() string
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) GetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) GetPayload() *models.Error
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsClientError ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool
IsClientError returns true when this put rbac policies rbac policy Id unauthorized response has a 4xx status code
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsCode ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsCode(code int) bool
IsCode returns true when this put rbac policies rbac policy Id unauthorized response a status code equal to that given
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this put rbac policies rbac policy Id unauthorized response has a 3xx status code
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsServerError ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool
IsServerError returns true when this put rbac policies rbac policy Id unauthorized response has a 5xx status code
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this put rbac policies rbac policy Id unauthorized response has a 2xx status code
func (*PutRbacPoliciesRbacPolicyIDUnauthorized) String ¶
func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) String() string
type PutRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
PutRbacPoliciesRbacPolicyIDUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity ¶
func NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity() *PutRbacPoliciesRbacPolicyIDUnprocessableEntity
NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity creates a PutRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Code ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Code() int
Code gets the status code for the put rbac policies rbac policy Id unprocessable entity response
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Error ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Error() string
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload() *models.Error
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError() bool
IsClientError returns true when this put rbac policies rbac policy Id unprocessable entity response has a 4xx status code
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this put rbac policies rbac policy Id unprocessable entity response a status code equal to that given
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this put rbac policies rbac policy Id unprocessable entity response has a 3xx status code
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError() bool
IsServerError returns true when this put rbac policies rbac policy Id unprocessable entity response has a 5xx status code
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this put rbac policies rbac policy Id unprocessable entity response has a 2xx status code
func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) String ¶
func (o *PutRbacPoliciesRbacPolicyIDUnprocessableEntity) String() string
Source Files
¶
- delete_rbac_policies_rbac_policy_id_parameters.go
- delete_rbac_policies_rbac_policy_id_responses.go
- get_rbac_policies_parameters.go
- get_rbac_policies_rbac_policy_id_parameters.go
- get_rbac_policies_rbac_policy_id_responses.go
- get_rbac_policies_responses.go
- post_rbac_policies_parameters.go
- post_rbac_policies_responses.go
- put_rbac_policies_rbac_policy_id_parameters.go
- put_rbac_policies_rbac_policy_id_responses.go
- rbac_client.go