Documentation ¶
Index ¶
- func AuthorizeGCE(ctx context.Context, i *AuthorizeGCEInput) error
- func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)
- func ServiceAccountLoginJwt(iamClient *iam.Service, exp time.Time, aud, project, serviceAccount string) (*iam.SignJwtResponse, error)
- type AuthorizeGCEInput
- type CLIHandler
- type GcpAuthBackend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeGCE ¶
func AuthorizeGCE(ctx context.Context, i *AuthorizeGCEInput) error
Types ¶
type AuthorizeGCEInput ¶
type AuthorizeGCEInput struct {
// contains filtered or unexported fields
}
type CLIHandler ¶
type CLIHandler struct{}
func (*CLIHandler) Help ¶
func (h *CLIHandler) Help() string
type GcpAuthBackend ¶
func Backend ¶
func Backend() *GcpAuthBackend
func (*GcpAuthBackend) CRMClient ¶
func (b *GcpAuthBackend) CRMClient(s logical.Storage) (*cloudresourcemanager.Service, error)
CRMClient returns a new Cloud Resource Manager client. The client is cached.
func (*GcpAuthBackend) ClearCaches ¶
func (b *GcpAuthBackend) ClearCaches()
ClearCaches deletes all cached clients and credentials.
func (*GcpAuthBackend) ComputeClient ¶
func (b *GcpAuthBackend) ComputeClient(s logical.Storage) (*compute.Service, error)
ComputeClient returns a new Compute client. The client is cached.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.