packages

package
v54.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package interface {
	// Root returns the root directory of the sdk
	Root() string
	// Path returns the relative path to the root directory
	Path() string
	// FullPath returns the full path of this package. It should satisfy FullPath() == filepath.Join(Root(), Path())
	FullPath() string
	// Name returns the name of this package
	Name() string
	// IsARMPackage returns true if this package is a management plane package, false otherwise.
	IsARMPackage() bool
}

Package defines a SDK package

type Verifier

type Verifier interface {
	// Verify verifies the given package
	Verify(pkg Package) []error
}

Verifier could verify a SDK package

type VerifyFunc

type VerifyFunc func(p Package) error

VerifyFunc ...

Jump to

Keyboard shortcuts

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