task

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoTaskHandler

type MongoTaskHandler struct {
	Reader client.Reader
	Writer client.Writer
	Scheme *runtime.Scheme
}

func (MongoTaskHandler) EnsureDatabasesAreCreated

func (r MongoTaskHandler) EnsureDatabasesAreCreated(site *sitev1.StagingSite, ctx context.Context) (bool, error)

func (MongoTaskHandler) EnsureDatabasesAreReady

func (r MongoTaskHandler) EnsureDatabasesAreReady(site *sitev1.StagingSite, ctx context.Context) (bool, error)

type MysqlTaskHandler

type MysqlTaskHandler struct {
	Reader client.Reader
	Writer client.Writer
	Scheme *runtime.Scheme
}

func (MysqlTaskHandler) EnsureDatabasesAreCreated

func (r MysqlTaskHandler) EnsureDatabasesAreCreated(site *sitev1.StagingSite, ctx context.Context) (bool, error)

func (MysqlTaskHandler) EnsureDatabasesAreReady

func (r MysqlTaskHandler) EnsureDatabasesAreReady(site *sitev1.StagingSite, ctx context.Context) (bool, error)

type RedisTaskHandler

type RedisTaskHandler struct {
	Reader client.Reader
	Writer client.Writer
	Scheme *runtime.Scheme
}

func (RedisTaskHandler) EnsureDatabasesAreCreated

func (r RedisTaskHandler) EnsureDatabasesAreCreated(site *sitev1.StagingSite, ctx context.Context) (bool, error)

func (RedisTaskHandler) EnsureDatabasesAreReady

func (r RedisTaskHandler) EnsureDatabasesAreReady(site *sitev1.StagingSite, ctx context.Context) (bool, error)

type TaskHandler

type TaskHandler interface {
	EnsureDatabasesAreCreated(site *sitev1.StagingSite, ctx context.Context) (bool, error)
	EnsureDatabasesAreReady(site *sitev1.StagingSite, ctx context.Context) (bool, error)
}

Jump to

Keyboard shortcuts

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