提交 a7a1f717 编写于 作者: O Oilbeater 提交者: Sebastian Florek

fix some typo (#2736)

上级 da23cbba
......@@ -42,7 +42,7 @@ func (self *holderBuilder) SetTokenTTL(ttl int) *holderBuilder {
return self
}
// SetMetricClientCheckPeriod 'metric-client-check-eriod' argument of Dashboard binary.
// SetMetricClientCheckPeriod 'metric-client-check-period' argument of Dashboard binary.
func (self *holderBuilder) SetMetricClientCheckPeriod(period int) *holderBuilder {
self.holder.metricClientCheckPeriod = period
return self
......
......@@ -96,7 +96,7 @@ type TokenManager interface {
// Authenticator represents authentication methods supported by Dashboard. Currently supported types are:
// - Token based - Any bearer token accepted by apiserver
// - Basic - Username and password based authentication. Requires that apiserver has basic auth enabled also
// - Kubeconfig based - Authenticates user based on kubeconfig file. Only tokne/basic modes are supported within
// - Kubeconfig based - Authenticates user based on kubeconfig file. Only token/basic modes are supported within
// the kubeconfig file.
type Authenticator interface {
// GetAuthInfo returns filled AuthInfo structure that can be used for K8S api client creation.
......
......@@ -51,7 +51,7 @@ type TerminalSession struct {
//
// OP DIRECTION FIELD(S) USED DESCRIPTION
// ---------------------------------------------------------------------
// bind fe->be SessionID Id sent back from TerminalReponse
// bind fe->be SessionID Id sent back from TerminalResponse
// stdin fe->be Data Keystrokes/paste buffer
// resize fe->be Rows, Cols New terminal size
// stdout be->fe Data Output from the process
......
......@@ -67,7 +67,7 @@ func GetDaemonSetList(client kubernetes.Interface, nsQuery *common.NamespaceQuer
return GetDaemonSetListFromChannels(channels, dsQuery, metricClient)
}
// GetDaemonSetListFromChannels returns a list of all Daemon Seet in the cluster
// GetDaemonSetListFromChannels returns a list of all Daemon Set in the cluster
// reading required resource list once from the channels.
func GetDaemonSetListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery,
metricClient metricapi.MetricClient) (*DaemonSetList, error) {
......
......@@ -35,7 +35,7 @@ func (self *synchronizerManager) Secret(namespace, name string) syncApi.Synchron
}
}
// NewSynchronizerManager creates new instace of SynchronizerManager.
// NewSynchronizerManager creates new instance of SynchronizerManager.
func NewSynchronizerManager(client kubernetes.Interface) syncApi.SynchronizerManager {
return &synchronizerManager{client: client}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册