google

package
v0.0.0-...-7c19135 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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