generator

package
v0.0.0-...-08a9ad1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostsGenerator

type HostsGenerator interface {
	BuildHostsFromProfileName(name string) (string, error)
	BuildHostsFromProfile(profile model.Profile) string
}

func NewHostsGenerator

func NewHostsGenerator() HostsGenerator

type ProfileGenerator

type ProfileGenerator interface {
	CreateProfileFileFromName(name string) error
	CreateProfileFromHostList(name string, hostMap model.HostList) error
}

func NewProfileGenerator

func NewProfileGenerator() ProfileGenerator

Jump to

Keyboard shortcuts

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