Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSingleClusterInformerManagerByRS ¶ added in v1.6.0
func NewSingleClusterInformerManagerByRS(src string, obj runtime.Object) genericmanager.SingleClusterInformerManager
NewSingleClusterInformerManagerByRS will build a fake SingleClusterInformerManager and can add resource.
Types ¶
type MockResponder ¶
type MockResponder struct {
// contains filtered or unexported fields
}
MockResponder is a mock for `k8s.io/apiserver/pkg/registry/rest/rest.go:292 => Responder interface`
func NewResponder ¶
func NewResponder(response *httptest.ResponseRecorder) *MockResponder
NewResponder creates an instance of MockResponder
func (*MockResponder) Error ¶
func (f *MockResponder) Error(err error)
Error implements Responder interface
Click to show internal directories.
Click to hide internal directories.