azure

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	*context.Context
	azureconfig.Config
}

func New

func New() *Plugin

New azure plugin client, initialized with useful defaults.

func (*Plugin) LoadConfig

func (p *Plugin) LoadConfig() error

func (*Plugin) PrintVersion

func (p *Plugin) PrintVersion(opts version.Options) error

func (*Plugin) Run

func (p *Plugin) Run(args []string)

type RunOptions

type RunOptions struct {
	Key string
	// contains filtered or unexported fields
}

func (*RunOptions) Validate

func (o *RunOptions) Validate(args []string, cfg azureconfig.Config) error

type TestPlugin

type TestPlugin struct {
	*Plugin
	TestContext *context.TestContext
}

func NewTestPlugin

func NewTestPlugin(t *testing.T) *TestPlugin

NewTestPlugin initializes a plugin test client, with the output buffered, and an in-memory file system.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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