Documentation ¶
Index ¶
- func ProvideController(arguments args.InjectArgs) (*controller.GenericController, error)
- type MemcachedController
- func (bc *MemcachedController) LookupDeployment(r types.ReconcileKey) (interface{}, error)
- func (bc *MemcachedController) LookupMemcached(r types.ReconcileKey) (interface{}, error)
- func (bc *MemcachedController) LookupRS(r types.ReconcileKey) (interface{}, error)
- func (bc *MemcachedController) Reconcile(k types.ReconcileKey) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideController ¶
func ProvideController(arguments args.InjectArgs) (*controller.GenericController, error)
ProvideController provides a controller that will be run at startup. Kubebuilder will use codegeneration to automatically register this controller in the inject package
Types ¶
type MemcachedController ¶
type MemcachedController struct { args.InjectArgs // contains filtered or unexported fields }
+controller:group=myapps,version=v1alpha1,kind=Memcached,resource=memcacheds +informers:group=apps,version=v1,kind=Deployment +rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +informers:group=apps,version=v1,kind=ReplicaSet +rbac:groups=apps,resources=replicasets,verbs=get;list;watch +informers:group=core,version=v1,kind=Pod +rbac:groups=core,resources=pods,verbs=get;list;watch
func (*MemcachedController) LookupDeployment ¶
func (bc *MemcachedController) LookupDeployment(r types.ReconcileKey) (interface{}, error)
func (*MemcachedController) LookupMemcached ¶
func (bc *MemcachedController) LookupMemcached(r types.ReconcileKey) (interface{}, error)
func (*MemcachedController) LookupRS ¶
func (bc *MemcachedController) LookupRS(r types.ReconcileKey) (interface{}, error)
func (*MemcachedController) Reconcile ¶
func (bc *MemcachedController) Reconcile(k types.ReconcileKey) error
Click to show internal directories.
Click to hide internal directories.