Documentation ¶
Index ¶
- type CoordinationV1Bridge
- type LeaseBridge
- func (c *LeaseBridge) Create(ctx context.Context, lease *coordinationv1.Lease, opts metav1.CreateOptions) (result *coordinationv1.Lease, err error)
- func (c *LeaseBridge) Get(ctx context.Context, name string, options metav1.GetOptions) (result *coordinationv1.Lease, err error)
- func (c *LeaseBridge) Update(ctx context.Context, lease *coordinationv1.Lease, opts metav1.UpdateOptions) (result *coordinationv1.Lease, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoordinationV1Bridge ¶
type CoordinationV1Bridge struct { fakecoordinationv1.FakeCoordinationV1 MetaClient client.CoreInterface }
CoordinationV1Bridge is a coordinationV1 bridge
func (*CoordinationV1Bridge) Leases ¶
func (c *CoordinationV1Bridge) Leases(namespace string) v1.LeaseInterface
type LeaseBridge ¶
type LeaseBridge struct { fakecoordinationv1.FakeLeases MetaClient client.CoreInterface // contains filtered or unexported fields }
LeaseBridge implements LeaseInterface
func (*LeaseBridge) Create ¶
func (c *LeaseBridge) Create(ctx context.Context, lease *coordinationv1.Lease, opts metav1.CreateOptions) (result *coordinationv1.Lease, err error)
func (*LeaseBridge) Get ¶
func (c *LeaseBridge) Get(ctx context.Context, name string, options metav1.GetOptions) (result *coordinationv1.Lease, err error)
func (*LeaseBridge) Update ¶
func (c *LeaseBridge) Update(ctx context.Context, lease *coordinationv1.Lease, opts metav1.UpdateOptions) (result *coordinationv1.Lease, err error)
Click to show internal directories.
Click to hide internal directories.