Categorygithub.com/munnerz/controller-runtime
modulepackage
0.1.10
Repository: https://github.com/munnerz/controller-runtime.git
Documentation: pkg.go.dev

# 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:

Versioning, Maintenance, and Compatibility

The full documentation can be found at VERSIONING.md, but TL;DR:

Users:

  • We follow Semantic Versioning (semver)
  • Use releases with your dependency management to ensure that you get compatible code
  • The master branch contains all the latest code, some of which may break compatibility (so "normal" go get is not reccomended)

Contributors:

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.

# Packages

No description provided by the author
Package pkg provides libraries for building Controllers.

# Variables

CreateOrUpdate creates or updates the given object obj in the Kubernetes cluster.
GetConfig creates a *rest.Config for talking to a Kubernetes apiserver.
GetConfigOrDie creates a *rest.Config for talking to a Kubernetes apiserver.
Log is the base logger used by controller-runtime.
NewControllerManagedBy returns a new controller builder that will be started by the provided Manager.
NewManager returns a new Manager for creating Controllers.
SetControllerReference sets owner as a Controller OwnerReference on owned.
SetLogger sets a concrete logging implementation for all deferred Loggers.
SetupSignalHandler registered for SIGTERM and SIGINT.
ZapLogger is a Logger implementation.

# Type aliases

Builder builds an Application ControllerManagedBy (e.g.
GroupResource specifies a Group and a Resource, but does not force a version.
GroupVersion contains the "group" and the "version", which uniquely identifies the API.
Manager initializes shared dependencies such as Caches and Clients, and provides them to Runnables.
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
Options are the arguments for creating a new Manager.
Request contains the information necessary to reconcile a Kubernetes object.
Result contains the result of a Reconciler invocation.
Builder builds a new Scheme for mapping go types to Kubernetes GroupVersionKinds.
TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version.