Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// the version checker dg will also gather pods and so has the same options
// as the dynamic datagatherer
DynamicPod k8s.ConfigDynamic
// the nodes information is also gathered by the version checker datagatherer
DynamicNode k8s.ConfigDynamic
VersionCheckerClientOptions vcclient.Options
// Currently unused, but keeping to allow future config of VersionChecker
VersionCheckerCheckerOptions vcapi.Options
}
Config is the configuration for a VersionChecker DataGatherer.
func (*Config) NewDataGatherer ¶
func (c *Config) NewDataGatherer(ctx context.Context) (datagatherer.DataGatherer, error)
NewDataGatherer creates a new VersionChecker DataGatherer
func (*Config) UnmarshalYAML ¶
UnmarshalYAML unmarshals the ConfigDynamic resolving GroupVersionResource.
type DataGatherer ¶
type DataGatherer struct {
// contains filtered or unexported fields
}
DataGatherer is a VersionChecker DataGatherer
func (*DataGatherer) Fetch ¶
func (g *DataGatherer) Fetch() (interface{}, error)
Fetch retrieves cluster information from GKE.
Click to show internal directories.
Click to hide internal directories.