Documentation ¶
Index ¶
- type DiscoveryV1beta1Interface
- type EndpointSliceExpansion
- type EndpointSliceInterface
- func (_m *EndpointSliceInterface) Apply(ctx context.Context, endpointSlice *v1beta1.EndpointSliceApplyConfiguration, ...) (*discoveryv1beta1.EndpointSlice, error)
- func (_m *EndpointSliceInterface) Create(ctx context.Context, endpointSlice *discoveryv1beta1.EndpointSlice, ...) (*discoveryv1beta1.EndpointSlice, error)
- func (_m *EndpointSliceInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (_m *EndpointSliceInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (_m *EndpointSliceInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*discoveryv1beta1.EndpointSlice, error)
- func (_m *EndpointSliceInterface) List(ctx context.Context, opts v1.ListOptions) (*discoveryv1beta1.EndpointSliceList, error)
- func (_m *EndpointSliceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*discoveryv1beta1.EndpointSlice, error)
- func (_m *EndpointSliceInterface) Update(ctx context.Context, endpointSlice *discoveryv1beta1.EndpointSlice, ...) (*discoveryv1beta1.EndpointSlice, error)
- func (_m *EndpointSliceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type EndpointSlicesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryV1beta1Interface ¶
DiscoveryV1beta1Interface is an autogenerated mock type for the DiscoveryV1beta1Interface type
func NewDiscoveryV1beta1Interface ¶ added in v0.16.2
func NewDiscoveryV1beta1Interface(t testing.TB) *DiscoveryV1beta1Interface
NewDiscoveryV1beta1Interface creates a new instance of DiscoveryV1beta1Interface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*DiscoveryV1beta1Interface) EndpointSlices ¶
func (_m *DiscoveryV1beta1Interface) EndpointSlices(namespace string) v1beta1.EndpointSliceInterface
EndpointSlices provides a mock function with given fields: namespace
func (*DiscoveryV1beta1Interface) RESTClient ¶
func (_m *DiscoveryV1beta1Interface) RESTClient() rest.Interface
RESTClient provides a mock function with given fields:
type EndpointSliceExpansion ¶
EndpointSliceExpansion is an autogenerated mock type for the EndpointSliceExpansion type
func NewEndpointSliceExpansion ¶ added in v0.16.2
func NewEndpointSliceExpansion(t testing.TB) *EndpointSliceExpansion
NewEndpointSliceExpansion creates a new instance of EndpointSliceExpansion. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
type EndpointSliceInterface ¶
EndpointSliceInterface is an autogenerated mock type for the EndpointSliceInterface type
func NewEndpointSliceInterface ¶ added in v0.16.2
func NewEndpointSliceInterface(t testing.TB) *EndpointSliceInterface
NewEndpointSliceInterface creates a new instance of EndpointSliceInterface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*EndpointSliceInterface) Apply ¶ added in v0.16.0
func (_m *EndpointSliceInterface) Apply(ctx context.Context, endpointSlice *v1beta1.EndpointSliceApplyConfiguration, opts v1.ApplyOptions) (*discoveryv1beta1.EndpointSlice, error)
Apply provides a mock function with given fields: ctx, endpointSlice, opts
func (*EndpointSliceInterface) Create ¶
func (_m *EndpointSliceInterface) Create(ctx context.Context, endpointSlice *discoveryv1beta1.EndpointSlice, opts v1.CreateOptions) (*discoveryv1beta1.EndpointSlice, error)
Create provides a mock function with given fields: ctx, endpointSlice, opts
func (*EndpointSliceInterface) Delete ¶
func (_m *EndpointSliceInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*EndpointSliceInterface) DeleteCollection ¶
func (_m *EndpointSliceInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*EndpointSliceInterface) Get ¶
func (_m *EndpointSliceInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*discoveryv1beta1.EndpointSlice, error)
Get provides a mock function with given fields: ctx, name, opts
func (*EndpointSliceInterface) List ¶
func (_m *EndpointSliceInterface) List(ctx context.Context, opts v1.ListOptions) (*discoveryv1beta1.EndpointSliceList, error)
List provides a mock function with given fields: ctx, opts
func (*EndpointSliceInterface) Patch ¶
func (_m *EndpointSliceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*discoveryv1beta1.EndpointSlice, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*EndpointSliceInterface) Update ¶
func (_m *EndpointSliceInterface) Update(ctx context.Context, endpointSlice *discoveryv1beta1.EndpointSlice, opts v1.UpdateOptions) (*discoveryv1beta1.EndpointSlice, error)
Update provides a mock function with given fields: ctx, endpointSlice, opts
func (*EndpointSliceInterface) Watch ¶
func (_m *EndpointSliceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type EndpointSlicesGetter ¶
EndpointSlicesGetter is an autogenerated mock type for the EndpointSlicesGetter type
func NewEndpointSlicesGetter ¶ added in v0.16.2
func NewEndpointSlicesGetter(t testing.TB) *EndpointSlicesGetter
NewEndpointSlicesGetter creates a new instance of EndpointSlicesGetter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*EndpointSlicesGetter) EndpointSlices ¶
func (_m *EndpointSlicesGetter) EndpointSlices(namespace string) v1beta1.EndpointSliceInterface
EndpointSlices provides a mock function with given fields: namespace