op

package
v0.0.0-...-b097151 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creater

type Creater interface {
	Create(
		path string,
		description string,
		name string,
	)
}

Creater exposes the "op create" sub command

type Installer

type Installer interface {
	Install(
		ctx context.Context,
		path,
		opRef,
		username,
		password string,
	)
}

Installer exposes the "op install" sub command

type Killer

type Killer interface {
	Kill(
		ctx context.Context,
		opID string,
	)
}

Killer exposes the "op kill" sub command

type Op

type Op interface {
	Creater
	Installer
	Killer
	Validater
}

Op exposes the "op" sub command

func New

func New(
	cliExiter cliexiter.CliExiter,
	dataResolver dataresolver.DataResolver,
	nodeProvider nodeprovider.NodeProvider,
) Op

New returns an initialized "op" sub command

type Validater

type Validater interface {
	Validate(
		ctx context.Context,
		opRef string,
	)
}

Validater exposes the "op validate" sub command

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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