Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
Impl is an implementation of the AuthEnv interface
func New ¶
func New(pm projectmanagerpb.ProjectManagerServiceClient) *Impl
New creates a new profile env.
func NewWithDefaults ¶
NewWithDefaults creates a profile env with the default clients and values.
func (*Impl) ProjectManagerClient ¶
func (p *Impl) ProjectManagerClient() projectmanagerpb.ProjectManagerServiceClient
ProjectManagerClient is an accessor for the project manager client.
type ProfileEnv ¶
type ProfileEnv interface { env.Env ProjectManagerClient() projectmanagerpb.ProjectManagerServiceClient }
ProfileEnv is the environment used for the profile service.
Click to show internal directories.
Click to hide internal directories.