Documentation ¶
Index ¶
- type ClusterBeanConverter
- type ClusterBeanConverterImpl
- func (impl *ClusterBeanConverterImpl) GetAllClusterInfo(clusters ...*repository.Cluster) []*bean.ClusterInfo
- func (impl *ClusterBeanConverterImpl) GetClusterConfig(cluster *bean.ClusterInfo) *k8sUtils.ClusterConfig
- func (impl *ClusterBeanConverterImpl) GetClusterConfigFromClientBean(config *client.ClusterConfig) *k8sUtils.ClusterConfig
- func (impl *ClusterBeanConverterImpl) GetClusterInfo(c *repository.Cluster) *bean.ClusterInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterBeanConverter ¶
type ClusterBeanConverter interface { GetClusterConfigFromClientBean(config *client.ClusterConfig) *k8sUtils.ClusterConfig GetClusterConfig(cluster *bean.ClusterInfo) *k8sUtils.ClusterConfig GetClusterInfo(c *repository.Cluster) *bean.ClusterInfo GetAllClusterInfo(clusters ...*repository.Cluster) []*bean.ClusterInfo }
type ClusterBeanConverterImpl ¶
type ClusterBeanConverterImpl struct { }
func NewConverterImpl ¶
func NewConverterImpl() *ClusterBeanConverterImpl
func (*ClusterBeanConverterImpl) GetAllClusterInfo ¶
func (impl *ClusterBeanConverterImpl) GetAllClusterInfo(clusters ...*repository.Cluster) []*bean.ClusterInfo
func (*ClusterBeanConverterImpl) GetClusterConfig ¶
func (impl *ClusterBeanConverterImpl) GetClusterConfig(cluster *bean.ClusterInfo) *k8sUtils.ClusterConfig
func (*ClusterBeanConverterImpl) GetClusterConfigFromClientBean ¶
func (impl *ClusterBeanConverterImpl) GetClusterConfigFromClientBean(config *client.ClusterConfig) *k8sUtils.ClusterConfig
func (*ClusterBeanConverterImpl) GetClusterInfo ¶
func (impl *ClusterBeanConverterImpl) GetClusterInfo(c *repository.Cluster) *bean.ClusterInfo
Click to show internal directories.
Click to hide internal directories.