Documentation ¶
Index ¶
- Variables
- func MultiRegisterSetup(gks []schema.GroupKind, fn SetupFn, tn ...TestFn)
- func RegisterCRDs(client crd_cs.Interface, crds []*CustomResourceDefinition) error
- func RegisterSetup(gk schema.GroupKind, fn SetupFn, tn ...TestFn)
- func RegisterWithOpts(client crd_cs.Interface, crds []*CustomResourceDefinition, ...) error
- func RemoveCRDs(client crd_cs.Interface, crds []*CustomResourceDefinition) error
- func UpdateWithOpts(client crd_cs.Interface, crds []*CustomResourceDefinition, ...) error
- func WaitForCRDReady(client crd_cs.Interface, crds []*CustomResourceDefinition) error
- type CustomResourceDefinition
- type Reconciler
- type SetupFn
- type TestFn
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CRDParam = crdParamKey{}
)
Functions ¶
func MultiRegisterSetup ¶ added in v0.30.7
func RegisterCRDs ¶
func RegisterCRDs(client crd_cs.Interface, crds []*CustomResourceDefinition) error
func RegisterSetup ¶ added in v0.29.6
func RegisterWithOpts ¶ added in v0.30.1
func RegisterWithOpts(client crd_cs.Interface, crds []*CustomResourceDefinition, preserveConversion bool) error
func RemoveCRDs ¶ added in v0.25.45
func RemoveCRDs(client crd_cs.Interface, crds []*CustomResourceDefinition) error
func UpdateWithOpts ¶ added in v0.30.1
func UpdateWithOpts(client crd_cs.Interface, crds []*CustomResourceDefinition, preserveConversion bool) error
func WaitForCRDReady ¶
func WaitForCRDReady(client crd_cs.Interface, crds []*CustomResourceDefinition) error
Types ¶
type CustomResourceDefinition ¶
type CustomResourceDefinition struct { V1beta1 *crdv1beta1.CustomResourceDefinition V1 *crdv1.CustomResourceDefinition }
type Reconciler ¶ added in v0.29.6
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶ added in v0.29.6
func NewReconciler(ctx context.Context, mgr ctrl.Manager) *Reconciler
func (*Reconciler) SetupWithManager ¶ added in v0.29.6
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
type TestFn ¶ added in v0.30.6
type TestFn func(meta.RESTMapper, *apiextensionsv1.CustomResourceDefinition) bool
Click to show internal directories.
Click to hide internal directories.