config

package
v0.0.0-...-cc4f117 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 3 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 {
	AvailabilityDomain string `toml:"availability_domain"`
	CompartmentId      string `toml:"compartment_id"`
	SubnetID           string `toml:"subnet_id"`
	NsgID              string `toml:"network_security_group_id"`
	TenancyID          string `toml:"tenancy_id"`
	UserID             string `toml:"user_id"`
	Region             string `toml:"region"`
	Fingerprint        string `toml:"fingerprint"`
	PrivateKeyPath     string `toml:"private_key_path"`
	PrivateKeyPassword string `toml:"private_key_password"`
}

func NewConfig

func NewConfig(cfgFile string) (*Config, error)

func (*Config) GetPrivateKey

func (c *Config) GetPrivateKey() (string, error)

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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