localpath

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.11.0

type Config struct {
	*options.GlobalOptions
	// contains filtered or unexported fields
}

func NewConfig added in v0.11.0

func NewConfig(globalOptions *options.GlobalOptions) *Config

func (*Config) AddFlags added in v0.11.0

func (c *Config) AddFlags(prefix string, flags *pflag.FlagSet)

type LocalPathProvisionerCSI

type LocalPathProvisionerCSI struct {
	// contains filtered or unexported fields
}

func New

func New(
	c ctrlclient.Client,
	cfg *Config,
	helmChartInfoGetter *config.HelmChartGetter,
) *LocalPathProvisionerCSI

func (*LocalPathProvisionerCSI) Apply

func (l *LocalPathProvisionerCSI) Apply(
	ctx context.Context,
	provider v1alpha1.CSIProvider,
	defaultStorage v1alpha1.DefaultStorage,
	cluster *clusterv1.Cluster,
	log logr.Logger,
) error

Jump to

Keyboard shortcuts

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