common

package
v0.0.0-...-599ae38 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

Index

Constants

View Source
const (
	Name          = "name"
	Namespace     = "namespace"
	Pod           = "pod"
	Container     = "container"
	Initcontainer = "initcontainer"
	Deployment    = "deployment"
	Replicaset    = "replicaset"
	Statefulset   = "statefulset"
	Daemonset     = "daemonset"
	Node          = "node"
	Job           = "job"
	Cronjob       = "cronjob"
	Service       = "service"
	Ingress       = "ingress"
	Endpoint      = "endpoint"
	Resourcetype  = "resourcetype"
	Blank         = " "
	Argo          = "Argo"
	Helm          = "Helm"

	NoUserInfo             = "your personal info not found, please try SSO again."
	DatabaseNoConnection   = "database can't be accessed,"
	LoadKubeConfigFailed   = "load cluster config failed, please find the cluster in the dropdown list, or"
	ListNamespacesFailed   = "failed to list namespaces,"
	PrometheusNotAvailable = "prometheus agent is either uninstalled or currently shut down by FinOps,"
	LoadResourceFailed     = "failed to load affected resources,"
	LoadEventsFailed       = "failed to load Kubernetes events in the namespace,"
	UncaughtApiErr         = "error occurred in Theliv API, we will track and fix it soon," + Thanks
	Contact                = " please contact %s for help." + Thanks
	Thanks                 = " Thanks for using Theliv!!"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LockedSlice

type LockedSlice struct {
	// contains filtered or unexported fields
}

func InitLockedSlice

func InitLockedSlice() *LockedSlice

func (*LockedSlice) Append

func (l *LockedSlice) Append(item ...string)

func (*LockedSlice) GetStore

func (l *LockedSlice) GetStore() []string

func (*LockedSlice) SetStore

func (l *LockedSlice) SetStore(store []string)

Jump to

Keyboard shortcuts

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