commons

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorK8sObjectnotSupported errorManager = iota
	ErrorK8sGeneratingDynamicClient
	ErrorK8sRestConfig
	ErrorK8sRestResource
	ErrorK8sRestResourceWithoutNS
	ErrorK8sClientConfig
	ErrorK8sNotContext
	ErrorK8sKubeconfgNotAccesible
	ErrorJsonMarshallResourceList
	ErrorKubeAliasPathNotDefined
	ErrorKubeAliasParseFile
	ErrorKubeAliasReadingFile
	ErrorKubeAliasVersionNotFoud
	ErrorKubeAliasNotFoud
	ErrorSqlRuningSelect
	ErrorSqlNotASelect
	ErrorSqlReadingColumns
	ErrorSqlScaningResultSelect
	ErrorDbNotCreaterd
	ErrorDbOpening
	ErrorDBCreateTable
	ErrorDBInsertPrepare
	ErrorDBRunningInsert
	ErrorK8sClusterNotFoundInKubeconfig
	ErrorK8sAuthInfoNotFoundInKubeconfig
	ErrorK8sLoadingKubeconfig
	ErrorGeneric
	ErrorK8sConfIsNotProperlyInitialized
	FailedToConnectToKubernetesAPIServer
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorSystem

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

func (ErrorSystem) KO

func (err ErrorSystem) KO()

type KeyContext

type KeyContext int
const (
	ENV_VAR_KUBEALIAS_NAME            = "KUBEALIAS"
	ENV_VAR_KUBECONFIG                = "KUBECONFIG"
	CTX_KEY_ALIAS_NAME     KeyContext = iota
	CTX_KEY_ALIAS_ARGS
	CTE_TABLE
	CTE_MAP_K8S_OBJECT
)

Jump to

Keyboard shortcuts

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