Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePrivilege(params *CreatePrivilegeParams, opts ...ClientOption) error
- func (a *Client) CreatePrivilege1(params *CreatePrivilege1Params, opts ...ClientOption) error
- func (a *Client) CreatePrivilege2(params *CreatePrivilege2Params, opts ...ClientOption) error
- func (a *Client) CreatePrivilege3(params *CreatePrivilege3Params, opts ...ClientOption) error
- func (a *Client) CreatePrivilege4(params *CreatePrivilege4Params, opts ...ClientOption) error
- func (a *Client) CreatePrivilege5(params *CreatePrivilege5Params, opts ...ClientOption) error
- func (a *Client) DeletePrivilege(params *DeletePrivilegeParams, opts ...ClientOption) error
- func (a *Client) GetPrivilege(params *GetPrivilegeParams, opts ...ClientOption) (*GetPrivilegeOK, error)
- func (a *Client) GetPrivileges(params *GetPrivilegesParams, opts ...ClientOption) (*GetPrivilegesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePrivilege(params *UpdatePrivilegeParams, opts ...ClientOption) error
- func (a *Client) UpdatePrivilege1(params *UpdatePrivilege1Params, opts ...ClientOption) error
- func (a *Client) UpdatePrivilege2(params *UpdatePrivilege2Params, opts ...ClientOption) error
- func (a *Client) UpdatePrivilege3(params *UpdatePrivilege3Params, opts ...ClientOption) error
- func (a *Client) UpdatePrivilege4(params *UpdatePrivilege4Params, opts ...ClientOption) error
- func (a *Client) UpdatePrivilege5(params *UpdatePrivilege5Params, opts ...ClientOption) error
- type ClientOption
- type ClientService
- type CreatePrivilege1BadRequest
- func (o *CreatePrivilege1BadRequest) Code() int
- func (o *CreatePrivilege1BadRequest) Error() string
- func (o *CreatePrivilege1BadRequest) IsClientError() bool
- func (o *CreatePrivilege1BadRequest) IsCode(code int) bool
- func (o *CreatePrivilege1BadRequest) IsRedirect() bool
- func (o *CreatePrivilege1BadRequest) IsServerError() bool
- func (o *CreatePrivilege1BadRequest) IsSuccess() bool
- func (o *CreatePrivilege1BadRequest) String() string
- type CreatePrivilege1Forbidden
- func (o *CreatePrivilege1Forbidden) Code() int
- func (o *CreatePrivilege1Forbidden) Error() string
- func (o *CreatePrivilege1Forbidden) IsClientError() bool
- func (o *CreatePrivilege1Forbidden) IsCode(code int) bool
- func (o *CreatePrivilege1Forbidden) IsRedirect() bool
- func (o *CreatePrivilege1Forbidden) IsServerError() bool
- func (o *CreatePrivilege1Forbidden) IsSuccess() bool
- func (o *CreatePrivilege1Forbidden) String() string
- type CreatePrivilege1Params
- func NewCreatePrivilege1Params() *CreatePrivilege1Params
- func NewCreatePrivilege1ParamsWithContext(ctx context.Context) *CreatePrivilege1Params
- func NewCreatePrivilege1ParamsWithHTTPClient(client *http.Client) *CreatePrivilege1Params
- func NewCreatePrivilege1ParamsWithTimeout(timeout time.Duration) *CreatePrivilege1Params
- func (o *CreatePrivilege1Params) SetBody(body *models.APIPrivilegeApplicationRequest)
- func (o *CreatePrivilege1Params) SetContext(ctx context.Context)
- func (o *CreatePrivilege1Params) SetDefaults()
- func (o *CreatePrivilege1Params) SetHTTPClient(client *http.Client)
- func (o *CreatePrivilege1Params) SetTimeout(timeout time.Duration)
- func (o *CreatePrivilege1Params) WithBody(body *models.APIPrivilegeApplicationRequest) *CreatePrivilege1Params
- func (o *CreatePrivilege1Params) WithContext(ctx context.Context) *CreatePrivilege1Params
- func (o *CreatePrivilege1Params) WithDefaults() *CreatePrivilege1Params
- func (o *CreatePrivilege1Params) WithHTTPClient(client *http.Client) *CreatePrivilege1Params
- func (o *CreatePrivilege1Params) WithTimeout(timeout time.Duration) *CreatePrivilege1Params
- func (o *CreatePrivilege1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivilege1Reader
- type CreatePrivilege2BadRequest
- func (o *CreatePrivilege2BadRequest) Code() int
- func (o *CreatePrivilege2BadRequest) Error() string
- func (o *CreatePrivilege2BadRequest) IsClientError() bool
- func (o *CreatePrivilege2BadRequest) IsCode(code int) bool
- func (o *CreatePrivilege2BadRequest) IsRedirect() bool
- func (o *CreatePrivilege2BadRequest) IsServerError() bool
- func (o *CreatePrivilege2BadRequest) IsSuccess() bool
- func (o *CreatePrivilege2BadRequest) String() string
- type CreatePrivilege2Forbidden
- func (o *CreatePrivilege2Forbidden) Code() int
- func (o *CreatePrivilege2Forbidden) Error() string
- func (o *CreatePrivilege2Forbidden) IsClientError() bool
- func (o *CreatePrivilege2Forbidden) IsCode(code int) bool
- func (o *CreatePrivilege2Forbidden) IsRedirect() bool
- func (o *CreatePrivilege2Forbidden) IsServerError() bool
- func (o *CreatePrivilege2Forbidden) IsSuccess() bool
- func (o *CreatePrivilege2Forbidden) String() string
- type CreatePrivilege2Params
- func NewCreatePrivilege2Params() *CreatePrivilege2Params
- func NewCreatePrivilege2ParamsWithContext(ctx context.Context) *CreatePrivilege2Params
- func NewCreatePrivilege2ParamsWithHTTPClient(client *http.Client) *CreatePrivilege2Params
- func NewCreatePrivilege2ParamsWithTimeout(timeout time.Duration) *CreatePrivilege2Params
- func (o *CreatePrivilege2Params) SetBody(body *models.APIPrivilegeRepositoryContentSelectorRequest)
- func (o *CreatePrivilege2Params) SetContext(ctx context.Context)
- func (o *CreatePrivilege2Params) SetDefaults()
- func (o *CreatePrivilege2Params) SetHTTPClient(client *http.Client)
- func (o *CreatePrivilege2Params) SetTimeout(timeout time.Duration)
- func (o *CreatePrivilege2Params) WithBody(body *models.APIPrivilegeRepositoryContentSelectorRequest) *CreatePrivilege2Params
- func (o *CreatePrivilege2Params) WithContext(ctx context.Context) *CreatePrivilege2Params
- func (o *CreatePrivilege2Params) WithDefaults() *CreatePrivilege2Params
- func (o *CreatePrivilege2Params) WithHTTPClient(client *http.Client) *CreatePrivilege2Params
- func (o *CreatePrivilege2Params) WithTimeout(timeout time.Duration) *CreatePrivilege2Params
- func (o *CreatePrivilege2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivilege2Reader
- type CreatePrivilege3BadRequest
- func (o *CreatePrivilege3BadRequest) Code() int
- func (o *CreatePrivilege3BadRequest) Error() string
- func (o *CreatePrivilege3BadRequest) IsClientError() bool
- func (o *CreatePrivilege3BadRequest) IsCode(code int) bool
- func (o *CreatePrivilege3BadRequest) IsRedirect() bool
- func (o *CreatePrivilege3BadRequest) IsServerError() bool
- func (o *CreatePrivilege3BadRequest) IsSuccess() bool
- func (o *CreatePrivilege3BadRequest) String() string
- type CreatePrivilege3Forbidden
- func (o *CreatePrivilege3Forbidden) Code() int
- func (o *CreatePrivilege3Forbidden) Error() string
- func (o *CreatePrivilege3Forbidden) IsClientError() bool
- func (o *CreatePrivilege3Forbidden) IsCode(code int) bool
- func (o *CreatePrivilege3Forbidden) IsRedirect() bool
- func (o *CreatePrivilege3Forbidden) IsServerError() bool
- func (o *CreatePrivilege3Forbidden) IsSuccess() bool
- func (o *CreatePrivilege3Forbidden) String() string
- type CreatePrivilege3Params
- func NewCreatePrivilege3Params() *CreatePrivilege3Params
- func NewCreatePrivilege3ParamsWithContext(ctx context.Context) *CreatePrivilege3Params
- func NewCreatePrivilege3ParamsWithHTTPClient(client *http.Client) *CreatePrivilege3Params
- func NewCreatePrivilege3ParamsWithTimeout(timeout time.Duration) *CreatePrivilege3Params
- func (o *CreatePrivilege3Params) SetBody(body *models.APIPrivilegeRepositoryAdminRequest)
- func (o *CreatePrivilege3Params) SetContext(ctx context.Context)
- func (o *CreatePrivilege3Params) SetDefaults()
- func (o *CreatePrivilege3Params) SetHTTPClient(client *http.Client)
- func (o *CreatePrivilege3Params) SetTimeout(timeout time.Duration)
- func (o *CreatePrivilege3Params) WithBody(body *models.APIPrivilegeRepositoryAdminRequest) *CreatePrivilege3Params
- func (o *CreatePrivilege3Params) WithContext(ctx context.Context) *CreatePrivilege3Params
- func (o *CreatePrivilege3Params) WithDefaults() *CreatePrivilege3Params
- func (o *CreatePrivilege3Params) WithHTTPClient(client *http.Client) *CreatePrivilege3Params
- func (o *CreatePrivilege3Params) WithTimeout(timeout time.Duration) *CreatePrivilege3Params
- func (o *CreatePrivilege3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivilege3Reader
- type CreatePrivilege4BadRequest
- func (o *CreatePrivilege4BadRequest) Code() int
- func (o *CreatePrivilege4BadRequest) Error() string
- func (o *CreatePrivilege4BadRequest) IsClientError() bool
- func (o *CreatePrivilege4BadRequest) IsCode(code int) bool
- func (o *CreatePrivilege4BadRequest) IsRedirect() bool
- func (o *CreatePrivilege4BadRequest) IsServerError() bool
- func (o *CreatePrivilege4BadRequest) IsSuccess() bool
- func (o *CreatePrivilege4BadRequest) String() string
- type CreatePrivilege4Forbidden
- func (o *CreatePrivilege4Forbidden) Code() int
- func (o *CreatePrivilege4Forbidden) Error() string
- func (o *CreatePrivilege4Forbidden) IsClientError() bool
- func (o *CreatePrivilege4Forbidden) IsCode(code int) bool
- func (o *CreatePrivilege4Forbidden) IsRedirect() bool
- func (o *CreatePrivilege4Forbidden) IsServerError() bool
- func (o *CreatePrivilege4Forbidden) IsSuccess() bool
- func (o *CreatePrivilege4Forbidden) String() string
- type CreatePrivilege4Params
- func NewCreatePrivilege4Params() *CreatePrivilege4Params
- func NewCreatePrivilege4ParamsWithContext(ctx context.Context) *CreatePrivilege4Params
- func NewCreatePrivilege4ParamsWithHTTPClient(client *http.Client) *CreatePrivilege4Params
- func NewCreatePrivilege4ParamsWithTimeout(timeout time.Duration) *CreatePrivilege4Params
- func (o *CreatePrivilege4Params) SetBody(body *models.APIPrivilegeRepositoryViewRequest)
- func (o *CreatePrivilege4Params) SetContext(ctx context.Context)
- func (o *CreatePrivilege4Params) SetDefaults()
- func (o *CreatePrivilege4Params) SetHTTPClient(client *http.Client)
- func (o *CreatePrivilege4Params) SetTimeout(timeout time.Duration)
- func (o *CreatePrivilege4Params) WithBody(body *models.APIPrivilegeRepositoryViewRequest) *CreatePrivilege4Params
- func (o *CreatePrivilege4Params) WithContext(ctx context.Context) *CreatePrivilege4Params
- func (o *CreatePrivilege4Params) WithDefaults() *CreatePrivilege4Params
- func (o *CreatePrivilege4Params) WithHTTPClient(client *http.Client) *CreatePrivilege4Params
- func (o *CreatePrivilege4Params) WithTimeout(timeout time.Duration) *CreatePrivilege4Params
- func (o *CreatePrivilege4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivilege4Reader
- type CreatePrivilege5BadRequest
- func (o *CreatePrivilege5BadRequest) Code() int
- func (o *CreatePrivilege5BadRequest) Error() string
- func (o *CreatePrivilege5BadRequest) IsClientError() bool
- func (o *CreatePrivilege5BadRequest) IsCode(code int) bool
- func (o *CreatePrivilege5BadRequest) IsRedirect() bool
- func (o *CreatePrivilege5BadRequest) IsServerError() bool
- func (o *CreatePrivilege5BadRequest) IsSuccess() bool
- func (o *CreatePrivilege5BadRequest) String() string
- type CreatePrivilege5Forbidden
- func (o *CreatePrivilege5Forbidden) Code() int
- func (o *CreatePrivilege5Forbidden) Error() string
- func (o *CreatePrivilege5Forbidden) IsClientError() bool
- func (o *CreatePrivilege5Forbidden) IsCode(code int) bool
- func (o *CreatePrivilege5Forbidden) IsRedirect() bool
- func (o *CreatePrivilege5Forbidden) IsServerError() bool
- func (o *CreatePrivilege5Forbidden) IsSuccess() bool
- func (o *CreatePrivilege5Forbidden) String() string
- type CreatePrivilege5Params
- func NewCreatePrivilege5Params() *CreatePrivilege5Params
- func NewCreatePrivilege5ParamsWithContext(ctx context.Context) *CreatePrivilege5Params
- func NewCreatePrivilege5ParamsWithHTTPClient(client *http.Client) *CreatePrivilege5Params
- func NewCreatePrivilege5ParamsWithTimeout(timeout time.Duration) *CreatePrivilege5Params
- func (o *CreatePrivilege5Params) SetBody(body *models.APIPrivilegeScriptRequest)
- func (o *CreatePrivilege5Params) SetContext(ctx context.Context)
- func (o *CreatePrivilege5Params) SetDefaults()
- func (o *CreatePrivilege5Params) SetHTTPClient(client *http.Client)
- func (o *CreatePrivilege5Params) SetTimeout(timeout time.Duration)
- func (o *CreatePrivilege5Params) WithBody(body *models.APIPrivilegeScriptRequest) *CreatePrivilege5Params
- func (o *CreatePrivilege5Params) WithContext(ctx context.Context) *CreatePrivilege5Params
- func (o *CreatePrivilege5Params) WithDefaults() *CreatePrivilege5Params
- func (o *CreatePrivilege5Params) WithHTTPClient(client *http.Client) *CreatePrivilege5Params
- func (o *CreatePrivilege5Params) WithTimeout(timeout time.Duration) *CreatePrivilege5Params
- func (o *CreatePrivilege5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivilege5Reader
- type CreatePrivilegeBadRequest
- func (o *CreatePrivilegeBadRequest) Code() int
- func (o *CreatePrivilegeBadRequest) Error() string
- func (o *CreatePrivilegeBadRequest) IsClientError() bool
- func (o *CreatePrivilegeBadRequest) IsCode(code int) bool
- func (o *CreatePrivilegeBadRequest) IsRedirect() bool
- func (o *CreatePrivilegeBadRequest) IsServerError() bool
- func (o *CreatePrivilegeBadRequest) IsSuccess() bool
- func (o *CreatePrivilegeBadRequest) String() string
- type CreatePrivilegeForbidden
- func (o *CreatePrivilegeForbidden) Code() int
- func (o *CreatePrivilegeForbidden) Error() string
- func (o *CreatePrivilegeForbidden) IsClientError() bool
- func (o *CreatePrivilegeForbidden) IsCode(code int) bool
- func (o *CreatePrivilegeForbidden) IsRedirect() bool
- func (o *CreatePrivilegeForbidden) IsServerError() bool
- func (o *CreatePrivilegeForbidden) IsSuccess() bool
- func (o *CreatePrivilegeForbidden) String() string
- type CreatePrivilegeParams
- func NewCreatePrivilegeParams() *CreatePrivilegeParams
- func NewCreatePrivilegeParamsWithContext(ctx context.Context) *CreatePrivilegeParams
- func NewCreatePrivilegeParamsWithHTTPClient(client *http.Client) *CreatePrivilegeParams
- func NewCreatePrivilegeParamsWithTimeout(timeout time.Duration) *CreatePrivilegeParams
- func (o *CreatePrivilegeParams) SetBody(body *models.APIPrivilegeWildcardRequest)
- func (o *CreatePrivilegeParams) SetContext(ctx context.Context)
- func (o *CreatePrivilegeParams) SetDefaults()
- func (o *CreatePrivilegeParams) SetHTTPClient(client *http.Client)
- func (o *CreatePrivilegeParams) SetTimeout(timeout time.Duration)
- func (o *CreatePrivilegeParams) WithBody(body *models.APIPrivilegeWildcardRequest) *CreatePrivilegeParams
- func (o *CreatePrivilegeParams) WithContext(ctx context.Context) *CreatePrivilegeParams
- func (o *CreatePrivilegeParams) WithDefaults() *CreatePrivilegeParams
- func (o *CreatePrivilegeParams) WithHTTPClient(client *http.Client) *CreatePrivilegeParams
- func (o *CreatePrivilegeParams) WithTimeout(timeout time.Duration) *CreatePrivilegeParams
- func (o *CreatePrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivilegeReader
- type DeletePrivilegeBadRequest
- func (o *DeletePrivilegeBadRequest) Code() int
- func (o *DeletePrivilegeBadRequest) Error() string
- func (o *DeletePrivilegeBadRequest) IsClientError() bool
- func (o *DeletePrivilegeBadRequest) IsCode(code int) bool
- func (o *DeletePrivilegeBadRequest) IsRedirect() bool
- func (o *DeletePrivilegeBadRequest) IsServerError() bool
- func (o *DeletePrivilegeBadRequest) IsSuccess() bool
- func (o *DeletePrivilegeBadRequest) String() string
- type DeletePrivilegeForbidden
- func (o *DeletePrivilegeForbidden) Code() int
- func (o *DeletePrivilegeForbidden) Error() string
- func (o *DeletePrivilegeForbidden) IsClientError() bool
- func (o *DeletePrivilegeForbidden) IsCode(code int) bool
- func (o *DeletePrivilegeForbidden) IsRedirect() bool
- func (o *DeletePrivilegeForbidden) IsServerError() bool
- func (o *DeletePrivilegeForbidden) IsSuccess() bool
- func (o *DeletePrivilegeForbidden) String() string
- type DeletePrivilegeNotFound
- func (o *DeletePrivilegeNotFound) Code() int
- func (o *DeletePrivilegeNotFound) Error() string
- func (o *DeletePrivilegeNotFound) IsClientError() bool
- func (o *DeletePrivilegeNotFound) IsCode(code int) bool
- func (o *DeletePrivilegeNotFound) IsRedirect() bool
- func (o *DeletePrivilegeNotFound) IsServerError() bool
- func (o *DeletePrivilegeNotFound) IsSuccess() bool
- func (o *DeletePrivilegeNotFound) String() string
- type DeletePrivilegeParams
- func NewDeletePrivilegeParams() *DeletePrivilegeParams
- func NewDeletePrivilegeParamsWithContext(ctx context.Context) *DeletePrivilegeParams
- func NewDeletePrivilegeParamsWithHTTPClient(client *http.Client) *DeletePrivilegeParams
- func NewDeletePrivilegeParamsWithTimeout(timeout time.Duration) *DeletePrivilegeParams
- func (o *DeletePrivilegeParams) SetContext(ctx context.Context)
- func (o *DeletePrivilegeParams) SetDefaults()
- func (o *DeletePrivilegeParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivilegeParams) SetPrivilegeName(privilegeName string)
- func (o *DeletePrivilegeParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivilegeParams) WithContext(ctx context.Context) *DeletePrivilegeParams
- func (o *DeletePrivilegeParams) WithDefaults() *DeletePrivilegeParams
- func (o *DeletePrivilegeParams) WithHTTPClient(client *http.Client) *DeletePrivilegeParams
- func (o *DeletePrivilegeParams) WithPrivilegeName(privilegeName string) *DeletePrivilegeParams
- func (o *DeletePrivilegeParams) WithTimeout(timeout time.Duration) *DeletePrivilegeParams
- func (o *DeletePrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivilegeReader
- type GetPrivilegeForbidden
- func (o *GetPrivilegeForbidden) Code() int
- func (o *GetPrivilegeForbidden) Error() string
- func (o *GetPrivilegeForbidden) IsClientError() bool
- func (o *GetPrivilegeForbidden) IsCode(code int) bool
- func (o *GetPrivilegeForbidden) IsRedirect() bool
- func (o *GetPrivilegeForbidden) IsServerError() bool
- func (o *GetPrivilegeForbidden) IsSuccess() bool
- func (o *GetPrivilegeForbidden) String() string
- type GetPrivilegeNotFound
- func (o *GetPrivilegeNotFound) Code() int
- func (o *GetPrivilegeNotFound) Error() string
- func (o *GetPrivilegeNotFound) IsClientError() bool
- func (o *GetPrivilegeNotFound) IsCode(code int) bool
- func (o *GetPrivilegeNotFound) IsRedirect() bool
- func (o *GetPrivilegeNotFound) IsServerError() bool
- func (o *GetPrivilegeNotFound) IsSuccess() bool
- func (o *GetPrivilegeNotFound) String() string
- type GetPrivilegeOK
- func (o *GetPrivilegeOK) Code() int
- func (o *GetPrivilegeOK) Error() string
- func (o *GetPrivilegeOK) GetPayload() *models.APIPrivilege
- func (o *GetPrivilegeOK) IsClientError() bool
- func (o *GetPrivilegeOK) IsCode(code int) bool
- func (o *GetPrivilegeOK) IsRedirect() bool
- func (o *GetPrivilegeOK) IsServerError() bool
- func (o *GetPrivilegeOK) IsSuccess() bool
- func (o *GetPrivilegeOK) String() string
- type GetPrivilegeParams
- func (o *GetPrivilegeParams) SetContext(ctx context.Context)
- func (o *GetPrivilegeParams) SetDefaults()
- func (o *GetPrivilegeParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivilegeParams) SetPrivilegeName(privilegeName string)
- func (o *GetPrivilegeParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivilegeParams) WithContext(ctx context.Context) *GetPrivilegeParams
- func (o *GetPrivilegeParams) WithDefaults() *GetPrivilegeParams
- func (o *GetPrivilegeParams) WithHTTPClient(client *http.Client) *GetPrivilegeParams
- func (o *GetPrivilegeParams) WithPrivilegeName(privilegeName string) *GetPrivilegeParams
- func (o *GetPrivilegeParams) WithTimeout(timeout time.Duration) *GetPrivilegeParams
- func (o *GetPrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivilegeReader
- type GetPrivilegesForbidden
- func (o *GetPrivilegesForbidden) Code() int
- func (o *GetPrivilegesForbidden) Error() string
- func (o *GetPrivilegesForbidden) IsClientError() bool
- func (o *GetPrivilegesForbidden) IsCode(code int) bool
- func (o *GetPrivilegesForbidden) IsRedirect() bool
- func (o *GetPrivilegesForbidden) IsServerError() bool
- func (o *GetPrivilegesForbidden) IsSuccess() bool
- func (o *GetPrivilegesForbidden) String() string
- type GetPrivilegesOK
- func (o *GetPrivilegesOK) Code() int
- func (o *GetPrivilegesOK) Error() string
- func (o *GetPrivilegesOK) GetPayload() []*models.APIPrivilege
- func (o *GetPrivilegesOK) IsClientError() bool
- func (o *GetPrivilegesOK) IsCode(code int) bool
- func (o *GetPrivilegesOK) IsRedirect() bool
- func (o *GetPrivilegesOK) IsServerError() bool
- func (o *GetPrivilegesOK) IsSuccess() bool
- func (o *GetPrivilegesOK) String() string
- type GetPrivilegesParams
- func (o *GetPrivilegesParams) SetContext(ctx context.Context)
- func (o *GetPrivilegesParams) SetDefaults()
- func (o *GetPrivilegesParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivilegesParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivilegesParams) WithContext(ctx context.Context) *GetPrivilegesParams
- func (o *GetPrivilegesParams) WithDefaults() *GetPrivilegesParams
- func (o *GetPrivilegesParams) WithHTTPClient(client *http.Client) *GetPrivilegesParams
- func (o *GetPrivilegesParams) WithTimeout(timeout time.Duration) *GetPrivilegesParams
- func (o *GetPrivilegesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivilegesReader
- type UpdatePrivilege1BadRequest
- func (o *UpdatePrivilege1BadRequest) Code() int
- func (o *UpdatePrivilege1BadRequest) Error() string
- func (o *UpdatePrivilege1BadRequest) IsClientError() bool
- func (o *UpdatePrivilege1BadRequest) IsCode(code int) bool
- func (o *UpdatePrivilege1BadRequest) IsRedirect() bool
- func (o *UpdatePrivilege1BadRequest) IsServerError() bool
- func (o *UpdatePrivilege1BadRequest) IsSuccess() bool
- func (o *UpdatePrivilege1BadRequest) String() string
- type UpdatePrivilege1Forbidden
- func (o *UpdatePrivilege1Forbidden) Code() int
- func (o *UpdatePrivilege1Forbidden) Error() string
- func (o *UpdatePrivilege1Forbidden) IsClientError() bool
- func (o *UpdatePrivilege1Forbidden) IsCode(code int) bool
- func (o *UpdatePrivilege1Forbidden) IsRedirect() bool
- func (o *UpdatePrivilege1Forbidden) IsServerError() bool
- func (o *UpdatePrivilege1Forbidden) IsSuccess() bool
- func (o *UpdatePrivilege1Forbidden) String() string
- type UpdatePrivilege1NotFound
- func (o *UpdatePrivilege1NotFound) Code() int
- func (o *UpdatePrivilege1NotFound) Error() string
- func (o *UpdatePrivilege1NotFound) IsClientError() bool
- func (o *UpdatePrivilege1NotFound) IsCode(code int) bool
- func (o *UpdatePrivilege1NotFound) IsRedirect() bool
- func (o *UpdatePrivilege1NotFound) IsServerError() bool
- func (o *UpdatePrivilege1NotFound) IsSuccess() bool
- func (o *UpdatePrivilege1NotFound) String() string
- type UpdatePrivilege1Params
- func NewUpdatePrivilege1Params() *UpdatePrivilege1Params
- func NewUpdatePrivilege1ParamsWithContext(ctx context.Context) *UpdatePrivilege1Params
- func NewUpdatePrivilege1ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege1Params
- func NewUpdatePrivilege1ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) SetBody(body *models.APIPrivilegeApplicationRequest)
- func (o *UpdatePrivilege1Params) SetContext(ctx context.Context)
- func (o *UpdatePrivilege1Params) SetDefaults()
- func (o *UpdatePrivilege1Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePrivilege1Params) SetPrivilegeName(privilegeName string)
- func (o *UpdatePrivilege1Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePrivilege1Params) WithBody(body *models.APIPrivilegeApplicationRequest) *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) WithContext(ctx context.Context) *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) WithDefaults() *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) WithHTTPClient(client *http.Client) *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) WithTimeout(timeout time.Duration) *UpdatePrivilege1Params
- func (o *UpdatePrivilege1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePrivilege1Reader
- type UpdatePrivilege2BadRequest
- func (o *UpdatePrivilege2BadRequest) Code() int
- func (o *UpdatePrivilege2BadRequest) Error() string
- func (o *UpdatePrivilege2BadRequest) IsClientError() bool
- func (o *UpdatePrivilege2BadRequest) IsCode(code int) bool
- func (o *UpdatePrivilege2BadRequest) IsRedirect() bool
- func (o *UpdatePrivilege2BadRequest) IsServerError() bool
- func (o *UpdatePrivilege2BadRequest) IsSuccess() bool
- func (o *UpdatePrivilege2BadRequest) String() string
- type UpdatePrivilege2Forbidden
- func (o *UpdatePrivilege2Forbidden) Code() int
- func (o *UpdatePrivilege2Forbidden) Error() string
- func (o *UpdatePrivilege2Forbidden) IsClientError() bool
- func (o *UpdatePrivilege2Forbidden) IsCode(code int) bool
- func (o *UpdatePrivilege2Forbidden) IsRedirect() bool
- func (o *UpdatePrivilege2Forbidden) IsServerError() bool
- func (o *UpdatePrivilege2Forbidden) IsSuccess() bool
- func (o *UpdatePrivilege2Forbidden) String() string
- type UpdatePrivilege2NotFound
- func (o *UpdatePrivilege2NotFound) Code() int
- func (o *UpdatePrivilege2NotFound) Error() string
- func (o *UpdatePrivilege2NotFound) IsClientError() bool
- func (o *UpdatePrivilege2NotFound) IsCode(code int) bool
- func (o *UpdatePrivilege2NotFound) IsRedirect() bool
- func (o *UpdatePrivilege2NotFound) IsServerError() bool
- func (o *UpdatePrivilege2NotFound) IsSuccess() bool
- func (o *UpdatePrivilege2NotFound) String() string
- type UpdatePrivilege2Params
- func NewUpdatePrivilege2Params() *UpdatePrivilege2Params
- func NewUpdatePrivilege2ParamsWithContext(ctx context.Context) *UpdatePrivilege2Params
- func NewUpdatePrivilege2ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege2Params
- func NewUpdatePrivilege2ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) SetBody(body *models.APIPrivilegeRepositoryViewRequest)
- func (o *UpdatePrivilege2Params) SetContext(ctx context.Context)
- func (o *UpdatePrivilege2Params) SetDefaults()
- func (o *UpdatePrivilege2Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePrivilege2Params) SetPrivilegeName(privilegeName string)
- func (o *UpdatePrivilege2Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePrivilege2Params) WithBody(body *models.APIPrivilegeRepositoryViewRequest) *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) WithContext(ctx context.Context) *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) WithDefaults() *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) WithHTTPClient(client *http.Client) *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) WithTimeout(timeout time.Duration) *UpdatePrivilege2Params
- func (o *UpdatePrivilege2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePrivilege2Reader
- type UpdatePrivilege3BadRequest
- func (o *UpdatePrivilege3BadRequest) Code() int
- func (o *UpdatePrivilege3BadRequest) Error() string
- func (o *UpdatePrivilege3BadRequest) IsClientError() bool
- func (o *UpdatePrivilege3BadRequest) IsCode(code int) bool
- func (o *UpdatePrivilege3BadRequest) IsRedirect() bool
- func (o *UpdatePrivilege3BadRequest) IsServerError() bool
- func (o *UpdatePrivilege3BadRequest) IsSuccess() bool
- func (o *UpdatePrivilege3BadRequest) String() string
- type UpdatePrivilege3Forbidden
- func (o *UpdatePrivilege3Forbidden) Code() int
- func (o *UpdatePrivilege3Forbidden) Error() string
- func (o *UpdatePrivilege3Forbidden) IsClientError() bool
- func (o *UpdatePrivilege3Forbidden) IsCode(code int) bool
- func (o *UpdatePrivilege3Forbidden) IsRedirect() bool
- func (o *UpdatePrivilege3Forbidden) IsServerError() bool
- func (o *UpdatePrivilege3Forbidden) IsSuccess() bool
- func (o *UpdatePrivilege3Forbidden) String() string
- type UpdatePrivilege3NotFound
- func (o *UpdatePrivilege3NotFound) Code() int
- func (o *UpdatePrivilege3NotFound) Error() string
- func (o *UpdatePrivilege3NotFound) IsClientError() bool
- func (o *UpdatePrivilege3NotFound) IsCode(code int) bool
- func (o *UpdatePrivilege3NotFound) IsRedirect() bool
- func (o *UpdatePrivilege3NotFound) IsServerError() bool
- func (o *UpdatePrivilege3NotFound) IsSuccess() bool
- func (o *UpdatePrivilege3NotFound) String() string
- type UpdatePrivilege3Params
- func NewUpdatePrivilege3Params() *UpdatePrivilege3Params
- func NewUpdatePrivilege3ParamsWithContext(ctx context.Context) *UpdatePrivilege3Params
- func NewUpdatePrivilege3ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege3Params
- func NewUpdatePrivilege3ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) SetBody(body *models.APIPrivilegeRepositoryContentSelectorRequest)
- func (o *UpdatePrivilege3Params) SetContext(ctx context.Context)
- func (o *UpdatePrivilege3Params) SetDefaults()
- func (o *UpdatePrivilege3Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePrivilege3Params) SetPrivilegeName(privilegeName string)
- func (o *UpdatePrivilege3Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePrivilege3Params) WithBody(body *models.APIPrivilegeRepositoryContentSelectorRequest) *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) WithContext(ctx context.Context) *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) WithDefaults() *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) WithHTTPClient(client *http.Client) *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) WithTimeout(timeout time.Duration) *UpdatePrivilege3Params
- func (o *UpdatePrivilege3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePrivilege3Reader
- type UpdatePrivilege4BadRequest
- func (o *UpdatePrivilege4BadRequest) Code() int
- func (o *UpdatePrivilege4BadRequest) Error() string
- func (o *UpdatePrivilege4BadRequest) IsClientError() bool
- func (o *UpdatePrivilege4BadRequest) IsCode(code int) bool
- func (o *UpdatePrivilege4BadRequest) IsRedirect() bool
- func (o *UpdatePrivilege4BadRequest) IsServerError() bool
- func (o *UpdatePrivilege4BadRequest) IsSuccess() bool
- func (o *UpdatePrivilege4BadRequest) String() string
- type UpdatePrivilege4Forbidden
- func (o *UpdatePrivilege4Forbidden) Code() int
- func (o *UpdatePrivilege4Forbidden) Error() string
- func (o *UpdatePrivilege4Forbidden) IsClientError() bool
- func (o *UpdatePrivilege4Forbidden) IsCode(code int) bool
- func (o *UpdatePrivilege4Forbidden) IsRedirect() bool
- func (o *UpdatePrivilege4Forbidden) IsServerError() bool
- func (o *UpdatePrivilege4Forbidden) IsSuccess() bool
- func (o *UpdatePrivilege4Forbidden) String() string
- type UpdatePrivilege4NotFound
- func (o *UpdatePrivilege4NotFound) Code() int
- func (o *UpdatePrivilege4NotFound) Error() string
- func (o *UpdatePrivilege4NotFound) IsClientError() bool
- func (o *UpdatePrivilege4NotFound) IsCode(code int) bool
- func (o *UpdatePrivilege4NotFound) IsRedirect() bool
- func (o *UpdatePrivilege4NotFound) IsServerError() bool
- func (o *UpdatePrivilege4NotFound) IsSuccess() bool
- func (o *UpdatePrivilege4NotFound) String() string
- type UpdatePrivilege4Params
- func NewUpdatePrivilege4Params() *UpdatePrivilege4Params
- func NewUpdatePrivilege4ParamsWithContext(ctx context.Context) *UpdatePrivilege4Params
- func NewUpdatePrivilege4ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege4Params
- func NewUpdatePrivilege4ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) SetBody(body *models.APIPrivilegeRepositoryAdminRequest)
- func (o *UpdatePrivilege4Params) SetContext(ctx context.Context)
- func (o *UpdatePrivilege4Params) SetDefaults()
- func (o *UpdatePrivilege4Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePrivilege4Params) SetPrivilegeName(privilegeName string)
- func (o *UpdatePrivilege4Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePrivilege4Params) WithBody(body *models.APIPrivilegeRepositoryAdminRequest) *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) WithContext(ctx context.Context) *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) WithDefaults() *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) WithHTTPClient(client *http.Client) *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) WithTimeout(timeout time.Duration) *UpdatePrivilege4Params
- func (o *UpdatePrivilege4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePrivilege4Reader
- type UpdatePrivilege5BadRequest
- func (o *UpdatePrivilege5BadRequest) Code() int
- func (o *UpdatePrivilege5BadRequest) Error() string
- func (o *UpdatePrivilege5BadRequest) IsClientError() bool
- func (o *UpdatePrivilege5BadRequest) IsCode(code int) bool
- func (o *UpdatePrivilege5BadRequest) IsRedirect() bool
- func (o *UpdatePrivilege5BadRequest) IsServerError() bool
- func (o *UpdatePrivilege5BadRequest) IsSuccess() bool
- func (o *UpdatePrivilege5BadRequest) String() string
- type UpdatePrivilege5Forbidden
- func (o *UpdatePrivilege5Forbidden) Code() int
- func (o *UpdatePrivilege5Forbidden) Error() string
- func (o *UpdatePrivilege5Forbidden) IsClientError() bool
- func (o *UpdatePrivilege5Forbidden) IsCode(code int) bool
- func (o *UpdatePrivilege5Forbidden) IsRedirect() bool
- func (o *UpdatePrivilege5Forbidden) IsServerError() bool
- func (o *UpdatePrivilege5Forbidden) IsSuccess() bool
- func (o *UpdatePrivilege5Forbidden) String() string
- type UpdatePrivilege5NotFound
- func (o *UpdatePrivilege5NotFound) Code() int
- func (o *UpdatePrivilege5NotFound) Error() string
- func (o *UpdatePrivilege5NotFound) IsClientError() bool
- func (o *UpdatePrivilege5NotFound) IsCode(code int) bool
- func (o *UpdatePrivilege5NotFound) IsRedirect() bool
- func (o *UpdatePrivilege5NotFound) IsServerError() bool
- func (o *UpdatePrivilege5NotFound) IsSuccess() bool
- func (o *UpdatePrivilege5NotFound) String() string
- type UpdatePrivilege5Params
- func NewUpdatePrivilege5Params() *UpdatePrivilege5Params
- func NewUpdatePrivilege5ParamsWithContext(ctx context.Context) *UpdatePrivilege5Params
- func NewUpdatePrivilege5ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege5Params
- func NewUpdatePrivilege5ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) SetBody(body *models.APIPrivilegeScriptRequest)
- func (o *UpdatePrivilege5Params) SetContext(ctx context.Context)
- func (o *UpdatePrivilege5Params) SetDefaults()
- func (o *UpdatePrivilege5Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePrivilege5Params) SetPrivilegeName(privilegeName string)
- func (o *UpdatePrivilege5Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePrivilege5Params) WithBody(body *models.APIPrivilegeScriptRequest) *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) WithContext(ctx context.Context) *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) WithDefaults() *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) WithHTTPClient(client *http.Client) *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) WithTimeout(timeout time.Duration) *UpdatePrivilege5Params
- func (o *UpdatePrivilege5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePrivilege5Reader
- type UpdatePrivilegeBadRequest
- func (o *UpdatePrivilegeBadRequest) Code() int
- func (o *UpdatePrivilegeBadRequest) Error() string
- func (o *UpdatePrivilegeBadRequest) IsClientError() bool
- func (o *UpdatePrivilegeBadRequest) IsCode(code int) bool
- func (o *UpdatePrivilegeBadRequest) IsRedirect() bool
- func (o *UpdatePrivilegeBadRequest) IsServerError() bool
- func (o *UpdatePrivilegeBadRequest) IsSuccess() bool
- func (o *UpdatePrivilegeBadRequest) String() string
- type UpdatePrivilegeForbidden
- func (o *UpdatePrivilegeForbidden) Code() int
- func (o *UpdatePrivilegeForbidden) Error() string
- func (o *UpdatePrivilegeForbidden) IsClientError() bool
- func (o *UpdatePrivilegeForbidden) IsCode(code int) bool
- func (o *UpdatePrivilegeForbidden) IsRedirect() bool
- func (o *UpdatePrivilegeForbidden) IsServerError() bool
- func (o *UpdatePrivilegeForbidden) IsSuccess() bool
- func (o *UpdatePrivilegeForbidden) String() string
- type UpdatePrivilegeNotFound
- func (o *UpdatePrivilegeNotFound) Code() int
- func (o *UpdatePrivilegeNotFound) Error() string
- func (o *UpdatePrivilegeNotFound) IsClientError() bool
- func (o *UpdatePrivilegeNotFound) IsCode(code int) bool
- func (o *UpdatePrivilegeNotFound) IsRedirect() bool
- func (o *UpdatePrivilegeNotFound) IsServerError() bool
- func (o *UpdatePrivilegeNotFound) IsSuccess() bool
- func (o *UpdatePrivilegeNotFound) String() string
- type UpdatePrivilegeParams
- func NewUpdatePrivilegeParams() *UpdatePrivilegeParams
- func NewUpdatePrivilegeParamsWithContext(ctx context.Context) *UpdatePrivilegeParams
- func NewUpdatePrivilegeParamsWithHTTPClient(client *http.Client) *UpdatePrivilegeParams
- func NewUpdatePrivilegeParamsWithTimeout(timeout time.Duration) *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) SetBody(body *models.APIPrivilegeWildcardRequest)
- func (o *UpdatePrivilegeParams) SetContext(ctx context.Context)
- func (o *UpdatePrivilegeParams) SetDefaults()
- func (o *UpdatePrivilegeParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePrivilegeParams) SetPrivilegeName(privilegeName string)
- func (o *UpdatePrivilegeParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePrivilegeParams) WithBody(body *models.APIPrivilegeWildcardRequest) *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) WithContext(ctx context.Context) *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) WithDefaults() *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) WithHTTPClient(client *http.Client) *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) WithPrivilegeName(privilegeName string) *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) WithTimeout(timeout time.Duration) *UpdatePrivilegeParams
- func (o *UpdatePrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePrivilegeReader
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 security management privileges API
func (*Client) CreatePrivilege ¶
func (a *Client) CreatePrivilege(params *CreatePrivilegeParams, opts ...ClientOption) error
CreatePrivilege creates a wildcard type privilege
func (*Client) CreatePrivilege1 ¶
func (a *Client) CreatePrivilege1(params *CreatePrivilege1Params, opts ...ClientOption) error
CreatePrivilege1 creates an application type privilege
func (*Client) CreatePrivilege2 ¶
func (a *Client) CreatePrivilege2(params *CreatePrivilege2Params, opts ...ClientOption) error
CreatePrivilege2 creates a repository content selector type privilege
func (*Client) CreatePrivilege3 ¶
func (a *Client) CreatePrivilege3(params *CreatePrivilege3Params, opts ...ClientOption) error
CreatePrivilege3 creates a repository admin type privilege
func (*Client) CreatePrivilege4 ¶
func (a *Client) CreatePrivilege4(params *CreatePrivilege4Params, opts ...ClientOption) error
CreatePrivilege4 creates a repository view type privilege
func (*Client) CreatePrivilege5 ¶
func (a *Client) CreatePrivilege5(params *CreatePrivilege5Params, opts ...ClientOption) error
CreatePrivilege5 creates a script type privilege
func (*Client) DeletePrivilege ¶
func (a *Client) DeletePrivilege(params *DeletePrivilegeParams, opts ...ClientOption) error
DeletePrivilege deletes a privilege by name
func (*Client) GetPrivilege ¶
func (a *Client) GetPrivilege(params *GetPrivilegeParams, opts ...ClientOption) (*GetPrivilegeOK, error)
GetPrivilege retrieves a privilege by name
func (*Client) GetPrivileges ¶
func (a *Client) GetPrivileges(params *GetPrivilegesParams, opts ...ClientOption) (*GetPrivilegesOK, error)
GetPrivileges retrieves a list of privileges
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePrivilege ¶
func (a *Client) UpdatePrivilege(params *UpdatePrivilegeParams, opts ...ClientOption) error
UpdatePrivilege updates a wildcard type privilege
func (*Client) UpdatePrivilege1 ¶
func (a *Client) UpdatePrivilege1(params *UpdatePrivilege1Params, opts ...ClientOption) error
UpdatePrivilege1 updates an application type privilege
func (*Client) UpdatePrivilege2 ¶
func (a *Client) UpdatePrivilege2(params *UpdatePrivilege2Params, opts ...ClientOption) error
UpdatePrivilege2 updates a repository view type privilege
func (*Client) UpdatePrivilege3 ¶
func (a *Client) UpdatePrivilege3(params *UpdatePrivilege3Params, opts ...ClientOption) error
UpdatePrivilege3 updates a repository content selector type privilege
func (*Client) UpdatePrivilege4 ¶
func (a *Client) UpdatePrivilege4(params *UpdatePrivilege4Params, opts ...ClientOption) error
UpdatePrivilege4 updates a repository admin type privilege
func (*Client) UpdatePrivilege5 ¶
func (a *Client) UpdatePrivilege5(params *UpdatePrivilege5Params, opts ...ClientOption) error
UpdatePrivilege5 updates a script type privilege
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePrivilege(params *CreatePrivilegeParams, opts ...ClientOption) error CreatePrivilege1(params *CreatePrivilege1Params, opts ...ClientOption) error CreatePrivilege2(params *CreatePrivilege2Params, opts ...ClientOption) error CreatePrivilege3(params *CreatePrivilege3Params, opts ...ClientOption) error CreatePrivilege4(params *CreatePrivilege4Params, opts ...ClientOption) error CreatePrivilege5(params *CreatePrivilege5Params, opts ...ClientOption) error DeletePrivilege(params *DeletePrivilegeParams, opts ...ClientOption) error GetPrivilege(params *GetPrivilegeParams, opts ...ClientOption) (*GetPrivilegeOK, error) GetPrivileges(params *GetPrivilegesParams, opts ...ClientOption) (*GetPrivilegesOK, error) UpdatePrivilege(params *UpdatePrivilegeParams, opts ...ClientOption) error UpdatePrivilege1(params *UpdatePrivilege1Params, opts ...ClientOption) error UpdatePrivilege2(params *UpdatePrivilege2Params, opts ...ClientOption) error UpdatePrivilege3(params *UpdatePrivilege3Params, opts ...ClientOption) error UpdatePrivilege4(params *UpdatePrivilege4Params, opts ...ClientOption) error UpdatePrivilege5(params *UpdatePrivilege5Params, opts ...ClientOption) 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 security management privileges API client.
type CreatePrivilege1BadRequest ¶
type CreatePrivilege1BadRequest struct { }
CreatePrivilege1BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewCreatePrivilege1BadRequest ¶
func NewCreatePrivilege1BadRequest() *CreatePrivilege1BadRequest
NewCreatePrivilege1BadRequest creates a CreatePrivilege1BadRequest with default headers values
func (*CreatePrivilege1BadRequest) Code ¶
func (o *CreatePrivilege1BadRequest) Code() int
Code gets the status code for the create privilege1 bad request response
func (*CreatePrivilege1BadRequest) Error ¶
func (o *CreatePrivilege1BadRequest) Error() string
func (*CreatePrivilege1BadRequest) IsClientError ¶
func (o *CreatePrivilege1BadRequest) IsClientError() bool
IsClientError returns true when this create privilege1 bad request response has a 4xx status code
func (*CreatePrivilege1BadRequest) IsCode ¶
func (o *CreatePrivilege1BadRequest) IsCode(code int) bool
IsCode returns true when this create privilege1 bad request response a status code equal to that given
func (*CreatePrivilege1BadRequest) IsRedirect ¶
func (o *CreatePrivilege1BadRequest) IsRedirect() bool
IsRedirect returns true when this create privilege1 bad request response has a 3xx status code
func (*CreatePrivilege1BadRequest) IsServerError ¶
func (o *CreatePrivilege1BadRequest) IsServerError() bool
IsServerError returns true when this create privilege1 bad request response has a 5xx status code
func (*CreatePrivilege1BadRequest) IsSuccess ¶
func (o *CreatePrivilege1BadRequest) IsSuccess() bool
IsSuccess returns true when this create privilege1 bad request response has a 2xx status code
func (*CreatePrivilege1BadRequest) String ¶
func (o *CreatePrivilege1BadRequest) String() string
type CreatePrivilege1Forbidden ¶
type CreatePrivilege1Forbidden struct { }
CreatePrivilege1Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewCreatePrivilege1Forbidden ¶
func NewCreatePrivilege1Forbidden() *CreatePrivilege1Forbidden
NewCreatePrivilege1Forbidden creates a CreatePrivilege1Forbidden with default headers values
func (*CreatePrivilege1Forbidden) Code ¶
func (o *CreatePrivilege1Forbidden) Code() int
Code gets the status code for the create privilege1 forbidden response
func (*CreatePrivilege1Forbidden) Error ¶
func (o *CreatePrivilege1Forbidden) Error() string
func (*CreatePrivilege1Forbidden) IsClientError ¶
func (o *CreatePrivilege1Forbidden) IsClientError() bool
IsClientError returns true when this create privilege1 forbidden response has a 4xx status code
func (*CreatePrivilege1Forbidden) IsCode ¶
func (o *CreatePrivilege1Forbidden) IsCode(code int) bool
IsCode returns true when this create privilege1 forbidden response a status code equal to that given
func (*CreatePrivilege1Forbidden) IsRedirect ¶
func (o *CreatePrivilege1Forbidden) IsRedirect() bool
IsRedirect returns true when this create privilege1 forbidden response has a 3xx status code
func (*CreatePrivilege1Forbidden) IsServerError ¶
func (o *CreatePrivilege1Forbidden) IsServerError() bool
IsServerError returns true when this create privilege1 forbidden response has a 5xx status code
func (*CreatePrivilege1Forbidden) IsSuccess ¶
func (o *CreatePrivilege1Forbidden) IsSuccess() bool
IsSuccess returns true when this create privilege1 forbidden response has a 2xx status code
func (*CreatePrivilege1Forbidden) String ¶
func (o *CreatePrivilege1Forbidden) String() string
type CreatePrivilege1Params ¶
type CreatePrivilege1Params struct { /* Body. The privilege to create. */ Body *models.APIPrivilegeApplicationRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivilege1Params contains all the parameters to send to the API endpoint
for the create privilege 1 operation. Typically these are written to a http.Request.
func NewCreatePrivilege1Params ¶
func NewCreatePrivilege1Params() *CreatePrivilege1Params
NewCreatePrivilege1Params creates a new CreatePrivilege1Params 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 NewCreatePrivilege1ParamsWithContext ¶
func NewCreatePrivilege1ParamsWithContext(ctx context.Context) *CreatePrivilege1Params
NewCreatePrivilege1ParamsWithContext creates a new CreatePrivilege1Params object with the ability to set a context for a request.
func NewCreatePrivilege1ParamsWithHTTPClient ¶
func NewCreatePrivilege1ParamsWithHTTPClient(client *http.Client) *CreatePrivilege1Params
NewCreatePrivilege1ParamsWithHTTPClient creates a new CreatePrivilege1Params object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivilege1ParamsWithTimeout ¶
func NewCreatePrivilege1ParamsWithTimeout(timeout time.Duration) *CreatePrivilege1Params
NewCreatePrivilege1ParamsWithTimeout creates a new CreatePrivilege1Params object with the ability to set a timeout on a request.
func (*CreatePrivilege1Params) SetBody ¶
func (o *CreatePrivilege1Params) SetBody(body *models.APIPrivilegeApplicationRequest)
SetBody adds the body to the create privilege 1 params
func (*CreatePrivilege1Params) SetContext ¶
func (o *CreatePrivilege1Params) SetContext(ctx context.Context)
SetContext adds the context to the create privilege 1 params
func (*CreatePrivilege1Params) SetDefaults ¶
func (o *CreatePrivilege1Params) SetDefaults()
SetDefaults hydrates default values in the create privilege 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege1Params) SetHTTPClient ¶
func (o *CreatePrivilege1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create privilege 1 params
func (*CreatePrivilege1Params) SetTimeout ¶
func (o *CreatePrivilege1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create privilege 1 params
func (*CreatePrivilege1Params) WithBody ¶
func (o *CreatePrivilege1Params) WithBody(body *models.APIPrivilegeApplicationRequest) *CreatePrivilege1Params
WithBody adds the body to the create privilege 1 params
func (*CreatePrivilege1Params) WithContext ¶
func (o *CreatePrivilege1Params) WithContext(ctx context.Context) *CreatePrivilege1Params
WithContext adds the context to the create privilege 1 params
func (*CreatePrivilege1Params) WithDefaults ¶
func (o *CreatePrivilege1Params) WithDefaults() *CreatePrivilege1Params
WithDefaults hydrates default values in the create privilege 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege1Params) WithHTTPClient ¶
func (o *CreatePrivilege1Params) WithHTTPClient(client *http.Client) *CreatePrivilege1Params
WithHTTPClient adds the HTTPClient to the create privilege 1 params
func (*CreatePrivilege1Params) WithTimeout ¶
func (o *CreatePrivilege1Params) WithTimeout(timeout time.Duration) *CreatePrivilege1Params
WithTimeout adds the timeout to the create privilege 1 params
func (*CreatePrivilege1Params) WriteToRequest ¶
func (o *CreatePrivilege1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivilege1Reader ¶
type CreatePrivilege1Reader struct {
// contains filtered or unexported fields
}
CreatePrivilege1Reader is a Reader for the CreatePrivilege1 structure.
func (*CreatePrivilege1Reader) ReadResponse ¶
func (o *CreatePrivilege1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivilege2BadRequest ¶
type CreatePrivilege2BadRequest struct { }
CreatePrivilege2BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewCreatePrivilege2BadRequest ¶
func NewCreatePrivilege2BadRequest() *CreatePrivilege2BadRequest
NewCreatePrivilege2BadRequest creates a CreatePrivilege2BadRequest with default headers values
func (*CreatePrivilege2BadRequest) Code ¶
func (o *CreatePrivilege2BadRequest) Code() int
Code gets the status code for the create privilege2 bad request response
func (*CreatePrivilege2BadRequest) Error ¶
func (o *CreatePrivilege2BadRequest) Error() string
func (*CreatePrivilege2BadRequest) IsClientError ¶
func (o *CreatePrivilege2BadRequest) IsClientError() bool
IsClientError returns true when this create privilege2 bad request response has a 4xx status code
func (*CreatePrivilege2BadRequest) IsCode ¶
func (o *CreatePrivilege2BadRequest) IsCode(code int) bool
IsCode returns true when this create privilege2 bad request response a status code equal to that given
func (*CreatePrivilege2BadRequest) IsRedirect ¶
func (o *CreatePrivilege2BadRequest) IsRedirect() bool
IsRedirect returns true when this create privilege2 bad request response has a 3xx status code
func (*CreatePrivilege2BadRequest) IsServerError ¶
func (o *CreatePrivilege2BadRequest) IsServerError() bool
IsServerError returns true when this create privilege2 bad request response has a 5xx status code
func (*CreatePrivilege2BadRequest) IsSuccess ¶
func (o *CreatePrivilege2BadRequest) IsSuccess() bool
IsSuccess returns true when this create privilege2 bad request response has a 2xx status code
func (*CreatePrivilege2BadRequest) String ¶
func (o *CreatePrivilege2BadRequest) String() string
type CreatePrivilege2Forbidden ¶
type CreatePrivilege2Forbidden struct { }
CreatePrivilege2Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewCreatePrivilege2Forbidden ¶
func NewCreatePrivilege2Forbidden() *CreatePrivilege2Forbidden
NewCreatePrivilege2Forbidden creates a CreatePrivilege2Forbidden with default headers values
func (*CreatePrivilege2Forbidden) Code ¶
func (o *CreatePrivilege2Forbidden) Code() int
Code gets the status code for the create privilege2 forbidden response
func (*CreatePrivilege2Forbidden) Error ¶
func (o *CreatePrivilege2Forbidden) Error() string
func (*CreatePrivilege2Forbidden) IsClientError ¶
func (o *CreatePrivilege2Forbidden) IsClientError() bool
IsClientError returns true when this create privilege2 forbidden response has a 4xx status code
func (*CreatePrivilege2Forbidden) IsCode ¶
func (o *CreatePrivilege2Forbidden) IsCode(code int) bool
IsCode returns true when this create privilege2 forbidden response a status code equal to that given
func (*CreatePrivilege2Forbidden) IsRedirect ¶
func (o *CreatePrivilege2Forbidden) IsRedirect() bool
IsRedirect returns true when this create privilege2 forbidden response has a 3xx status code
func (*CreatePrivilege2Forbidden) IsServerError ¶
func (o *CreatePrivilege2Forbidden) IsServerError() bool
IsServerError returns true when this create privilege2 forbidden response has a 5xx status code
func (*CreatePrivilege2Forbidden) IsSuccess ¶
func (o *CreatePrivilege2Forbidden) IsSuccess() bool
IsSuccess returns true when this create privilege2 forbidden response has a 2xx status code
func (*CreatePrivilege2Forbidden) String ¶
func (o *CreatePrivilege2Forbidden) String() string
type CreatePrivilege2Params ¶
type CreatePrivilege2Params struct { /* Body. The privilege to create. */ Body *models.APIPrivilegeRepositoryContentSelectorRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivilege2Params contains all the parameters to send to the API endpoint
for the create privilege 2 operation. Typically these are written to a http.Request.
func NewCreatePrivilege2Params ¶
func NewCreatePrivilege2Params() *CreatePrivilege2Params
NewCreatePrivilege2Params creates a new CreatePrivilege2Params 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 NewCreatePrivilege2ParamsWithContext ¶
func NewCreatePrivilege2ParamsWithContext(ctx context.Context) *CreatePrivilege2Params
NewCreatePrivilege2ParamsWithContext creates a new CreatePrivilege2Params object with the ability to set a context for a request.
func NewCreatePrivilege2ParamsWithHTTPClient ¶
func NewCreatePrivilege2ParamsWithHTTPClient(client *http.Client) *CreatePrivilege2Params
NewCreatePrivilege2ParamsWithHTTPClient creates a new CreatePrivilege2Params object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivilege2ParamsWithTimeout ¶
func NewCreatePrivilege2ParamsWithTimeout(timeout time.Duration) *CreatePrivilege2Params
NewCreatePrivilege2ParamsWithTimeout creates a new CreatePrivilege2Params object with the ability to set a timeout on a request.
func (*CreatePrivilege2Params) SetBody ¶
func (o *CreatePrivilege2Params) SetBody(body *models.APIPrivilegeRepositoryContentSelectorRequest)
SetBody adds the body to the create privilege 2 params
func (*CreatePrivilege2Params) SetContext ¶
func (o *CreatePrivilege2Params) SetContext(ctx context.Context)
SetContext adds the context to the create privilege 2 params
func (*CreatePrivilege2Params) SetDefaults ¶
func (o *CreatePrivilege2Params) SetDefaults()
SetDefaults hydrates default values in the create privilege 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege2Params) SetHTTPClient ¶
func (o *CreatePrivilege2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create privilege 2 params
func (*CreatePrivilege2Params) SetTimeout ¶
func (o *CreatePrivilege2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create privilege 2 params
func (*CreatePrivilege2Params) WithBody ¶
func (o *CreatePrivilege2Params) WithBody(body *models.APIPrivilegeRepositoryContentSelectorRequest) *CreatePrivilege2Params
WithBody adds the body to the create privilege 2 params
func (*CreatePrivilege2Params) WithContext ¶
func (o *CreatePrivilege2Params) WithContext(ctx context.Context) *CreatePrivilege2Params
WithContext adds the context to the create privilege 2 params
func (*CreatePrivilege2Params) WithDefaults ¶
func (o *CreatePrivilege2Params) WithDefaults() *CreatePrivilege2Params
WithDefaults hydrates default values in the create privilege 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege2Params) WithHTTPClient ¶
func (o *CreatePrivilege2Params) WithHTTPClient(client *http.Client) *CreatePrivilege2Params
WithHTTPClient adds the HTTPClient to the create privilege 2 params
func (*CreatePrivilege2Params) WithTimeout ¶
func (o *CreatePrivilege2Params) WithTimeout(timeout time.Duration) *CreatePrivilege2Params
WithTimeout adds the timeout to the create privilege 2 params
func (*CreatePrivilege2Params) WriteToRequest ¶
func (o *CreatePrivilege2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivilege2Reader ¶
type CreatePrivilege2Reader struct {
// contains filtered or unexported fields
}
CreatePrivilege2Reader is a Reader for the CreatePrivilege2 structure.
func (*CreatePrivilege2Reader) ReadResponse ¶
func (o *CreatePrivilege2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivilege3BadRequest ¶
type CreatePrivilege3BadRequest struct { }
CreatePrivilege3BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewCreatePrivilege3BadRequest ¶
func NewCreatePrivilege3BadRequest() *CreatePrivilege3BadRequest
NewCreatePrivilege3BadRequest creates a CreatePrivilege3BadRequest with default headers values
func (*CreatePrivilege3BadRequest) Code ¶
func (o *CreatePrivilege3BadRequest) Code() int
Code gets the status code for the create privilege3 bad request response
func (*CreatePrivilege3BadRequest) Error ¶
func (o *CreatePrivilege3BadRequest) Error() string
func (*CreatePrivilege3BadRequest) IsClientError ¶
func (o *CreatePrivilege3BadRequest) IsClientError() bool
IsClientError returns true when this create privilege3 bad request response has a 4xx status code
func (*CreatePrivilege3BadRequest) IsCode ¶
func (o *CreatePrivilege3BadRequest) IsCode(code int) bool
IsCode returns true when this create privilege3 bad request response a status code equal to that given
func (*CreatePrivilege3BadRequest) IsRedirect ¶
func (o *CreatePrivilege3BadRequest) IsRedirect() bool
IsRedirect returns true when this create privilege3 bad request response has a 3xx status code
func (*CreatePrivilege3BadRequest) IsServerError ¶
func (o *CreatePrivilege3BadRequest) IsServerError() bool
IsServerError returns true when this create privilege3 bad request response has a 5xx status code
func (*CreatePrivilege3BadRequest) IsSuccess ¶
func (o *CreatePrivilege3BadRequest) IsSuccess() bool
IsSuccess returns true when this create privilege3 bad request response has a 2xx status code
func (*CreatePrivilege3BadRequest) String ¶
func (o *CreatePrivilege3BadRequest) String() string
type CreatePrivilege3Forbidden ¶
type CreatePrivilege3Forbidden struct { }
CreatePrivilege3Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewCreatePrivilege3Forbidden ¶
func NewCreatePrivilege3Forbidden() *CreatePrivilege3Forbidden
NewCreatePrivilege3Forbidden creates a CreatePrivilege3Forbidden with default headers values
func (*CreatePrivilege3Forbidden) Code ¶
func (o *CreatePrivilege3Forbidden) Code() int
Code gets the status code for the create privilege3 forbidden response
func (*CreatePrivilege3Forbidden) Error ¶
func (o *CreatePrivilege3Forbidden) Error() string
func (*CreatePrivilege3Forbidden) IsClientError ¶
func (o *CreatePrivilege3Forbidden) IsClientError() bool
IsClientError returns true when this create privilege3 forbidden response has a 4xx status code
func (*CreatePrivilege3Forbidden) IsCode ¶
func (o *CreatePrivilege3Forbidden) IsCode(code int) bool
IsCode returns true when this create privilege3 forbidden response a status code equal to that given
func (*CreatePrivilege3Forbidden) IsRedirect ¶
func (o *CreatePrivilege3Forbidden) IsRedirect() bool
IsRedirect returns true when this create privilege3 forbidden response has a 3xx status code
func (*CreatePrivilege3Forbidden) IsServerError ¶
func (o *CreatePrivilege3Forbidden) IsServerError() bool
IsServerError returns true when this create privilege3 forbidden response has a 5xx status code
func (*CreatePrivilege3Forbidden) IsSuccess ¶
func (o *CreatePrivilege3Forbidden) IsSuccess() bool
IsSuccess returns true when this create privilege3 forbidden response has a 2xx status code
func (*CreatePrivilege3Forbidden) String ¶
func (o *CreatePrivilege3Forbidden) String() string
type CreatePrivilege3Params ¶
type CreatePrivilege3Params struct { /* Body. The privilege to create. */ Body *models.APIPrivilegeRepositoryAdminRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivilege3Params contains all the parameters to send to the API endpoint
for the create privilege 3 operation. Typically these are written to a http.Request.
func NewCreatePrivilege3Params ¶
func NewCreatePrivilege3Params() *CreatePrivilege3Params
NewCreatePrivilege3Params creates a new CreatePrivilege3Params 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 NewCreatePrivilege3ParamsWithContext ¶
func NewCreatePrivilege3ParamsWithContext(ctx context.Context) *CreatePrivilege3Params
NewCreatePrivilege3ParamsWithContext creates a new CreatePrivilege3Params object with the ability to set a context for a request.
func NewCreatePrivilege3ParamsWithHTTPClient ¶
func NewCreatePrivilege3ParamsWithHTTPClient(client *http.Client) *CreatePrivilege3Params
NewCreatePrivilege3ParamsWithHTTPClient creates a new CreatePrivilege3Params object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivilege3ParamsWithTimeout ¶
func NewCreatePrivilege3ParamsWithTimeout(timeout time.Duration) *CreatePrivilege3Params
NewCreatePrivilege3ParamsWithTimeout creates a new CreatePrivilege3Params object with the ability to set a timeout on a request.
func (*CreatePrivilege3Params) SetBody ¶
func (o *CreatePrivilege3Params) SetBody(body *models.APIPrivilegeRepositoryAdminRequest)
SetBody adds the body to the create privilege 3 params
func (*CreatePrivilege3Params) SetContext ¶
func (o *CreatePrivilege3Params) SetContext(ctx context.Context)
SetContext adds the context to the create privilege 3 params
func (*CreatePrivilege3Params) SetDefaults ¶
func (o *CreatePrivilege3Params) SetDefaults()
SetDefaults hydrates default values in the create privilege 3 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege3Params) SetHTTPClient ¶
func (o *CreatePrivilege3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create privilege 3 params
func (*CreatePrivilege3Params) SetTimeout ¶
func (o *CreatePrivilege3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create privilege 3 params
func (*CreatePrivilege3Params) WithBody ¶
func (o *CreatePrivilege3Params) WithBody(body *models.APIPrivilegeRepositoryAdminRequest) *CreatePrivilege3Params
WithBody adds the body to the create privilege 3 params
func (*CreatePrivilege3Params) WithContext ¶
func (o *CreatePrivilege3Params) WithContext(ctx context.Context) *CreatePrivilege3Params
WithContext adds the context to the create privilege 3 params
func (*CreatePrivilege3Params) WithDefaults ¶
func (o *CreatePrivilege3Params) WithDefaults() *CreatePrivilege3Params
WithDefaults hydrates default values in the create privilege 3 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege3Params) WithHTTPClient ¶
func (o *CreatePrivilege3Params) WithHTTPClient(client *http.Client) *CreatePrivilege3Params
WithHTTPClient adds the HTTPClient to the create privilege 3 params
func (*CreatePrivilege3Params) WithTimeout ¶
func (o *CreatePrivilege3Params) WithTimeout(timeout time.Duration) *CreatePrivilege3Params
WithTimeout adds the timeout to the create privilege 3 params
func (*CreatePrivilege3Params) WriteToRequest ¶
func (o *CreatePrivilege3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivilege3Reader ¶
type CreatePrivilege3Reader struct {
// contains filtered or unexported fields
}
CreatePrivilege3Reader is a Reader for the CreatePrivilege3 structure.
func (*CreatePrivilege3Reader) ReadResponse ¶
func (o *CreatePrivilege3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivilege4BadRequest ¶
type CreatePrivilege4BadRequest struct { }
CreatePrivilege4BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewCreatePrivilege4BadRequest ¶
func NewCreatePrivilege4BadRequest() *CreatePrivilege4BadRequest
NewCreatePrivilege4BadRequest creates a CreatePrivilege4BadRequest with default headers values
func (*CreatePrivilege4BadRequest) Code ¶
func (o *CreatePrivilege4BadRequest) Code() int
Code gets the status code for the create privilege4 bad request response
func (*CreatePrivilege4BadRequest) Error ¶
func (o *CreatePrivilege4BadRequest) Error() string
func (*CreatePrivilege4BadRequest) IsClientError ¶
func (o *CreatePrivilege4BadRequest) IsClientError() bool
IsClientError returns true when this create privilege4 bad request response has a 4xx status code
func (*CreatePrivilege4BadRequest) IsCode ¶
func (o *CreatePrivilege4BadRequest) IsCode(code int) bool
IsCode returns true when this create privilege4 bad request response a status code equal to that given
func (*CreatePrivilege4BadRequest) IsRedirect ¶
func (o *CreatePrivilege4BadRequest) IsRedirect() bool
IsRedirect returns true when this create privilege4 bad request response has a 3xx status code
func (*CreatePrivilege4BadRequest) IsServerError ¶
func (o *CreatePrivilege4BadRequest) IsServerError() bool
IsServerError returns true when this create privilege4 bad request response has a 5xx status code
func (*CreatePrivilege4BadRequest) IsSuccess ¶
func (o *CreatePrivilege4BadRequest) IsSuccess() bool
IsSuccess returns true when this create privilege4 bad request response has a 2xx status code
func (*CreatePrivilege4BadRequest) String ¶
func (o *CreatePrivilege4BadRequest) String() string
type CreatePrivilege4Forbidden ¶
type CreatePrivilege4Forbidden struct { }
CreatePrivilege4Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewCreatePrivilege4Forbidden ¶
func NewCreatePrivilege4Forbidden() *CreatePrivilege4Forbidden
NewCreatePrivilege4Forbidden creates a CreatePrivilege4Forbidden with default headers values
func (*CreatePrivilege4Forbidden) Code ¶
func (o *CreatePrivilege4Forbidden) Code() int
Code gets the status code for the create privilege4 forbidden response
func (*CreatePrivilege4Forbidden) Error ¶
func (o *CreatePrivilege4Forbidden) Error() string
func (*CreatePrivilege4Forbidden) IsClientError ¶
func (o *CreatePrivilege4Forbidden) IsClientError() bool
IsClientError returns true when this create privilege4 forbidden response has a 4xx status code
func (*CreatePrivilege4Forbidden) IsCode ¶
func (o *CreatePrivilege4Forbidden) IsCode(code int) bool
IsCode returns true when this create privilege4 forbidden response a status code equal to that given
func (*CreatePrivilege4Forbidden) IsRedirect ¶
func (o *CreatePrivilege4Forbidden) IsRedirect() bool
IsRedirect returns true when this create privilege4 forbidden response has a 3xx status code
func (*CreatePrivilege4Forbidden) IsServerError ¶
func (o *CreatePrivilege4Forbidden) IsServerError() bool
IsServerError returns true when this create privilege4 forbidden response has a 5xx status code
func (*CreatePrivilege4Forbidden) IsSuccess ¶
func (o *CreatePrivilege4Forbidden) IsSuccess() bool
IsSuccess returns true when this create privilege4 forbidden response has a 2xx status code
func (*CreatePrivilege4Forbidden) String ¶
func (o *CreatePrivilege4Forbidden) String() string
type CreatePrivilege4Params ¶
type CreatePrivilege4Params struct { /* Body. The privilege to create. */ Body *models.APIPrivilegeRepositoryViewRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivilege4Params contains all the parameters to send to the API endpoint
for the create privilege 4 operation. Typically these are written to a http.Request.
func NewCreatePrivilege4Params ¶
func NewCreatePrivilege4Params() *CreatePrivilege4Params
NewCreatePrivilege4Params creates a new CreatePrivilege4Params 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 NewCreatePrivilege4ParamsWithContext ¶
func NewCreatePrivilege4ParamsWithContext(ctx context.Context) *CreatePrivilege4Params
NewCreatePrivilege4ParamsWithContext creates a new CreatePrivilege4Params object with the ability to set a context for a request.
func NewCreatePrivilege4ParamsWithHTTPClient ¶
func NewCreatePrivilege4ParamsWithHTTPClient(client *http.Client) *CreatePrivilege4Params
NewCreatePrivilege4ParamsWithHTTPClient creates a new CreatePrivilege4Params object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivilege4ParamsWithTimeout ¶
func NewCreatePrivilege4ParamsWithTimeout(timeout time.Duration) *CreatePrivilege4Params
NewCreatePrivilege4ParamsWithTimeout creates a new CreatePrivilege4Params object with the ability to set a timeout on a request.
func (*CreatePrivilege4Params) SetBody ¶
func (o *CreatePrivilege4Params) SetBody(body *models.APIPrivilegeRepositoryViewRequest)
SetBody adds the body to the create privilege 4 params
func (*CreatePrivilege4Params) SetContext ¶
func (o *CreatePrivilege4Params) SetContext(ctx context.Context)
SetContext adds the context to the create privilege 4 params
func (*CreatePrivilege4Params) SetDefaults ¶
func (o *CreatePrivilege4Params) SetDefaults()
SetDefaults hydrates default values in the create privilege 4 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege4Params) SetHTTPClient ¶
func (o *CreatePrivilege4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create privilege 4 params
func (*CreatePrivilege4Params) SetTimeout ¶
func (o *CreatePrivilege4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create privilege 4 params
func (*CreatePrivilege4Params) WithBody ¶
func (o *CreatePrivilege4Params) WithBody(body *models.APIPrivilegeRepositoryViewRequest) *CreatePrivilege4Params
WithBody adds the body to the create privilege 4 params
func (*CreatePrivilege4Params) WithContext ¶
func (o *CreatePrivilege4Params) WithContext(ctx context.Context) *CreatePrivilege4Params
WithContext adds the context to the create privilege 4 params
func (*CreatePrivilege4Params) WithDefaults ¶
func (o *CreatePrivilege4Params) WithDefaults() *CreatePrivilege4Params
WithDefaults hydrates default values in the create privilege 4 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege4Params) WithHTTPClient ¶
func (o *CreatePrivilege4Params) WithHTTPClient(client *http.Client) *CreatePrivilege4Params
WithHTTPClient adds the HTTPClient to the create privilege 4 params
func (*CreatePrivilege4Params) WithTimeout ¶
func (o *CreatePrivilege4Params) WithTimeout(timeout time.Duration) *CreatePrivilege4Params
WithTimeout adds the timeout to the create privilege 4 params
func (*CreatePrivilege4Params) WriteToRequest ¶
func (o *CreatePrivilege4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivilege4Reader ¶
type CreatePrivilege4Reader struct {
// contains filtered or unexported fields
}
CreatePrivilege4Reader is a Reader for the CreatePrivilege4 structure.
func (*CreatePrivilege4Reader) ReadResponse ¶
func (o *CreatePrivilege4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivilege5BadRequest ¶
type CreatePrivilege5BadRequest struct { }
CreatePrivilege5BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewCreatePrivilege5BadRequest ¶
func NewCreatePrivilege5BadRequest() *CreatePrivilege5BadRequest
NewCreatePrivilege5BadRequest creates a CreatePrivilege5BadRequest with default headers values
func (*CreatePrivilege5BadRequest) Code ¶
func (o *CreatePrivilege5BadRequest) Code() int
Code gets the status code for the create privilege5 bad request response
func (*CreatePrivilege5BadRequest) Error ¶
func (o *CreatePrivilege5BadRequest) Error() string
func (*CreatePrivilege5BadRequest) IsClientError ¶
func (o *CreatePrivilege5BadRequest) IsClientError() bool
IsClientError returns true when this create privilege5 bad request response has a 4xx status code
func (*CreatePrivilege5BadRequest) IsCode ¶
func (o *CreatePrivilege5BadRequest) IsCode(code int) bool
IsCode returns true when this create privilege5 bad request response a status code equal to that given
func (*CreatePrivilege5BadRequest) IsRedirect ¶
func (o *CreatePrivilege5BadRequest) IsRedirect() bool
IsRedirect returns true when this create privilege5 bad request response has a 3xx status code
func (*CreatePrivilege5BadRequest) IsServerError ¶
func (o *CreatePrivilege5BadRequest) IsServerError() bool
IsServerError returns true when this create privilege5 bad request response has a 5xx status code
func (*CreatePrivilege5BadRequest) IsSuccess ¶
func (o *CreatePrivilege5BadRequest) IsSuccess() bool
IsSuccess returns true when this create privilege5 bad request response has a 2xx status code
func (*CreatePrivilege5BadRequest) String ¶
func (o *CreatePrivilege5BadRequest) String() string
type CreatePrivilege5Forbidden ¶
type CreatePrivilege5Forbidden struct { }
CreatePrivilege5Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewCreatePrivilege5Forbidden ¶
func NewCreatePrivilege5Forbidden() *CreatePrivilege5Forbidden
NewCreatePrivilege5Forbidden creates a CreatePrivilege5Forbidden with default headers values
func (*CreatePrivilege5Forbidden) Code ¶
func (o *CreatePrivilege5Forbidden) Code() int
Code gets the status code for the create privilege5 forbidden response
func (*CreatePrivilege5Forbidden) Error ¶
func (o *CreatePrivilege5Forbidden) Error() string
func (*CreatePrivilege5Forbidden) IsClientError ¶
func (o *CreatePrivilege5Forbidden) IsClientError() bool
IsClientError returns true when this create privilege5 forbidden response has a 4xx status code
func (*CreatePrivilege5Forbidden) IsCode ¶
func (o *CreatePrivilege5Forbidden) IsCode(code int) bool
IsCode returns true when this create privilege5 forbidden response a status code equal to that given
func (*CreatePrivilege5Forbidden) IsRedirect ¶
func (o *CreatePrivilege5Forbidden) IsRedirect() bool
IsRedirect returns true when this create privilege5 forbidden response has a 3xx status code
func (*CreatePrivilege5Forbidden) IsServerError ¶
func (o *CreatePrivilege5Forbidden) IsServerError() bool
IsServerError returns true when this create privilege5 forbidden response has a 5xx status code
func (*CreatePrivilege5Forbidden) IsSuccess ¶
func (o *CreatePrivilege5Forbidden) IsSuccess() bool
IsSuccess returns true when this create privilege5 forbidden response has a 2xx status code
func (*CreatePrivilege5Forbidden) String ¶
func (o *CreatePrivilege5Forbidden) String() string
type CreatePrivilege5Params ¶
type CreatePrivilege5Params struct { /* Body. The privilege to create. */ Body *models.APIPrivilegeScriptRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivilege5Params contains all the parameters to send to the API endpoint
for the create privilege 5 operation. Typically these are written to a http.Request.
func NewCreatePrivilege5Params ¶
func NewCreatePrivilege5Params() *CreatePrivilege5Params
NewCreatePrivilege5Params creates a new CreatePrivilege5Params 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 NewCreatePrivilege5ParamsWithContext ¶
func NewCreatePrivilege5ParamsWithContext(ctx context.Context) *CreatePrivilege5Params
NewCreatePrivilege5ParamsWithContext creates a new CreatePrivilege5Params object with the ability to set a context for a request.
func NewCreatePrivilege5ParamsWithHTTPClient ¶
func NewCreatePrivilege5ParamsWithHTTPClient(client *http.Client) *CreatePrivilege5Params
NewCreatePrivilege5ParamsWithHTTPClient creates a new CreatePrivilege5Params object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivilege5ParamsWithTimeout ¶
func NewCreatePrivilege5ParamsWithTimeout(timeout time.Duration) *CreatePrivilege5Params
NewCreatePrivilege5ParamsWithTimeout creates a new CreatePrivilege5Params object with the ability to set a timeout on a request.
func (*CreatePrivilege5Params) SetBody ¶
func (o *CreatePrivilege5Params) SetBody(body *models.APIPrivilegeScriptRequest)
SetBody adds the body to the create privilege 5 params
func (*CreatePrivilege5Params) SetContext ¶
func (o *CreatePrivilege5Params) SetContext(ctx context.Context)
SetContext adds the context to the create privilege 5 params
func (*CreatePrivilege5Params) SetDefaults ¶
func (o *CreatePrivilege5Params) SetDefaults()
SetDefaults hydrates default values in the create privilege 5 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege5Params) SetHTTPClient ¶
func (o *CreatePrivilege5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create privilege 5 params
func (*CreatePrivilege5Params) SetTimeout ¶
func (o *CreatePrivilege5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create privilege 5 params
func (*CreatePrivilege5Params) WithBody ¶
func (o *CreatePrivilege5Params) WithBody(body *models.APIPrivilegeScriptRequest) *CreatePrivilege5Params
WithBody adds the body to the create privilege 5 params
func (*CreatePrivilege5Params) WithContext ¶
func (o *CreatePrivilege5Params) WithContext(ctx context.Context) *CreatePrivilege5Params
WithContext adds the context to the create privilege 5 params
func (*CreatePrivilege5Params) WithDefaults ¶
func (o *CreatePrivilege5Params) WithDefaults() *CreatePrivilege5Params
WithDefaults hydrates default values in the create privilege 5 params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilege5Params) WithHTTPClient ¶
func (o *CreatePrivilege5Params) WithHTTPClient(client *http.Client) *CreatePrivilege5Params
WithHTTPClient adds the HTTPClient to the create privilege 5 params
func (*CreatePrivilege5Params) WithTimeout ¶
func (o *CreatePrivilege5Params) WithTimeout(timeout time.Duration) *CreatePrivilege5Params
WithTimeout adds the timeout to the create privilege 5 params
func (*CreatePrivilege5Params) WriteToRequest ¶
func (o *CreatePrivilege5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivilege5Reader ¶
type CreatePrivilege5Reader struct {
// contains filtered or unexported fields
}
CreatePrivilege5Reader is a Reader for the CreatePrivilege5 structure.
func (*CreatePrivilege5Reader) ReadResponse ¶
func (o *CreatePrivilege5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivilegeBadRequest ¶
type CreatePrivilegeBadRequest struct { }
CreatePrivilegeBadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewCreatePrivilegeBadRequest ¶
func NewCreatePrivilegeBadRequest() *CreatePrivilegeBadRequest
NewCreatePrivilegeBadRequest creates a CreatePrivilegeBadRequest with default headers values
func (*CreatePrivilegeBadRequest) Code ¶
func (o *CreatePrivilegeBadRequest) Code() int
Code gets the status code for the create privilege bad request response
func (*CreatePrivilegeBadRequest) Error ¶
func (o *CreatePrivilegeBadRequest) Error() string
func (*CreatePrivilegeBadRequest) IsClientError ¶
func (o *CreatePrivilegeBadRequest) IsClientError() bool
IsClientError returns true when this create privilege bad request response has a 4xx status code
func (*CreatePrivilegeBadRequest) IsCode ¶
func (o *CreatePrivilegeBadRequest) IsCode(code int) bool
IsCode returns true when this create privilege bad request response a status code equal to that given
func (*CreatePrivilegeBadRequest) IsRedirect ¶
func (o *CreatePrivilegeBadRequest) IsRedirect() bool
IsRedirect returns true when this create privilege bad request response has a 3xx status code
func (*CreatePrivilegeBadRequest) IsServerError ¶
func (o *CreatePrivilegeBadRequest) IsServerError() bool
IsServerError returns true when this create privilege bad request response has a 5xx status code
func (*CreatePrivilegeBadRequest) IsSuccess ¶
func (o *CreatePrivilegeBadRequest) IsSuccess() bool
IsSuccess returns true when this create privilege bad request response has a 2xx status code
func (*CreatePrivilegeBadRequest) String ¶
func (o *CreatePrivilegeBadRequest) String() string
type CreatePrivilegeForbidden ¶
type CreatePrivilegeForbidden struct { }
CreatePrivilegeForbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewCreatePrivilegeForbidden ¶
func NewCreatePrivilegeForbidden() *CreatePrivilegeForbidden
NewCreatePrivilegeForbidden creates a CreatePrivilegeForbidden with default headers values
func (*CreatePrivilegeForbidden) Code ¶
func (o *CreatePrivilegeForbidden) Code() int
Code gets the status code for the create privilege forbidden response
func (*CreatePrivilegeForbidden) Error ¶
func (o *CreatePrivilegeForbidden) Error() string
func (*CreatePrivilegeForbidden) IsClientError ¶
func (o *CreatePrivilegeForbidden) IsClientError() bool
IsClientError returns true when this create privilege forbidden response has a 4xx status code
func (*CreatePrivilegeForbidden) IsCode ¶
func (o *CreatePrivilegeForbidden) IsCode(code int) bool
IsCode returns true when this create privilege forbidden response a status code equal to that given
func (*CreatePrivilegeForbidden) IsRedirect ¶
func (o *CreatePrivilegeForbidden) IsRedirect() bool
IsRedirect returns true when this create privilege forbidden response has a 3xx status code
func (*CreatePrivilegeForbidden) IsServerError ¶
func (o *CreatePrivilegeForbidden) IsServerError() bool
IsServerError returns true when this create privilege forbidden response has a 5xx status code
func (*CreatePrivilegeForbidden) IsSuccess ¶
func (o *CreatePrivilegeForbidden) IsSuccess() bool
IsSuccess returns true when this create privilege forbidden response has a 2xx status code
func (*CreatePrivilegeForbidden) String ¶
func (o *CreatePrivilegeForbidden) String() string
type CreatePrivilegeParams ¶
type CreatePrivilegeParams struct { /* Body. The privilege to create. */ Body *models.APIPrivilegeWildcardRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivilegeParams contains all the parameters to send to the API endpoint
for the create privilege operation. Typically these are written to a http.Request.
func NewCreatePrivilegeParams ¶
func NewCreatePrivilegeParams() *CreatePrivilegeParams
NewCreatePrivilegeParams creates a new CreatePrivilegeParams 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 NewCreatePrivilegeParamsWithContext ¶
func NewCreatePrivilegeParamsWithContext(ctx context.Context) *CreatePrivilegeParams
NewCreatePrivilegeParamsWithContext creates a new CreatePrivilegeParams object with the ability to set a context for a request.
func NewCreatePrivilegeParamsWithHTTPClient ¶
func NewCreatePrivilegeParamsWithHTTPClient(client *http.Client) *CreatePrivilegeParams
NewCreatePrivilegeParamsWithHTTPClient creates a new CreatePrivilegeParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivilegeParamsWithTimeout ¶
func NewCreatePrivilegeParamsWithTimeout(timeout time.Duration) *CreatePrivilegeParams
NewCreatePrivilegeParamsWithTimeout creates a new CreatePrivilegeParams object with the ability to set a timeout on a request.
func (*CreatePrivilegeParams) SetBody ¶
func (o *CreatePrivilegeParams) SetBody(body *models.APIPrivilegeWildcardRequest)
SetBody adds the body to the create privilege params
func (*CreatePrivilegeParams) SetContext ¶
func (o *CreatePrivilegeParams) SetContext(ctx context.Context)
SetContext adds the context to the create privilege params
func (*CreatePrivilegeParams) SetDefaults ¶
func (o *CreatePrivilegeParams) SetDefaults()
SetDefaults hydrates default values in the create privilege params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilegeParams) SetHTTPClient ¶
func (o *CreatePrivilegeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create privilege params
func (*CreatePrivilegeParams) SetTimeout ¶
func (o *CreatePrivilegeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create privilege params
func (*CreatePrivilegeParams) WithBody ¶
func (o *CreatePrivilegeParams) WithBody(body *models.APIPrivilegeWildcardRequest) *CreatePrivilegeParams
WithBody adds the body to the create privilege params
func (*CreatePrivilegeParams) WithContext ¶
func (o *CreatePrivilegeParams) WithContext(ctx context.Context) *CreatePrivilegeParams
WithContext adds the context to the create privilege params
func (*CreatePrivilegeParams) WithDefaults ¶
func (o *CreatePrivilegeParams) WithDefaults() *CreatePrivilegeParams
WithDefaults hydrates default values in the create privilege params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivilegeParams) WithHTTPClient ¶
func (o *CreatePrivilegeParams) WithHTTPClient(client *http.Client) *CreatePrivilegeParams
WithHTTPClient adds the HTTPClient to the create privilege params
func (*CreatePrivilegeParams) WithTimeout ¶
func (o *CreatePrivilegeParams) WithTimeout(timeout time.Duration) *CreatePrivilegeParams
WithTimeout adds the timeout to the create privilege params
func (*CreatePrivilegeParams) WriteToRequest ¶
func (o *CreatePrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivilegeReader ¶
type CreatePrivilegeReader struct {
// contains filtered or unexported fields
}
CreatePrivilegeReader is a Reader for the CreatePrivilege structure.
func (*CreatePrivilegeReader) ReadResponse ¶
func (o *CreatePrivilegeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePrivilegeBadRequest ¶
type DeletePrivilegeBadRequest struct { }
DeletePrivilegeBadRequest describes a response with status code 400, with default header values.
The privilege is internal and may not be altered.
func NewDeletePrivilegeBadRequest ¶
func NewDeletePrivilegeBadRequest() *DeletePrivilegeBadRequest
NewDeletePrivilegeBadRequest creates a DeletePrivilegeBadRequest with default headers values
func (*DeletePrivilegeBadRequest) Code ¶
func (o *DeletePrivilegeBadRequest) Code() int
Code gets the status code for the delete privilege bad request response
func (*DeletePrivilegeBadRequest) Error ¶
func (o *DeletePrivilegeBadRequest) Error() string
func (*DeletePrivilegeBadRequest) IsClientError ¶
func (o *DeletePrivilegeBadRequest) IsClientError() bool
IsClientError returns true when this delete privilege bad request response has a 4xx status code
func (*DeletePrivilegeBadRequest) IsCode ¶
func (o *DeletePrivilegeBadRequest) IsCode(code int) bool
IsCode returns true when this delete privilege bad request response a status code equal to that given
func (*DeletePrivilegeBadRequest) IsRedirect ¶
func (o *DeletePrivilegeBadRequest) IsRedirect() bool
IsRedirect returns true when this delete privilege bad request response has a 3xx status code
func (*DeletePrivilegeBadRequest) IsServerError ¶
func (o *DeletePrivilegeBadRequest) IsServerError() bool
IsServerError returns true when this delete privilege bad request response has a 5xx status code
func (*DeletePrivilegeBadRequest) IsSuccess ¶
func (o *DeletePrivilegeBadRequest) IsSuccess() bool
IsSuccess returns true when this delete privilege bad request response has a 2xx status code
func (*DeletePrivilegeBadRequest) String ¶
func (o *DeletePrivilegeBadRequest) String() string
type DeletePrivilegeForbidden ¶
type DeletePrivilegeForbidden struct { }
DeletePrivilegeForbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewDeletePrivilegeForbidden ¶
func NewDeletePrivilegeForbidden() *DeletePrivilegeForbidden
NewDeletePrivilegeForbidden creates a DeletePrivilegeForbidden with default headers values
func (*DeletePrivilegeForbidden) Code ¶
func (o *DeletePrivilegeForbidden) Code() int
Code gets the status code for the delete privilege forbidden response
func (*DeletePrivilegeForbidden) Error ¶
func (o *DeletePrivilegeForbidden) Error() string
func (*DeletePrivilegeForbidden) IsClientError ¶
func (o *DeletePrivilegeForbidden) IsClientError() bool
IsClientError returns true when this delete privilege forbidden response has a 4xx status code
func (*DeletePrivilegeForbidden) IsCode ¶
func (o *DeletePrivilegeForbidden) IsCode(code int) bool
IsCode returns true when this delete privilege forbidden response a status code equal to that given
func (*DeletePrivilegeForbidden) IsRedirect ¶
func (o *DeletePrivilegeForbidden) IsRedirect() bool
IsRedirect returns true when this delete privilege forbidden response has a 3xx status code
func (*DeletePrivilegeForbidden) IsServerError ¶
func (o *DeletePrivilegeForbidden) IsServerError() bool
IsServerError returns true when this delete privilege forbidden response has a 5xx status code
func (*DeletePrivilegeForbidden) IsSuccess ¶
func (o *DeletePrivilegeForbidden) IsSuccess() bool
IsSuccess returns true when this delete privilege forbidden response has a 2xx status code
func (*DeletePrivilegeForbidden) String ¶
func (o *DeletePrivilegeForbidden) String() string
type DeletePrivilegeNotFound ¶
type DeletePrivilegeNotFound struct { }
DeletePrivilegeNotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewDeletePrivilegeNotFound ¶
func NewDeletePrivilegeNotFound() *DeletePrivilegeNotFound
NewDeletePrivilegeNotFound creates a DeletePrivilegeNotFound with default headers values
func (*DeletePrivilegeNotFound) Code ¶
func (o *DeletePrivilegeNotFound) Code() int
Code gets the status code for the delete privilege not found response
func (*DeletePrivilegeNotFound) Error ¶
func (o *DeletePrivilegeNotFound) Error() string
func (*DeletePrivilegeNotFound) IsClientError ¶
func (o *DeletePrivilegeNotFound) IsClientError() bool
IsClientError returns true when this delete privilege not found response has a 4xx status code
func (*DeletePrivilegeNotFound) IsCode ¶
func (o *DeletePrivilegeNotFound) IsCode(code int) bool
IsCode returns true when this delete privilege not found response a status code equal to that given
func (*DeletePrivilegeNotFound) IsRedirect ¶
func (o *DeletePrivilegeNotFound) IsRedirect() bool
IsRedirect returns true when this delete privilege not found response has a 3xx status code
func (*DeletePrivilegeNotFound) IsServerError ¶
func (o *DeletePrivilegeNotFound) IsServerError() bool
IsServerError returns true when this delete privilege not found response has a 5xx status code
func (*DeletePrivilegeNotFound) IsSuccess ¶
func (o *DeletePrivilegeNotFound) IsSuccess() bool
IsSuccess returns true when this delete privilege not found response has a 2xx status code
func (*DeletePrivilegeNotFound) String ¶
func (o *DeletePrivilegeNotFound) String() string
type DeletePrivilegeParams ¶
type DeletePrivilegeParams struct { /* PrivilegeName. The name of the privilege to delete. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePrivilegeParams contains all the parameters to send to the API endpoint
for the delete privilege operation. Typically these are written to a http.Request.
func NewDeletePrivilegeParams ¶
func NewDeletePrivilegeParams() *DeletePrivilegeParams
NewDeletePrivilegeParams creates a new DeletePrivilegeParams 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 NewDeletePrivilegeParamsWithContext ¶
func NewDeletePrivilegeParamsWithContext(ctx context.Context) *DeletePrivilegeParams
NewDeletePrivilegeParamsWithContext creates a new DeletePrivilegeParams object with the ability to set a context for a request.
func NewDeletePrivilegeParamsWithHTTPClient ¶
func NewDeletePrivilegeParamsWithHTTPClient(client *http.Client) *DeletePrivilegeParams
NewDeletePrivilegeParamsWithHTTPClient creates a new DeletePrivilegeParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePrivilegeParamsWithTimeout ¶
func NewDeletePrivilegeParamsWithTimeout(timeout time.Duration) *DeletePrivilegeParams
NewDeletePrivilegeParamsWithTimeout creates a new DeletePrivilegeParams object with the ability to set a timeout on a request.
func (*DeletePrivilegeParams) SetContext ¶
func (o *DeletePrivilegeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete privilege params
func (*DeletePrivilegeParams) SetDefaults ¶
func (o *DeletePrivilegeParams) SetDefaults()
SetDefaults hydrates default values in the delete privilege params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePrivilegeParams) SetHTTPClient ¶
func (o *DeletePrivilegeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete privilege params
func (*DeletePrivilegeParams) SetPrivilegeName ¶
func (o *DeletePrivilegeParams) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the delete privilege params
func (*DeletePrivilegeParams) SetTimeout ¶
func (o *DeletePrivilegeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete privilege params
func (*DeletePrivilegeParams) WithContext ¶
func (o *DeletePrivilegeParams) WithContext(ctx context.Context) *DeletePrivilegeParams
WithContext adds the context to the delete privilege params
func (*DeletePrivilegeParams) WithDefaults ¶
func (o *DeletePrivilegeParams) WithDefaults() *DeletePrivilegeParams
WithDefaults hydrates default values in the delete privilege params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePrivilegeParams) WithHTTPClient ¶
func (o *DeletePrivilegeParams) WithHTTPClient(client *http.Client) *DeletePrivilegeParams
WithHTTPClient adds the HTTPClient to the delete privilege params
func (*DeletePrivilegeParams) WithPrivilegeName ¶
func (o *DeletePrivilegeParams) WithPrivilegeName(privilegeName string) *DeletePrivilegeParams
WithPrivilegeName adds the privilegeName to the delete privilege params
func (*DeletePrivilegeParams) WithTimeout ¶
func (o *DeletePrivilegeParams) WithTimeout(timeout time.Duration) *DeletePrivilegeParams
WithTimeout adds the timeout to the delete privilege params
func (*DeletePrivilegeParams) WriteToRequest ¶
func (o *DeletePrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrivilegeReader ¶
type DeletePrivilegeReader struct {
// contains filtered or unexported fields
}
DeletePrivilegeReader is a Reader for the DeletePrivilege structure.
func (*DeletePrivilegeReader) ReadResponse ¶
func (o *DeletePrivilegeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivilegeForbidden ¶
type GetPrivilegeForbidden struct { }
GetPrivilegeForbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewGetPrivilegeForbidden ¶
func NewGetPrivilegeForbidden() *GetPrivilegeForbidden
NewGetPrivilegeForbidden creates a GetPrivilegeForbidden with default headers values
func (*GetPrivilegeForbidden) Code ¶
func (o *GetPrivilegeForbidden) Code() int
Code gets the status code for the get privilege forbidden response
func (*GetPrivilegeForbidden) Error ¶
func (o *GetPrivilegeForbidden) Error() string
func (*GetPrivilegeForbidden) IsClientError ¶
func (o *GetPrivilegeForbidden) IsClientError() bool
IsClientError returns true when this get privilege forbidden response has a 4xx status code
func (*GetPrivilegeForbidden) IsCode ¶
func (o *GetPrivilegeForbidden) IsCode(code int) bool
IsCode returns true when this get privilege forbidden response a status code equal to that given
func (*GetPrivilegeForbidden) IsRedirect ¶
func (o *GetPrivilegeForbidden) IsRedirect() bool
IsRedirect returns true when this get privilege forbidden response has a 3xx status code
func (*GetPrivilegeForbidden) IsServerError ¶
func (o *GetPrivilegeForbidden) IsServerError() bool
IsServerError returns true when this get privilege forbidden response has a 5xx status code
func (*GetPrivilegeForbidden) IsSuccess ¶
func (o *GetPrivilegeForbidden) IsSuccess() bool
IsSuccess returns true when this get privilege forbidden response has a 2xx status code
func (*GetPrivilegeForbidden) String ¶
func (o *GetPrivilegeForbidden) String() string
type GetPrivilegeNotFound ¶
type GetPrivilegeNotFound struct { }
GetPrivilegeNotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewGetPrivilegeNotFound ¶
func NewGetPrivilegeNotFound() *GetPrivilegeNotFound
NewGetPrivilegeNotFound creates a GetPrivilegeNotFound with default headers values
func (*GetPrivilegeNotFound) Code ¶
func (o *GetPrivilegeNotFound) Code() int
Code gets the status code for the get privilege not found response
func (*GetPrivilegeNotFound) Error ¶
func (o *GetPrivilegeNotFound) Error() string
func (*GetPrivilegeNotFound) IsClientError ¶
func (o *GetPrivilegeNotFound) IsClientError() bool
IsClientError returns true when this get privilege not found response has a 4xx status code
func (*GetPrivilegeNotFound) IsCode ¶
func (o *GetPrivilegeNotFound) IsCode(code int) bool
IsCode returns true when this get privilege not found response a status code equal to that given
func (*GetPrivilegeNotFound) IsRedirect ¶
func (o *GetPrivilegeNotFound) IsRedirect() bool
IsRedirect returns true when this get privilege not found response has a 3xx status code
func (*GetPrivilegeNotFound) IsServerError ¶
func (o *GetPrivilegeNotFound) IsServerError() bool
IsServerError returns true when this get privilege not found response has a 5xx status code
func (*GetPrivilegeNotFound) IsSuccess ¶
func (o *GetPrivilegeNotFound) IsSuccess() bool
IsSuccess returns true when this get privilege not found response has a 2xx status code
func (*GetPrivilegeNotFound) String ¶
func (o *GetPrivilegeNotFound) String() string
type GetPrivilegeOK ¶
type GetPrivilegeOK struct {
Payload *models.APIPrivilege
}
GetPrivilegeOK describes a response with status code 200, with default header values.
successful operation
func NewGetPrivilegeOK ¶
func NewGetPrivilegeOK() *GetPrivilegeOK
NewGetPrivilegeOK creates a GetPrivilegeOK with default headers values
func (*GetPrivilegeOK) Code ¶
func (o *GetPrivilegeOK) Code() int
Code gets the status code for the get privilege o k response
func (*GetPrivilegeOK) Error ¶
func (o *GetPrivilegeOK) Error() string
func (*GetPrivilegeOK) GetPayload ¶
func (o *GetPrivilegeOK) GetPayload() *models.APIPrivilege
func (*GetPrivilegeOK) IsClientError ¶
func (o *GetPrivilegeOK) IsClientError() bool
IsClientError returns true when this get privilege o k response has a 4xx status code
func (*GetPrivilegeOK) IsCode ¶
func (o *GetPrivilegeOK) IsCode(code int) bool
IsCode returns true when this get privilege o k response a status code equal to that given
func (*GetPrivilegeOK) IsRedirect ¶
func (o *GetPrivilegeOK) IsRedirect() bool
IsRedirect returns true when this get privilege o k response has a 3xx status code
func (*GetPrivilegeOK) IsServerError ¶
func (o *GetPrivilegeOK) IsServerError() bool
IsServerError returns true when this get privilege o k response has a 5xx status code
func (*GetPrivilegeOK) IsSuccess ¶
func (o *GetPrivilegeOK) IsSuccess() bool
IsSuccess returns true when this get privilege o k response has a 2xx status code
func (*GetPrivilegeOK) String ¶
func (o *GetPrivilegeOK) String() string
type GetPrivilegeParams ¶
type GetPrivilegeParams struct { /* PrivilegeName. The name of the privilege to retrieve. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivilegeParams contains all the parameters to send to the API endpoint
for the get privilege operation. Typically these are written to a http.Request.
func NewGetPrivilegeParams ¶
func NewGetPrivilegeParams() *GetPrivilegeParams
NewGetPrivilegeParams creates a new GetPrivilegeParams 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 NewGetPrivilegeParamsWithContext ¶
func NewGetPrivilegeParamsWithContext(ctx context.Context) *GetPrivilegeParams
NewGetPrivilegeParamsWithContext creates a new GetPrivilegeParams object with the ability to set a context for a request.
func NewGetPrivilegeParamsWithHTTPClient ¶
func NewGetPrivilegeParamsWithHTTPClient(client *http.Client) *GetPrivilegeParams
NewGetPrivilegeParamsWithHTTPClient creates a new GetPrivilegeParams object with the ability to set a custom HTTPClient for a request.
func NewGetPrivilegeParamsWithTimeout ¶
func NewGetPrivilegeParamsWithTimeout(timeout time.Duration) *GetPrivilegeParams
NewGetPrivilegeParamsWithTimeout creates a new GetPrivilegeParams object with the ability to set a timeout on a request.
func (*GetPrivilegeParams) SetContext ¶
func (o *GetPrivilegeParams) SetContext(ctx context.Context)
SetContext adds the context to the get privilege params
func (*GetPrivilegeParams) SetDefaults ¶
func (o *GetPrivilegeParams) SetDefaults()
SetDefaults hydrates default values in the get privilege params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrivilegeParams) SetHTTPClient ¶
func (o *GetPrivilegeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get privilege params
func (*GetPrivilegeParams) SetPrivilegeName ¶
func (o *GetPrivilegeParams) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the get privilege params
func (*GetPrivilegeParams) SetTimeout ¶
func (o *GetPrivilegeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get privilege params
func (*GetPrivilegeParams) WithContext ¶
func (o *GetPrivilegeParams) WithContext(ctx context.Context) *GetPrivilegeParams
WithContext adds the context to the get privilege params
func (*GetPrivilegeParams) WithDefaults ¶
func (o *GetPrivilegeParams) WithDefaults() *GetPrivilegeParams
WithDefaults hydrates default values in the get privilege params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrivilegeParams) WithHTTPClient ¶
func (o *GetPrivilegeParams) WithHTTPClient(client *http.Client) *GetPrivilegeParams
WithHTTPClient adds the HTTPClient to the get privilege params
func (*GetPrivilegeParams) WithPrivilegeName ¶
func (o *GetPrivilegeParams) WithPrivilegeName(privilegeName string) *GetPrivilegeParams
WithPrivilegeName adds the privilegeName to the get privilege params
func (*GetPrivilegeParams) WithTimeout ¶
func (o *GetPrivilegeParams) WithTimeout(timeout time.Duration) *GetPrivilegeParams
WithTimeout adds the timeout to the get privilege params
func (*GetPrivilegeParams) WriteToRequest ¶
func (o *GetPrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivilegeReader ¶
type GetPrivilegeReader struct {
// contains filtered or unexported fields
}
GetPrivilegeReader is a Reader for the GetPrivilege structure.
func (*GetPrivilegeReader) ReadResponse ¶
func (o *GetPrivilegeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivilegesForbidden ¶
type GetPrivilegesForbidden struct { }
GetPrivilegesForbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewGetPrivilegesForbidden ¶
func NewGetPrivilegesForbidden() *GetPrivilegesForbidden
NewGetPrivilegesForbidden creates a GetPrivilegesForbidden with default headers values
func (*GetPrivilegesForbidden) Code ¶
func (o *GetPrivilegesForbidden) Code() int
Code gets the status code for the get privileges forbidden response
func (*GetPrivilegesForbidden) Error ¶
func (o *GetPrivilegesForbidden) Error() string
func (*GetPrivilegesForbidden) IsClientError ¶
func (o *GetPrivilegesForbidden) IsClientError() bool
IsClientError returns true when this get privileges forbidden response has a 4xx status code
func (*GetPrivilegesForbidden) IsCode ¶
func (o *GetPrivilegesForbidden) IsCode(code int) bool
IsCode returns true when this get privileges forbidden response a status code equal to that given
func (*GetPrivilegesForbidden) IsRedirect ¶
func (o *GetPrivilegesForbidden) IsRedirect() bool
IsRedirect returns true when this get privileges forbidden response has a 3xx status code
func (*GetPrivilegesForbidden) IsServerError ¶
func (o *GetPrivilegesForbidden) IsServerError() bool
IsServerError returns true when this get privileges forbidden response has a 5xx status code
func (*GetPrivilegesForbidden) IsSuccess ¶
func (o *GetPrivilegesForbidden) IsSuccess() bool
IsSuccess returns true when this get privileges forbidden response has a 2xx status code
func (*GetPrivilegesForbidden) String ¶
func (o *GetPrivilegesForbidden) String() string
type GetPrivilegesOK ¶
type GetPrivilegesOK struct {
Payload []*models.APIPrivilege
}
GetPrivilegesOK describes a response with status code 200, with default header values.
successful operation
func NewGetPrivilegesOK ¶
func NewGetPrivilegesOK() *GetPrivilegesOK
NewGetPrivilegesOK creates a GetPrivilegesOK with default headers values
func (*GetPrivilegesOK) Code ¶
func (o *GetPrivilegesOK) Code() int
Code gets the status code for the get privileges o k response
func (*GetPrivilegesOK) Error ¶
func (o *GetPrivilegesOK) Error() string
func (*GetPrivilegesOK) GetPayload ¶
func (o *GetPrivilegesOK) GetPayload() []*models.APIPrivilege
func (*GetPrivilegesOK) IsClientError ¶
func (o *GetPrivilegesOK) IsClientError() bool
IsClientError returns true when this get privileges o k response has a 4xx status code
func (*GetPrivilegesOK) IsCode ¶
func (o *GetPrivilegesOK) IsCode(code int) bool
IsCode returns true when this get privileges o k response a status code equal to that given
func (*GetPrivilegesOK) IsRedirect ¶
func (o *GetPrivilegesOK) IsRedirect() bool
IsRedirect returns true when this get privileges o k response has a 3xx status code
func (*GetPrivilegesOK) IsServerError ¶
func (o *GetPrivilegesOK) IsServerError() bool
IsServerError returns true when this get privileges o k response has a 5xx status code
func (*GetPrivilegesOK) IsSuccess ¶
func (o *GetPrivilegesOK) IsSuccess() bool
IsSuccess returns true when this get privileges o k response has a 2xx status code
func (*GetPrivilegesOK) String ¶
func (o *GetPrivilegesOK) String() string
type GetPrivilegesParams ¶
type GetPrivilegesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivilegesParams contains all the parameters to send to the API endpoint
for the get privileges operation. Typically these are written to a http.Request.
func NewGetPrivilegesParams ¶
func NewGetPrivilegesParams() *GetPrivilegesParams
NewGetPrivilegesParams creates a new GetPrivilegesParams 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 NewGetPrivilegesParamsWithContext ¶
func NewGetPrivilegesParamsWithContext(ctx context.Context) *GetPrivilegesParams
NewGetPrivilegesParamsWithContext creates a new GetPrivilegesParams object with the ability to set a context for a request.
func NewGetPrivilegesParamsWithHTTPClient ¶
func NewGetPrivilegesParamsWithHTTPClient(client *http.Client) *GetPrivilegesParams
NewGetPrivilegesParamsWithHTTPClient creates a new GetPrivilegesParams object with the ability to set a custom HTTPClient for a request.
func NewGetPrivilegesParamsWithTimeout ¶
func NewGetPrivilegesParamsWithTimeout(timeout time.Duration) *GetPrivilegesParams
NewGetPrivilegesParamsWithTimeout creates a new GetPrivilegesParams object with the ability to set a timeout on a request.
func (*GetPrivilegesParams) SetContext ¶
func (o *GetPrivilegesParams) SetContext(ctx context.Context)
SetContext adds the context to the get privileges params
func (*GetPrivilegesParams) SetDefaults ¶
func (o *GetPrivilegesParams) SetDefaults()
SetDefaults hydrates default values in the get privileges params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrivilegesParams) SetHTTPClient ¶
func (o *GetPrivilegesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get privileges params
func (*GetPrivilegesParams) SetTimeout ¶
func (o *GetPrivilegesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get privileges params
func (*GetPrivilegesParams) WithContext ¶
func (o *GetPrivilegesParams) WithContext(ctx context.Context) *GetPrivilegesParams
WithContext adds the context to the get privileges params
func (*GetPrivilegesParams) WithDefaults ¶
func (o *GetPrivilegesParams) WithDefaults() *GetPrivilegesParams
WithDefaults hydrates default values in the get privileges params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrivilegesParams) WithHTTPClient ¶
func (o *GetPrivilegesParams) WithHTTPClient(client *http.Client) *GetPrivilegesParams
WithHTTPClient adds the HTTPClient to the get privileges params
func (*GetPrivilegesParams) WithTimeout ¶
func (o *GetPrivilegesParams) WithTimeout(timeout time.Duration) *GetPrivilegesParams
WithTimeout adds the timeout to the get privileges params
func (*GetPrivilegesParams) WriteToRequest ¶
func (o *GetPrivilegesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivilegesReader ¶
type GetPrivilegesReader struct {
// contains filtered or unexported fields
}
GetPrivilegesReader is a Reader for the GetPrivileges structure.
func (*GetPrivilegesReader) ReadResponse ¶
func (o *GetPrivilegesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePrivilege1BadRequest ¶
type UpdatePrivilege1BadRequest struct { }
UpdatePrivilege1BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewUpdatePrivilege1BadRequest ¶
func NewUpdatePrivilege1BadRequest() *UpdatePrivilege1BadRequest
NewUpdatePrivilege1BadRequest creates a UpdatePrivilege1BadRequest with default headers values
func (*UpdatePrivilege1BadRequest) Code ¶
func (o *UpdatePrivilege1BadRequest) Code() int
Code gets the status code for the update privilege1 bad request response
func (*UpdatePrivilege1BadRequest) Error ¶
func (o *UpdatePrivilege1BadRequest) Error() string
func (*UpdatePrivilege1BadRequest) IsClientError ¶
func (o *UpdatePrivilege1BadRequest) IsClientError() bool
IsClientError returns true when this update privilege1 bad request response has a 4xx status code
func (*UpdatePrivilege1BadRequest) IsCode ¶
func (o *UpdatePrivilege1BadRequest) IsCode(code int) bool
IsCode returns true when this update privilege1 bad request response a status code equal to that given
func (*UpdatePrivilege1BadRequest) IsRedirect ¶
func (o *UpdatePrivilege1BadRequest) IsRedirect() bool
IsRedirect returns true when this update privilege1 bad request response has a 3xx status code
func (*UpdatePrivilege1BadRequest) IsServerError ¶
func (o *UpdatePrivilege1BadRequest) IsServerError() bool
IsServerError returns true when this update privilege1 bad request response has a 5xx status code
func (*UpdatePrivilege1BadRequest) IsSuccess ¶
func (o *UpdatePrivilege1BadRequest) IsSuccess() bool
IsSuccess returns true when this update privilege1 bad request response has a 2xx status code
func (*UpdatePrivilege1BadRequest) String ¶
func (o *UpdatePrivilege1BadRequest) String() string
type UpdatePrivilege1Forbidden ¶
type UpdatePrivilege1Forbidden struct { }
UpdatePrivilege1Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewUpdatePrivilege1Forbidden ¶
func NewUpdatePrivilege1Forbidden() *UpdatePrivilege1Forbidden
NewUpdatePrivilege1Forbidden creates a UpdatePrivilege1Forbidden with default headers values
func (*UpdatePrivilege1Forbidden) Code ¶
func (o *UpdatePrivilege1Forbidden) Code() int
Code gets the status code for the update privilege1 forbidden response
func (*UpdatePrivilege1Forbidden) Error ¶
func (o *UpdatePrivilege1Forbidden) Error() string
func (*UpdatePrivilege1Forbidden) IsClientError ¶
func (o *UpdatePrivilege1Forbidden) IsClientError() bool
IsClientError returns true when this update privilege1 forbidden response has a 4xx status code
func (*UpdatePrivilege1Forbidden) IsCode ¶
func (o *UpdatePrivilege1Forbidden) IsCode(code int) bool
IsCode returns true when this update privilege1 forbidden response a status code equal to that given
func (*UpdatePrivilege1Forbidden) IsRedirect ¶
func (o *UpdatePrivilege1Forbidden) IsRedirect() bool
IsRedirect returns true when this update privilege1 forbidden response has a 3xx status code
func (*UpdatePrivilege1Forbidden) IsServerError ¶
func (o *UpdatePrivilege1Forbidden) IsServerError() bool
IsServerError returns true when this update privilege1 forbidden response has a 5xx status code
func (*UpdatePrivilege1Forbidden) IsSuccess ¶
func (o *UpdatePrivilege1Forbidden) IsSuccess() bool
IsSuccess returns true when this update privilege1 forbidden response has a 2xx status code
func (*UpdatePrivilege1Forbidden) String ¶
func (o *UpdatePrivilege1Forbidden) String() string
type UpdatePrivilege1NotFound ¶
type UpdatePrivilege1NotFound struct { }
UpdatePrivilege1NotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewUpdatePrivilege1NotFound ¶
func NewUpdatePrivilege1NotFound() *UpdatePrivilege1NotFound
NewUpdatePrivilege1NotFound creates a UpdatePrivilege1NotFound with default headers values
func (*UpdatePrivilege1NotFound) Code ¶
func (o *UpdatePrivilege1NotFound) Code() int
Code gets the status code for the update privilege1 not found response
func (*UpdatePrivilege1NotFound) Error ¶
func (o *UpdatePrivilege1NotFound) Error() string
func (*UpdatePrivilege1NotFound) IsClientError ¶
func (o *UpdatePrivilege1NotFound) IsClientError() bool
IsClientError returns true when this update privilege1 not found response has a 4xx status code
func (*UpdatePrivilege1NotFound) IsCode ¶
func (o *UpdatePrivilege1NotFound) IsCode(code int) bool
IsCode returns true when this update privilege1 not found response a status code equal to that given
func (*UpdatePrivilege1NotFound) IsRedirect ¶
func (o *UpdatePrivilege1NotFound) IsRedirect() bool
IsRedirect returns true when this update privilege1 not found response has a 3xx status code
func (*UpdatePrivilege1NotFound) IsServerError ¶
func (o *UpdatePrivilege1NotFound) IsServerError() bool
IsServerError returns true when this update privilege1 not found response has a 5xx status code
func (*UpdatePrivilege1NotFound) IsSuccess ¶
func (o *UpdatePrivilege1NotFound) IsSuccess() bool
IsSuccess returns true when this update privilege1 not found response has a 2xx status code
func (*UpdatePrivilege1NotFound) String ¶
func (o *UpdatePrivilege1NotFound) String() string
type UpdatePrivilege1Params ¶
type UpdatePrivilege1Params struct { /* Body. The privilege to update. */ Body *models.APIPrivilegeApplicationRequest /* PrivilegeName. The name of the privilege to update. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePrivilege1Params contains all the parameters to send to the API endpoint
for the update privilege 1 operation. Typically these are written to a http.Request.
func NewUpdatePrivilege1Params ¶
func NewUpdatePrivilege1Params() *UpdatePrivilege1Params
NewUpdatePrivilege1Params creates a new UpdatePrivilege1Params 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 NewUpdatePrivilege1ParamsWithContext ¶
func NewUpdatePrivilege1ParamsWithContext(ctx context.Context) *UpdatePrivilege1Params
NewUpdatePrivilege1ParamsWithContext creates a new UpdatePrivilege1Params object with the ability to set a context for a request.
func NewUpdatePrivilege1ParamsWithHTTPClient ¶
func NewUpdatePrivilege1ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege1Params
NewUpdatePrivilege1ParamsWithHTTPClient creates a new UpdatePrivilege1Params object with the ability to set a custom HTTPClient for a request.
func NewUpdatePrivilege1ParamsWithTimeout ¶
func NewUpdatePrivilege1ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege1Params
NewUpdatePrivilege1ParamsWithTimeout creates a new UpdatePrivilege1Params object with the ability to set a timeout on a request.
func (*UpdatePrivilege1Params) SetBody ¶
func (o *UpdatePrivilege1Params) SetBody(body *models.APIPrivilegeApplicationRequest)
SetBody adds the body to the update privilege 1 params
func (*UpdatePrivilege1Params) SetContext ¶
func (o *UpdatePrivilege1Params) SetContext(ctx context.Context)
SetContext adds the context to the update privilege 1 params
func (*UpdatePrivilege1Params) SetDefaults ¶
func (o *UpdatePrivilege1Params) SetDefaults()
SetDefaults hydrates default values in the update privilege 1 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege1Params) SetHTTPClient ¶
func (o *UpdatePrivilege1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update privilege 1 params
func (*UpdatePrivilege1Params) SetPrivilegeName ¶
func (o *UpdatePrivilege1Params) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the update privilege 1 params
func (*UpdatePrivilege1Params) SetTimeout ¶
func (o *UpdatePrivilege1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update privilege 1 params
func (*UpdatePrivilege1Params) WithBody ¶
func (o *UpdatePrivilege1Params) WithBody(body *models.APIPrivilegeApplicationRequest) *UpdatePrivilege1Params
WithBody adds the body to the update privilege 1 params
func (*UpdatePrivilege1Params) WithContext ¶
func (o *UpdatePrivilege1Params) WithContext(ctx context.Context) *UpdatePrivilege1Params
WithContext adds the context to the update privilege 1 params
func (*UpdatePrivilege1Params) WithDefaults ¶
func (o *UpdatePrivilege1Params) WithDefaults() *UpdatePrivilege1Params
WithDefaults hydrates default values in the update privilege 1 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege1Params) WithHTTPClient ¶
func (o *UpdatePrivilege1Params) WithHTTPClient(client *http.Client) *UpdatePrivilege1Params
WithHTTPClient adds the HTTPClient to the update privilege 1 params
func (*UpdatePrivilege1Params) WithPrivilegeName ¶
func (o *UpdatePrivilege1Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege1Params
WithPrivilegeName adds the privilegeName to the update privilege 1 params
func (*UpdatePrivilege1Params) WithTimeout ¶
func (o *UpdatePrivilege1Params) WithTimeout(timeout time.Duration) *UpdatePrivilege1Params
WithTimeout adds the timeout to the update privilege 1 params
func (*UpdatePrivilege1Params) WriteToRequest ¶
func (o *UpdatePrivilege1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePrivilege1Reader ¶
type UpdatePrivilege1Reader struct {
// contains filtered or unexported fields
}
UpdatePrivilege1Reader is a Reader for the UpdatePrivilege1 structure.
func (*UpdatePrivilege1Reader) ReadResponse ¶
func (o *UpdatePrivilege1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePrivilege2BadRequest ¶
type UpdatePrivilege2BadRequest struct { }
UpdatePrivilege2BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewUpdatePrivilege2BadRequest ¶
func NewUpdatePrivilege2BadRequest() *UpdatePrivilege2BadRequest
NewUpdatePrivilege2BadRequest creates a UpdatePrivilege2BadRequest with default headers values
func (*UpdatePrivilege2BadRequest) Code ¶
func (o *UpdatePrivilege2BadRequest) Code() int
Code gets the status code for the update privilege2 bad request response
func (*UpdatePrivilege2BadRequest) Error ¶
func (o *UpdatePrivilege2BadRequest) Error() string
func (*UpdatePrivilege2BadRequest) IsClientError ¶
func (o *UpdatePrivilege2BadRequest) IsClientError() bool
IsClientError returns true when this update privilege2 bad request response has a 4xx status code
func (*UpdatePrivilege2BadRequest) IsCode ¶
func (o *UpdatePrivilege2BadRequest) IsCode(code int) bool
IsCode returns true when this update privilege2 bad request response a status code equal to that given
func (*UpdatePrivilege2BadRequest) IsRedirect ¶
func (o *UpdatePrivilege2BadRequest) IsRedirect() bool
IsRedirect returns true when this update privilege2 bad request response has a 3xx status code
func (*UpdatePrivilege2BadRequest) IsServerError ¶
func (o *UpdatePrivilege2BadRequest) IsServerError() bool
IsServerError returns true when this update privilege2 bad request response has a 5xx status code
func (*UpdatePrivilege2BadRequest) IsSuccess ¶
func (o *UpdatePrivilege2BadRequest) IsSuccess() bool
IsSuccess returns true when this update privilege2 bad request response has a 2xx status code
func (*UpdatePrivilege2BadRequest) String ¶
func (o *UpdatePrivilege2BadRequest) String() string
type UpdatePrivilege2Forbidden ¶
type UpdatePrivilege2Forbidden struct { }
UpdatePrivilege2Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewUpdatePrivilege2Forbidden ¶
func NewUpdatePrivilege2Forbidden() *UpdatePrivilege2Forbidden
NewUpdatePrivilege2Forbidden creates a UpdatePrivilege2Forbidden with default headers values
func (*UpdatePrivilege2Forbidden) Code ¶
func (o *UpdatePrivilege2Forbidden) Code() int
Code gets the status code for the update privilege2 forbidden response
func (*UpdatePrivilege2Forbidden) Error ¶
func (o *UpdatePrivilege2Forbidden) Error() string
func (*UpdatePrivilege2Forbidden) IsClientError ¶
func (o *UpdatePrivilege2Forbidden) IsClientError() bool
IsClientError returns true when this update privilege2 forbidden response has a 4xx status code
func (*UpdatePrivilege2Forbidden) IsCode ¶
func (o *UpdatePrivilege2Forbidden) IsCode(code int) bool
IsCode returns true when this update privilege2 forbidden response a status code equal to that given
func (*UpdatePrivilege2Forbidden) IsRedirect ¶
func (o *UpdatePrivilege2Forbidden) IsRedirect() bool
IsRedirect returns true when this update privilege2 forbidden response has a 3xx status code
func (*UpdatePrivilege2Forbidden) IsServerError ¶
func (o *UpdatePrivilege2Forbidden) IsServerError() bool
IsServerError returns true when this update privilege2 forbidden response has a 5xx status code
func (*UpdatePrivilege2Forbidden) IsSuccess ¶
func (o *UpdatePrivilege2Forbidden) IsSuccess() bool
IsSuccess returns true when this update privilege2 forbidden response has a 2xx status code
func (*UpdatePrivilege2Forbidden) String ¶
func (o *UpdatePrivilege2Forbidden) String() string
type UpdatePrivilege2NotFound ¶
type UpdatePrivilege2NotFound struct { }
UpdatePrivilege2NotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewUpdatePrivilege2NotFound ¶
func NewUpdatePrivilege2NotFound() *UpdatePrivilege2NotFound
NewUpdatePrivilege2NotFound creates a UpdatePrivilege2NotFound with default headers values
func (*UpdatePrivilege2NotFound) Code ¶
func (o *UpdatePrivilege2NotFound) Code() int
Code gets the status code for the update privilege2 not found response
func (*UpdatePrivilege2NotFound) Error ¶
func (o *UpdatePrivilege2NotFound) Error() string
func (*UpdatePrivilege2NotFound) IsClientError ¶
func (o *UpdatePrivilege2NotFound) IsClientError() bool
IsClientError returns true when this update privilege2 not found response has a 4xx status code
func (*UpdatePrivilege2NotFound) IsCode ¶
func (o *UpdatePrivilege2NotFound) IsCode(code int) bool
IsCode returns true when this update privilege2 not found response a status code equal to that given
func (*UpdatePrivilege2NotFound) IsRedirect ¶
func (o *UpdatePrivilege2NotFound) IsRedirect() bool
IsRedirect returns true when this update privilege2 not found response has a 3xx status code
func (*UpdatePrivilege2NotFound) IsServerError ¶
func (o *UpdatePrivilege2NotFound) IsServerError() bool
IsServerError returns true when this update privilege2 not found response has a 5xx status code
func (*UpdatePrivilege2NotFound) IsSuccess ¶
func (o *UpdatePrivilege2NotFound) IsSuccess() bool
IsSuccess returns true when this update privilege2 not found response has a 2xx status code
func (*UpdatePrivilege2NotFound) String ¶
func (o *UpdatePrivilege2NotFound) String() string
type UpdatePrivilege2Params ¶
type UpdatePrivilege2Params struct { /* Body. The privilege to update. */ Body *models.APIPrivilegeRepositoryViewRequest /* PrivilegeName. The name of the privilege to update. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePrivilege2Params contains all the parameters to send to the API endpoint
for the update privilege 2 operation. Typically these are written to a http.Request.
func NewUpdatePrivilege2Params ¶
func NewUpdatePrivilege2Params() *UpdatePrivilege2Params
NewUpdatePrivilege2Params creates a new UpdatePrivilege2Params 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 NewUpdatePrivilege2ParamsWithContext ¶
func NewUpdatePrivilege2ParamsWithContext(ctx context.Context) *UpdatePrivilege2Params
NewUpdatePrivilege2ParamsWithContext creates a new UpdatePrivilege2Params object with the ability to set a context for a request.
func NewUpdatePrivilege2ParamsWithHTTPClient ¶
func NewUpdatePrivilege2ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege2Params
NewUpdatePrivilege2ParamsWithHTTPClient creates a new UpdatePrivilege2Params object with the ability to set a custom HTTPClient for a request.
func NewUpdatePrivilege2ParamsWithTimeout ¶
func NewUpdatePrivilege2ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege2Params
NewUpdatePrivilege2ParamsWithTimeout creates a new UpdatePrivilege2Params object with the ability to set a timeout on a request.
func (*UpdatePrivilege2Params) SetBody ¶
func (o *UpdatePrivilege2Params) SetBody(body *models.APIPrivilegeRepositoryViewRequest)
SetBody adds the body to the update privilege 2 params
func (*UpdatePrivilege2Params) SetContext ¶
func (o *UpdatePrivilege2Params) SetContext(ctx context.Context)
SetContext adds the context to the update privilege 2 params
func (*UpdatePrivilege2Params) SetDefaults ¶
func (o *UpdatePrivilege2Params) SetDefaults()
SetDefaults hydrates default values in the update privilege 2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege2Params) SetHTTPClient ¶
func (o *UpdatePrivilege2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update privilege 2 params
func (*UpdatePrivilege2Params) SetPrivilegeName ¶
func (o *UpdatePrivilege2Params) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the update privilege 2 params
func (*UpdatePrivilege2Params) SetTimeout ¶
func (o *UpdatePrivilege2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update privilege 2 params
func (*UpdatePrivilege2Params) WithBody ¶
func (o *UpdatePrivilege2Params) WithBody(body *models.APIPrivilegeRepositoryViewRequest) *UpdatePrivilege2Params
WithBody adds the body to the update privilege 2 params
func (*UpdatePrivilege2Params) WithContext ¶
func (o *UpdatePrivilege2Params) WithContext(ctx context.Context) *UpdatePrivilege2Params
WithContext adds the context to the update privilege 2 params
func (*UpdatePrivilege2Params) WithDefaults ¶
func (o *UpdatePrivilege2Params) WithDefaults() *UpdatePrivilege2Params
WithDefaults hydrates default values in the update privilege 2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege2Params) WithHTTPClient ¶
func (o *UpdatePrivilege2Params) WithHTTPClient(client *http.Client) *UpdatePrivilege2Params
WithHTTPClient adds the HTTPClient to the update privilege 2 params
func (*UpdatePrivilege2Params) WithPrivilegeName ¶
func (o *UpdatePrivilege2Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege2Params
WithPrivilegeName adds the privilegeName to the update privilege 2 params
func (*UpdatePrivilege2Params) WithTimeout ¶
func (o *UpdatePrivilege2Params) WithTimeout(timeout time.Duration) *UpdatePrivilege2Params
WithTimeout adds the timeout to the update privilege 2 params
func (*UpdatePrivilege2Params) WriteToRequest ¶
func (o *UpdatePrivilege2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePrivilege2Reader ¶
type UpdatePrivilege2Reader struct {
// contains filtered or unexported fields
}
UpdatePrivilege2Reader is a Reader for the UpdatePrivilege2 structure.
func (*UpdatePrivilege2Reader) ReadResponse ¶
func (o *UpdatePrivilege2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePrivilege3BadRequest ¶
type UpdatePrivilege3BadRequest struct { }
UpdatePrivilege3BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewUpdatePrivilege3BadRequest ¶
func NewUpdatePrivilege3BadRequest() *UpdatePrivilege3BadRequest
NewUpdatePrivilege3BadRequest creates a UpdatePrivilege3BadRequest with default headers values
func (*UpdatePrivilege3BadRequest) Code ¶
func (o *UpdatePrivilege3BadRequest) Code() int
Code gets the status code for the update privilege3 bad request response
func (*UpdatePrivilege3BadRequest) Error ¶
func (o *UpdatePrivilege3BadRequest) Error() string
func (*UpdatePrivilege3BadRequest) IsClientError ¶
func (o *UpdatePrivilege3BadRequest) IsClientError() bool
IsClientError returns true when this update privilege3 bad request response has a 4xx status code
func (*UpdatePrivilege3BadRequest) IsCode ¶
func (o *UpdatePrivilege3BadRequest) IsCode(code int) bool
IsCode returns true when this update privilege3 bad request response a status code equal to that given
func (*UpdatePrivilege3BadRequest) IsRedirect ¶
func (o *UpdatePrivilege3BadRequest) IsRedirect() bool
IsRedirect returns true when this update privilege3 bad request response has a 3xx status code
func (*UpdatePrivilege3BadRequest) IsServerError ¶
func (o *UpdatePrivilege3BadRequest) IsServerError() bool
IsServerError returns true when this update privilege3 bad request response has a 5xx status code
func (*UpdatePrivilege3BadRequest) IsSuccess ¶
func (o *UpdatePrivilege3BadRequest) IsSuccess() bool
IsSuccess returns true when this update privilege3 bad request response has a 2xx status code
func (*UpdatePrivilege3BadRequest) String ¶
func (o *UpdatePrivilege3BadRequest) String() string
type UpdatePrivilege3Forbidden ¶
type UpdatePrivilege3Forbidden struct { }
UpdatePrivilege3Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewUpdatePrivilege3Forbidden ¶
func NewUpdatePrivilege3Forbidden() *UpdatePrivilege3Forbidden
NewUpdatePrivilege3Forbidden creates a UpdatePrivilege3Forbidden with default headers values
func (*UpdatePrivilege3Forbidden) Code ¶
func (o *UpdatePrivilege3Forbidden) Code() int
Code gets the status code for the update privilege3 forbidden response
func (*UpdatePrivilege3Forbidden) Error ¶
func (o *UpdatePrivilege3Forbidden) Error() string
func (*UpdatePrivilege3Forbidden) IsClientError ¶
func (o *UpdatePrivilege3Forbidden) IsClientError() bool
IsClientError returns true when this update privilege3 forbidden response has a 4xx status code
func (*UpdatePrivilege3Forbidden) IsCode ¶
func (o *UpdatePrivilege3Forbidden) IsCode(code int) bool
IsCode returns true when this update privilege3 forbidden response a status code equal to that given
func (*UpdatePrivilege3Forbidden) IsRedirect ¶
func (o *UpdatePrivilege3Forbidden) IsRedirect() bool
IsRedirect returns true when this update privilege3 forbidden response has a 3xx status code
func (*UpdatePrivilege3Forbidden) IsServerError ¶
func (o *UpdatePrivilege3Forbidden) IsServerError() bool
IsServerError returns true when this update privilege3 forbidden response has a 5xx status code
func (*UpdatePrivilege3Forbidden) IsSuccess ¶
func (o *UpdatePrivilege3Forbidden) IsSuccess() bool
IsSuccess returns true when this update privilege3 forbidden response has a 2xx status code
func (*UpdatePrivilege3Forbidden) String ¶
func (o *UpdatePrivilege3Forbidden) String() string
type UpdatePrivilege3NotFound ¶
type UpdatePrivilege3NotFound struct { }
UpdatePrivilege3NotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewUpdatePrivilege3NotFound ¶
func NewUpdatePrivilege3NotFound() *UpdatePrivilege3NotFound
NewUpdatePrivilege3NotFound creates a UpdatePrivilege3NotFound with default headers values
func (*UpdatePrivilege3NotFound) Code ¶
func (o *UpdatePrivilege3NotFound) Code() int
Code gets the status code for the update privilege3 not found response
func (*UpdatePrivilege3NotFound) Error ¶
func (o *UpdatePrivilege3NotFound) Error() string
func (*UpdatePrivilege3NotFound) IsClientError ¶
func (o *UpdatePrivilege3NotFound) IsClientError() bool
IsClientError returns true when this update privilege3 not found response has a 4xx status code
func (*UpdatePrivilege3NotFound) IsCode ¶
func (o *UpdatePrivilege3NotFound) IsCode(code int) bool
IsCode returns true when this update privilege3 not found response a status code equal to that given
func (*UpdatePrivilege3NotFound) IsRedirect ¶
func (o *UpdatePrivilege3NotFound) IsRedirect() bool
IsRedirect returns true when this update privilege3 not found response has a 3xx status code
func (*UpdatePrivilege3NotFound) IsServerError ¶
func (o *UpdatePrivilege3NotFound) IsServerError() bool
IsServerError returns true when this update privilege3 not found response has a 5xx status code
func (*UpdatePrivilege3NotFound) IsSuccess ¶
func (o *UpdatePrivilege3NotFound) IsSuccess() bool
IsSuccess returns true when this update privilege3 not found response has a 2xx status code
func (*UpdatePrivilege3NotFound) String ¶
func (o *UpdatePrivilege3NotFound) String() string
type UpdatePrivilege3Params ¶
type UpdatePrivilege3Params struct { /* Body. The privilege to update. */ Body *models.APIPrivilegeRepositoryContentSelectorRequest /* PrivilegeName. The name of the privilege to update. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePrivilege3Params contains all the parameters to send to the API endpoint
for the update privilege 3 operation. Typically these are written to a http.Request.
func NewUpdatePrivilege3Params ¶
func NewUpdatePrivilege3Params() *UpdatePrivilege3Params
NewUpdatePrivilege3Params creates a new UpdatePrivilege3Params 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 NewUpdatePrivilege3ParamsWithContext ¶
func NewUpdatePrivilege3ParamsWithContext(ctx context.Context) *UpdatePrivilege3Params
NewUpdatePrivilege3ParamsWithContext creates a new UpdatePrivilege3Params object with the ability to set a context for a request.
func NewUpdatePrivilege3ParamsWithHTTPClient ¶
func NewUpdatePrivilege3ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege3Params
NewUpdatePrivilege3ParamsWithHTTPClient creates a new UpdatePrivilege3Params object with the ability to set a custom HTTPClient for a request.
func NewUpdatePrivilege3ParamsWithTimeout ¶
func NewUpdatePrivilege3ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege3Params
NewUpdatePrivilege3ParamsWithTimeout creates a new UpdatePrivilege3Params object with the ability to set a timeout on a request.
func (*UpdatePrivilege3Params) SetBody ¶
func (o *UpdatePrivilege3Params) SetBody(body *models.APIPrivilegeRepositoryContentSelectorRequest)
SetBody adds the body to the update privilege 3 params
func (*UpdatePrivilege3Params) SetContext ¶
func (o *UpdatePrivilege3Params) SetContext(ctx context.Context)
SetContext adds the context to the update privilege 3 params
func (*UpdatePrivilege3Params) SetDefaults ¶
func (o *UpdatePrivilege3Params) SetDefaults()
SetDefaults hydrates default values in the update privilege 3 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege3Params) SetHTTPClient ¶
func (o *UpdatePrivilege3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update privilege 3 params
func (*UpdatePrivilege3Params) SetPrivilegeName ¶
func (o *UpdatePrivilege3Params) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the update privilege 3 params
func (*UpdatePrivilege3Params) SetTimeout ¶
func (o *UpdatePrivilege3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update privilege 3 params
func (*UpdatePrivilege3Params) WithBody ¶
func (o *UpdatePrivilege3Params) WithBody(body *models.APIPrivilegeRepositoryContentSelectorRequest) *UpdatePrivilege3Params
WithBody adds the body to the update privilege 3 params
func (*UpdatePrivilege3Params) WithContext ¶
func (o *UpdatePrivilege3Params) WithContext(ctx context.Context) *UpdatePrivilege3Params
WithContext adds the context to the update privilege 3 params
func (*UpdatePrivilege3Params) WithDefaults ¶
func (o *UpdatePrivilege3Params) WithDefaults() *UpdatePrivilege3Params
WithDefaults hydrates default values in the update privilege 3 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege3Params) WithHTTPClient ¶
func (o *UpdatePrivilege3Params) WithHTTPClient(client *http.Client) *UpdatePrivilege3Params
WithHTTPClient adds the HTTPClient to the update privilege 3 params
func (*UpdatePrivilege3Params) WithPrivilegeName ¶
func (o *UpdatePrivilege3Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege3Params
WithPrivilegeName adds the privilegeName to the update privilege 3 params
func (*UpdatePrivilege3Params) WithTimeout ¶
func (o *UpdatePrivilege3Params) WithTimeout(timeout time.Duration) *UpdatePrivilege3Params
WithTimeout adds the timeout to the update privilege 3 params
func (*UpdatePrivilege3Params) WriteToRequest ¶
func (o *UpdatePrivilege3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePrivilege3Reader ¶
type UpdatePrivilege3Reader struct {
// contains filtered or unexported fields
}
UpdatePrivilege3Reader is a Reader for the UpdatePrivilege3 structure.
func (*UpdatePrivilege3Reader) ReadResponse ¶
func (o *UpdatePrivilege3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePrivilege4BadRequest ¶
type UpdatePrivilege4BadRequest struct { }
UpdatePrivilege4BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewUpdatePrivilege4BadRequest ¶
func NewUpdatePrivilege4BadRequest() *UpdatePrivilege4BadRequest
NewUpdatePrivilege4BadRequest creates a UpdatePrivilege4BadRequest with default headers values
func (*UpdatePrivilege4BadRequest) Code ¶
func (o *UpdatePrivilege4BadRequest) Code() int
Code gets the status code for the update privilege4 bad request response
func (*UpdatePrivilege4BadRequest) Error ¶
func (o *UpdatePrivilege4BadRequest) Error() string
func (*UpdatePrivilege4BadRequest) IsClientError ¶
func (o *UpdatePrivilege4BadRequest) IsClientError() bool
IsClientError returns true when this update privilege4 bad request response has a 4xx status code
func (*UpdatePrivilege4BadRequest) IsCode ¶
func (o *UpdatePrivilege4BadRequest) IsCode(code int) bool
IsCode returns true when this update privilege4 bad request response a status code equal to that given
func (*UpdatePrivilege4BadRequest) IsRedirect ¶
func (o *UpdatePrivilege4BadRequest) IsRedirect() bool
IsRedirect returns true when this update privilege4 bad request response has a 3xx status code
func (*UpdatePrivilege4BadRequest) IsServerError ¶
func (o *UpdatePrivilege4BadRequest) IsServerError() bool
IsServerError returns true when this update privilege4 bad request response has a 5xx status code
func (*UpdatePrivilege4BadRequest) IsSuccess ¶
func (o *UpdatePrivilege4BadRequest) IsSuccess() bool
IsSuccess returns true when this update privilege4 bad request response has a 2xx status code
func (*UpdatePrivilege4BadRequest) String ¶
func (o *UpdatePrivilege4BadRequest) String() string
type UpdatePrivilege4Forbidden ¶
type UpdatePrivilege4Forbidden struct { }
UpdatePrivilege4Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewUpdatePrivilege4Forbidden ¶
func NewUpdatePrivilege4Forbidden() *UpdatePrivilege4Forbidden
NewUpdatePrivilege4Forbidden creates a UpdatePrivilege4Forbidden with default headers values
func (*UpdatePrivilege4Forbidden) Code ¶
func (o *UpdatePrivilege4Forbidden) Code() int
Code gets the status code for the update privilege4 forbidden response
func (*UpdatePrivilege4Forbidden) Error ¶
func (o *UpdatePrivilege4Forbidden) Error() string
func (*UpdatePrivilege4Forbidden) IsClientError ¶
func (o *UpdatePrivilege4Forbidden) IsClientError() bool
IsClientError returns true when this update privilege4 forbidden response has a 4xx status code
func (*UpdatePrivilege4Forbidden) IsCode ¶
func (o *UpdatePrivilege4Forbidden) IsCode(code int) bool
IsCode returns true when this update privilege4 forbidden response a status code equal to that given
func (*UpdatePrivilege4Forbidden) IsRedirect ¶
func (o *UpdatePrivilege4Forbidden) IsRedirect() bool
IsRedirect returns true when this update privilege4 forbidden response has a 3xx status code
func (*UpdatePrivilege4Forbidden) IsServerError ¶
func (o *UpdatePrivilege4Forbidden) IsServerError() bool
IsServerError returns true when this update privilege4 forbidden response has a 5xx status code
func (*UpdatePrivilege4Forbidden) IsSuccess ¶
func (o *UpdatePrivilege4Forbidden) IsSuccess() bool
IsSuccess returns true when this update privilege4 forbidden response has a 2xx status code
func (*UpdatePrivilege4Forbidden) String ¶
func (o *UpdatePrivilege4Forbidden) String() string
type UpdatePrivilege4NotFound ¶
type UpdatePrivilege4NotFound struct { }
UpdatePrivilege4NotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewUpdatePrivilege4NotFound ¶
func NewUpdatePrivilege4NotFound() *UpdatePrivilege4NotFound
NewUpdatePrivilege4NotFound creates a UpdatePrivilege4NotFound with default headers values
func (*UpdatePrivilege4NotFound) Code ¶
func (o *UpdatePrivilege4NotFound) Code() int
Code gets the status code for the update privilege4 not found response
func (*UpdatePrivilege4NotFound) Error ¶
func (o *UpdatePrivilege4NotFound) Error() string
func (*UpdatePrivilege4NotFound) IsClientError ¶
func (o *UpdatePrivilege4NotFound) IsClientError() bool
IsClientError returns true when this update privilege4 not found response has a 4xx status code
func (*UpdatePrivilege4NotFound) IsCode ¶
func (o *UpdatePrivilege4NotFound) IsCode(code int) bool
IsCode returns true when this update privilege4 not found response a status code equal to that given
func (*UpdatePrivilege4NotFound) IsRedirect ¶
func (o *UpdatePrivilege4NotFound) IsRedirect() bool
IsRedirect returns true when this update privilege4 not found response has a 3xx status code
func (*UpdatePrivilege4NotFound) IsServerError ¶
func (o *UpdatePrivilege4NotFound) IsServerError() bool
IsServerError returns true when this update privilege4 not found response has a 5xx status code
func (*UpdatePrivilege4NotFound) IsSuccess ¶
func (o *UpdatePrivilege4NotFound) IsSuccess() bool
IsSuccess returns true when this update privilege4 not found response has a 2xx status code
func (*UpdatePrivilege4NotFound) String ¶
func (o *UpdatePrivilege4NotFound) String() string
type UpdatePrivilege4Params ¶
type UpdatePrivilege4Params struct { /* Body. The privilege to update. */ Body *models.APIPrivilegeRepositoryAdminRequest /* PrivilegeName. The name of the privilege to update. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePrivilege4Params contains all the parameters to send to the API endpoint
for the update privilege 4 operation. Typically these are written to a http.Request.
func NewUpdatePrivilege4Params ¶
func NewUpdatePrivilege4Params() *UpdatePrivilege4Params
NewUpdatePrivilege4Params creates a new UpdatePrivilege4Params 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 NewUpdatePrivilege4ParamsWithContext ¶
func NewUpdatePrivilege4ParamsWithContext(ctx context.Context) *UpdatePrivilege4Params
NewUpdatePrivilege4ParamsWithContext creates a new UpdatePrivilege4Params object with the ability to set a context for a request.
func NewUpdatePrivilege4ParamsWithHTTPClient ¶
func NewUpdatePrivilege4ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege4Params
NewUpdatePrivilege4ParamsWithHTTPClient creates a new UpdatePrivilege4Params object with the ability to set a custom HTTPClient for a request.
func NewUpdatePrivilege4ParamsWithTimeout ¶
func NewUpdatePrivilege4ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege4Params
NewUpdatePrivilege4ParamsWithTimeout creates a new UpdatePrivilege4Params object with the ability to set a timeout on a request.
func (*UpdatePrivilege4Params) SetBody ¶
func (o *UpdatePrivilege4Params) SetBody(body *models.APIPrivilegeRepositoryAdminRequest)
SetBody adds the body to the update privilege 4 params
func (*UpdatePrivilege4Params) SetContext ¶
func (o *UpdatePrivilege4Params) SetContext(ctx context.Context)
SetContext adds the context to the update privilege 4 params
func (*UpdatePrivilege4Params) SetDefaults ¶
func (o *UpdatePrivilege4Params) SetDefaults()
SetDefaults hydrates default values in the update privilege 4 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege4Params) SetHTTPClient ¶
func (o *UpdatePrivilege4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update privilege 4 params
func (*UpdatePrivilege4Params) SetPrivilegeName ¶
func (o *UpdatePrivilege4Params) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the update privilege 4 params
func (*UpdatePrivilege4Params) SetTimeout ¶
func (o *UpdatePrivilege4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update privilege 4 params
func (*UpdatePrivilege4Params) WithBody ¶
func (o *UpdatePrivilege4Params) WithBody(body *models.APIPrivilegeRepositoryAdminRequest) *UpdatePrivilege4Params
WithBody adds the body to the update privilege 4 params
func (*UpdatePrivilege4Params) WithContext ¶
func (o *UpdatePrivilege4Params) WithContext(ctx context.Context) *UpdatePrivilege4Params
WithContext adds the context to the update privilege 4 params
func (*UpdatePrivilege4Params) WithDefaults ¶
func (o *UpdatePrivilege4Params) WithDefaults() *UpdatePrivilege4Params
WithDefaults hydrates default values in the update privilege 4 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege4Params) WithHTTPClient ¶
func (o *UpdatePrivilege4Params) WithHTTPClient(client *http.Client) *UpdatePrivilege4Params
WithHTTPClient adds the HTTPClient to the update privilege 4 params
func (*UpdatePrivilege4Params) WithPrivilegeName ¶
func (o *UpdatePrivilege4Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege4Params
WithPrivilegeName adds the privilegeName to the update privilege 4 params
func (*UpdatePrivilege4Params) WithTimeout ¶
func (o *UpdatePrivilege4Params) WithTimeout(timeout time.Duration) *UpdatePrivilege4Params
WithTimeout adds the timeout to the update privilege 4 params
func (*UpdatePrivilege4Params) WriteToRequest ¶
func (o *UpdatePrivilege4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePrivilege4Reader ¶
type UpdatePrivilege4Reader struct {
// contains filtered or unexported fields
}
UpdatePrivilege4Reader is a Reader for the UpdatePrivilege4 structure.
func (*UpdatePrivilege4Reader) ReadResponse ¶
func (o *UpdatePrivilege4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePrivilege5BadRequest ¶
type UpdatePrivilege5BadRequest struct { }
UpdatePrivilege5BadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewUpdatePrivilege5BadRequest ¶
func NewUpdatePrivilege5BadRequest() *UpdatePrivilege5BadRequest
NewUpdatePrivilege5BadRequest creates a UpdatePrivilege5BadRequest with default headers values
func (*UpdatePrivilege5BadRequest) Code ¶
func (o *UpdatePrivilege5BadRequest) Code() int
Code gets the status code for the update privilege5 bad request response
func (*UpdatePrivilege5BadRequest) Error ¶
func (o *UpdatePrivilege5BadRequest) Error() string
func (*UpdatePrivilege5BadRequest) IsClientError ¶
func (o *UpdatePrivilege5BadRequest) IsClientError() bool
IsClientError returns true when this update privilege5 bad request response has a 4xx status code
func (*UpdatePrivilege5BadRequest) IsCode ¶
func (o *UpdatePrivilege5BadRequest) IsCode(code int) bool
IsCode returns true when this update privilege5 bad request response a status code equal to that given
func (*UpdatePrivilege5BadRequest) IsRedirect ¶
func (o *UpdatePrivilege5BadRequest) IsRedirect() bool
IsRedirect returns true when this update privilege5 bad request response has a 3xx status code
func (*UpdatePrivilege5BadRequest) IsServerError ¶
func (o *UpdatePrivilege5BadRequest) IsServerError() bool
IsServerError returns true when this update privilege5 bad request response has a 5xx status code
func (*UpdatePrivilege5BadRequest) IsSuccess ¶
func (o *UpdatePrivilege5BadRequest) IsSuccess() bool
IsSuccess returns true when this update privilege5 bad request response has a 2xx status code
func (*UpdatePrivilege5BadRequest) String ¶
func (o *UpdatePrivilege5BadRequest) String() string
type UpdatePrivilege5Forbidden ¶
type UpdatePrivilege5Forbidden struct { }
UpdatePrivilege5Forbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewUpdatePrivilege5Forbidden ¶
func NewUpdatePrivilege5Forbidden() *UpdatePrivilege5Forbidden
NewUpdatePrivilege5Forbidden creates a UpdatePrivilege5Forbidden with default headers values
func (*UpdatePrivilege5Forbidden) Code ¶
func (o *UpdatePrivilege5Forbidden) Code() int
Code gets the status code for the update privilege5 forbidden response
func (*UpdatePrivilege5Forbidden) Error ¶
func (o *UpdatePrivilege5Forbidden) Error() string
func (*UpdatePrivilege5Forbidden) IsClientError ¶
func (o *UpdatePrivilege5Forbidden) IsClientError() bool
IsClientError returns true when this update privilege5 forbidden response has a 4xx status code
func (*UpdatePrivilege5Forbidden) IsCode ¶
func (o *UpdatePrivilege5Forbidden) IsCode(code int) bool
IsCode returns true when this update privilege5 forbidden response a status code equal to that given
func (*UpdatePrivilege5Forbidden) IsRedirect ¶
func (o *UpdatePrivilege5Forbidden) IsRedirect() bool
IsRedirect returns true when this update privilege5 forbidden response has a 3xx status code
func (*UpdatePrivilege5Forbidden) IsServerError ¶
func (o *UpdatePrivilege5Forbidden) IsServerError() bool
IsServerError returns true when this update privilege5 forbidden response has a 5xx status code
func (*UpdatePrivilege5Forbidden) IsSuccess ¶
func (o *UpdatePrivilege5Forbidden) IsSuccess() bool
IsSuccess returns true when this update privilege5 forbidden response has a 2xx status code
func (*UpdatePrivilege5Forbidden) String ¶
func (o *UpdatePrivilege5Forbidden) String() string
type UpdatePrivilege5NotFound ¶
type UpdatePrivilege5NotFound struct { }
UpdatePrivilege5NotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewUpdatePrivilege5NotFound ¶
func NewUpdatePrivilege5NotFound() *UpdatePrivilege5NotFound
NewUpdatePrivilege5NotFound creates a UpdatePrivilege5NotFound with default headers values
func (*UpdatePrivilege5NotFound) Code ¶
func (o *UpdatePrivilege5NotFound) Code() int
Code gets the status code for the update privilege5 not found response
func (*UpdatePrivilege5NotFound) Error ¶
func (o *UpdatePrivilege5NotFound) Error() string
func (*UpdatePrivilege5NotFound) IsClientError ¶
func (o *UpdatePrivilege5NotFound) IsClientError() bool
IsClientError returns true when this update privilege5 not found response has a 4xx status code
func (*UpdatePrivilege5NotFound) IsCode ¶
func (o *UpdatePrivilege5NotFound) IsCode(code int) bool
IsCode returns true when this update privilege5 not found response a status code equal to that given
func (*UpdatePrivilege5NotFound) IsRedirect ¶
func (o *UpdatePrivilege5NotFound) IsRedirect() bool
IsRedirect returns true when this update privilege5 not found response has a 3xx status code
func (*UpdatePrivilege5NotFound) IsServerError ¶
func (o *UpdatePrivilege5NotFound) IsServerError() bool
IsServerError returns true when this update privilege5 not found response has a 5xx status code
func (*UpdatePrivilege5NotFound) IsSuccess ¶
func (o *UpdatePrivilege5NotFound) IsSuccess() bool
IsSuccess returns true when this update privilege5 not found response has a 2xx status code
func (*UpdatePrivilege5NotFound) String ¶
func (o *UpdatePrivilege5NotFound) String() string
type UpdatePrivilege5Params ¶
type UpdatePrivilege5Params struct { /* Body. The privilege to update. */ Body *models.APIPrivilegeScriptRequest /* PrivilegeName. The name of the privilege to update. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePrivilege5Params contains all the parameters to send to the API endpoint
for the update privilege 5 operation. Typically these are written to a http.Request.
func NewUpdatePrivilege5Params ¶
func NewUpdatePrivilege5Params() *UpdatePrivilege5Params
NewUpdatePrivilege5Params creates a new UpdatePrivilege5Params 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 NewUpdatePrivilege5ParamsWithContext ¶
func NewUpdatePrivilege5ParamsWithContext(ctx context.Context) *UpdatePrivilege5Params
NewUpdatePrivilege5ParamsWithContext creates a new UpdatePrivilege5Params object with the ability to set a context for a request.
func NewUpdatePrivilege5ParamsWithHTTPClient ¶
func NewUpdatePrivilege5ParamsWithHTTPClient(client *http.Client) *UpdatePrivilege5Params
NewUpdatePrivilege5ParamsWithHTTPClient creates a new UpdatePrivilege5Params object with the ability to set a custom HTTPClient for a request.
func NewUpdatePrivilege5ParamsWithTimeout ¶
func NewUpdatePrivilege5ParamsWithTimeout(timeout time.Duration) *UpdatePrivilege5Params
NewUpdatePrivilege5ParamsWithTimeout creates a new UpdatePrivilege5Params object with the ability to set a timeout on a request.
func (*UpdatePrivilege5Params) SetBody ¶
func (o *UpdatePrivilege5Params) SetBody(body *models.APIPrivilegeScriptRequest)
SetBody adds the body to the update privilege 5 params
func (*UpdatePrivilege5Params) SetContext ¶
func (o *UpdatePrivilege5Params) SetContext(ctx context.Context)
SetContext adds the context to the update privilege 5 params
func (*UpdatePrivilege5Params) SetDefaults ¶
func (o *UpdatePrivilege5Params) SetDefaults()
SetDefaults hydrates default values in the update privilege 5 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege5Params) SetHTTPClient ¶
func (o *UpdatePrivilege5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update privilege 5 params
func (*UpdatePrivilege5Params) SetPrivilegeName ¶
func (o *UpdatePrivilege5Params) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the update privilege 5 params
func (*UpdatePrivilege5Params) SetTimeout ¶
func (o *UpdatePrivilege5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update privilege 5 params
func (*UpdatePrivilege5Params) WithBody ¶
func (o *UpdatePrivilege5Params) WithBody(body *models.APIPrivilegeScriptRequest) *UpdatePrivilege5Params
WithBody adds the body to the update privilege 5 params
func (*UpdatePrivilege5Params) WithContext ¶
func (o *UpdatePrivilege5Params) WithContext(ctx context.Context) *UpdatePrivilege5Params
WithContext adds the context to the update privilege 5 params
func (*UpdatePrivilege5Params) WithDefaults ¶
func (o *UpdatePrivilege5Params) WithDefaults() *UpdatePrivilege5Params
WithDefaults hydrates default values in the update privilege 5 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilege5Params) WithHTTPClient ¶
func (o *UpdatePrivilege5Params) WithHTTPClient(client *http.Client) *UpdatePrivilege5Params
WithHTTPClient adds the HTTPClient to the update privilege 5 params
func (*UpdatePrivilege5Params) WithPrivilegeName ¶
func (o *UpdatePrivilege5Params) WithPrivilegeName(privilegeName string) *UpdatePrivilege5Params
WithPrivilegeName adds the privilegeName to the update privilege 5 params
func (*UpdatePrivilege5Params) WithTimeout ¶
func (o *UpdatePrivilege5Params) WithTimeout(timeout time.Duration) *UpdatePrivilege5Params
WithTimeout adds the timeout to the update privilege 5 params
func (*UpdatePrivilege5Params) WriteToRequest ¶
func (o *UpdatePrivilege5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePrivilege5Reader ¶
type UpdatePrivilege5Reader struct {
// contains filtered or unexported fields
}
UpdatePrivilege5Reader is a Reader for the UpdatePrivilege5 structure.
func (*UpdatePrivilege5Reader) ReadResponse ¶
func (o *UpdatePrivilege5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePrivilegeBadRequest ¶
type UpdatePrivilegeBadRequest struct { }
UpdatePrivilegeBadRequest describes a response with status code 400, with default header values.
Privilege object not configured properly.
func NewUpdatePrivilegeBadRequest ¶
func NewUpdatePrivilegeBadRequest() *UpdatePrivilegeBadRequest
NewUpdatePrivilegeBadRequest creates a UpdatePrivilegeBadRequest with default headers values
func (*UpdatePrivilegeBadRequest) Code ¶
func (o *UpdatePrivilegeBadRequest) Code() int
Code gets the status code for the update privilege bad request response
func (*UpdatePrivilegeBadRequest) Error ¶
func (o *UpdatePrivilegeBadRequest) Error() string
func (*UpdatePrivilegeBadRequest) IsClientError ¶
func (o *UpdatePrivilegeBadRequest) IsClientError() bool
IsClientError returns true when this update privilege bad request response has a 4xx status code
func (*UpdatePrivilegeBadRequest) IsCode ¶
func (o *UpdatePrivilegeBadRequest) IsCode(code int) bool
IsCode returns true when this update privilege bad request response a status code equal to that given
func (*UpdatePrivilegeBadRequest) IsRedirect ¶
func (o *UpdatePrivilegeBadRequest) IsRedirect() bool
IsRedirect returns true when this update privilege bad request response has a 3xx status code
func (*UpdatePrivilegeBadRequest) IsServerError ¶
func (o *UpdatePrivilegeBadRequest) IsServerError() bool
IsServerError returns true when this update privilege bad request response has a 5xx status code
func (*UpdatePrivilegeBadRequest) IsSuccess ¶
func (o *UpdatePrivilegeBadRequest) IsSuccess() bool
IsSuccess returns true when this update privilege bad request response has a 2xx status code
func (*UpdatePrivilegeBadRequest) String ¶
func (o *UpdatePrivilegeBadRequest) String() string
type UpdatePrivilegeForbidden ¶
type UpdatePrivilegeForbidden struct { }
UpdatePrivilegeForbidden describes a response with status code 403, with default header values.
The user does not have permission to perform the operation.
func NewUpdatePrivilegeForbidden ¶
func NewUpdatePrivilegeForbidden() *UpdatePrivilegeForbidden
NewUpdatePrivilegeForbidden creates a UpdatePrivilegeForbidden with default headers values
func (*UpdatePrivilegeForbidden) Code ¶
func (o *UpdatePrivilegeForbidden) Code() int
Code gets the status code for the update privilege forbidden response
func (*UpdatePrivilegeForbidden) Error ¶
func (o *UpdatePrivilegeForbidden) Error() string
func (*UpdatePrivilegeForbidden) IsClientError ¶
func (o *UpdatePrivilegeForbidden) IsClientError() bool
IsClientError returns true when this update privilege forbidden response has a 4xx status code
func (*UpdatePrivilegeForbidden) IsCode ¶
func (o *UpdatePrivilegeForbidden) IsCode(code int) bool
IsCode returns true when this update privilege forbidden response a status code equal to that given
func (*UpdatePrivilegeForbidden) IsRedirect ¶
func (o *UpdatePrivilegeForbidden) IsRedirect() bool
IsRedirect returns true when this update privilege forbidden response has a 3xx status code
func (*UpdatePrivilegeForbidden) IsServerError ¶
func (o *UpdatePrivilegeForbidden) IsServerError() bool
IsServerError returns true when this update privilege forbidden response has a 5xx status code
func (*UpdatePrivilegeForbidden) IsSuccess ¶
func (o *UpdatePrivilegeForbidden) IsSuccess() bool
IsSuccess returns true when this update privilege forbidden response has a 2xx status code
func (*UpdatePrivilegeForbidden) String ¶
func (o *UpdatePrivilegeForbidden) String() string
type UpdatePrivilegeNotFound ¶
type UpdatePrivilegeNotFound struct { }
UpdatePrivilegeNotFound describes a response with status code 404, with default header values.
Privilege not found in the system.
func NewUpdatePrivilegeNotFound ¶
func NewUpdatePrivilegeNotFound() *UpdatePrivilegeNotFound
NewUpdatePrivilegeNotFound creates a UpdatePrivilegeNotFound with default headers values
func (*UpdatePrivilegeNotFound) Code ¶
func (o *UpdatePrivilegeNotFound) Code() int
Code gets the status code for the update privilege not found response
func (*UpdatePrivilegeNotFound) Error ¶
func (o *UpdatePrivilegeNotFound) Error() string
func (*UpdatePrivilegeNotFound) IsClientError ¶
func (o *UpdatePrivilegeNotFound) IsClientError() bool
IsClientError returns true when this update privilege not found response has a 4xx status code
func (*UpdatePrivilegeNotFound) IsCode ¶
func (o *UpdatePrivilegeNotFound) IsCode(code int) bool
IsCode returns true when this update privilege not found response a status code equal to that given
func (*UpdatePrivilegeNotFound) IsRedirect ¶
func (o *UpdatePrivilegeNotFound) IsRedirect() bool
IsRedirect returns true when this update privilege not found response has a 3xx status code
func (*UpdatePrivilegeNotFound) IsServerError ¶
func (o *UpdatePrivilegeNotFound) IsServerError() bool
IsServerError returns true when this update privilege not found response has a 5xx status code
func (*UpdatePrivilegeNotFound) IsSuccess ¶
func (o *UpdatePrivilegeNotFound) IsSuccess() bool
IsSuccess returns true when this update privilege not found response has a 2xx status code
func (*UpdatePrivilegeNotFound) String ¶
func (o *UpdatePrivilegeNotFound) String() string
type UpdatePrivilegeParams ¶
type UpdatePrivilegeParams struct { /* Body. The privilege to update. */ Body *models.APIPrivilegeWildcardRequest /* PrivilegeName. The name of the privilege to update. */ PrivilegeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePrivilegeParams contains all the parameters to send to the API endpoint
for the update privilege operation. Typically these are written to a http.Request.
func NewUpdatePrivilegeParams ¶
func NewUpdatePrivilegeParams() *UpdatePrivilegeParams
NewUpdatePrivilegeParams creates a new UpdatePrivilegeParams 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 NewUpdatePrivilegeParamsWithContext ¶
func NewUpdatePrivilegeParamsWithContext(ctx context.Context) *UpdatePrivilegeParams
NewUpdatePrivilegeParamsWithContext creates a new UpdatePrivilegeParams object with the ability to set a context for a request.
func NewUpdatePrivilegeParamsWithHTTPClient ¶
func NewUpdatePrivilegeParamsWithHTTPClient(client *http.Client) *UpdatePrivilegeParams
NewUpdatePrivilegeParamsWithHTTPClient creates a new UpdatePrivilegeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePrivilegeParamsWithTimeout ¶
func NewUpdatePrivilegeParamsWithTimeout(timeout time.Duration) *UpdatePrivilegeParams
NewUpdatePrivilegeParamsWithTimeout creates a new UpdatePrivilegeParams object with the ability to set a timeout on a request.
func (*UpdatePrivilegeParams) SetBody ¶
func (o *UpdatePrivilegeParams) SetBody(body *models.APIPrivilegeWildcardRequest)
SetBody adds the body to the update privilege params
func (*UpdatePrivilegeParams) SetContext ¶
func (o *UpdatePrivilegeParams) SetContext(ctx context.Context)
SetContext adds the context to the update privilege params
func (*UpdatePrivilegeParams) SetDefaults ¶
func (o *UpdatePrivilegeParams) SetDefaults()
SetDefaults hydrates default values in the update privilege params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilegeParams) SetHTTPClient ¶
func (o *UpdatePrivilegeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update privilege params
func (*UpdatePrivilegeParams) SetPrivilegeName ¶
func (o *UpdatePrivilegeParams) SetPrivilegeName(privilegeName string)
SetPrivilegeName adds the privilegeName to the update privilege params
func (*UpdatePrivilegeParams) SetTimeout ¶
func (o *UpdatePrivilegeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update privilege params
func (*UpdatePrivilegeParams) WithBody ¶
func (o *UpdatePrivilegeParams) WithBody(body *models.APIPrivilegeWildcardRequest) *UpdatePrivilegeParams
WithBody adds the body to the update privilege params
func (*UpdatePrivilegeParams) WithContext ¶
func (o *UpdatePrivilegeParams) WithContext(ctx context.Context) *UpdatePrivilegeParams
WithContext adds the context to the update privilege params
func (*UpdatePrivilegeParams) WithDefaults ¶
func (o *UpdatePrivilegeParams) WithDefaults() *UpdatePrivilegeParams
WithDefaults hydrates default values in the update privilege params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePrivilegeParams) WithHTTPClient ¶
func (o *UpdatePrivilegeParams) WithHTTPClient(client *http.Client) *UpdatePrivilegeParams
WithHTTPClient adds the HTTPClient to the update privilege params
func (*UpdatePrivilegeParams) WithPrivilegeName ¶
func (o *UpdatePrivilegeParams) WithPrivilegeName(privilegeName string) *UpdatePrivilegeParams
WithPrivilegeName adds the privilegeName to the update privilege params
func (*UpdatePrivilegeParams) WithTimeout ¶
func (o *UpdatePrivilegeParams) WithTimeout(timeout time.Duration) *UpdatePrivilegeParams
WithTimeout adds the timeout to the update privilege params
func (*UpdatePrivilegeParams) WriteToRequest ¶
func (o *UpdatePrivilegeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePrivilegeReader ¶
type UpdatePrivilegeReader struct {
// contains filtered or unexported fields
}
UpdatePrivilegeReader is a Reader for the UpdatePrivilege structure.
func (*UpdatePrivilegeReader) ReadResponse ¶
func (o *UpdatePrivilegeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_privilege1_parameters.go
- create_privilege1_responses.go
- create_privilege2_parameters.go
- create_privilege2_responses.go
- create_privilege3_parameters.go
- create_privilege3_responses.go
- create_privilege4_parameters.go
- create_privilege4_responses.go
- create_privilege5_parameters.go
- create_privilege5_responses.go
- create_privilege_parameters.go
- create_privilege_responses.go
- delete_privilege_parameters.go
- delete_privilege_responses.go
- get_privilege_parameters.go
- get_privilege_responses.go
- get_privileges_parameters.go
- get_privileges_responses.go
- security_management_privileges_client.go
- update_privilege1_parameters.go
- update_privilege1_responses.go
- update_privilege2_parameters.go
- update_privilege2_responses.go
- update_privilege3_parameters.go
- update_privilege3_responses.go
- update_privilege4_parameters.go
- update_privilege4_responses.go
- update_privilege5_parameters.go
- update_privilege5_responses.go
- update_privilege_parameters.go
- update_privilege_responses.go