Documentation ¶
Index ¶
- type Resource
- func (m Resource) CleanupExampleNodes(ctx context.Context, mod module.Info) error
- func (m Resource) CreateClusterNodeSignal(ctx context.Context, node v1alpha1.TinyNode, port string, data []byte) error
- func (m Resource) DisclosePort(ctx context.Context, port int) error
- func (m Resource) ExposePort(ctx context.Context, autoHostName string, hostnames []string, port int) ([]string, error)
- func (m Resource) RegisterExampleNode(ctx context.Context, c module.Component, mod module.Info) error
- func (m Resource) RegisterModule(ctx context.Context, mod module.Info) error
- func (m Resource) Start(ctx context.Context) error
- type ResourceInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (Resource) CleanupExampleNodes ¶ added in v0.1.25
CleanupExampleNodes @todo deal with it later
func (Resource) CreateClusterNodeSignal ¶ added in v0.1.43
func (Resource) DisclosePort ¶ added in v0.1.25
func (Resource) ExposePort ¶ added in v0.1.22
func (Resource) RegisterExampleNode ¶ added in v0.1.25
func (Resource) RegisterModule ¶
type ResourceInterface ¶ added in v0.1.25
type ResourceInterface 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.