Documentation
¶
Index ¶
- type Manager
- func (m Manager) CleanupExampleNodes(ctx context.Context, mod module.Info) error
- func (m Manager) CreateClusterNodeSignal(ctx context.Context, node v1alpha1.TinyNode, port string, data []byte) error
- func (m Manager) DisclosePort(ctx context.Context, port int) error
- func (m Manager) ExposePort(ctx context.Context, autoHostName string, hostnames []string, port int) ([]string, error)
- func (m Manager) RegisterExampleNode(ctx context.Context, c module.Component, mod module.Info) error
- func (m Manager) RegisterModule(ctx context.Context, mod module.Info) error
- func (m Manager) Start(ctx context.Context) error
- type ManagerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (Manager) CleanupExampleNodes ¶
CleanupExampleNodes @todo deal with it later
func (Manager) CreateClusterNodeSignal ¶
func (Manager) ExposePort ¶
func (Manager) RegisterExampleNode ¶
func (Manager) RegisterModule ¶
type ManagerInterface ¶
type ManagerInterface interface {
CleanupExampleNodes(ctx context.Context, mod module.Info) error
RegisterModule(ctx context.Context, mod module.Info) error
ExposePort(ctx context.Context, autoHostName string, hostnames []string, port int) ([]string, error)
DisclosePort(ctx context.Context, port int) error
RegisterExampleNode(ctx context.Context, c module.Component, mod module.Info) error
CreateClusterNodeSignal(ctx context.Context, node v1alpha1.TinyNode, port string, data []byte) error
}
Click to show internal directories.
Click to hide internal directories.