providercomponents

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// If present the provider components will be loaded from and saved to this file
	ExplicitPath string
	// If present and ExplicitPath is not present, provider components will be loaded and saved to this store
	ConfigMap v1.ConfigMapInterface
}

func NewFromClientset

func NewFromClientset(clientset *kubernetes.Clientset) (*Store, error)

func NewFromConfigMap

func NewFromConfigMap(configMap v1.ConfigMapInterface) (*Store, error)

func (*Store) Load

func (pc *Store) Load() (string, error)

func (*Store) Save

func (pc *Store) Save(providerComponents string) error

Jump to

Keyboard shortcuts

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