rules

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateLoopback4ForMachineRule

func NewCreateLoopback4ForMachineRule(
	subnetExtractor providers.LoopbackSubnetExtractor,
	loopbackPersister providers.AddressPersister,
	inventoryExtractor providers.InventoryExtractor,
	log logr.Logger,
) events.DomainEventListener[base.DomainEvent]

func NewCreateLoopback6ForMachineRule

func NewCreateLoopback6ForMachineRule(
	subnetExtractor providers.LoopbackSubnetExtractor,
	addressPersister providers.AddressPersister,
	inventoryExtractor providers.InventoryExtractor,
	log logr.Logger,
) events.DomainEventListener[base.DomainEvent]

Types

type CreateIPv6SubnetFromParentForInventoryRule

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

func NewCreateIPv6SubnetFromParentForInventoryRule

func NewCreateIPv6SubnetFromParentForInventoryRule(
	loopbackSubnetExtractor providers.LoopbackSubnetExtractor,
	subnetPersister providers.SubnetPersister,
	inventoryExtractor providers.InventoryExtractor,
	log logr.Logger,
) *CreateIPv6SubnetFromParentForInventoryRule

func (*CreateIPv6SubnetFromParentForInventoryRule) EventType

func (*CreateIPv6SubnetFromParentForInventoryRule) Handle

type CreateLoopback4ForMachineRule

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

func (*CreateLoopback4ForMachineRule) CreateLoopbackIP

func (c *CreateLoopback4ForMachineRule) CreateLoopbackIP(
	uuid string,
) error

func (*CreateLoopback4ForMachineRule) EventType

func (*CreateLoopback4ForMachineRule) Handle

type CreateLoopback6ForMachineRule

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

func (*CreateLoopback6ForMachineRule) CreateLoopbackIP

func (c *CreateLoopback6ForMachineRule) CreateLoopbackIP(
	uuid string,
) error

func (*CreateLoopback6ForMachineRule) EventType

func (*CreateLoopback6ForMachineRule) Handle

type ServerMustBeEnabledOnFirstTimeRule

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

func NewServerMustBeEnabledOnFirstTimeRule

func NewServerMustBeEnabledOnFirstTimeRule(
	serverExecutor providers.ServerExecutor,
	inventoryExtractor providers.InventoryExtractor,
	log logr.Logger,
) *ServerMustBeEnabledOnFirstTimeRule

func (*ServerMustBeEnabledOnFirstTimeRule) EventType

func (*ServerMustBeEnabledOnFirstTimeRule) Handle

Jump to

Keyboard shortcuts

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