manager

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 15 Imported by: 0

README

Manager

Kubernetes resources manager.

Documentation

Index

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 NewManager

func NewManager(c client.Client, ns string) *Resource

func (Resource) CleanupExampleNodes added in v0.1.25

func (m Resource) CleanupExampleNodes(ctx context.Context, mod module.Info) error

func (Resource) DisclosePort added in v0.1.25

func (m Resource) DisclosePort(ctx context.Context, port int) error

func (Resource) ExposePort added in v0.1.22

func (m Resource) ExposePort(ctx context.Context, name string, port int) (string, error)

func (Resource) RegisterExampleNode added in v0.1.25

func (m Resource) RegisterExampleNode(ctx context.Context, c module.Component, mod module.Info) error

func (Resource) RegisterModule

func (m Resource) RegisterModule(ctx context.Context, mod module.Info) error

func (Resource) Start

func (m Resource) Start(ctx context.Context) error

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, name string, port int) (string, error)
	DisclosePort(ctx context.Context, port int) error
	RegisterExampleNode(ctx context.Context, c module.Component, mod module.Info) error
}

Jump to

Keyboard shortcuts

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