controller-runtime

module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: Apache-2.0

README

Build Status Go Report Card

Kubernetes controller-runtime Project

The Kubernetes controller-runtime Project is a set of go libraries for building Controllers.

Documentation:

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

controller-runtime is a subproject of the kubebuilder project in sig apimachinery.

You can reach the maintainers of this project at:

Contributing

Contributions are greatly appreciated. The maintainers actively manage the issues list, and try to highlight issues suitable for newcomers. The project follows the typical GitHub pull request model. See CONTRIBUTING.md for more details. Before starting any work, please either comment on an existing issue, or file a new one.

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Directories

Path Synopsis
pkg
Package pkg provides libraries for building Controllers.
Package pkg provides libraries for building Controllers.
builder
Package builder provides wraps other controller-runtime libraries and exposes simple patterns for building common Controllers.
Package builder provides wraps other controller-runtime libraries and exposes simple patterns for building common Controllers.
client/config
Package config contains libraries for initializing rest configs for talking to the Kubernetes API
Package config contains libraries for initializing rest configs for talking to the Kubernetes API
client/fake
Package fake provides a fake client for testing.
Package fake provides a fake client for testing.
controller
Package controller provides types and functions for building Controllers.
Package controller provides types and functions for building Controllers.
controller/controllertest
Package controllertest contains fake informers for testing controllers
Package controllertest contains fake informers for testing controllers
controller/controllerutil
Package controllerutil contains utility functions for working with and implementing Controllers.
Package controllerutil contains utility functions for working with and implementing Controllers.
envtest
Package envtest provides libraries for integration testing by starting a local control plane
Package envtest provides libraries for integration testing by starting a local control plane
event
Package event contains the definitions for the Event types produced by source.Sources and transformed into reconcile.Requests by handler.EventHandler.
Package event contains the definitions for the Event types produced by source.Sources and transformed into reconcile.Requests by handler.EventHandler.
handler
Package handler defines EventHandlers that enqueue reconcile.Requests in response to Create, Update, Deletion Events observed from Watching Kubernetes APIs.
Package handler defines EventHandlers that enqueue reconcile.Requests in response to Create, Update, Deletion Events observed from Watching Kubernetes APIs.
internal/admission
Package admission provides libraries for creating admission webhooks.
Package admission provides libraries for creating admission webhooks.
leaderelection
Package leaderelection contains a constructors for a leader election resource lock
Package leaderelection contains a constructors for a leader election resource lock
leaderelection/fake
Package fake mocks a resource lock for testing purposes.
Package fake mocks a resource lock for testing purposes.
manager
Package manager is required to create Controllers and provides shared dependencies such as clients, caches, schemes, etc.
Package manager is required to create Controllers and provides shared dependencies such as clients, caches, schemes, etc.
patch
Package patch provides method to calculate JSON patch between 2 k8s objects.
Package patch provides method to calculate JSON patch between 2 k8s objects.
patterns/application
Package application documents patterns for building Controllers to manage specific applications.
Package application documents patterns for building Controllers to manage specific applications.
patterns/operator
Package operator serves to redirect users to the application package.
Package operator serves to redirect users to the application package.
predicate
Package predicate defines Predicates used by Controllers to filter Events before they are provided to EventHandlers.
Package predicate defines Predicates used by Controllers to filter Events before they are provided to EventHandlers.
reconcile
Package reconcile defines the Reconciler interface to implement Kubernetes APIs.
Package reconcile defines the Reconciler interface to implement Kubernetes APIs.
runtime/inject
Package inject defines interfaces and functions for propagating dependencies from a ControllerManager to the components registered with it.
Package inject defines interfaces and functions for propagating dependencies from a ControllerManager to the components registered with it.
runtime/log
Package log contains utilities for fetching a new logger when one is not already available.
Package log contains utilities for fetching a new logger when one is not already available.
runtime/signals
Package signals contains libraries for handling signals to shutdown the system.
Package signals contains libraries for handling signals to shutdown the system.
source
Package source provides event streams provided to Controllers through Controller.Watch.
Package source provides event streams provided to Controllers through Controller.Watch.
webhook
Package webhook provides methods to build and bootstrap a webhook server.
Package webhook provides methods to build and bootstrap a webhook server.
webhook/admission
Package admission provides implementation for admission webhook and methods to implement admission webhook handlers.
Package admission provides implementation for admission webhook and methods to implement admission webhook handlers.
webhook/admission/builder
Package builder provides methods to build admission webhooks.
Package builder provides methods to build admission webhooks.
webhook/internal/cert
Package cert provides functions to manage certificates for webhookClientConfiguration.
Package cert provides functions to manage certificates for webhookClientConfiguration.
webhook/internal/cert/generator
Package generator provides an interface and implementation to provision certificates.
Package generator provides an interface and implementation to provision certificates.
webhook/internal/cert/writer
Package writer provides method to provision and persist the certificates.
Package writer provides method to provision and persist the certificates.

Jump to

Keyboard shortcuts

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