Documentation
¶
Index ¶
- func ExpectFound(key client.ObjectKey, obj client.Object) error
- func ExpectNotFound(key client.ObjectKey, obj client.Object) error
- func InitializeDefaults(infra cheInfrastructure.Type)
- func NewDWOPod(namespace string, projectCloneImage string) *corev1.Pod
- func NewScheme() *runtime.Scheme
- func ReconcileTwice(cheCtx *chetypes.CheContext, ...) error
- func StartOn(infra cheInfrastructure.Type)
- type CheContextBuilder
- func (b *CheContextBuilder) Build() *chetypes.CheContext
- func (b *CheContextBuilder) WithCheCluster(cheCluster *chev2.CheCluster) *CheContextBuilder
- func (b *CheContextBuilder) WithEmptyCheCluster() *CheContextBuilder
- func (b *CheContextBuilder) WithObjects(initObjs ...client.Object) *CheContextBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeDefaults ¶
func InitializeDefaults(infra cheInfrastructure.Type)
func NewDWOPod ¶
NewDWOPod returns a running DevWorkspace Operator controller pod that exposes the given project clone image.
func ReconcileTwice ¶
func ReconcileTwice( cheCtx *chetypes.CheContext, reconcileFunc func(cheCtx *chetypes.CheContext) (result reconcile.Result, done bool, err error)) error
func StartOn ¶
func StartOn(infra cheInfrastructure.Type)
Types ¶
type CheContextBuilder ¶
type CheContextBuilder struct {
// contains filtered or unexported fields
}
func NewCheContextBuilder ¶
func NewCheContextBuilder() *CheContextBuilder
func (*CheContextBuilder) Build ¶
func (b *CheContextBuilder) Build() *chetypes.CheContext
func (*CheContextBuilder) WithCheCluster ¶
func (b *CheContextBuilder) WithCheCluster(cheCluster *chev2.CheCluster) *CheContextBuilder
func (*CheContextBuilder) WithEmptyCheCluster ¶
func (b *CheContextBuilder) WithEmptyCheCluster() *CheContextBuilder
func (*CheContextBuilder) WithObjects ¶
func (b *CheContextBuilder) WithObjects(initObjs ...client.Object) *CheContextBuilder
Click to show internal directories.
Click to hide internal directories.