aws

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 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 {
	// LocalConfig specifies if AWS cli configuration should be overridden by a persona-specific
	// configuration. When true it the plugin will set AWS_CONFIG to a file within the persona
	// folder.
	// Default is false.
	LocalConfig       bool   `mapstructure:"local_config"`
	CustomProfileName string `mapstructure:"custom_profile_name"`
}

type Plugin

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

func NewPlugin

func NewPlugin() *Plugin

NewPlugin instantiate a Plugin instance.

func (*Plugin) Config

func (p *Plugin) Config() Config

func (*Plugin) Configure

func (p *Plugin) Configure(v *viper.Viper) error

func (*Plugin) Name

func (*Plugin) Name() string

Name return plugin name. Implements `plugin.Pluggable` interface.

func (*Plugin) Render

func (p *Plugin) Render(personaName, personaDirectory string) string

Render returns content rendered by the plugin. Implements `plugin.Renderable` interface.

Jump to

Keyboard shortcuts

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