Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainersClient ¶
func NewContainersClient(ctx context.Context, conf AuthConfig) (*container.ProjectsService, error)
NewContainersClient will return a new google containers (gke) client with a given configuration
func NewNetworkClient ¶
func NewNetworkClient(ctx context.Context, conf AuthConfig) (*compute.NetworksService, error)
NewNetworkClient will return a new google network client with a given configuration
Types ¶
type AuthConfig ¶
type AuthConfig struct {
CredentialsFilePath string
}
AuthConfig is the configuration required to generate any google api client
Click to show internal directories.
Click to hide internal directories.