Class KubernetesNamerRegistry
- java.lang.Object
-
- com.netflix.spinnaker.clouddriver.kubernetes.names.KubernetesNamerRegistry
-
@Component public class KubernetesNamerRegistry extends java.lang.ObjectThis 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 isKubernetesManifestNamer.
-
-
Constructor Summary
Constructors Constructor Description KubernetesNamerRegistry(java.util.List<com.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest>> strategies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest>get(java.lang.String name)Returns a registered strategy with the supplied name (ignoring case); throws an IllegalArgumentException if there is no strategy with that name.
-
-
-
Constructor Detail
-
KubernetesNamerRegistry
@Autowired public KubernetesNamerRegistry(java.util.List<com.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest>> strategies)
-
-
Method Detail
-
get
public com.netflix.spinnaker.clouddriver.names.NamingStrategy<KubernetesManifest> get(java.lang.String name)
Returns a registered strategy with the supplied name (ignoring case); throws an IllegalArgumentException if there is no strategy with that name.
-
-