shepherd_xind

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	SharedClient ssh.Client
	// contains filtered or unexported fields
}

func (*Platform) GetClusterIP

func (s *Platform) GetClusterIP(ctx context.Context, clusterInst *edgeproto.ClusterInst) (string, error)

func (*Platform) GetClusterPlatformClient

func (s *Platform) GetClusterPlatformClient(ctx context.Context, clusterInst *edgeproto.ClusterInst, clientType string) (ssh.Client, error)

func (*Platform) GetMetricsCollectInterval

func (s *Platform) GetMetricsCollectInterval() time.Duration

func (*Platform) GetPlatformStats

func (s *Platform) GetPlatformStats(ctx context.Context) (shepherd_common.CloudletMetrics, error)

func (*Platform) GetVmAppRootLbClient

func (s *Platform) GetVmAppRootLbClient(ctx context.Context, appInst *edgeproto.AppInst) (ssh.Client, error)

func (*Platform) GetVmStats

func (*Platform) Init

func (s *Platform) Init(ctx context.Context, pc *platform.PlatformConfig, caches *platform.Caches) error

func (*Platform) IsPlatformLocal

func (s *Platform) IsPlatformLocal(ctx context.Context) bool

func (*Platform) SetUsageAccessArgs

func (s *Platform) SetUsageAccessArgs(ctx context.Context, addr string, client ssh.Client) error

func (*Platform) SetVMPool

func (s *Platform) SetVMPool(ctx context.Context, vmPool *edgeproto.VMPool)

func (*Platform) VmAppChangedCallback

func (s *Platform) VmAppChangedCallback(ctx context.Context, appInst *edgeproto.AppInst, newState edgeproto.TrackedState)

Jump to

Keyboard shortcuts

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