Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
Validator is an autogenerated mock type for the Validator type
func NewValidator ¶ added in v2.4.0
NewValidator creates a new instance of Validator. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Validator) Validate ¶
func (_m *Validator) Validate(ctx context.Context, ar *model.AdmissionReview, obj v1.Object) (*validating.ValidatorResult, error)
Validate provides a mock function with given fields: ctx, ar, obj
Click to show internal directories.
Click to hide internal directories.