Documentation ¶
Overview ¶
* Tencent is pleased to support the open source community by making TKEStack * available. * * Copyright (C) 2012-2019 Tencent. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the “License”); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at * * https://opensource.org/licenses/Apache-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an “AS IS” BASIS, WITHOUT * WARRANTIES OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License.
* Tencent is pleased to support the open source community by making TKEStack * available. * * Copyright (C) 2012-2019 Tencent. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the “License”); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at * * https://opensource.org/licenses/Apache-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an “AS IS” BASIS, WITHOUT * WARRANTIES OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportedCloud ¶
IsSupportedCloud return true if cloud type is supported
Types ¶
type MetaData ¶
type MetaData struct { // Store is the global storage Store store.Store // Translator is a translator with plugins module context Translator translate.Translator // Logger is a logger with plugins module context Logger logger.Logger // Type is the type of plugins Type string // Title is the custom name of plugins Name string // Desc is the description of this plugin, // Desc should be set by plugin Desc translate.Message }
MetaData is the common attributes of a plugins
type Progress ¶
type Progress struct { sync.Mutex // IsDone if true if will Step done IsDone bool // Steps shows the sub progress of every step Steps map[string]*ProgressStep // CurStep is the name of current ProgressStep in Steps CurStep string // Total is the max step value of Progress Total int // Current is finished step value of Progress Current int // Percent is the percentage of overall progress Percent float64 // contains filtered or unexported fields }
Progress show the progress of cluster Initialization
func (*Progress) AddProgressUpdatedWatcher ¶
AddProgressUpdatedWatcher add a watcher that will be called once progress updated
func (*Progress) AddStepPercent ¶
AddPercent add current progress percent
func (*Progress) CreateStep ¶
CreateStep create and return an new InitialProgressStep from a InitialProgress
func (*Progress) SetCurStep ¶
SetCurStep change current step of Progress
type ProgressStep ¶
type ProgressStep struct { // Title is the short describe of this step Title string // Total is the total value of this step Total int // Percent is the percentage of overall this step Percent float64 // Current is current value of this step Current int }
ProgressStep is one step of Initialization
Directories ¶
Path | Synopsis |
---|---|
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
all
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
custom
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
custom/compexplorer
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
custom/nodeexec
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
fake
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
all
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
basic
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
cron
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
all
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
master/args/apiserver
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
master/args/controller-manager
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
master/args/etcd
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
master/args/scheduler
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
master/capacity
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
master/components
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
node/ha
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
node/iptables
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
node/sys
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
other/example
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/hpa/ip
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/workload/affinity
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/workload/batch
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/workload/ha
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/workload/healthcheck
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/workload/pdb
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
resource/workload/requestslimits
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
all
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
stdout
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |
store
* Tencent is pleased to support the open source community by making TKEStack * available.
|
* Tencent is pleased to support the open source community by making TKEStack * available. |