Class KubernetesNamerRegistry
java.lang.Object
com.netflix.spinnaker.clouddriver.kubernetes.names.KubernetesNamerRegistry
This class handles registering any naming strategies for kubernetes manifests that are on the
classpath, and supports looking these up by name. It is in principle possible for users to add
additional namers in a custom build, but it is not clear how often this is used. The only namer
that exists upstream is
KubernetesManifestNamer.-
Constructor Summary
ConstructorsConstructorDescriptionKubernetesNamerRegistry(List<com.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest>> strategies) -
Method Summary
Modifier and TypeMethodDescriptioncom.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest>Returns a registered strategy with the supplied name (ignoring case); throws an IllegalArgumentException if there is no strategy with that name.
-
Constructor Details
-
KubernetesNamerRegistry
@Autowired public KubernetesNamerRegistry(List<com.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest>> strategies)
-
-
Method Details
-
get
Returns a registered strategy with the supplied name (ignoring case); throws an IllegalArgumentException if there is no strategy with that name.
-