docker

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: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultEnvPrefix   = "VMCLARITY_DOCKER"
	DefaultHelperImage = "alpine:3.18.2"
	DefaultNetworkName = "vmclarity"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// HelperImage defines helper container image that performs init tasks.
	HelperImage string `mapstructure:"helper_image"`
	// NetworkName defines the user defined bridge network where we attach the scanner container.
	NetworkName string `mapstructure:"network_name"`
}

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