action

package
v0.0.0-...-be29cce Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyndesisRouteName  = "syndesis"
	SyndesisPullSecret = "syndesis-pull-secret"
)
View Source
const (
	// Number of times a syndesis upgrade will be triggered (including the first one launched by another state)
	UpgradeMaxAttempts = 5
)
View Source
const (
	UpgradePodPrefix = "syndesis-upgrade-"
)

Variables

This section is empty.

Functions

func ListAllTypesInChunks

func ListAllTypesInChunks(ctx context.Context, api kubernetes.Interface, c client.Client, options client.ListOptions, handler func([]unstructured.Unstructured) error) error

func PreProcessForAffinityTolerations

func PreProcessForAffinityTolerations(ctx context.Context, cl client.Client, syndesis *synapi.Syndesis, resource *unstructured.Unstructured) error

Types

type Client

type Client struct {
	client.Client
	kubernetes.Interface
}

Client is an abstraction for a k8s client

type SyndesisOperatorAction

type SyndesisOperatorAction interface {
	CanExecute(syndesis *synapi.Syndesis) bool
	Execute(ctx context.Context, syndesis *synapi.Syndesis, operatorNamespace string) error
}

func NewOperatorActions

func NewOperatorActions(mgr manager.Manager, clientTools *clienttools.ClientTools) []SyndesisOperatorAction

NewOperatorActions gives the default set of actions operator will perform

Jump to

Keyboard shortcuts

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