testing

package
v1.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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(ctx context.Context, req *auth.ActivateRequest) (resp *auth.ActivateResponse, retErr error)

Activate implements the Activate RPC, but just returns NotActivatedError

func (*InactiveAPIServer) Authenticate

func (a *InactiveAPIServer) Authenticate(ctx context.Context, req *auth.AuthenticateRequest) (resp *auth.AuthenticateResponse, retErr error)

Authenticate implements the Authenticate RPC, but just returns NotActivatedError

func (*InactiveAPIServer) Authorize

func (a *InactiveAPIServer) Authorize(ctx context.Context, req *auth.AuthorizeRequest) (resp *auth.AuthorizeResponse, retErr error)

Authorize implements the Authorize RPC, but just returns NotActivatedError

func (*InactiveAPIServer) Deactivate added in v1.6.0

func (a *InactiveAPIServer) Deactivate(ctx context.Context, req *auth.DeactivateRequest) (resp *auth.DeactivateResponse, retErr error)

Deactivate implements the Deactivate RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetACL

func (a *InactiveAPIServer) GetACL(ctx context.Context, req *auth.GetACLRequest) (resp *auth.GetACLResponse, retErr error)

GetACL implements the GetACL RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetAdmins added in v1.6.0

func (a *InactiveAPIServer) GetAdmins(ctx context.Context, req *auth.GetAdminsRequest) (resp *auth.GetAdminsResponse, retErr error)

GetAdmins implements the GetAdmins RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetCapability

func (a *InactiveAPIServer) GetCapability(ctx context.Context, req *auth.GetCapabilityRequest) (resp *auth.GetCapabilityResponse, retErr error)

GetCapability implements the GetCapability RPC, but just returns NotActivatedError

func (*InactiveAPIServer) GetScope

func (a *InactiveAPIServer) GetScope(ctx context.Context, req *auth.GetScopeRequest) (resp *auth.GetScopeResponse, retErr error)

GetScope implements the GetScope RPC, but just returns NotActivatedError

func (*InactiveAPIServer) ModifyAdmins added in v1.6.0

func (a *InactiveAPIServer) ModifyAdmins(ctx context.Context, req *auth.ModifyAdminsRequest) (resp *auth.ModifyAdminsResponse, retErr error)

ModifyAdmins implements the ModifyAdmins RPC, but just returns NotActivatedError

func (*InactiveAPIServer) RevokeAuthToken

func (a *InactiveAPIServer) RevokeAuthToken(ctx context.Context, req *auth.RevokeAuthTokenRequest) (resp *auth.RevokeAuthTokenResponse, retErr error)

RevokeAuthToken implements the RevokeAuthToken RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetACL added in v1.5.3

func (a *InactiveAPIServer) SetACL(ctx context.Context, req *auth.SetACLRequest) (resp *auth.SetACLResponse, retErr error)

SetACL implements the SetACL RPC, but just returns NotActivatedError

func (*InactiveAPIServer) SetScope

func (a *InactiveAPIServer) SetScope(ctx context.Context, req *auth.SetScopeRequest) (resp *auth.SetScopeResponse, retErr error)

SetScope implements the SetScope RPC, but just returns NotActivatedError

func (*InactiveAPIServer) WhoAmI

func (a *InactiveAPIServer) WhoAmI(ctx context.Context, req *auth.WhoAmIRequest) (resp *auth.WhoAmIResponse, retErr error)

WhoAmI implements the WhoAmI RPC, but just returns NotActivatedError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL