obj

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewCheckoutPatcher

func NewCheckoutPatcher(upd, orig *Pool) lifecycle.Persister

func NewPoolPatcher

func NewPoolPatcher(upd, orig *Pool) lifecycle.Persister

Types

type Checkout

type Checkout struct {
	*helper.NamespaceScopedAPIObject

	Key    client.ObjectKey
	Object *pvpoolv1alpha1.Checkout
}

func NewCheckout

func NewCheckout(key client.ObjectKey) *Checkout

func NewCheckoutFromObject

func NewCheckoutFromObject(obj *pvpoolv1alpha1.Checkout) *Checkout

func (*Checkout) Copy

func (c *Checkout) Copy() *Checkout

func (*Checkout) PersistStatus

func (c *Checkout) PersistStatus(ctx context.Context, cl client.Client) error

type Pool

func NewPool

func NewPool(key client.ObjectKey) *Pool

func NewPoolFromObject

func NewPoolFromObject(obj *pvpoolv1alpha1.Pool) *Pool

func (*Pool) Copy

func (p *Pool) Copy() *Pool

func (*Pool) PersistStatus

func (p *Pool) PersistStatus(ctx context.Context, cl client.Client) error

Jump to

Keyboard shortcuts

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