Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is a struct implementing the DataCollector interface. It wraps a Helm SDK configuration object.
func DefaultConfiguration ¶
DefaultConfiguration creates a Collector instance with default configuration to use Helm on a local Kubernetes cluster. A Printf-like function can be provided so the SDK uses an application-wide logger object. If nil, the `log.Printf` function from the standard library is used. The HELM_DRIVER environment variable is also taken into account, as described in the Helm docs: https://helm.sh/docs/topics/advanced/#storage-backends
func New ¶
func New(sdkConfig *action.Configuration) *Collector
New creates a new instance of the Collector struct. A Helm SDK configuration object must be provided.