kubernetes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Unlicense Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, dynamic dynamic.DynamicClient, clientSet kubernetes.Clientset) *Client

func (*Client) V1alpha1

func (client *Client) V1alpha1() *V1alpha1

type Lease

type Lease struct {
	// contains filtered or unexported fields
}

func (*Lease) Create

func (Lease *Lease) Create(l v1alpha1.Lease) (v1alpha1.Lease, error)

func (*Lease) Delete

func (Lease *Lease) Delete(m v1alpha1.Lease) error

func (*Lease) Get

func (Lease *Lease) Get(name string) (v1alpha1.Lease, error)

func (*Lease) GetAll

func (Lease *Lease) GetAll() ([]v1alpha1.Lease, error)

func (*Lease) Patch

func (Lease *Lease) Patch(m v1alpha1.Lease) (v1alpha1.Lease, error)

func (*Lease) Renew

func (Lease *Lease) Renew(m v1alpha1.Lease, hostname string, duration time.Duration) (v1alpha1.Lease, error)

func (*Lease) UpdateStatus

func (Lease *Lease) UpdateStatus(m v1alpha1.Lease) (v1alpha1.Lease, error)

type PXE

type PXE struct {
	// contains filtered or unexported fields
}

func (*PXE) Get

func (PXE *PXE) Get(name string) (v1alpha1.PXE, error)

func (*PXE) GetAll

func (PXE *PXE) GetAll() ([]v1alpha1.PXE, error)

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

func (*Pool) Create

func (Pool *Pool) Create(p v1alpha1.Pool) (v1alpha1.Pool, error)

func (*Pool) Get

func (Pool *Pool) Get(name string) (v1alpha1.Pool, error)

func (*Pool) GetAll

func (Pool *Pool) GetAll() ([]v1alpha1.Pool, error)

func (*Pool) Patch

func (Pool *Pool) Patch(m v1alpha1.Pool) (v1alpha1.Pool, error)

func (*Pool) UpdateStatus

func (Pool *Pool) UpdateStatus(m v1alpha1.Pool) (v1alpha1.Pool, error)

type V1alpha1

type V1alpha1 struct {
	// contains filtered or unexported fields
}

func (*V1alpha1) Lease

func (v1alpha1 *V1alpha1) Lease() *Lease

func (*V1alpha1) PXE

func (v1alpha1 *V1alpha1) PXE() *PXE

func (*V1alpha1) Pool

func (v1alpha1 *V1alpha1) Pool() *Pool

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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