toprovider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(p Provider)

Types

type Operator

type Operator interface {
	Summary() string
	Do(ctx context.Context, dryRun bool) error
}

type Provider

type Provider interface {
	Name() string
	UnmarshalSpec(bytes []byte) (Operator, error)
}

func Get

func Get(providerType string) Provider

Directories

Path Synopsis
Package mock_toprovider is a generated GoMock package.
Package mock_toprovider is a generated GoMock package.

Jump to

Keyboard shortcuts

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