Documentation
¶
Index ¶
Constants ¶
const ( // TLSCACertKey is the key for tls CA certificates. TLSCACertKey = tlsutil.TLSCACertKey // TLSCertKey is the key for tls certificates. TLSCertKey = corev1.TLSCertKey )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new ArgoCD Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func InspectCluster ¶
func InspectCluster() error
InspectCluster will verify the availability of extra features.
func IsPrometheusAPIAvailable ¶
func IsPrometheusAPIAvailable() bool
IsPrometheusAPIAvailable returns true if the Prometheus API is present.
func IsRouteAPIAvailable ¶
func IsRouteAPIAvailable() bool
IsRouteAPIAvailable returns true if the Route API is present.
Types ¶
type GrafanaConfig ¶
type GrafanaConfig struct {
// Security options
Security GrafanaSecurityConfig
}
GrafanaConfig represents the Grafana configuration options.
type GrafanaSecurityConfig ¶
type GrafanaSecurityConfig struct {
// AdminUser is the default admin user.
AdminUser string
// AdminPassword is the default admin password
AdminPassword string
// SecretKey is used for signing
SecretKey string
}
GrafanaSecurityConfig represents the Grafana security options.
type ReconcileArgoCD ¶
type ReconcileArgoCD struct {
// contains filtered or unexported fields
}
ReconcileArgoCD reconciles a ArgoCD object
func (*ReconcileArgoCD) Reconcile ¶
Reconcile reads that state of the cluster for a ArgoCD object and makes changes based on the state read and what is in the ArgoCD.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.