configuration

package
v0.0.0-...-90cde2e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

Config represents ~/.aws/config handler

func NewConfig

func NewConfig(dir string, profile string) *Config

NewConfig creates a Config

func (*Config) Save

func (c *Config) Save(region string) error

Save to ~/.aws/config

type Credentials

type Credentials struct {
	// contains filtered or unexported fields
}

Credentials represents ~/.aws/credentials handler

func NewCredentials

func NewCredentials(dir string, profile string) *Credentials

NewCredentials creates a Credentials

func (*Credentials) Save

func (c *Credentials) Save(options map[string]string) error

Save to ~/.aws/credentials

Jump to

Keyboard shortcuts

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