azure

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 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 {
	*portercontext.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) error

type TestPlugin

type TestPlugin struct {
	*Plugin
	TestContext *portercontext.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