etcd

package
v0.20.14 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package store implements the interface for db operations and objects storage, currently using ZK

Including Framework, application, version, task, taskgroup, configmap, secret, deployment, service, endpoint, agent.

Implements of cache.

Index

Constants

View Source
const (
	ApiversionV2     = "v2"
	DefaultNamespace = "bkbcs"
)
View Source
const (
	CrdAdmissionWebhookConfiguration = "AdmissionWebhookConfiguration"
	CrdAgent                         = "Agent"
	CrdAgentSetting                  = "BcsClusterAgentSetting"
	CrdAgentSchedInfo                = "AgentSchedInfo"
	CrdApplication                   = "Application"
	CrdBcsCommandInfo                = "BcsCommandInfo"
	CrdBcsConfigMap                  = "BcsConfigMap"
	CrdCrr                           = "Crr"
	CrdCrd                           = "Crd"
	CrdDeployment                    = "Deployment"
	CrdBcsEndpoint                   = "BcsEndpoint"
	CrdFramework                     = "Framework"
	CrdBcsSecret                     = "BcsSecret"
	CrdBcsService                    = "BcsService"
	CrdTask                          = "Task"
	CrdTaskGroup                     = "TaskGroup"
	CrdVersion                       = "Version"
	CrdBcsDaemonset                  = "BcsDaemonset"
)

bcs mesos custom resources list

View Source
const (
	FrameworkNode = "frameworknode"
)
View Source
const (

	//object label's key or value max length 63
	LabelKVMaxLength = 63
)
View Source
const (
	ObjectVersionNotLatestError = "please apply your changes to the latest version and try again"
)
View Source
const VersionIdKey = "VersionId"

Variables

This section is empty.

Functions

func NewEtcdStore

func NewEtcdStore(kubeconfig string, pm *pluginManager.PluginManager, clusterId string) (store.Store, error)

etcd store, based on kube-apiserver

Types

This section is empty.

Jump to

Keyboard shortcuts

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