azure

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 17 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 {
	runtime.RuntimeConfig
	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