Documentation
¶
Index ¶
- func NewFrrApplier(log *slog.Logger, tplPath string) *templates.Applier
- func NewInterfacesApplier(log *slog.Logger, tplPath string) *templates.Applier
- type Cumulus
- func (c *Cumulus) Apply(ctx context.Context, cfg *types.Conf) error
- func (c *Cumulus) GetManagement() (ip, user string, err error)
- func (c *Cumulus) GetNics(ctx context.Context, log *slog.Logger, blacklist []string) (nics []*models.V1SwitchNic, err error)
- func (c *Cumulus) GetOS() (*models.V1SwitchOS, error)
- func (c *Cumulus) GetSwitchPorts(_ context.Context) ([]*net.Interface, error)
- func (c *Cumulus) IsInitialized(context.Context) (initialized bool, err error)
- func (c *Cumulus) SanitizeConfig(cfg *types.Conf)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cumulus ¶
type Cumulus struct {
// contains filtered or unexported fields
}
func (*Cumulus) GetManagement ¶
func (*Cumulus) GetSwitchPorts ¶
func (*Cumulus) IsInitialized ¶ added in v0.9.0
func (*Cumulus) SanitizeConfig ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.