type doNothingAdmission … func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { … } func (doNothingAdmission) Handles(o admission.Operation) bool { … } func (doNothingAdmission) Validate() error { … } type WantsCloudConfigAdmissionPlugin … func (p *WantsCloudConfigAdmissionPlugin) SetCloudConfig(cloudConfig []byte) { … } func TestCloudConfigAdmissionPlugin(t *testing.T) { … }