orchestrator

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeRepository

func InitializeRepository(extFactory *extensions.Factory)

Types

type NetworkOrchestrator

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

func (*NetworkOrchestrator) AllocateExtclientIP

func (n *NetworkOrchestrator) AllocateExtclientIP(ctx context.Context, network *schema.Network) (net.IP, error)

func (*NetworkOrchestrator) AllocateExtclientIPv6

func (n *NetworkOrchestrator) AllocateExtclientIPv6(ctx context.Context, network *schema.Network) (net.IP, error)

func (*NetworkOrchestrator) AllocateNodeIP

func (n *NetworkOrchestrator) AllocateNodeIP(ctx context.Context, network *schema.Network) (net.IP, error)

func (*NetworkOrchestrator) AllocateNodeIPv6

func (n *NetworkOrchestrator) AllocateNodeIPv6(ctx context.Context, network *schema.Network) (net.IP, error)

func (*NetworkOrchestrator) FreeIPv4Reservation

func (n *NetworkOrchestrator) FreeIPv4Reservation(networkID, ip string)

func (*NetworkOrchestrator) FreeIPv6Reservation

func (n *NetworkOrchestrator) FreeIPv6Reservation(networkID, ip string)

func (*NetworkOrchestrator) IsIPv4Unique

func (n *NetworkOrchestrator) IsIPv4Unique(ctx context.Context, network *schema.Network, ip string) bool

func (*NetworkOrchestrator) IsIPv6Unique

func (n *NetworkOrchestrator) IsIPv6Unique(ctx context.Context, network *schema.Network, ip string) bool

type NodeOrchestrator

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

func (*NodeOrchestrator) CreateGateway

func (n *NodeOrchestrator) CreateGateway(ctx context.Context, node *schema.Node, options ...Option) error

func (*NodeOrchestrator) CreateNode

func (n *NodeOrchestrator) CreateNode(ctx context.Context, host *schema.Host, network *schema.Network, options ...Option) (*schema.Node, error)

func (*NodeOrchestrator) ValidateCreateGateway

func (n *NodeOrchestrator) ValidateCreateGateway(ctx context.Context, node *schema.Node, options ...Option) error

type Option

type Option func(options *Options) *Options

func SkipHostUpdate

func SkipHostUpdate() Option

func SkipNodeUpdate

func SkipNodeUpdate() Option

func SkipPublishPeerUpdate

func SkipPublishPeerUpdate() Option

func UseKey

func UseKey(key *models.EnrollmentKey) Option

func WithInternetGateway

func WithInternetGateway(igwClients []string) Option

func WithRelayedClients

func WithRelayedClients(relayedClients []string) Option

type Options

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

type Repository

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

func GetRepository

func GetRepository() *Repository

func (*Repository) NetworkOrchestrator

func (r *Repository) NetworkOrchestrator() *NetworkOrchestrator

func (*Repository) NodeOrchestrator

func (r *Repository) NodeOrchestrator() *NodeOrchestrator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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