Documentation
¶
Index ¶
- func GetClusterID(id int) string
- func GetDockerNetworkName(cluster *DindCluster) string
- func NewPlatform() platform.Platform
- type DindCluster
- type Platform
- func (s *Platform) ActiveChanged(ctx context.Context, platformActive bool) error
- func (s *Platform) ChangeClusterInstDNS(ctx context.Context, clusterInst *edgeproto.ClusterInst, oldFqdn string, ...) error
- func (s *Platform) CreateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, ...) error
- func (s *Platform) CreateDINDCluster(ctx context.Context, clusterName, kconfName string) error
- func (s *Platform) DeleteClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, ...) error
- func (s *Platform) DeleteDINDCluster(ctx context.Context, clusterInst *edgeproto.ClusterInst) error
- func (s *Platform) GetDockerNetworkName(ctx context.Context, names *k8smgmt.KubeNames) (string, error)
- func (s *Platform) GetInitHAConditionalCompatibilityVersion(ctx context.Context) string
- func (s *Platform) GetMasterIp(ctx context.Context, names *k8smgmt.KubeNames) (string, error)
- func (s *Platform) InitCommon(ctx context.Context, platformConfig *platform.PlatformConfig, ...) error
- func (s *Platform) InitHAConditional(ctx context.Context, updateCallback edgeproto.CacheUpdateCallback) error
- func (s *Platform) NameSanitize(name string) string
- func (s *Platform) UpdateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterID ¶
func GetDockerNetworkName ¶
func GetDockerNetworkName(cluster *DindCluster) string
func NewPlatform ¶
Types ¶
type DindCluster ¶
func FindCluster ¶
func FindCluster(clusterName string) (*DindCluster, error)
func GetClusters ¶
func GetClusters() ([]DindCluster, error)
func NewClusterFor ¶
func NewClusterFor(clusterName string, id int) DindCluster
type Platform ¶
func (*Platform) ActiveChanged ¶
func (*Platform) ChangeClusterInstDNS ¶
func (s *Platform) ChangeClusterInstDNS(ctx context.Context, clusterInst *edgeproto.ClusterInst, oldFqdn string, updateCallback edgeproto.CacheUpdateCallback) error
func (*Platform) CreateClusterInst ¶
func (s *Platform) CreateClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, updateCallback edgeproto.CacheUpdateCallback, timeout time.Duration) error
func (*Platform) CreateDINDCluster ¶
CreateDINDCluster creates kubernetes cluster on local mac
func (*Platform) DeleteClusterInst ¶
func (s *Platform) DeleteClusterInst(ctx context.Context, clusterInst *edgeproto.ClusterInst, updateCallback edgeproto.CacheUpdateCallback) error
func (*Platform) DeleteDINDCluster ¶
DeleteDINDCluster creates kubernetes cluster on local mac
func (*Platform) GetDockerNetworkName ¶
func (*Platform) GetInitHAConditionalCompatibilityVersion ¶
func (*Platform) GetMasterIp ¶
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 ¶
func (*Platform) NameSanitize ¶
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.