Documentation ¶
Index ¶
- Constants
- func NewGkeCluster(host, proxyUrl string) (kubernetes.Kubernetes, error)
- func NewGoogleAuth() (rest.AuthProvider, error)
- func NewGoogleAuthImplement(addr string, config map[string]string, ...) (rest.AuthProvider, error)
- func NewTenant(provider Api, name string, readable bool, writeable bool) (kubernetes.Tenant, error)
- func NewTenantFromMetadata(metadata string, timeout time.Duration) (kubernetes.Tenant, error)
- type Api
- type AuthProvider
- type GcpExternalParam
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewGkeCluster ¶
func NewGkeCluster(host, proxyUrl string) (kubernetes.Kubernetes, error)
func NewGoogleAuth ¶
func NewGoogleAuth() (rest.AuthProvider, error)
func NewGoogleAuthImplement ¶
func NewGoogleAuthImplement( addr string, config map[string]string, persister rest.AuthProviderConfigPersister, ) (rest.AuthProvider, error)
func NewTenantFromMetadata ¶
Types ¶
type Api ¶
type Api interface { GetKubernete(name string) (kubernetes.Kubernetes, error) GetProject() string GetLocation() string ListKubernetes() []kubernetes.Kubernetes ReadTimeseries( ctx context.Context, filter string, ) *monitoring.TimeSeriesIterator WriteTimeseries( ctx context.Context, metricType, resourceType string, labels map[string]string, points []*monitoringpb.Point, ) error }
type AuthProvider ¶
type AuthProvider interface { rest.AuthProvider }
type GcpExternalParam ¶
Click to show internal directories.
Click to hide internal directories.