argo

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgoPolicyName

func ArgoPolicyName(tenant *capsulev1beta2.Tenant) string

func BindingString

func BindingString(subject v1.Subject, role string) string

Converts the ArgoCD Project Policy Definition to a string.

func DefaultPolicies

func DefaultPolicies(tenant *capsulev1beta2.Tenant, destination string) (result []string)

Adds Default Policies (So Users can have basic interractions with the project).

func DefaultPolicyOwner

func DefaultPolicyOwner(tenant *capsulev1beta2.Tenant) string

Default Policy for Tenant Owners.

func DefaultPolicyReadOnly

func DefaultPolicyReadOnly(tenant *capsulev1beta2.Tenant) string

Default Policy for Tenant Read-Only.

func PolicyString

func PolicyString(policy string, tenant string, argopolicy addonsv1alpha1.ArgocdPolicyDefinition) (result string)

Converts the ArgoCD Project Policy Definition to a string (common argo).

func ProjectHasDestination

func ProjectHasDestination(appProject *argocdv1alpha1.AppProject, dest argocdv1alpha1.ApplicationDestination) bool

Verify if the project already has the destination (Don't respect namespace).

func ProjectHasServiceAccount

func ProjectHasServiceAccount(appProject *argocdv1alpha1.AppProject, sa argocdv1alpha1.ApplicationDestinationServiceAccount) bool

Verify if the project already has the destination (Don't respect namespace).

func RemoveProjectDestination

func RemoveProjectDestination(appProject *argocdv1alpha1.AppProject, dest argocdv1alpha1.ApplicationDestination)

Remove a destination from the project (Don't respect namespace).

func RemoveProjectServiceaccount

func RemoveProjectServiceaccount(appProject *argocdv1alpha1.AppProject, sa argocdv1alpha1.ApplicationDestinationServiceAccount)

Remove a destination from the project (Don't respect namespace).

func TenantPolicy

func TenantPolicy(tenant *capsulev1beta2.Tenant, policyName string) string

Default Policy for Tenant Read-Only.

func ValidateCSV

func ValidateCSV(csv string) error

Validates entire CSV policy and returns an error if it is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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