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.
Click to show internal directories.
Click to hide internal directories.