config

package
v0.0.0-...-b58264c Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Backend types.Backend
}

Config is used to decide the backend and auth type

func New

func New(v *viper.Viper, co *Options) (*Config, error)

New returns a new Config struct

type Options

type Options struct {
	SecretName string
	ConfigPath string
}

Options options that can be passed to a Config struct

Jump to

Keyboard shortcuts

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