Documentation
¶
Index ¶
Constants ¶
View Source
const ( FAKE_VERSION = "1.2.3" FAKE_COLLECTOR_NAME = "Fake" )
View Source
const CLUSTER_COLLECTOR_NAME = "Cluster"
View Source
const FILE_COLLECTOR_NAME = "File"
View Source
const HELM_V3_COLLECTOR_NAME = "Helm v3"
Variables ¶
This section is empty.
Functions ¶
func NewFakeCollector ¶
func NewFakeCollector() *fakeCollector
Types ¶
type ClusterCollector ¶
type ClusterCollector struct {
// contains filtered or unexported fields
}
func NewClusterCollector ¶
func NewClusterCollector(opts *ClusterOpts, additionalKinds []string, additionalAnnotations []string, userAgent string) ( *ClusterCollector, error)
func (*ClusterCollector) Get ¶
func (c *ClusterCollector) Get() ([]map[string]interface{}, error)
func (ClusterCollector) GetRestConfig ¶
func (ClusterCollector) GetServerVersion ¶
type ClusterOpts ¶
type FileCollector ¶
type FileCollector struct {
// contains filtered or unexported fields
}
func NewFileCollector ¶
func NewFileCollector(opts *FileOpts) (*FileCollector, error)
func (*FileCollector) Get ¶
func (c *FileCollector) Get() ([]map[string]interface{}, error)
type HelmV3Collector ¶
type HelmV3Collector struct {
// contains filtered or unexported fields
}
func NewHelmV3Collector ¶
func NewHelmV3Collector(opts *HelmV3Opts, userAgent string) (*HelmV3Collector, error)
func (*HelmV3Collector) Get ¶
func (c *HelmV3Collector) Get() ([]map[string]interface{}, error)
func (HelmV3Collector) GetRestConfig ¶
func (HelmV3Collector) GetServerVersion ¶
type HelmV3Opts ¶
type HelmV3Opts struct { Kubeconfig string KubeContext string DiscoveryClient discovery.DiscoveryInterface CoreClient corev1.CoreV1Interface }
type VersionCollector ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.