Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddAPIServiceToSync (0.19 sec)

  1. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    // AutoAPIServiceRegistration is an interface which callers can re-declare locally and properly cast to for
    // adding and removing APIServices
    type AutoAPIServiceRegistration interface {
    	// AddAPIServiceToSync adds an API service to auto-register.
    	AddAPIServiceToSync(in *v1.APIService)
    	// RemoveAPIServiceToSync removes an API service to auto-register.
    	RemoveAPIServiceToSync(name string)
    }
    
    type crdRegistrationController struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/crdregistration/crdregistration_controller_test.go

    			}
    		})
    	}
    }
    
    type fakeAPIServiceRegistration struct {
    	added   []*apiregistration.APIService
    	removed []string
    }
    
    func (a *fakeAPIServiceRegistration) AddAPIServiceToSync(in *apiregistration.APIService) {
    	a.added = append(a.added, in)
    }
    func (a *fakeAPIServiceRegistration) RemoveAPIServiceToSync(name string) {
    	a.removed = append(a.removed, name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 02 17:48:26 UTC 2020
    - 3.8K bytes
    - Viewed (0)
Back to top