gcp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudPlatformRole = "https://www.googleapis.com/auth/cloud-platform"
)

Variables

This section is empty.

Functions

func NewTokenSource

func NewTokenSource(ctx context.Context, auth *v1alpha1.GooglePubSubAuth, projectID string, kube kclient.Client) (oauth2.TokenSource, error)

Types

type IamClient

type IamClient interface {
	GenerateAccessToken(ctx context.Context, req *credentialspb.GenerateAccessTokenRequest, opts ...gax.CallOption) (*credentialspb.GenerateAccessTokenResponse, error)
	Close() error
}

interface to GCP IAM API.

Jump to

Keyboard shortcuts

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