package
0.0.0-20200404142221-81337d30d379
Repository: https://github.com/ibm/admission-control.git
Documentation: pkg.go.dev

# Functions

AddToManager adds all Controllers to the Manager +kubebuilder:rbac:groups=admissionregistration.k8s.io,resources=mutatingwebhookconfigurations;validatingwebhookconfigurations,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources="",verbs=get;list +kubebuilder:rbac:groups="ibmcloud.ibm.com",resources="*",verbs=get;list.
Parse parses a json map and returns a flat map[string] with all keys in lowercase.

# Constants

ExclusivesConfigPath is path where the ConfigMap is mounted for the mutual exclusive specifiction fields.
IBMCloudCatalogURI is the uri for IBM cloud service catalog.
ImmutablesConfigPath is path where the ConfigMap is mounted for the immutable specifiction fields.
LabelsConfigPath is path where the ConfigMap is mounted for the required labels.
MutateWhConfigPath is path where the ConfigMap is mounted for the validating webhook config data.
ValidateWhConfigPath is path where the ConfigMap is mounted for the validating webhook config data.

# Variables

AddToManagerFuncs is a list of functions to add all Controllers to the Manager.

# Structs

AdmissionMutator - Mutating webhook for seed resources.
AdmissionObj a general struct for kube request object.
AdmissionValidator - Validating webhook for seed resources.
AdmissionWhConfig - a struct for admission webhook registration data.
CloudCatalog represents the calalog listing as defined in ibmcloud catalog api.
Dependent identifies a dependent resource in cluster.
EnglishC represents the resource overview_ui.en as defined in ibmcloud catalog api.
ExclusivesConfig - a struct for mutual exclusion rules.
ImmutablesConfig - a struct for immutable rules.
LabelsConfig - a struct for required labels per resource type.
MetadataC represents the resource metadata as defined in ibmcloud catalog api.
OverviewC represents the resource overview_ui as defined in ibmcloud catalog api.
ResourceC represents the resource as defined in ibmcloud catalog api.
RestResult is a struct for REST call result.
ServiceC represents the service as defined in ibmcloud catalog api.
UpdateableService represents a cloud service that can be upgraded dynamically.