scope

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidScopeWithCluster      = errors.New("failed to generate scope with empty cluster")
	ErrInvalidScopeWithLogger       = errors.New("failed to generate scope with empty logger")
	ErrInvalidScopeWithContext      = errors.New("failed to generate scope with nil context")
	ErrInvalidScopeWithIntelCluster = errors.New("failed to generate scope with empty intelcluster")
	ErrInvalidScopeWithClient       = errors.New("failed to generate scope with empty client")
)

Functions

This section is empty.

Types

type ClusterReconcileScope

type ClusterReconcileScope struct {
	Ctx          context.Context
	Log          *logr.Logger
	Cluster      *clusterv1.Cluster
	IntelCluster *infrav1.IntelCluster
	// contains filtered or unexported fields
}

func (*ClusterReconcileScope) Close

func (s *ClusterReconcileScope) Close() error

type ClusterReconcileScopeBuilder

type ClusterReconcileScopeBuilder interface {
	WithContext(ctx context.Context) ClusterReconcileScopeBuilder
	WithLog(log *logr.Logger) ClusterReconcileScopeBuilder
	WithClient(client client.Client) ClusterReconcileScopeBuilder
	WithCluster(cluster *clusterv1.Cluster) ClusterReconcileScopeBuilder
	WithIntelCluster(intelCluster *infrav1.IntelCluster) ClusterReconcileScopeBuilder
	Build() (*ClusterReconcileScope, error)
}

func NewClusterReconcileScopeBuilder

func NewClusterReconcileScopeBuilder() ClusterReconcileScopeBuilder

type ClusterScope

type ClusterScope interface {
	Close() error
}

Jump to

Keyboard shortcuts

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