Lines Matching defs:controller
36 type controller struct { struct
37 client kubernetes.Interface
38 cache model.ConfigStoreCache
41 func (c *controller) GetLedger() ledger.Ledger {
45 func (c *controller) SetLedger(l ledger.Ledger) error {
49 func (c *controller) Schemas() collection.Schemas {
56 func (c controller) Get(typ resource.GroupVersionKind, name, namespace string) *model.Config {
63 func (c controller) List(typ resource.GroupVersionKind, namespace string) ([]model.Config, error) {
111 func (c controller) Create(config model.Config) (revision string, err error) {
115 func (c controller) Update(config model.Config) (newRevision string, err error) {
119 func (c controller) Delete(typ resource.GroupVersionKind, name, namespace string) error {
123 func (c controller) Version() string {
127 … controller) GetResourceAtVersion(version string, key string) (resourceVersion string, err error) {
131 …ventHandler(typ resource.GroupVersionKind, handler func(model.Config, model.Config, model.Event)) {
137 func (c controller) Run(stop <-chan struct{}) {
140 func (c controller) HasSynced() bool {