Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) ListReleases(ctx context.Context, req *manager.ListReleaseRequest, opts ...manager.Option) (types.ListReleases, error)
- func (c *Client) SyncRelease(ctx context.Context, rel *types.Release, opts ...manager.Option) error
- func (c *Client) SyncReleases(ctx context.Context, rels types.ListReleases, opts ...manager.Option) error
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 (*Client) ListReleases ¶
func (c *Client) ListReleases(ctx context.Context, req *manager.ListReleaseRequest, opts ...manager.Option) (types.ListReleases, error)
func (*Client) SyncRelease ¶
func (*Client) SyncReleases ¶
Click to show internal directories.
Click to hide internal directories.