gateway

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scheme

func Scheme(ctx context.Context) meta.Scheme

Types

type ConfigStorageAPIs

type ConfigStorageAPIs struct {
	//FIXME: to rename if we find a use
	Placeholder storage.KeyValueStoreT[proto.Message]
}

type Plugin

type Plugin struct {
	representation.UnsafeTopologyRepresentationServer
	system.UnimplementedSystemPluginClient
	// contains filtered or unexported fields
}

func NewPlugin

func NewPlugin(ctx context.Context) *Plugin

func (*Plugin) GetClusterStatus

func (p *Plugin) GetClusterStatus(ctx context.Context, _ *emptypb.Empty) (*orchestrator.InstallStatus, error)

func (*Plugin) GetGraph

func (*Plugin) RenderGraph

func (p *Plugin) RenderGraph(ctx context.Context, clusterRef *corev1.Reference) (*representation.DOTRepresentation, error)

func (*Plugin) StreamServers

func (p *Plugin) StreamServers() []streamext.Server

func (*Plugin) UseKeyValueStore

func (p *Plugin) UseKeyValueStore(client system.KeyValueStoreClient)

func (*Plugin) UseManagementAPI

func (p *Plugin) UseManagementAPI(client managementv1.ManagementClient)

func (*Plugin) UseNodeManagerClient

func (p *Plugin) UseNodeManagerClient(client capabilityv1.NodeManagerClient)

type TopologyUninstallTaskRunner

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

func (*TopologyUninstallTaskRunner) OnTaskCompleted

func (n *TopologyUninstallTaskRunner) OnTaskCompleted(ctx context.Context, ti task.ActiveTask, state task.State, args ...any)

func (*TopologyUninstallTaskRunner) OnTaskPending

func (n *TopologyUninstallTaskRunner) OnTaskPending(ctx context.Context, ti task.ActiveTask) error

func (*TopologyUninstallTaskRunner) OnTaskRunning

func (n *TopologyUninstallTaskRunner) OnTaskRunning(ctx context.Context, ti task.ActiveTask) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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