v1

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL