package
1.7.6
Repository: https://github.com/minio/console.git
Documentation: pkg.go.dev

# Functions

NewAddPolicy creates a new http.Handler for the add policy operation.
NewAddPolicyCreated creates AddPolicyCreated with default headers values.
NewAddPolicyDefault creates AddPolicyDefault with default headers values.
NewAddPolicyParams creates a new AddPolicyParams object There are no default values defined in the spec.
NewGetSAUserPolicy creates a new http.Handler for the get s a user policy operation.
NewGetSAUserPolicyDefault creates GetSAUserPolicyDefault with default headers values.
NewGetSAUserPolicyOK creates GetSAUserPolicyOK with default headers values.
NewGetSAUserPolicyParams creates a new GetSAUserPolicyParams object There are no default values defined in the spec.
NewGetUserPolicy creates a new http.Handler for the get user policy operation.
NewGetUserPolicyDefault creates GetUserPolicyDefault with default headers values.
NewGetUserPolicyOK creates GetUserPolicyOK with default headers values.
NewGetUserPolicyParams creates a new GetUserPolicyParams object There are no default values defined in the spec.
NewListGroupsForPolicy creates a new http.Handler for the list groups for policy operation.
NewListGroupsForPolicyDefault creates ListGroupsForPolicyDefault with default headers values.
NewListGroupsForPolicyOK creates ListGroupsForPolicyOK with default headers values.
NewListGroupsForPolicyParams creates a new ListGroupsForPolicyParams object There are no default values defined in the spec.
NewListPolicies creates a new http.Handler for the list policies operation.
NewListPoliciesDefault creates ListPoliciesDefault with default headers values.
NewListPoliciesOK creates ListPoliciesOK with default headers values.
NewListPoliciesParams creates a new ListPoliciesParams object with the default values initialized.
NewListUsersForPolicy creates a new http.Handler for the list users for policy operation.
NewListUsersForPolicyDefault creates ListUsersForPolicyDefault with default headers values.
NewListUsersForPolicyOK creates ListUsersForPolicyOK with default headers values.
NewListUsersForPolicyParams creates a new ListUsersForPolicyParams object There are no default values defined in the spec.
NewPolicyInfo creates a new http.Handler for the policy info operation.
NewPolicyInfoDefault creates PolicyInfoDefault with default headers values.
NewPolicyInfoOK creates PolicyInfoOK with default headers values.
NewPolicyInfoParams creates a new PolicyInfoParams object There are no default values defined in the spec.
NewRemovePolicy creates a new http.Handler for the remove policy operation.
NewRemovePolicyDefault creates RemovePolicyDefault with default headers values.
NewRemovePolicyNoContent creates RemovePolicyNoContent with default headers values.
NewRemovePolicyParams creates a new RemovePolicyParams object There are no default values defined in the spec.
NewSetPolicy creates a new http.Handler for the set policy operation.
NewSetPolicyDefault creates SetPolicyDefault with default headers values.
NewSetPolicyMultiple creates a new http.Handler for the set policy multiple operation.
NewSetPolicyMultipleDefault creates SetPolicyMultipleDefault with default headers values.
NewSetPolicyMultipleNoContent creates SetPolicyMultipleNoContent with default headers values.
NewSetPolicyMultipleParams creates a new SetPolicyMultipleParams object There are no default values defined in the spec.
NewSetPolicyNoContent creates SetPolicyNoContent with default headers values.
NewSetPolicyParams creates a new SetPolicyParams object There are no default values defined in the spec.

# Constants

AddPolicyCreatedCode is the HTTP code returned for type AddPolicyCreated.
GetSAUserPolicyOKCode is the HTTP code returned for type GetSAUserPolicyOK.
GetUserPolicyOKCode is the HTTP code returned for type GetUserPolicyOK.
ListGroupsForPolicyOKCode is the HTTP code returned for type ListGroupsForPolicyOK.
ListPoliciesOKCode is the HTTP code returned for type ListPoliciesOK.
ListUsersForPolicyOKCode is the HTTP code returned for type ListUsersForPolicyOK.
PolicyInfoOKCode is the HTTP code returned for type PolicyInfoOK.
RemovePolicyNoContentCode is the HTTP code returned for type RemovePolicyNoContent.
SetPolicyMultipleNoContentCode is the HTTP code returned for type SetPolicyMultipleNoContent.
SetPolicyNoContentCode is the HTTP code returned for type SetPolicyNoContent.

# Structs

AddPolicy swagger:route POST /policies Policy addPolicy Add Policy */.
AddPolicyCreated A successful response.
AddPolicyDefault Generic error response.
AddPolicyParams contains all the bound params for the add policy operation typically these are obtained from a http.Request swagger:parameters AddPolicy.
AddPolicyURL generates an URL for the add policy operation.
GetSAUserPolicy swagger:route GET /user/{name}/policies Policy getSAUserPolicy returns policies assigned for a specified user */.
GetSAUserPolicyDefault Generic error response.
GetSAUserPolicyOK A successful response.
GetSAUserPolicyParams contains all the bound params for the get s a user policy operation typically these are obtained from a http.Request swagger:parameters GetSAUserPolicy.
GetSAUserPolicyURL generates an URL for the get s a user policy operation.
GetUserPolicy swagger:route GET /user/policy Policy getUserPolicy returns policies for logged in user */.
GetUserPolicyDefault Generic error response.
GetUserPolicyOK A successful response.
GetUserPolicyParams contains all the bound params for the get user policy operation typically these are obtained from a http.Request swagger:parameters GetUserPolicy.
GetUserPolicyURL generates an URL for the get user policy operation.
ListGroupsForPolicy swagger:route GET /policies/{policy}/groups Policy listGroupsForPolicy List Groups for a Policy */.
ListGroupsForPolicyDefault Generic error response.
ListGroupsForPolicyOK A successful response.
ListGroupsForPolicyParams contains all the bound params for the list groups for policy operation typically these are obtained from a http.Request swagger:parameters ListGroupsForPolicy.
ListGroupsForPolicyURL generates an URL for the list groups for policy operation.
ListPolicies swagger:route GET /policies Policy listPolicies List Policies */.
ListPoliciesDefault Generic error response.
ListPoliciesOK A successful response.
ListPoliciesParams contains all the bound params for the list policies operation typically these are obtained from a http.Request swagger:parameters ListPolicies.
ListPoliciesURL generates an URL for the list policies operation.
ListUsersForPolicy swagger:route GET /policies/{policy}/users Policy listUsersForPolicy List Users for a Policy */.
ListUsersForPolicyDefault Generic error response.
ListUsersForPolicyOK A successful response.
ListUsersForPolicyParams contains all the bound params for the list users for policy operation typically these are obtained from a http.Request swagger:parameters ListUsersForPolicy.
ListUsersForPolicyURL generates an URL for the list users for policy operation.
PolicyInfo swagger:route GET /policy/{name} Policy policyInfo Policy info */.
PolicyInfoDefault Generic error response.
PolicyInfoOK A successful response.
PolicyInfoParams contains all the bound params for the policy info operation typically these are obtained from a http.Request swagger:parameters PolicyInfo.
PolicyInfoURL generates an URL for the policy info operation.
RemovePolicy swagger:route DELETE /policy/{name} Policy removePolicy Remove policy */.
RemovePolicyDefault Generic error response.
RemovePolicyNoContent A successful response.
RemovePolicyParams contains all the bound params for the remove policy operation typically these are obtained from a http.Request swagger:parameters RemovePolicy.
RemovePolicyURL generates an URL for the remove policy operation.
SetPolicy swagger:route PUT /set-policy Policy setPolicy Set policy */.
SetPolicyDefault Generic error response.
SetPolicyMultiple swagger:route PUT /set-policy-multi Policy setPolicyMultiple Set policy to multiple users/groups */.
SetPolicyMultipleDefault Generic error response.
SetPolicyMultipleNoContent A successful response.
SetPolicyMultipleParams contains all the bound params for the set policy multiple operation typically these are obtained from a http.Request swagger:parameters SetPolicyMultiple.
SetPolicyMultipleURL generates an URL for the set policy multiple operation.
SetPolicyNoContent A successful response.
SetPolicyParams contains all the bound params for the set policy operation typically these are obtained from a http.Request swagger:parameters SetPolicy.
SetPolicyURL generates an URL for the set policy operation.

# Interfaces

AddPolicyHandler interface for that can handle valid add policy params.
GetSAUserPolicyHandler interface for that can handle valid get s a user policy params.
GetUserPolicyHandler interface for that can handle valid get user policy params.
ListGroupsForPolicyHandler interface for that can handle valid list groups for policy params.
ListPoliciesHandler interface for that can handle valid list policies params.
ListUsersForPolicyHandler interface for that can handle valid list users for policy params.
PolicyInfoHandler interface for that can handle valid policy info params.
RemovePolicyHandler interface for that can handle valid remove policy params.
SetPolicyHandler interface for that can handle valid set policy params.
SetPolicyMultipleHandler interface for that can handle valid set policy multiple params.

# Type aliases

AddPolicyHandlerFunc turns a function with the right signature into a add policy handler.
GetSAUserPolicyHandlerFunc turns a function with the right signature into a get s a user policy handler.
GetUserPolicyHandlerFunc turns a function with the right signature into a get user policy handler.
ListGroupsForPolicyHandlerFunc turns a function with the right signature into a list groups for policy handler.
ListPoliciesHandlerFunc turns a function with the right signature into a list policies handler.
ListUsersForPolicyHandlerFunc turns a function with the right signature into a list users for policy handler.
PolicyInfoHandlerFunc turns a function with the right signature into a policy info handler.
RemovePolicyHandlerFunc turns a function with the right signature into a remove policy handler.
SetPolicyHandlerFunc turns a function with the right signature into a set policy handler.
SetPolicyMultipleHandlerFunc turns a function with the right signature into a set policy multiple handler.