clabverter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assets embed.FS

Assets is the embedded asset objects for the clabverter tool.

View Source
var ErrClabvert = errors.New("errClabvert")

ErrClabvert is the error returned when encountering issues with the clabversion process.

Functions

This section is empty.

Types

type Clabverter

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

Clabverter is a struct that holds data/methods for "clabversion" -- that is, the conversion of a "normal" containerlab topology to a clabernetes Containerlab resource, and any other associated manifest(s).

func MustNewClabverter

func MustNewClabverter(
	topologyFile,
	outputDirectory,
	destinationNamespace,
	naming,
	containerlabVersion,
	insecureRegistries string,
	imagePullSecrets string,
	disableExpose,
	debug,
	quiet,
	stdout bool,
) *Clabverter

MustNewClabverter returns an instance of Clabverter or panics.

func (*Clabverter) Clabvert

func (c *Clabverter) Clabvert() error

Clabvert is the main (only) entrypoint that kicks off the "clabversion" process.

Jump to

Keyboard shortcuts

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