iammixin

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package iammixin provides utilities for registering gRPC servers with IAM mixins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(server *grpc.Server, serverImpl Server)

Register the IAM mixin server with the provided gRPC server.

Types

type Server

type Server interface {
	iam.IAMPolicyServer
	ListRoles(context.Context, *admin.ListRolesRequest) (*admin.ListRolesResponse, error)
	GetRole(context.Context, *admin.GetRoleRequest) (*admin.Role, error)
}

Server is an interface for servers that implement the essential IAM mixins.

Jump to

Keyboard shortcuts

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