Documentation ¶
Index ¶
- type InactiveAPIServer
- func (a *InactiveAPIServer) Activate(context.Context, *auth.ActivateRequest) (*auth.ActivateResponse, error)
- func (a *InactiveAPIServer) Authenticate(context.Context, *auth.AuthenticateRequest) (*auth.AuthenticateResponse, error)
- func (a *InactiveAPIServer) Authorize(context.Context, *auth.AuthorizeRequest) (*auth.AuthorizeResponse, error)
- func (a *InactiveAPIServer) Deactivate(context.Context, *auth.DeactivateRequest) (*auth.DeactivateResponse, error)
- func (a *InactiveAPIServer) ExtendAuthToken(context.Context, *auth.ExtendAuthTokenRequest) (*auth.ExtendAuthTokenResponse, error)
- func (a *InactiveAPIServer) GetACL(context.Context, *auth.GetACLRequest) (*auth.GetACLResponse, error)
- func (a *InactiveAPIServer) GetAdmins(context.Context, *auth.GetAdminsRequest) (*auth.GetAdminsResponse, error)
- func (a *InactiveAPIServer) GetAuthToken(context.Context, *auth.GetAuthTokenRequest) (*auth.GetAuthTokenResponse, error)
- func (a *InactiveAPIServer) GetConfiguration(context.Context, *auth.GetConfigurationRequest) (*auth.GetConfigurationResponse, error)
- func (a *InactiveAPIServer) GetGroups(context.Context, *auth.GetGroupsRequest) (*auth.GetGroupsResponse, error)
- func (a *InactiveAPIServer) GetOneTimePassword(context.Context, *auth.GetOneTimePasswordRequest) (*auth.GetOneTimePasswordResponse, error)
- func (a *InactiveAPIServer) GetScope(context.Context, *auth.GetScopeRequest) (*auth.GetScopeResponse, error)
- func (a *InactiveAPIServer) GetUsers(context.Context, *auth.GetUsersRequest) (*auth.GetUsersResponse, error)
- func (a *InactiveAPIServer) ModifyAdmins(context.Context, *auth.ModifyAdminsRequest) (*auth.ModifyAdminsResponse, error)
- func (a *InactiveAPIServer) ModifyMembers(context.Context, *auth.ModifyMembersRequest) (*auth.ModifyMembersResponse, error)
- func (a *InactiveAPIServer) RevokeAuthToken(context.Context, *auth.RevokeAuthTokenRequest) (*auth.RevokeAuthTokenResponse, error)
- func (a *InactiveAPIServer) SetACL(context.Context, *auth.SetACLRequest) (*auth.SetACLResponse, error)
- func (a *InactiveAPIServer) SetConfiguration(context.Context, *auth.SetConfigurationRequest) (*auth.SetConfigurationResponse, error)
- func (a *InactiveAPIServer) SetGroupsForUser(context.Context, *auth.SetGroupsForUserRequest) (*auth.SetGroupsForUserResponse, error)
- func (a *InactiveAPIServer) SetScope(context.Context, *auth.SetScopeRequest) (*auth.SetScopeResponse, error)
- func (a *InactiveAPIServer) WhoAmI(context.Context, *auth.WhoAmIRequest) (*auth.WhoAmIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InactiveAPIServer ¶
type InactiveAPIServer struct{}
InactiveAPIServer (in the auth/testing package) is an implementation of the pachyderm auth api that returns NotActivatedError for all requests. This is meant to be used with local PFS and PPS servers for testing, and should never be used in a real Pachyderm cluster
func (*InactiveAPIServer) Activate ¶
func (a *InactiveAPIServer) Activate(context.Context, *auth.ActivateRequest) (*auth.ActivateResponse, error)
Activate implements the Activate RPC, but just returns NotActivatedError
func (*InactiveAPIServer) Authenticate ¶
func (a *InactiveAPIServer) Authenticate(context.Context, *auth.AuthenticateRequest) (*auth.AuthenticateResponse, error)
Authenticate implements the Authenticate RPC, but just returns NotActivatedError
func (*InactiveAPIServer) Authorize ¶
func (a *InactiveAPIServer) Authorize(context.Context, *auth.AuthorizeRequest) (*auth.AuthorizeResponse, error)
Authorize implements the Authorize RPC, but just returns NotActivatedError
func (*InactiveAPIServer) Deactivate ¶ added in v1.6.0
func (a *InactiveAPIServer) Deactivate(context.Context, *auth.DeactivateRequest) (*auth.DeactivateResponse, error)
Deactivate implements the Deactivate RPC, but just returns NotActivatedError
func (*InactiveAPIServer) ExtendAuthToken ¶ added in v1.7.0
func (a *InactiveAPIServer) ExtendAuthToken(context.Context, *auth.ExtendAuthTokenRequest) (*auth.ExtendAuthTokenResponse, error)
ExtendAuthToken implements the ExtendAuthToken RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetACL ¶
func (a *InactiveAPIServer) GetACL(context.Context, *auth.GetACLRequest) (*auth.GetACLResponse, error)
GetACL implements the GetACL RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetAdmins ¶ added in v1.6.0
func (a *InactiveAPIServer) GetAdmins(context.Context, *auth.GetAdminsRequest) (*auth.GetAdminsResponse, error)
GetAdmins implements the GetAdmins RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetAuthToken ¶ added in v1.7.0
func (a *InactiveAPIServer) GetAuthToken(context.Context, *auth.GetAuthTokenRequest) (*auth.GetAuthTokenResponse, error)
GetAuthToken implements the GetAuthToken RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetConfiguration ¶ added in v1.7.7
func (a *InactiveAPIServer) GetConfiguration(context.Context, *auth.GetConfigurationRequest) (*auth.GetConfigurationResponse, error)
GetConfiguration implements the GetConfiguration RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetGroups ¶ added in v1.7.2
func (a *InactiveAPIServer) GetGroups(context.Context, *auth.GetGroupsRequest) (*auth.GetGroupsResponse, error)
GetGroups implements the GetGroups RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetOneTimePassword ¶ added in v1.7.11
func (a *InactiveAPIServer) GetOneTimePassword(context.Context, *auth.GetOneTimePasswordRequest) (*auth.GetOneTimePasswordResponse, error)
GetOneTimePassword implements the GetOneTimePassword RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetScope ¶
func (a *InactiveAPIServer) GetScope(context.Context, *auth.GetScopeRequest) (*auth.GetScopeResponse, error)
GetScope implements the GetScope RPC, but just returns NotActivatedError
func (*InactiveAPIServer) GetUsers ¶ added in v1.7.2
func (a *InactiveAPIServer) GetUsers(context.Context, *auth.GetUsersRequest) (*auth.GetUsersResponse, error)
GetUsers implements the GetUsers RPC, but just returns NotActivatedError
func (*InactiveAPIServer) ModifyAdmins ¶ added in v1.6.0
func (a *InactiveAPIServer) ModifyAdmins(context.Context, *auth.ModifyAdminsRequest) (*auth.ModifyAdminsResponse, error)
ModifyAdmins implements the ModifyAdmins RPC, but just returns NotActivatedError
func (*InactiveAPIServer) ModifyMembers ¶ added in v1.7.2
func (a *InactiveAPIServer) ModifyMembers(context.Context, *auth.ModifyMembersRequest) (*auth.ModifyMembersResponse, error)
ModifyMembers implements the ModifyMembers RPC, but just returns NotActivatedError
func (*InactiveAPIServer) RevokeAuthToken ¶
func (a *InactiveAPIServer) RevokeAuthToken(context.Context, *auth.RevokeAuthTokenRequest) (*auth.RevokeAuthTokenResponse, error)
RevokeAuthToken implements the RevokeAuthToken RPC, but just returns NotActivatedError
func (*InactiveAPIServer) SetACL ¶ added in v1.5.3
func (a *InactiveAPIServer) SetACL(context.Context, *auth.SetACLRequest) (*auth.SetACLResponse, error)
SetACL implements the SetACL RPC, but just returns NotActivatedError
func (*InactiveAPIServer) SetConfiguration ¶ added in v1.7.7
func (a *InactiveAPIServer) SetConfiguration(context.Context, *auth.SetConfigurationRequest) (*auth.SetConfigurationResponse, error)
SetConfiguration implements the SetConfiguration RPC, but just returns NotActivatedError
func (*InactiveAPIServer) SetGroupsForUser ¶ added in v1.7.2
func (a *InactiveAPIServer) SetGroupsForUser(context.Context, *auth.SetGroupsForUserRequest) (*auth.SetGroupsForUserResponse, error)
SetGroupsForUser implements the SetGroupsForUser RPC, but just returns NotActivatedError
func (*InactiveAPIServer) SetScope ¶
func (a *InactiveAPIServer) SetScope(context.Context, *auth.SetScopeRequest) (*auth.SetScopeResponse, error)
SetScope implements the SetScope RPC, but just returns NotActivatedError
func (*InactiveAPIServer) WhoAmI ¶
func (a *InactiveAPIServer) WhoAmI(context.Context, *auth.WhoAmIRequest) (*auth.WhoAmIResponse, error)
WhoAmI implements the WhoAmI RPC, but just returns NotActivatedError