controller

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Provider provider.Interface
}

Manager is a controller for SSH providers.

func NewManager

func NewManager(providerName *string) *Manager

NewManager is a factory for Manager.

func (Manager) Add

func (c Manager) Add(item *provider.Item) error

Add adds item to provider.

func (Manager) Get

func (c Manager) Get(options provider.GetOptions) (*provider.Item, error)

Get gets item from provider.

func (Manager) List

func (c Manager) List(options provider.ListOptions) ([]*provider.Item, error)

List lists items from provider.

Jump to

Keyboard shortcuts

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