component

package
v0.8.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostProvision

type PostProvision struct {
	operations.Base

	Timeout time.Duration
	Command []string
	// contains filtered or unexported fields
}

func (*PostProvision) Do

func (*PostProvision) Init

func (s *PostProvision) Init(_ context.Context) error

func (*PostProvision) PreCheck

func (s *PostProvision) PreCheck(ctx context.Context, req *operations.OpsRequest) error

type PostProvisionManager

type PostProvisionManager interface {
	PostProvision(ctx context.Context, componentNames, podNames, podIPs, podHostNames, podHostIPs string) error
}

type PreTerminate

type PreTerminate struct {
	operations.Base

	Timeout time.Duration
	Command []string
	// contains filtered or unexported fields
}

func (*PreTerminate) Do

func (*PreTerminate) Init

func (s *PreTerminate) Init(_ context.Context) error

func (*PreTerminate) PreCheck

func (s *PreTerminate) PreCheck(ctx context.Context, req *operations.OpsRequest) error

type PreTerminateManager

type PreTerminateManager interface {
	PreTerminate(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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