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
}
Click to show internal directories.
Click to hide internal directories.