Documentation ¶
Index ¶
- Constants
- func RendeStorageOperator(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderClusterStorage(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderGrafana(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderKyverno(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderKyvernoPolicy(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderPrometheus(fsys fs.FS, fleetName types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderThanos(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- func RenderVelero(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, ...) ([]byte, error)
- type ChartConfig
- type FleetCluster
- type FleetPluginConfig
- type GrafanaDataSource
Constants ¶
View Source
const ( MetricPluginName = "metric" GrafanaPluginName = "grafana" KyvernoPluginName = "kyverno" BackupPluginName = "backup" StorageOperatorPluginName = "storage-operator" ClusterStoragePluginName = "cluster-storage" ThanosComponentName = "thanos" PrometheusComponentName = "prometheus" GrafanaComponentName = "grafana" KyvernoComponentName = "kyverno" KyvernoPolicyComponentName = "kyverno-policies" VeleroComponentName = "velero" RookOperatorComponentName = "rook" RookClusterComponentName = "rook-ceph" OCIReposiotryPrefix = "oci://" )
Variables ¶
This section is empty.
Functions ¶
func RendeStorageOperator ¶ added in v0.5.0
func RendeStorageOperator( fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, cluster FleetCluster, distributedStorageCfg *fleetv1a1.DistributedStorageConfig, ) ([]byte, error)
Build configuration of the rendering rook-operator.
func RenderClusterStorage ¶ added in v0.5.0
func RenderClusterStorage( fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, cluster FleetCluster, distributedStorageCfg *fleetv1a1.DistributedStorageConfig, ) ([]byte, error)
Build configuration of the rendering rook-ceph-cluster.
func RenderGrafana ¶
func RenderGrafana(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, grafanaCfg *fleetv1a1.GrafanaConfig, datasources []*GrafanaDataSource) ([]byte, error)
func RenderKyverno ¶
func RenderKyverno(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, cluster FleetCluster, kyvernoCfg *fleetv1a1.KyvernoConfig) ([]byte, error)
func RenderKyvernoPolicy ¶
func RenderKyvernoPolicy(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, cluster FleetCluster, kyvernoCfg *fleetv1a1.KyvernoConfig) ([]byte, error)
func RenderPrometheus ¶ added in v0.5.0
func RenderPrometheus(fsys fs.FS, fleetName types.NamespacedName, fleetRef *metav1.OwnerReference, cluster FleetCluster, metricCfg *fleetv1a1.MetricConfig) ([]byte, error)
func RenderThanos ¶
func RenderThanos(fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, metricCfg *fleetv1a1.MetricConfig) ([]byte, error)
func RenderVelero ¶ added in v0.5.0
func RenderVelero( fsys fs.FS, fleetNN types.NamespacedName, fleetRef *metav1.OwnerReference, cluster FleetCluster, backupCfg *fleetv1a1.BackupConfig, veleroSecretName string, ) ([]byte, error)
Types ¶
type ChartConfig ¶
type FleetCluster ¶
type FleetPluginConfig ¶
type FleetPluginConfig struct { Name string Component string Fleet types.NamespacedName OwnerReference *metav1.OwnerReference Cluster *FleetCluster Chart ChartConfig Values map[string]interface{} }
func (FleetPluginConfig) ResourceName ¶
func (plugin FleetPluginConfig) ResourceName() string
func (FleetPluginConfig) StorageNamespace ¶
func (plugin FleetPluginConfig) StorageNamespace() string
Click to show internal directories.
Click to hide internal directories.