kubernetes

package
v0.0.0-...-5f1e80b Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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) Reconcile

func (e *ExtendedReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

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 (*KubernetesPlatformService) Create

func (*KubernetesPlatformService) Delete

func (*KubernetesPlatformService) DeleteAllOf

func (service *KubernetesPlatformService) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...clientv1.DeleteAllOfOption) error

func (*KubernetesPlatformService) Get

func (*KubernetesPlatformService) GetCached

func (service *KubernetesPlatformService) GetCached(ctx context.Context, key clientv1.ObjectKey, obj runtime.Object) 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 (*KubernetesPlatformService) Update

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 ...

Jump to

Keyboard shortcuts

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