argocd

package
v0.0.0-...-ff9695f Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrArgoCDApplicationNotExists = errors.New("application not exists")
	ErrGitRepoAndRevisionMismatch = errors.New("git repository and revision must be the same")
	ErrStatusSyncUnknown          = errors.New("sync status unknown")
	ErrStatusHealthDegraded       = errors.New("health status degraded")
	ErrAnotherSyncInProgress      = errors.New("another operation is already in progress")
	ErrSyncOperationTimeout       = errors.New("sync operation timeout is exceeded")
	ErrSyncOnWatchTimeout         = errors.New("watch operation timeout is exceeded")
	ErrSyncFailed                 = errors.New("sync failed")
)

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(cfg types.ArgoConfig) (*Client, error)

func (*Client) ListReleases

func (c *Client) ListReleases(ctx context.Context, req *manager.ListReleaseRequest, opts ...manager.Option) (types.ListReleases, error)

func (*Client) SyncRelease

func (c *Client) SyncRelease(ctx context.Context, rel *types.Release, opts ...manager.Option) error

func (*Client) SyncReleases

func (c *Client) SyncReleases(ctx context.Context, rels types.ListReleases, opts ...manager.Option) error

Jump to

Keyboard shortcuts

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