Documentation ¶
Index ¶
- func CloudletPrometheusStartup(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) error
- func NewPlatform() platform.Platform
- func ShepherdStartup(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) error
- type Platform
- func (s *Platform) CreateAppInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, app *edgeproto.App, ...) error
- func (s *Platform) CreateCloudlet(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) (bool, 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) GetFeatures() *edgeproto.PlatformFeatures
- func (s *Platform) GetInitHAConditionalCompatibilityVersion(ctx context.Context) string
- func (s *Platform) GetVersionProperties(ctx context.Context) map[string]string
- func (s *Platform) InitCommon(ctx context.Context, platformConfig *platform.PlatformConfig, ...) error
- func (s *Platform) InitHAConditional(ctx context.Context, updateCallback edgeproto.CacheUpdateCallback) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudletPrometheusStartup ¶
func CloudletPrometheusStartup(ctx context.Context, cloudlet *edgeproto.Cloudlet, pfConfig *edgeproto.PlatformConfig, caches *pf.Caches, updateCallback edgeproto.CacheUpdateCallback) error
Start prometheus container
func NewPlatform ¶
func ShepherdStartup ¶
func ShepherdStartup(ctx context.Context, cloudlet *edgeproto.Cloudlet, pfConfig *edgeproto.PlatformConfig, updateCallback edgeproto.CacheUpdateCallback) error
Types ¶
type Platform ¶
func (*Platform) CreateAppInst ¶
func (*Platform) CreateCloudlet ¶
func (*Platform) DeleteAppInst ¶
func (*Platform) DeleteCloudlet ¶
func (s *Platform) DeleteCloudlet(ctx context.Context, cloudlet *edgeproto.Cloudlet, pfConfig *edgeproto.PlatformConfig, pfInitConfig *pf.PlatformInitConfig, caches *pf.Caches, updateCallback edgeproto.CacheUpdateCallback) error
func (*Platform) GetFeatures ¶
func (s *Platform) GetFeatures() *edgeproto.PlatformFeatures
func (*Platform) GetInitHAConditionalCompatibilityVersion ¶
func (*Platform) GetVersionProperties ¶
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) InitHAConditional ¶
Click to show internal directories.
Click to hide internal directories.