connectors

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateStatus

func UpdateStatus(ctx context.Context, client model.ClientSet, conn *model.Connector) error

UpdateStatus set summary and update the connector with locked.

Types

type StatusSyncer

type StatusSyncer struct {
	// contains filtered or unexported fields
}

func NewStatusSyncer

func NewStatusSyncer(client model.ClientSet) *StatusSyncer

func (*StatusSyncer) SyncFinOpsStatus

func (in *StatusSyncer) SyncFinOpsStatus(ctx context.Context, conn *model.Connector) error

SyncFinOpsStatus only sync cost data.

func (*StatusSyncer) SyncStatus

func (in *StatusSyncer) SyncStatus(ctx context.Context, conn *model.Connector) error

SyncStatus sync all connector status.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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