argocd

package
v0.0.0-...-6e74fd8 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgocdCLI

func ArgocdCLI() schema.Executable

func AuthToken

func AuthToken() schema.CredentialType

func New

func New() schema.Plugin

func TryArgocdConfigFile

func TryArgocdConfigFile() sdk.Importer

Types

type Config

type Config struct {
	Contexts []Context
	Servers  []Server
	Users    []User
}

type Context

type Context struct {
	Name   string `yaml:"name"`
	Server string `yaml:"server"`
	User   string `yaml:"user"`
}

type Server

type Server struct {
	Server string `yaml:"server"`
}

type User

type User struct {
	Name      string `yaml:"name"`
	AuthToken string `yaml:"auth-token"`
}

Jump to

Keyboard shortcuts

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