Documentation ¶
Index ¶
- type K8sClusterColl
- func (c *K8sClusterColl) FindConnectedClusters() ([]*models.K8SCluster, error)
- func (c *K8sClusterColl) Get(id string) (*models.K8SCluster, error)
- func (c *K8sClusterColl) GetCollectionName() string
- func (c *K8sClusterColl) UpdateConnectState(id string, disconnected bool) error
- func (c *K8sClusterColl) UpdateStatus(cluster *models.K8SCluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClusterColl ¶
type K8sClusterColl struct { *mongo.Collection // contains filtered or unexported fields }
func NewK8sClusterColl ¶
func NewK8sClusterColl() *K8sClusterColl
func (*K8sClusterColl) FindConnectedClusters ¶
func (c *K8sClusterColl) FindConnectedClusters() ([]*models.K8SCluster, error)
func (*K8sClusterColl) Get ¶
func (c *K8sClusterColl) Get(id string) (*models.K8SCluster, error)
func (*K8sClusterColl) GetCollectionName ¶
func (c *K8sClusterColl) GetCollectionName() string
func (*K8sClusterColl) UpdateConnectState ¶
func (c *K8sClusterColl) UpdateConnectState(id string, disconnected bool) error
func (*K8sClusterColl) UpdateStatus ¶
func (c *K8sClusterColl) UpdateStatus(cluster *models.K8SCluster) error
Click to show internal directories.
Click to hide internal directories.