Documentation ¶
Index ¶
- type CoordinationV1beta1Interface
- type LeaseExpansion
- type LeaseInterface
- func (_m *LeaseInterface) Create(ctx context.Context, lease *v1beta1.Lease, opts v1.CreateOptions) (*v1beta1.Lease, error)
- func (_m *LeaseInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (_m *LeaseInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (_m *LeaseInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Lease, error)
- func (_m *LeaseInterface) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.LeaseList, error)
- func (_m *LeaseInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1beta1.Lease, error)
- func (_m *LeaseInterface) Update(ctx context.Context, lease *v1beta1.Lease, opts v1.UpdateOptions) (*v1beta1.Lease, error)
- func (_m *LeaseInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type LeasesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoordinationV1beta1Interface ¶
CoordinationV1beta1Interface is an autogenerated mock type for the CoordinationV1beta1Interface type
func (*CoordinationV1beta1Interface) Leases ¶
func (_m *CoordinationV1beta1Interface) Leases(namespace string) v1beta1.LeaseInterface
Leases provides a mock function with given fields: namespace
func (*CoordinationV1beta1Interface) RESTClient ¶
func (_m *CoordinationV1beta1Interface) RESTClient() rest.Interface
RESTClient provides a mock function with given fields:
type LeaseExpansion ¶
LeaseExpansion is an autogenerated mock type for the LeaseExpansion type
type LeaseInterface ¶
LeaseInterface is an autogenerated mock type for the LeaseInterface type
func (*LeaseInterface) Create ¶
func (_m *LeaseInterface) Create(ctx context.Context, lease *v1beta1.Lease, opts v1.CreateOptions) (*v1beta1.Lease, error)
Create provides a mock function with given fields: ctx, lease, opts
func (*LeaseInterface) Delete ¶
func (_m *LeaseInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*LeaseInterface) DeleteCollection ¶
func (_m *LeaseInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*LeaseInterface) Get ¶
func (_m *LeaseInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Lease, error)
Get provides a mock function with given fields: ctx, name, opts
func (*LeaseInterface) List ¶
func (_m *LeaseInterface) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.LeaseList, error)
List provides a mock function with given fields: ctx, opts
func (*LeaseInterface) Patch ¶
func (_m *LeaseInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1beta1.Lease, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*LeaseInterface) Update ¶
func (_m *LeaseInterface) Update(ctx context.Context, lease *v1beta1.Lease, opts v1.UpdateOptions) (*v1beta1.Lease, error)
Update provides a mock function with given fields: ctx, lease, opts
func (*LeaseInterface) Watch ¶
func (_m *LeaseInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type LeasesGetter ¶
LeasesGetter is an autogenerated mock type for the LeasesGetter type
func (*LeasesGetter) Leases ¶
func (_m *LeasesGetter) Leases(namespace string) v1beta1.LeaseInterface
Leases provides a mock function with given fields: namespace