store

package
v0.0.0-...-f1e7488 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFunc

func NewFunc(config interface{}, dependencies factory.Dependencies, out interface{}) error

NewFunc is the factory creation function for the Kubernetes orchestrator.Cluster implementation.

func NewStoreFromEnvVars

func NewStoreFromEnvVars() (storepkg.Store, error)

NewStoreFromEnvVars initializes a new store.Store implementation using environment variables.

Types

type Config

type Config struct {
	MachinesStore     machinesStore
	IgnitionStore     ignitionStore
	OrchestratorStore orchestratorStore
}

Config is used to create a store component.

func (*Config) SetDefaults

func (c *Config) SetDefaults() error

SetDefaults sets defaults values for the config.

func (*Config) Validate

func (c *Config) Validate() error

Validate validates that the config values are valid.

Jump to

Keyboard shortcuts

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