Documentation ¶
Index ¶
- Variables
- type Checkout
- func (c *Checkout) Condition(typ pvpoolv1alpha1.CheckoutConditionType) (pvpoolv1alpha1.CheckoutCondition, bool)
- func (c *Checkout) Delete(ctx context.Context, cl client.Client, opts ...lifecycle.DeleteOption) (bool, error)
- func (c *Checkout) Load(ctx context.Context, cl client.Client) (bool, error)
- func (c *Checkout) Own(ctx context.Context, other lifecycle.Ownable) error
- func (c *Checkout) Persist(ctx context.Context, cl client.Client) error
- func (c *Checkout) PersistStatus(ctx context.Context, cl client.Client) error
- type Pool
- func (p *Pool) AddFinalizer(ctx context.Context, name string) bool
- func (p *Pool) Condition(typ pvpoolv1alpha1.PoolConditionType) (pvpoolv1alpha1.PoolCondition, bool)
- func (p *Pool) Delete(ctx context.Context, cl client.Client, opts ...lifecycle.DeleteOption) (bool, error)
- func (p *Pool) Finalizing() bool
- func (p *Pool) Load(ctx context.Context, cl client.Client) (bool, error)
- func (p *Pool) Own(ctx context.Context, other lifecycle.Ownable) error
- func (p *Pool) Persist(ctx context.Context, cl client.Client) error
- func (p *Pool) PersistStatus(ctx context.Context, cl client.Client) error
- func (p *Pool) RemoveFinalizer(ctx context.Context, name string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckoutKind = pvpoolv1alpha1.CheckoutKind
View Source
var PoolKind = pvpoolv1alpha1.PoolKind
Functions ¶
This section is empty.
Types ¶
type Checkout ¶
type Checkout struct { Key client.ObjectKey Object *pvpoolv1alpha1.Checkout }
func NewCheckout ¶
func NewCheckoutFromObject ¶
func NewCheckoutFromObject(obj *pvpoolv1alpha1.Checkout) *Checkout
func (*Checkout) Condition ¶
func (c *Checkout) Condition(typ pvpoolv1alpha1.CheckoutConditionType) (pvpoolv1alpha1.CheckoutCondition, bool)
type Pool ¶
type Pool struct { Key client.ObjectKey Object *pvpoolv1alpha1.Pool }
func NewPoolFromObject ¶
func NewPoolFromObject(obj *pvpoolv1alpha1.Pool) *Pool
func (*Pool) Condition ¶
func (p *Pool) Condition(typ pvpoolv1alpha1.PoolConditionType) (pvpoolv1alpha1.PoolCondition, bool)
func (*Pool) Finalizing ¶
func (*Pool) PersistStatus ¶
Click to show internal directories.
Click to hide internal directories.