backend

package
v0.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TopologyBackend

func (*TopologyBackend) CanInstall

func (t *TopologyBackend) CanInstall(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*TopologyBackend) CancelUninstall

func (t *TopologyBackend) CancelUninstall(ctx context.Context, cluster *corev1.Reference) (*emptypb.Empty, error)

func (*TopologyBackend) GetClusterStatus

func (*TopologyBackend) Info

func (*TopologyBackend) Initialize

func (t *TopologyBackend) Initialize(conf TopologyBackendConfig)

func (*TopologyBackend) Install

func (*TopologyBackend) InstallerTemplate

! depecrated : agentv1 only

func (*TopologyBackend) Status

func (*TopologyBackend) Sync

func (*TopologyBackend) Uninstall

func (*TopologyBackend) UninstallStatus

func (t *TopologyBackend) UninstallStatus(_ context.Context, cluster *corev1.Reference) (*corev1.TaskStatus, error)

type TopologyBackendConfig

type TopologyBackendConfig struct {
	Logger              *slog.Logger                              `validate:"required"`
	StorageBackend      storage.Backend                           `validate:"required"`
	MgmtClient          managementv1.ManagementClient             `validate:"required"`
	Delegate            streamext.StreamDelegate[agent.ClientSet] `validate:"required"`
	UninstallController *task.Controller                          `validate:"required"`
	ClusterDriver       drivers.ClusterDriver                     `validate:"required"`
}

Jump to

Keyboard shortcuts

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