dashboard

package
v0.1.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(flagGrouping *cmdutils.FlagGrouping) *cobra.Command

Command will create the `dashboard` commands

Types

type Dashboard

type Dashboard struct {
	Name          string `json:"name"`
	Namespace     string `json:"namespace"`
	Port          int    `json:"port"`
	LabelSelector string `json:"labelSelector"`
	URL           string `json:"url,omitempty"`
}

Dashboard represents input to kubectl port-forward

func MakeDashboards

func MakeDashboards() []Dashboard

MakeDashboards returns list of all dashboards

type Options

type Options struct {
	KubeOptions   cmdutils.KubernetesOpts
	Port          int
	LabelSelector string
	URL           string
}

Options dashboard options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL