provider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	GetValue(key string) (string, error)
	GetValueTree(prefix string) (map[string]string, error)
	SetValue(key string, value string) error
}

type NewProviderFn

type NewProviderFn = func(o *Options) (Interface, error)

type Options

type Options struct {
	ProviderName string
	Provider     Interface
	Region       string // a.k.a. Datacenter
	Namespace    string // a.k.a. Environment
	OutDir       string
	Debug        bool
}

func (*Options) AddProviderOptions

func (o *Options) AddProviderOptions(c *pflag.FlagSet)

AddProviderOptions adds flags to a pflag.FlagSet

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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