config

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: UPL-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigDetails

func GetConfigDetails(log loggerutil.OSOKLogger) osokConfig

func SetUserConfigDetails

func SetUserConfigDetails(log loggerutil.OSOKLogger)

Types

type OsokConfig

type OsokConfig interface {
	Auth() UserAuthConfig
	UseInstancePrincipals() bool
	VaultDetails() string
}

type UserAuthConfig

type UserAuthConfig struct {
	Region      string `json:"region"`
	Tenancy     string `json:"tenancy"`
	User        string `json:"user"`
	PrivateKey  string `json:"key"`
	Fingerprint string `json:"fingerprint"`
	Passphrase  string `json:"passphrase"`
}

Jump to

Keyboard shortcuts

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