converter

package
v0.0.0-...-1859c74 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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