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

How to use
setCi
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.setCi (Showing top 12 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 Master getCiMaster(String deploymentName, String ciName, String masterName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).setMaster(masterName);
 return getMaster(filter, masterName);
}
origin: spinnaker/halyard

public ProblemSet validateCi(String deploymentName, String ciName) {
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .setCi(ciName)
   .withAnyAccount();
 return validateService.validateMatchingFilter(filter);
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validateCi(String deploymentName, String ciName) {
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .setCi(ciName)
   .withAnyAccount();
 return validateService.validateMatchingFilter(filter);
}
origin: spinnaker/halyard

 public ProblemSet validateAllMasters(String deploymentName, String ciName) {
  NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).withAnyMaster();
  return validateService.validateMatchingFilter(filter);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

 public ProblemSet validateAllMasters(String deploymentName, String ciName) {
  NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).withAnyMaster();
  return validateService.validateMatchingFilter(filter);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validateMaster(String deploymentName, String ciName, String masterName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).setMaster(masterName);
 return validateService.validateMatchingFilter(filter);
}
origin: com.netflix.spinnaker.halyard/halyard-config

public Master getCiMaster(String deploymentName, String ciName, String masterName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).setMaster(masterName);
 return getMaster(filter, masterName);
}
origin: spinnaker/halyard

public ProblemSet validateMaster(String deploymentName, String ciName, String masterName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).setMaster(masterName);
 return validateService.validateMatchingFilter(filter);
}
origin: com.netflix.spinnaker.halyard/halyard-config

public List<Master> getAllMasters(String deploymentName, String ciName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).withAnyMaster();
 List<Master> matchingMasters = lookupService.getMatchingNodesOfType(filter, Master.class);
 if (matchingMasters.size() == 0) {
  throw new ConfigNotFoundException(
    new ConfigProblemBuilder(Severity.FATAL, "No masters could be found").build());
 } else {
  return matchingMasters;
 }
}
origin: spinnaker/halyard

public List<Master> getAllMasters(String deploymentName, String ciName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName).withAnyMaster();
 List<Master> matchingMasters = lookupService.getMatchingNodesOfType(filter, Master.class);
 if (matchingMasters.size() == 0) {
  throw new ConfigNotFoundException(
    new ConfigProblemBuilder(Severity.FATAL, "No masters could be found").build());
 } else {
  return matchingMasters;
 }
}
origin: spinnaker/halyard

public Ci getCi(String deploymentName, String ciName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName);
 List<Ci> matching = lookupService.getMatchingNodesOfType(filter, Ci.class);
 switch (matching.size()) {
  case 0:
   throw new ConfigNotFoundException(new ConfigProblemBuilder(Severity.FATAL,
     "No Continuous Integration service with name \"" + ciName + "\" could be found").build());
  case 1:
   return matching.get(0);
  default:
   throw new IllegalConfigException(new ConfigProblemBuilder(Severity.FATAL,
     "More than one CI with name \"" + ciName + "\" found").build());
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public Ci getCi(String deploymentName, String ciName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setCi(ciName);
 List<Ci> matching = lookupService.getMatchingNodesOfType(filter, Ci.class);
 switch (matching.size()) {
  case 0:
   throw new ConfigNotFoundException(new ConfigProblemBuilder(Severity.FATAL,
     "No Continuous Integration service with name \"" + ciName + "\" could be found").build());
  case 1:
   return matching.get(0);
  default:
   throw new IllegalConfigException(new ConfigProblemBuilder(Severity.FATAL,
     "More than one CI with name \"" + ciName + "\" found").build());
 }
}
com.netflix.spinnaker.halyard.config.model.v1.nodeNodeFiltersetCi

Popular methods of NodeFilter

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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