Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSyncAlreadyRunning = errors.New("sync is already running")
Functions ¶
Types ¶
type ContainerSyncJob ¶
type ContainerSyncJob struct {
// contains filtered or unexported fields
}
ContainerSyncJob writes container information to the repository. Implements cron.Job interface required by the Cron scheduler
func NewContainerSyncJob ¶
func NewContainerSyncJob(containerDtoLister listers.ContainerBulkDtoLister, repository repository.Repository, appNameExcludeList []string) *ContainerSyncJob
NewContainerSyncJob creates a new ContainerSyncJob
func (*ContainerSyncJob) Sync ¶
func (s *ContainerSyncJob) Sync() error
Sync writes the current list of containers to the repository
type NodeSyncJob ¶
type NodeSyncJob struct {
// contains filtered or unexported fields
}
NodeSyncJob writes node information to the repository. Implements cron.Job interface required by the Cron scheduler
func NewNodeSyncJob ¶
func NewNodeSyncJob(nodeDtoLister listers.NodeBulkDtoLister, repository repository.Repository) *NodeSyncJob
NewNodeSyncJob creates a new NodeSyncJob
func (*NodeSyncJob) Sync ¶
func (s *NodeSyncJob) Sync() error
Sync writes the current list of nodes to the repository
Click to show internal directories.
Click to hide internal directories.