deploy

package
v0.0.0-...-164f795 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	core.Context
	Deployer *v1alpha1.Deployer

	GetOwnerReferences func() (apimetav1.OwnerReference, error)
}

func NewContext

func NewContext(originCtx context.Context, cli client.Client, logger logr.Logger, deployer *v1alpha1.Deployer) *Context

func (*Context) BackupState

func (ctx *Context) BackupState() error

func (*Context) BegResource

func (ctx *Context) BegResource() error

func (*Context) CleanupForNextRound

func (ctx *Context) CleanupForNextRound() error

func (*Context) GetCurrentResourcePool

func (ctx *Context) GetCurrentResourcePool() (*v1alpha1.ResourcePool, error)

func (*Context) Handle

func (ctx *Context) Handle() error

func (*Context) ReleaseResource

func (ctx *Context) ReleaseResource() error

Jump to

Keyboard shortcuts

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