Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientConfigPath = ".retinactl.json"
ClientConfigPath used
View Source
var Logger *log.ZapLogger
View Source
var Retina = &cobra.Command{ Use: "kubectl-retina", Short: "A kubectl plugin for Retina", Long: "A kubectl plugin for Retina\nRetina is an eBPF distributed networking observability tool for Kubernetes.", PersistentPreRun: func(*cobra.Command, []string) { var config Config file, _ := os.ReadFile(ClientConfigPath) _ = json.Unmarshal([]byte(file), &config) RetinaClient = client.NewRetinaClient(config.RetinaEndpoint) }, }
View Source
var RetinaClient *client.Retina
RetinaClient for customer consume
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.