Documentation ¶
Index ¶
- Variables
- type CmWatcher
- func (cmw *CmWatcher) CreateOrUpdate(key string, obj interface{}) error
- func (cmw *CmWatcher) Delete(key string) error
- func (cmw *CmWatcher) GetNocalhostConfig(application, svcType, svcName string) (*profile.NocalHostAppConfigV2, *profile.ServiceConfigV2, error)
- func (cmw *CmWatcher) Prepare(namespace string) error
- func (cmw *CmWatcher) Watch()
- func (cmw *CmWatcher) WatcherInfo() string
Constants ¶
This section is empty.
Variables ¶
View Source
var NOT_FOUND = errors.New("Not found")
Functions ¶
This section is empty.
Types ¶
type CmWatcher ¶
type CmWatcher struct {
// contains filtered or unexported fields
}
func NewCmWatcher ¶
func NewCmWatcher(clientset *kubernetes.Clientset) *CmWatcher
func (*CmWatcher) CreateOrUpdate ¶
func (*CmWatcher) GetNocalhostConfig ¶
func (cmw *CmWatcher) GetNocalhostConfig(application, svcType, svcName string) ( *profile.NocalHostAppConfigV2, *profile.ServiceConfigV2, error)
GetNocalhostConfig CAUTION: appCfg may nil!
func (*CmWatcher) WatcherInfo ¶
Click to show internal directories.
Click to hide internal directories.