files

package
v0.0.0-...-37d6c06 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFileSSOEmpty

func ConfigFileSSOEmpty(homedir string, organization string) bool

func IsValidEntry

func IsValidEntry(s *ini.Section, organization string) bool

Types

type AWSFile

type AWSFile struct {
	File *ini.File
	Path string
}

func NewConfigFile

func NewConfigFile(homedir string) (*AWSFile, error)

func NewCredentialsFile

func NewCredentialsFile(homedir string) (*AWSFile, error)

func (*AWSFile) CleanTemporaryRoles

func (c *AWSFile) CleanTemporaryRoles(organization string)

func (*AWSFile) GetentryByAWSProfile

func (f *AWSFile) GetentryByAWSProfile(profile string) (*ini.Section, error)

func (*AWSFile) Save

func (f *AWSFile) Save() error

Jump to

Keyboard shortcuts

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