Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncWithDatahub ¶ added in v0.9.166
func SyncWithDatahub(client client.Client, datahubClient *datahubpkg.Client) error
Types ¶
type AlamedaNodeRepository ¶ added in v0.3.0
type AlamedaNodeRepository struct {
// contains filtered or unexported fields
}
AlamedaNodeRepository creates predicted node to datahub
func NewNodeRepository ¶ added in v0.9.166
func NewNodeRepository(datahubClient *datahubpkg.Client, clusterUID string) *AlamedaNodeRepository
NewNodeRepository return AlamedaNodeRepository instance
func (*AlamedaNodeRepository) CreateNodes ¶ added in v0.9.166
func (repo *AlamedaNodeRepository) CreateNodes(nodes []entities.ResourceClusterStatusNode) error
CreateNodes creates predicted node to datahub
func (*AlamedaNodeRepository) DeleteNodes ¶ added in v0.9.166
func (repo *AlamedaNodeRepository) DeleteNodes(arg interface{}) error
DeleteNodes delete predicted node from datahub
func (*AlamedaNodeRepository) ListNodes ¶ added in v0.9.166
func (repo *AlamedaNodeRepository) ListNodes() ([]entities.ResourceClusterStatusNode, error)
ListNodes lists nodes to datahub
Click to show internal directories.
Click to hide internal directories.