Documentation
¶
Index ¶
- func InitializeRepository(extFactory *extensions.Factory)
- type NetworkOrchestrator
- func (n *NetworkOrchestrator) AllocateExtclientIP(ctx context.Context, network *schema.Network) (net.IP, error)
- func (n *NetworkOrchestrator) AllocateExtclientIPv6(ctx context.Context, network *schema.Network) (net.IP, error)
- func (n *NetworkOrchestrator) AllocateNodeIP(ctx context.Context, network *schema.Network) (net.IP, error)
- func (n *NetworkOrchestrator) AllocateNodeIPv6(ctx context.Context, network *schema.Network) (net.IP, error)
- func (n *NetworkOrchestrator) FreeIPv4Reservation(networkID, ip string)
- func (n *NetworkOrchestrator) FreeIPv6Reservation(networkID, ip string)
- func (n *NetworkOrchestrator) IsIPv4Unique(ctx context.Context, network *schema.Network, ip string) bool
- func (n *NetworkOrchestrator) IsIPv6Unique(ctx context.Context, network *schema.Network, ip string) bool
- type NodeOrchestrator
- func (n *NodeOrchestrator) CreateGateway(ctx context.Context, node *schema.Node, options ...Option) error
- func (n *NodeOrchestrator) CreateNode(ctx context.Context, host *schema.Host, network *schema.Network, ...) (*schema.Node, error)
- func (n *NodeOrchestrator) ValidateCreateGateway(ctx context.Context, node *schema.Node, options ...Option) error
- type Option
- type Options
- type Repository
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 (*NetworkOrchestrator) AllocateExtclientIPv6 ¶
func (*NetworkOrchestrator) AllocateNodeIP ¶
func (*NetworkOrchestrator) AllocateNodeIPv6 ¶
func (*NetworkOrchestrator) FreeIPv4Reservation ¶
func (n *NetworkOrchestrator) FreeIPv4Reservation(networkID, ip string)
func (*NetworkOrchestrator) FreeIPv6Reservation ¶
func (n *NetworkOrchestrator) FreeIPv6Reservation(networkID, ip string)
func (*NetworkOrchestrator) IsIPv4Unique ¶
func (*NetworkOrchestrator) IsIPv6Unique ¶
type NodeOrchestrator ¶
type NodeOrchestrator struct {
// contains filtered or unexported fields
}
func (*NodeOrchestrator) CreateGateway ¶
func (*NodeOrchestrator) CreateNode ¶
func (*NodeOrchestrator) ValidateCreateGateway ¶
type Option ¶
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 WithRelayedClients ¶
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
Click to show internal directories.
Click to hide internal directories.