Documentation
¶
Overview ¶
Package gke provides a datagatherer for GKE.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
Project string
// Zone is deprecated, since now Location works for both Zones and regions
Zone string
Name string
Location string
}
Cluster holds details about the cluster required to query it using the API.
type GKEDataGatherer ¶ added in v0.1.9
type GKEDataGatherer struct {
// contains filtered or unexported fields
}
GKEDataGatherer is a DataGatherer for GKE.
func NewGKEDataGatherer ¶ added in v0.1.9
func NewGKEDataGatherer(ctx context.Context, cluster *Cluster, credsPath string) *GKEDataGatherer
NewGKEDataGatherer creates a new GKEDataGatherer for a cluster.
func (*GKEDataGatherer) Fetch ¶ added in v0.1.9
func (g *GKEDataGatherer) Fetch() (interface{}, error)
Fetch retrieves cluster information from GKE.
Click to show internal directories.
Click to hide internal directories.