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.
Click to show internal directories.
Click to hide internal directories.