package
0.0.0-20190628093746-affaa533fc2e
Repository: https://github.com/szymongib/kyma.git
Documentation: pkg.go.dev
# Functions
EnsureMapIsInitiated ensures that given map is initiated.
IsNotFoundError checks if given error is NotFound error.
Merge returns map which is union of input maps.
NewBindingLabelsFetcher returnd BindingLabelsFetcher.
NewBindingUsageSpecStorage returns new instance of BindingUsageSpecStorage.
NewGenericSupervisor creates a new GenericSupervisor.
NewNotFoundError returns a new not found error with given message.
NewPodPresetModifier creates a new PodPresetModifier.
NewResourceSupervisorAggregator returns new instance of ResourceSupervisorAggregator.
NewServiceBindingUsage creates a new ServiceBindingUsageController.
# Constants
LivenessBUCSample name of ServiceBindingUsage used for liveness probe.
# Structs
BindingLabelsFetcher extracts binding labels defined in ClusterServiceClass for given ServiceBinding.
BindingUsageSpecStorage provides functionality to get/delete/save ServiceBindingUsage.Spec.
ConflictError indicates situation when conflict occurs.
GenericSupervisor ensures that expected labels are present or not on a k8s resource provided by given resourceInterface.
NotFoundError indicates situation when given resource was not found.
PodPresetModifier provides functionality needed to create and delete PodPreset.
ResourceSupervisorAggregator aggregates all defined resources supervisors.
SBUDeletedEvent contains information about deleted ServiceBindingUsage.
ServiceBindingUsageController watches ServiceBindingUsage and injects data to given Deployment/Function.
UsageSpec represents DTO which is used to store information about applied sbu in config map.
# Interfaces
KubernetesResourceSupervisor validates if given Kubernetes resource can be modified by ServiceBindingUsage.
# Type aliases
Kind represents Kubernetes Kind name.