Documentation
¶
Overview ¶
Package dscinitialization contains controller logic of CRD DSCInitialization.
Index ¶
- Variables
- func GenerateRandomHex(length int) ([]byte, error)
- func PatchMonitoringNS(ctx context.Context, cli client.Client, dscInit *dsciv1.DSCInitialization) error
- func ReconcileDefaultNetworkPolicy(ctx context.Context, cli client.Client, dscInit *dsciv1.DSCInitialization, ...) error
- type DSCInitializationReconciler
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ComponentName = "monitoring"
)
View Source
var Templates = struct { // ServiceMeshDir is the path to the Service Mesh templates. ServiceMeshDir string // AuthorinoDir is the path to the Authorino templates. AuthorinoDir string // MetricsDir is the path to the Metrics Collection templates. MetricsDir string // Location specifies the file system that contains the templates to be used. Location fs.FS // BaseDir is the path to the base of the embedded FS BaseDir string }{ ServiceMeshDir: path.Join(baseDir, "servicemesh"), AuthorinoDir: path.Join(baseDir, "authorino"), MetricsDir: path.Join(baseDir, "metrics-collection"), Location: dsciEmbeddedFS, BaseDir: baseDir, }
Functions ¶
func GenerateRandomHex ¶
func PatchMonitoringNS ¶
Types ¶
type DSCInitializationReconciler ¶
type DSCInitializationReconciler struct {
Client client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
}
DSCInitializationReconciler reconciles a DSCInitialization object.
func (*DSCInitializationReconciler) Reconcile ¶
func (r *DSCInitializationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile contains controller logic specific to DSCInitialization instance updates.
func (*DSCInitializationReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.