Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFContainerTypesCollector ¶
type CFContainerTypesCollector struct { }
CFContainerTypesCollector collects buildpacks supported by the instance
func (*CFContainerTypesCollector) Collect ¶
func (c *CFContainerTypesCollector) Collect(inputDirectory string, outputPath string) error
Collect gets the cf containerization types
func (*CFContainerTypesCollector) GetAnnotations ¶
func (c *CFContainerTypesCollector) GetAnnotations() []string
GetAnnotations returns annotations on which this collector should be invoked
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 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