argocd

package
v0.0.0-...-5316efa Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API is struct for ArgoCD api.

func NewAPI

func NewAPI(options *APIOptions) API

NewAPI creates new API.

func (API) Sync

func (a API) Sync(appName string) error

Sync syncs given application.

type APIOptions

type APIOptions struct {
	Address string
	Token   string
}

APIOptions is options for API.

type Interface

type Interface interface {
	Sync(appName string) error
}

Interface is an interface for API.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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