Documentation ¶
Index ¶
- func DialX509(addr, certFile, caFile string) (*grpc.ClientConn, error)
- func GetRPCCredsRepoId(ctx context.Context, args map[string]interface{}, action auth.Action, ...) (grpc.CallOption, error)
- func GetRPCCredsScope(ctx context.Context, args map[string]interface{}, sc auth.SimpleScope) (grpc.CallOption, error)
- func GetRPCCredsScopes(ctx context.Context, args map[string]interface{}, scopes []interface{}) (grpc.CallOption, error)
- func GetRPCCredsSimple(ctx context.Context, args map[string]interface{}, scopes []SimpleScope) (grpc.CallOption, error)
- func GetRPCCredsSimpleAndRepoId(ctx context.Context, args map[string]interface{}, simpleScopes []SimpleScope, ...) (grpc.CallOption, error)
- type RepoIdScope
- type SimpleScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRPCCredsRepoId ¶
func GetRPCCredsScope ¶
func GetRPCCredsScope( ctx context.Context, args map[string]interface{}, sc auth.SimpleScope, ) (grpc.CallOption, error)
func GetRPCCredsScopes ¶
func GetRPCCredsSimple ¶
func GetRPCCredsSimple( ctx context.Context, args map[string]interface{}, scopes []SimpleScope, ) (grpc.CallOption, error)
func GetRPCCredsSimpleAndRepoId ¶
func GetRPCCredsSimpleAndRepoId( ctx context.Context, args map[string]interface{}, simpleScopes []SimpleScope, idScopes []RepoIdScope, ) (grpc.CallOption, error)
Types ¶
type RepoIdScope ¶
type RepoIdScope = jwtauth.RepoIdScope
type SimpleScope ¶
type SimpleScope = auth.SimpleScope
Click to show internal directories.
Click to hide internal directories.