Documentation
¶
Index ¶
- type BackOff
- type Gitops
- type RepositoryWatcher
- func (RepositoryWatcher *RepositoryWatcher) AddOrUpdate(groupidentifier string, gitopsWatcher *Gitops)
- func (RepositoryWatcher *RepositoryWatcher) Drain()
- func (RepositoryWatcher *RepositoryWatcher) Find(groupidentifier string) *Gitops
- func (RepositoryWatcher *RepositoryWatcher) Remove(groupidentifier string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitops ¶
type Gitops struct {
Gitops *implementation.Gitops
Registry *registry.Registry
Children []*common.Request
Done bool
User *authentication.User `json:"-"`
GitopsQueue chan *implementation.Gitops `json:"-"`
PauseC chan *implementation.Gitops `json:"-"`
Ctx context.Context `json:"-"`
Cancel context.CancelFunc `json:"-"`
Ticker *time.Ticker `json:"-"`
Poller *time.Ticker `json:"-"`
Logger *zap.Logger `json:"-"`
}
func New ¶ added in v0.1.26
func New(gitopsObj *implementation.Gitops, mgr *manager.Manager, user *authentication.User) *Gitops
type RepositoryWatcher ¶
func NewWatchers ¶ added in v0.1.33
func NewWatchers() *RepositoryWatcher
func (*RepositoryWatcher) AddOrUpdate ¶
func (RepositoryWatcher *RepositoryWatcher) AddOrUpdate(groupidentifier string, gitopsWatcher *Gitops)
func (*RepositoryWatcher) Drain ¶ added in v0.1.42
func (RepositoryWatcher *RepositoryWatcher) Drain()
func (*RepositoryWatcher) Find ¶
func (RepositoryWatcher *RepositoryWatcher) Find(groupidentifier string) *Gitops
func (*RepositoryWatcher) Remove ¶
func (RepositoryWatcher *RepositoryWatcher) Remove(groupidentifier string) bool
Click to show internal directories.
Click to hide internal directories.