INNER CODE UNIT · Go

init

liqotech/liqo · cmd/fabric/main.go:64

func init() {
	utilruntime.Must(networkingv1beta1.AddToScheme(scheme))
	utilruntime.Must(corev1.AddToScheme(scheme))
}

func main() {
	var cmd = cobra.Command{
		Use:  "liqo-fabric",
		RunE: run,
	}

	flagsutils.InitKlogFlags(cmd.Flags())
	restcfg.InitFlags(cmd.Flags())
	fabric.InitFlags(cmd.Flags(), options)
	conncheck.InitFlags(cmd.Flags(), options.ConnCheckOptions)

	// Register the flags for setting global labels and annotations
	cmd.Flags().Var(&globalLabels, "global-labels", "Global labels to be added to all created resources (key=value)")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…