Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterCollector ¶
type ClusterCollector struct {
// contains filtered or unexported fields
}
func NewClusterCollector ¶
func NewClusterCollector(restConfig *rest.Config, opts *ClusterOpts, additionalKinds []string) (*ClusterCollector, error)
func (*ClusterCollector) Get ¶
func (c *ClusterCollector) Get() ([]map[string]interface{}, error)
func (ClusterCollector) GetRestConfig ¶
func (ClusterCollector) GetServerVersion ¶
type ClusterOpts ¶
type ClusterOpts struct { ClientSet dynamic.Interface DiscoveryClient discovery.DiscoveryInterface }
type Config ¶
type Config struct { // AdditionalKinds yet to be implemented AdditionalKinds []string Cluster bool Output string TargetVersion *judge.Version }
func NewCollectorConfig ¶
type VersionCollector ¶
Click to show internal directories.
Click to hide internal directories.