argo

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package argo interacts with argocd server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	APIClient      apiclient.Client
	SessionClient  session.SessionServiceClient
	ClientOptions  apiclient.ClientOptions
	SessionRequest session.SessionCreateRequest
}

Clients holds argocd clients

func (Clients) ArgoWorker

func (client Clients) ArgoWorker(ctx context.Context, wg *sync.WaitGroup, ch <-chan models.WorkerCmd)

ArgoWorker waits for commands from the ui

func (*Clients) Login

func (client *Clients) Login(sr session.SessionCreateRequest) error

Login performs user and password authentication

func (Clients) WatchApplications

func (client Clients) WatchApplications(ctx context.Context, wg *sync.WaitGroup, ch chan<- models.AppEvent)

WatchApplications watches an app for changes

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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