kubernetes

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultEnvPrefix = "VMCLARITY_KUBERNETES"
	DefaultNamespace = "default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// KubeConfig defines a path to a kubeconfig file to use to connect to the Kubernetes API.
	KubeConfig string `mapstructure:"kubeconfig"`

	// ContainerRuntimeDiscoveryNamespace defines the namespace where container runtime discovery DaemonSet is deployed.
	ContainerRuntimeDiscoveryNamespace string `mapstructure:"container_runtime_discovery_namespace"`

	// ScannerNamespace defines the namespace where the scanners are deployed.
	ScannerNamespace string `mapstructure:"scanner_namespace"`
}

func NewConfig

func NewConfig() (*Config, error)

type Provider

type Provider struct {
	*discoverer.Discoverer
	*scanner.Scanner
	*estimator.Estimator
}

func New

func New(_ context.Context) (*Provider, error)

func (*Provider) Kind

func (p *Provider) Kind() apitypes.CloudProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL