pachyderm: github.com/pachyderm/pachyderm/src/server/auth/testing Index | Files

package testing

import "github.com/pachyderm/pachyderm/src/server/auth/testing"

Index

Package Files

auth.go

type InactiveAPIServer Uses

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 Uses

func (a *InactiveAPIServer) Activate(context.Context, *auth.ActivateRequest) (*auth.ActivateResponse, error)

Activate implements the Activate RPC, but just returns NotActivatedError

func (*InactiveAPIServer) Authenticate Uses

func (a *InactiveAPIServer) Authenticate(context.Context, *auth.AuthenticateRequest) (*auth.AuthenticateResponse, error)

Authenticate implements the Authenticate RPC, but just returns NotActivatedError

func (*InactiveAPIServer) Authorize Uses

func (a *InactiveAPIServer) Authorize(context.Context, *auth.AuthorizeRequest) (*auth.AuthorizeResponse, error)

Authorize implements the Authorize RPC, but just returns NotActivatedError

func (*InactiveAPIServer) AuthorizeInTransaction Uses

func (a *InactiveAPIServer) AuthorizeInTransaction(*txnenv.TransactionContext, *auth.AuthorizeRequest) (*auth.AuthorizeResponse, error)

AuthorizeInTransaction is the same as the Authorize RPC but for use inside a running transaction. It also returns a NotActivatedError.

func (*InactiveAPIServer) Deactivate Uses

func (a *InactiveAPIServer) Deactivate(context.Context, *auth.DeactivateRequest) (*auth.DeactivateResponse, error)

Deactivate implements the Deactivate RPC, but just returns NotActivatedError

func (*InactiveAPIServer) ExtendAuthToken Uses

func (a *InactiveAPIServer) ExtendAuthToken(context.Context, *auth.ExtendAuthTokenRequest) (*auth.ExtendAuthTokenResponse, error)

ExtendAuthToken implements the ExtendAuthToken RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetACL Uses

func (a *InactiveAPIServer) GetACL(context.Context, *auth.GetACLRequest) (*auth.GetACLResponse, error)

GetACL implements the GetACL RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetACLInTransaction Uses

func (a *InactiveAPIServer) GetACLInTransaction(*txnenv.TransactionContext, *auth.GetACLRequest) (*auth.GetACLResponse, error)

GetACLInTransaction is the same as the GetACL RPC but for use inside a running transaction. It also returns a NotActivatedError.

func (*InactiveAPIServer) GetAdmins Uses

func (a *InactiveAPIServer) GetAdmins(context.Context, *auth.GetAdminsRequest) (*auth.GetAdminsResponse, error)

GetAdmins implements the GetAdmins RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetAuthToken Uses

func (a *InactiveAPIServer) GetAuthToken(context.Context, *auth.GetAuthTokenRequest) (*auth.GetAuthTokenResponse, error)

GetAuthToken implements the GetAuthToken RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetConfiguration Uses

func (a *InactiveAPIServer) GetConfiguration(context.Context, *auth.GetConfigurationRequest) (*auth.GetConfigurationResponse, error)

GetConfiguration implements the GetConfiguration RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetGroups Uses

func (a *InactiveAPIServer) GetGroups(context.Context, *auth.GetGroupsRequest) (*auth.GetGroupsResponse, error)

GetGroups implements the GetGroups RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetOneTimePassword Uses

func (a *InactiveAPIServer) GetOneTimePassword(context.Context, *auth.GetOneTimePasswordRequest) (*auth.GetOneTimePasswordResponse, error)

GetOneTimePassword implements the GetOneTimePassword RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetScope Uses

func (a *InactiveAPIServer) GetScope(context.Context, *auth.GetScopeRequest) (*auth.GetScopeResponse, error)

GetScope implements the GetScope RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetScopeInTransaction Uses

func (a *InactiveAPIServer) GetScopeInTransaction(*txnenv.TransactionContext, *auth.GetScopeRequest) (*auth.GetScopeResponse, error)

GetScopeInTransaction is the same as the GetScope RPC but for use inside a running transaction. It also returns a NotActivatedError.

func (*InactiveAPIServer) GetUsers Uses

func (a *InactiveAPIServer) GetUsers(context.Context, *auth.GetUsersRequest) (*auth.GetUsersResponse, error)

GetUsers implements the GetUsers RPC, but just returns NotActivatedError

func (*InactiveAPIServer) ModifyAdmins Uses

func (a *InactiveAPIServer) ModifyAdmins(context.Context, *auth.ModifyAdminsRequest) (*auth.ModifyAdminsResponse, error)

ModifyAdmins implements the ModifyAdmins RPC, but just returns NotActivatedError

func (*InactiveAPIServer) ModifyMembers Uses

func (a *InactiveAPIServer) ModifyMembers(context.Context, *auth.ModifyMembersRequest) (*auth.ModifyMembersResponse, error)

ModifyMembers implements the ModifyMembers RPC, but just returns NotActivatedError

func (*InactiveAPIServer) RevokeAuthToken Uses

func (a *InactiveAPIServer) RevokeAuthToken(context.Context, *auth.RevokeAuthTokenRequest) (*auth.RevokeAuthTokenResponse, error)

RevokeAuthToken implements the RevokeAuthToken RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetACL Uses

func (a *InactiveAPIServer) SetACL(context.Context, *auth.SetACLRequest) (*auth.SetACLResponse, error)

SetACL implements the SetACL RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetACLInTransaction Uses

func (a *InactiveAPIServer) SetACLInTransaction(*txnenv.TransactionContext, *auth.SetACLRequest) (*auth.SetACLResponse, error)

SetACLInTransaction is the same as the SetACL RPC but for use inside a running transaction. It also returns a NotActivatedError.

func (*InactiveAPIServer) SetConfiguration Uses

func (a *InactiveAPIServer) SetConfiguration(context.Context, *auth.SetConfigurationRequest) (*auth.SetConfigurationResponse, error)

SetConfiguration implements the SetConfiguration RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetGroupsForUser Uses

func (a *InactiveAPIServer) SetGroupsForUser(context.Context, *auth.SetGroupsForUserRequest) (*auth.SetGroupsForUserResponse, error)

SetGroupsForUser implements the SetGroupsForUser RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetScope Uses

func (a *InactiveAPIServer) SetScope(context.Context, *auth.SetScopeRequest) (*auth.SetScopeResponse, error)

SetScope implements the SetScope RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetScopeInTransaction Uses

func (a *InactiveAPIServer) SetScopeInTransaction(*txnenv.TransactionContext, *auth.SetScopeRequest) (*auth.SetScopeResponse, error)

SetScopeInTransaction is the same as the SetScope RPC but for use inside a running transaction. It also returns a NotActivatedError.

func (*InactiveAPIServer) WhoAmI Uses

func (a *InactiveAPIServer) WhoAmI(context.Context, *auth.WhoAmIRequest) (*auth.WhoAmIResponse, error)

WhoAmI implements the WhoAmI RPC, but just returns NotActivatedError

Package testing imports 3 packages (graph) and is imported by 2 packages. Updated 2019-05-16. Refresh now. Tools for package owners.