Documentation
¶
Index ¶
- type ExtendedReconciler
- type Finalizer
- type KubernetesPlatformService
- func (service *KubernetesPlatformService) Create(ctx context.Context, obj runtime.Object, opts ...clientv1.CreateOption) error
- func (service *KubernetesPlatformService) Delete(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteOption) error
- func (service *KubernetesPlatformService) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteAllOfOption) error
- func (service *KubernetesPlatformService) Get(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) error
- func (service *KubernetesPlatformService) GetCached(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) error
- func (service *KubernetesPlatformService) GetScheme() *runtime.Scheme
- func (service *KubernetesPlatformService) ImageStreamTags(namespace string) imagev1.ImageStreamTagInterface
- func (service *KubernetesPlatformService) IsMockService() bool
- func (service *KubernetesPlatformService) List(ctx context.Context, list runtime.Object, opts ...clientv1.ListOption) error
- func (service *KubernetesPlatformService) Patch(ctx context.Context, obj runtime.Object, patch clientv1.Patch, ...) error
- func (service *KubernetesPlatformService) Update(ctx context.Context, obj runtime.Object, opts ...clientv1.UpdateOption) error
- type PlatformService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedReconciler ¶
type ExtendedReconciler struct {
Service PlatformService
Reconciler reconcile.Reconciler
Resource resource.KubernetesResource
Finalizers map[string]Finalizer
}
func NewExtendedReconciler ¶
func NewExtendedReconciler(service PlatformService, reconciler reconcile.Reconciler, resource resource.KubernetesResource) ExtendedReconciler
func (*ExtendedReconciler) RegisterFinalizer ¶
func (e *ExtendedReconciler) RegisterFinalizer(f Finalizer) error
func (*ExtendedReconciler) UnregisterFinalizer ¶
func (e *ExtendedReconciler) UnregisterFinalizer(finalizer string) error
type Finalizer ¶
type Finalizer interface {
GetName() string
OnFinalize(owner resource.KubernetesResource, service PlatformService) error
}
type KubernetesPlatformService ¶
type KubernetesPlatformService struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance(mgr manager.Manager) KubernetesPlatformService
func (*KubernetesPlatformService) Create ¶
func (service *KubernetesPlatformService) Create(ctx context.Context, obj runtime.Object, opts ...clientv1.CreateOption) error
func (*KubernetesPlatformService) Delete ¶
func (service *KubernetesPlatformService) Delete(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteOption) error
func (*KubernetesPlatformService) DeleteAllOf ¶
func (service *KubernetesPlatformService) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteAllOfOption) error
func (*KubernetesPlatformService) GetScheme ¶
func (service *KubernetesPlatformService) GetScheme() *runtime.Scheme
func (*KubernetesPlatformService) ImageStreamTags ¶
func (service *KubernetesPlatformService) ImageStreamTags(namespace string) imagev1.ImageStreamTagInterface
func (*KubernetesPlatformService) IsMockService ¶
func (service *KubernetesPlatformService) IsMockService() bool
func (*KubernetesPlatformService) List ¶
func (service *KubernetesPlatformService) List(ctx context.Context, list runtime.Object, opts ...clientv1.ListOption) error
func (*KubernetesPlatformService) Patch ¶
func (service *KubernetesPlatformService) Patch(ctx context.Context, obj runtime.Object, patch clientv1.Patch, opts ...clientv1.PatchOption) error
func (*KubernetesPlatformService) Update ¶
func (service *KubernetesPlatformService) Update(ctx context.Context, obj runtime.Object, opts ...clientv1.UpdateOption) error
type PlatformService ¶
type PlatformService interface {
Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error
Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
Get(ctx context.Context, key client.ObjectKey, obj runtime.Object) error
List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
Patch(ctx context.Context, obj runtime.Object, patch client.Patch, opts ...client.PatchOption) error
DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
GetCached(ctx context.Context, key client.ObjectKey, obj runtime.Object) error
ImageStreamTags(namespace string) imagev1.ImageStreamTagInterface
GetScheme() *runtime.Scheme
IsMockService() bool
}
PlatformService ...
Click to show internal directories.
Click to hide internal directories.