Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CfAppsCollector ¶
type CfAppsCollector struct { }
CfAppsCollector collects cf runtime applications
func (*CfAppsCollector) Collect ¶
func (c *CfAppsCollector) Collect(inputPath string, outputPath string) error
Collect gets the cf app metadata by querying the cf app. Assumes that the authentication with cluster is already done.
func (*CfAppsCollector) GetAnnotations ¶
func (c *CfAppsCollector) GetAnnotations() []string
GetAnnotations returns annotations on which this collector should be invoked
type CfServicesCollector ¶
type CfServicesCollector struct { }
CfServicesCollector collects cf runtime applications
func (*CfServicesCollector) Collect ¶
func (c *CfServicesCollector) Collect(inputPath string, outputPath string) error
Collect gets the cf service metadata by querying the cf app. Assumes that the authentication with cluster is already done.
func (*CfServicesCollector) GetAnnotations ¶
func (c *CfServicesCollector) GetAnnotations() []string
GetAnnotations returns annotations on which this collector should be invoked
type ClusterCollector ¶
type ClusterCollector struct {
// contains filtered or unexported fields
}
ClusterCollector Implements Collector interface
func (*ClusterCollector) Collect ¶
func (c *ClusterCollector) Collect(inputPath string, outputPath string) error
Collect gets the cluster metadata by querying the cluster. Assumes that the authentication with cluster is already done.
func (ClusterCollector) GetAnnotations ¶
func (c ClusterCollector) GetAnnotations() []string
GetAnnotations returns annotations on which this collector should be invoked
type Collector ¶
type Collector interface { Collect(inputDirectory string, outputPath string) error GetAnnotations() []string }
Collector defines interface for collecting data from data sources
func GetCollectors ¶
GetCollectors returns different collectors
type ImagesCollector ¶
type ImagesCollector struct { }
ImagesCollector collects the docker images
func (*ImagesCollector) Collect ¶
func (c *ImagesCollector) Collect(inputDirectory string, outputPath string) error
Collect gets the image metadata using docker inspect
func (ImagesCollector) GetAnnotations ¶
func (c ImagesCollector) GetAnnotations() []string
GetAnnotations returns annotations on which this collector should be invoked