gke

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalDnsConfig

type ExternalDnsConfig struct {
	// contents of GOOGLE_APPLICATION_CREDENTIALS file
	Credentials string `json:"credentials"`
	// GCP project containing dns zone
	Project string `json:"project"`
}

Structure of `azure.json` required by external-dns

type GKEConfig

type GKEConfig struct {

	// TODO: Promote this to a proper (versioned) k8s Object
	DnsZone      string            `json:"dnsZone"`
	ContactEmail string            `json:"contactEmail"`
	ExternalDNS  ExternalDnsConfig `json:"externalDns"`
	OauthProxy   OauthProxyConfig  `json:"oauthProxy"`
	// contains filtered or unexported fields
}

Local config required for GKE platforms

func (*GKEConfig) Generate

func (conf *GKEConfig) Generate(ctx context.Context) error

type OauthProxyConfig

type OauthProxyConfig struct {
	ClientID                 string   `json:"client_id"`
	ClientSecret             string   `json:"client_secret"`
	CookieSecret             string   `json:"cookie_secret"`
	AuthzDomain              string   `json:"authz_domain"`
	GoogleGroups             []string `json:"google_groups"`
	GoogleAdminEmail         string   `json:"google_admin_email"`
	GoogleServiceAccountJson string   `json:"google_service_account_json"`
}

Config options required by oauth2-proxy

Jump to

Keyboard shortcuts

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