Help us shape the future of Go! Take the 2026 Go Developer Survey

bean

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

View Source
const (
	ArgoGroup                    = "argoproj.io"
	ArgoApplicationKind          = "Application"
	VersionV1Alpha1              = "v1alpha1"
	AllNamespaces                = ""
	DevtronCDNamespae            = "devtroncd"
	ArgoLabelForManagedResources = "app.kubernetes.io/instance"
)
View Source
const (
	Server      = "server"
	Destination = "destination"
	Config      = "config"
)

Variables

View Source
var GvkForArgoApplication = schema.GroupVersionKind{
	Group:   ArgoGroup,
	Kind:    ArgoApplicationKind,
	Version: VersionV1Alpha1,
}

Functions

This section is empty.

Types

type AcdClientQueryRequest added in v1.4.0

type AcdClientQueryRequest struct {
	Mode            ClientMode
	Query           *application2.ResourcesQuery
	ArgoClusterId   int
	TargetClusterId int
}

func NewDeclarativeQueryRequest added in v1.4.0

func NewDeclarativeQueryRequest(query *application2.ResourcesQuery) *AcdClientQueryRequest

func NewImperativeQueryRequest added in v1.4.0

func NewImperativeQueryRequest(query *application2.ResourcesQuery) *AcdClientQueryRequest

func (*AcdClientQueryRequest) GetAppNamespace added in v1.4.0

func (a *AcdClientQueryRequest) GetAppNamespace(defaultAppNs string) string

func (*AcdClientQueryRequest) GetApplicationName added in v1.4.0

func (a *AcdClientQueryRequest) GetApplicationName() string

func (*AcdClientQueryRequest) WithArgoClusterId added in v1.4.0

func (a *AcdClientQueryRequest) WithArgoClusterId(clusterId int) *AcdClientQueryRequest

func (*AcdClientQueryRequest) WithTargetClusterId added in v1.4.0

func (a *AcdClientQueryRequest) WithTargetClusterId(clusterId int) *AcdClientQueryRequest

type ArgoAppIdentifier added in v0.7.2

type ArgoAppIdentifier struct {
	ClusterId int    `json:"clusterId"`
	Namespace string `json:"namespace"`
	AppName   string `json:"appName"`
}

type ArgoApplicationDetailDto

type ArgoApplicationDetailDto struct {
	*ArgoApplicationListDto
	ResourceTree *gRPC.ResourceTreeResponse `json:"resourceTree"`
	Manifest     map[string]interface{}     `json:"manifest"`
}

type ArgoApplicationListDto

type ArgoApplicationListDto struct {
	Name         string `json:"appName"`
	ClusterId    int    `json:"clusterId"`
	ClusterName  string `json:"clusterName"`
	Namespace    string `json:"namespace"`
	HealthStatus string `json:"appStatus"`
	SyncStatus   string `json:"syncStatus"`
}

type ArgoClusterConfigObj

type ArgoClusterConfigObj struct {
	BearerToken     string `json:"bearerToken"`
	TlsClientConfig struct {
		Insecure bool   `json:"insecure"`
		KeyData  string `json:"keyData,omitempty"`
		CertData string `json:"certData,omitempty"`
		CaData   string `json:"caData,omitempty"`
	} `json:"tlsClientConfig"`
}

type ArgoManagedResource

type ArgoManagedResource struct {
	Group     string
	Kind      string
	Version   string
	Name      string
	Namespace string
}

type ArgoManagedResourceResponse added in v1.4.0

type ArgoManagedResourceResponse struct {
	ManifestResponse     *k8s.ManifestResponse
	HealthStatus         string
	SyncStatus           string
	DestinationServer    string
	ArgoManagedResources []*ArgoManagedResource
}

type ClientMode added in v1.4.0

type ClientMode string
const (
	ImperativeClient  ClientMode = "imperative"
	DeclarativeClient ClientMode = "declarative"
)

func (ClientMode) IsDeclarative added in v1.4.0

func (c ClientMode) IsDeclarative() bool

Jump to

Keyboard shortcuts

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