Documentation ¶
Index ¶
- type ServiceAccountWatcher
- func (saw *ServiceAccountWatcher) CreateOrUpdate(key string, obj interface{}) error
- func (saw *ServiceAccountWatcher) Delete(key string) error
- func (saw *ServiceAccountWatcher) IsClusterAdmin(uid string) *bool
- func (saw *ServiceAccountWatcher) Prepare(namespace string) error
- func (saw *ServiceAccountWatcher) Quit()
- func (saw *ServiceAccountWatcher) Watch()
- func (saw *ServiceAccountWatcher) WatcherInfo() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceAccountWatcher ¶
type ServiceAccountWatcher struct {
// contains filtered or unexported fields
}
func NewServiceAccountWatcher ¶
func NewServiceAccountWatcher(clientset *kubernetes.Clientset) *ServiceAccountWatcher
func (*ServiceAccountWatcher) CreateOrUpdate ¶
func (saw *ServiceAccountWatcher) CreateOrUpdate(key string, obj interface{}) error
func (*ServiceAccountWatcher) Delete ¶
func (saw *ServiceAccountWatcher) Delete(key string) error
func (*ServiceAccountWatcher) IsClusterAdmin ¶
func (saw *ServiceAccountWatcher) IsClusterAdmin(uid string) *bool
func (*ServiceAccountWatcher) Prepare ¶
func (saw *ServiceAccountWatcher) Prepare(namespace string) error
func (*ServiceAccountWatcher) Quit ¶
func (saw *ServiceAccountWatcher) Quit()
func (*ServiceAccountWatcher) Watch ¶
func (saw *ServiceAccountWatcher) Watch()
this method will block until error occur
func (*ServiceAccountWatcher) WatcherInfo ¶
func (saw *ServiceAccountWatcher) WatcherInfo() string
Click to show internal directories.
Click to hide internal directories.