Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelKeyName = "clustersecrets.core.cs.sap.com/name" AnnotationKeyGeneration = "clustersecrets.core.cs.sap.com/generation" )
View Source
const (
ControllerName = "clustersecret-operator.cs.sap.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(ctx context.Context, kubeclient kubernetes.Interface, coreclient coreclients.Interface, synchronizer Synchronizer) *Controller
func (*Controller) Start ¶
func (c *Controller) Start()
this method should not be called more than once on the same receiver; todo: safeguard with some lock
func (*Controller) Wait ¶
func (c *Controller) Wait()
type Synchronizer ¶
type Synchronizer interface { Init(map[schema.GroupVersionKind]cache.SharedIndexInformer) WaitUntilSynced() }
Click to show internal directories.
Click to hide internal directories.