Documentation ¶
Index ¶
- func NewPlatform() platform.Platform
- type Platform
- func (s *Platform) CreateAppInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, app *edgeproto.App, ...) (reterr error)
- func (s *Platform) CreateCloudlet(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) (bool, error)
- func (s *Platform) CreateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, ...) error
- func (s *Platform) DeleteAppInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, app *edgeproto.App, ...) error
- func (s *Platform) DeleteCloudlet(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) error
- func (s *Platform) DeleteClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, ...) error
- func (s *Platform) GetAppInstRuntime(ctx context.Context, clusterInst *edgeproto.ClusterInst, app *edgeproto.App, ...) (*edgeproto.AppInstRuntime, error)
- func (s *Platform) GetClusterPlatformClient(ctx context.Context, clusterInst *edgeproto.ClusterInst, clientType string) (ssh.Client, error)
- func (s *Platform) GetContainerCommand(ctx context.Context, clusterInst *edgeproto.ClusterInst, app *edgeproto.App, ...) (string, error)
- func (s *Platform) GetFeatures() *edgeproto.PlatformFeatures
- func (s *Platform) GetNodePlatformClient(ctx context.Context, node *edgeproto.CloudletMgmtNode, ops ...pc.SSHClientOp) (ssh.Client, error)
- func (s *Platform) InitCommon(ctx context.Context, platformConfig *platform.PlatformConfig, ...) error
- func (s *Platform) UpdateAppInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, app *edgeproto.App, ...) error
- func (s *Platform) UpdateCloudlet(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) error
- func (s *Platform) UpdateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlatform ¶
Types ¶
type Platform ¶
func (*Platform) CreateAppInst ¶
func (*Platform) CreateCloudlet ¶
func (*Platform) CreateClusterInst ¶
func (s *Platform) CreateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, updateCallback edgeproto.CacheUpdateCallback, timeout time.Duration) error
func (*Platform) DeleteAppInst ¶
func (*Platform) DeleteCloudlet ¶
func (s *Platform) DeleteCloudlet(ctx context.Context, cloudlet *edgeproto.Cloudlet, pfConfig *edgeproto.PlatformConfig, pfInitConfig *platform.PlatformInitConfig, caches *platform.Caches, updateCallback edgeproto.CacheUpdateCallback) error
func (*Platform) DeleteClusterInst ¶
func (s *Platform) DeleteClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, updateCallback edgeproto.CacheUpdateCallback) error
func (*Platform) GetAppInstRuntime ¶
func (*Platform) GetClusterPlatformClient ¶
func (*Platform) GetContainerCommand ¶
func (*Platform) GetFeatures ¶
func (s *Platform) GetFeatures() *edgeproto.PlatformFeatures
func (*Platform) GetNodePlatformClient ¶
func (s *Platform) GetNodePlatformClient(ctx context.Context, node *edgeproto.CloudletMgmtNode, ops ...pc.SSHClientOp) (ssh.Client, error)
func (*Platform) InitCommon ¶
func (s *Platform) InitCommon(ctx context.Context, platformConfig *platform.PlatformConfig, caches *platform.Caches, haMgr *redundancy.HighAvailabilityManager, updateCallback edgeproto.CacheUpdateCallback) error
func (*Platform) UpdateAppInst ¶
func (*Platform) UpdateCloudlet ¶
func (*Platform) UpdateClusterInst ¶
func (s *Platform) UpdateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, updateCallback edgeproto.CacheUpdateCallback) error
Click to show internal directories.
Click to hide internal directories.