app_watcher

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationSetWatcher added in v1.7.0

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

ApplicationSetWatcher is the controller that watches ArgoCD Application resources via the Kubernetes API

func NewApplicationSetWatcher added in v1.7.0

func NewApplicationSetWatcher(kubeCfg *rest.Config, vcsToArgoMap appdir.VcsToArgoMap, cfg config.ServerConfig) (*ApplicationSetWatcher, error)

NewApplicationSetWatcher creates new instance of ApplicationWatcher.

func (*ApplicationSetWatcher) Run added in v1.7.0

func (ctrl *ApplicationSetWatcher) Run(ctx context.Context)

Run starts the Application CRD controller.

type ApplicationWatcher

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

ApplicationWatcher is the controller that watches ArgoCD Application resources via the Kubernetes API

func NewApplicationWatcher

func NewApplicationWatcher(kubeCfg *rest.Config, vcsToArgoMap appdir.VcsToArgoMap, cfg config.ServerConfig) (*ApplicationWatcher, error)

NewApplicationWatcher creates a new instance of ApplicationWatcher.

  • kubeCfg is the Kubernetes configuration.
  • vcsToArgoMap is the mapping between VCS and Argo applications.
  • cfg is the server configuration.

func (*ApplicationWatcher) Run

func (ctrl *ApplicationWatcher) Run(ctx context.Context, processors int)

Run starts the Application CRD controller.

Jump to

Keyboard shortcuts

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