Codota Logo
NodeFilter.setFeatures
Code IndexAdd Codota to your IDE (free)

How to use
setFeatures
method
in
com.netflix.spinnaker.halyard.config.model.v1.node.NodeFilter

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.node.NodeFilter.setFeatures (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: spinnaker/halyard

 public ProblemSet validateFeatures(String deploymentName) {
  NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setFeatures();
  return validateService.validateMatchingFilter(filter);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public Features getFeatures(String deploymentName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setFeatures();
 List<Features> matching = lookupService.getMatchingNodesOfType(filter, Features.class);
 switch (matching.size()) {
  case 0:
   Features features = new Features();
   setFeatures(deploymentName, features);
   return features;
  case 1:
   return matching.get(0);
  default:
   throw new RuntimeException("It shouldn't be possible to have multiple features nodes. This is a bug.");
 }
}
origin: spinnaker/halyard

public Features getFeatures(String deploymentName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setFeatures();
 List<Features> matching = lookupService.getMatchingNodesOfType(filter, Features.class);
 switch (matching.size()) {
  case 0:
   Features features = new Features();
   setFeatures(deploymentName, features);
   return features;
  case 1:
   return matching.get(0);
  default:
   throw new RuntimeException("It shouldn't be possible to have multiple features nodes. This is a bug.");
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

 public ProblemSet validateFeatures(String deploymentName) {
  NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setFeatures();
  return validateService.validateMatchingFilter(filter);
 }
}
origin: spinnaker/halyard

public ProblemSet validateAllDeployments() {
 NodeFilter filter = new NodeFilter()
   .withAnyDeployment()
   .withAnyProvider()
   .withAnyAccount()
   .setFeatures()
   .setSecurity();
 return validateService.validateMatchingFilter(filter);
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validateAllDeployments() {
 NodeFilter filter = new NodeFilter()
   .withAnyDeployment()
   .withAnyProvider()
   .withAnyAccount()
   .setFeatures()
   .setSecurity();
 return validateService.validateMatchingFilter(filter);
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validateDeployment(String deploymentName) {
 PersistentStorage storage = storageService.getPersistentStorage(deploymentName);
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .withAnyProvider()
   .withAnyAccount()
   .setFeatures()
   .setSecurity();
 if (storage.getPersistentStoreType() != null) {
  filter.setPersistentStore(storage.getPersistentStoreType().getId());
 }
 return validateService.validateMatchingFilter(filter);
}
origin: spinnaker/halyard

public ProblemSet validateDeployment(String deploymentName) {
 PersistentStorage storage = storageService.getPersistentStorage(deploymentName);
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .withAnyProvider()
   .withAnyAccount()
   .setFeatures()
   .setSecurity();
 if (storage.getPersistentStoreType() != null) {
  filter.setPersistentStore(storage.getPersistentStoreType().getId());
 }
 return validateService.validateMatchingFilter(filter);
}
com.netflix.spinnaker.halyard.config.model.v1.nodeNodeFiltersetFeatures

Popular methods of NodeFilter

  • <init>
  • setProvider
  • matches
  • setAccount
  • setApacheSsl
  • setApiSecurity
  • setArtifactAccount
  • setArtifactProvider
  • setAuthnMethod
  • setBakeryDefaults
  • setBaseImage
  • setCanary
  • setBaseImage,
  • setCanary,
  • setCi,
  • setCluster,
  • setDeployment,
  • setDeploymentEnvironment,
  • setHaService,
  • setMaster,
  • setMetricStore

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • orElseThrow (Optional)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now