cmd

package
v0.0.143 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd interface {
	Run(args []string) (err error)
}

type DeleteCmd

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

func (DeleteCmd) Run

func (cmd DeleteCmd) Run(args []string) (err error)

type ExistsCmd

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

func (ExistsCmd) Run

func (cmd ExistsCmd) Run(args []string) (err error)

type Factory

type Factory interface {
	Create(name string) (cmd Cmd, err error)
	SetConfig(config davconf.Config) (err error)
}

func NewFactory

func NewFactory(logger boshlog.Logger) Factory

type GetCmd

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

func (GetCmd) Run

func (cmd GetCmd) Run(args []string) (err error)

type PutCmd

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

func (PutCmd) Run

func (cmd PutCmd) Run(args []string) error

type Runner

type Runner interface {
	SetConfig(newConfig davconf.Config) (err error)
	Run(cmdArgs []string) (err error)
}

func NewRunner

func NewRunner(factory Factory) Runner

type SignCmd added in v0.0.35

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

func (SignCmd) Run added in v0.0.35

func (cmd SignCmd) Run(args []string) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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