focal

package
v0.0.0-...-fd237a5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsProviderPredicate

func AwsProviderPredicate(_ context.Context, st composed.State) bool

func AzureProviderPredicate

func AzureProviderPredicate(_ context.Context, st composed.State) bool

func GcpProviderPredicate

func GcpProviderPredicate(_ context.Context, st composed.State) bool

func New

func New() composed.Action

Types

type CommonObject

type CommonObject interface {
	client.Object
	composed.ObjWithConditions

	ScopeRef() cloudresourcesv1beta1.ScopeRef
	SetScopeRef(scopeRef cloudresourcesv1beta1.ScopeRef)
}

type State

type State interface {
	composed.State
	Scope() *cloudresourcesv1beta1.Scope
	SetScope(*cloudresourcesv1beta1.Scope)
	ObjAsCommonObj() CommonObject

	AddReadyCondition(ctx context.Context, message string) error
	AddErrorCondition(ctx context.Context, reason string, err error) error
}

type StateFactory

type StateFactory interface {
	NewState(base composed.State) State
}

func NewStateFactory

func NewStateFactory() StateFactory

Jump to

Keyboard shortcuts

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