icon

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Names of Clarity icons
	Applications              = "application"
	Workloads                 = "applications"
	Overview                  = "dashboard"
	DiscoveryAndLoadBalancing = "network-globe"
	ConfigAndStorage          = "storage"
	RBAC                      = "assign-user"
	Events                    = "event"

	Namespaces      = "namespace"
	CustomResources = "file-group"
	Nodes           = "nodes"
	PortForwards    = "router"

	ClusterOverview                   = "objects"
	ClusterOverviewClusterRole        = "c-role"
	ClusterOverviewClusterRoleBinding = "crb"
	ClusterOverviewNamespace          = "ns"
	ClusterOverviewNode               = "node"
	ClusterOverviewPersistentVolume   = "pv"

	Configuration       = "cog"
	ConfigurationPlugin = "plugin"

	CustomResourceDefinition = "crd"

	OverviewConfigMap               = "cm"
	OverviewCronJob                 = "cronjob"
	OverviewDaemonSet               = "ds"
	OverviewDeployment              = "deploy"
	OverviewHorizontalPodAutoscaler = "hpa"
	OverviewIngress                 = "ing"
	OverviewJob                     = "job"
	OverviewNetworkPolicy           = "netpol"
	OverviewPersistentVolumeClaim   = "pvc"
	OverviewPod                     = "pod"
	OverviewReplicaSet              = "rs"
	OverviewReplicationController   = "deploy"
	OverviewRole                    = "role"
	OverviewRoleBinding             = "rb"
	OverviewSecret                  = "secret"
	OverviewService                 = "svc"
	OverviewServiceAccount          = "sa"
	OverviewStatefulSet             = "sts"
)

Variables

This section is empty.

Functions

func LoadIcon

func LoadIcon(name string) (string, error)

LoadIcon loads an icon by name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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