Tabnine Logo
NodeFilter.withAnySubscription
Code IndexAdd Tabnine to your IDE (free)

How to use
withAnySubscription
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.withAnySubscription (Showing top 8 results out of 315)

origin: spinnaker/halyard

 public ProblemSet validateAllPubsubs(String deploymentName) {
  NodeFilter filter = new NodeFilter()
    .setDeployment(deploymentName)
    .withAnyPubsub()
    .withAnySubscription();

  return validateService.validateMatchingFilter(filter);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

 public ProblemSet validateAllSubscriptions(String deploymentName, String pubsubName) {
  NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setPubsub(pubsubName).withAnySubscription();
  return validateService.validateMatchingFilter(filter);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

 public ProblemSet validateAllPubsubs(String deploymentName) {
  NodeFilter filter = new NodeFilter()
    .setDeployment(deploymentName)
    .withAnyPubsub()
    .withAnySubscription();

  return validateService.validateMatchingFilter(filter);
 }
}
origin: spinnaker/halyard

 public ProblemSet validateAllSubscriptions(String deploymentName, String pubsubName) {
  NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setPubsub(pubsubName).withAnySubscription();
  return validateService.validateMatchingFilter(filter);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public List<Subscription> getAllSubscriptions(String deploymentName, String pubsubName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setPubsub(pubsubName).withAnySubscription();
 List<Subscription> matchingSubscriptions = lookupService.getMatchingNodesOfType(filter, Subscription.class);
 if (matchingSubscriptions.size() == 0) {
  throw new ConfigNotFoundException(
    new ConfigProblemBuilder(Severity.FATAL, "No subscriptions could be found").build());
 } else {
  return matchingSubscriptions;
 }
}
origin: spinnaker/halyard

public List<Subscription> getAllSubscriptions(String deploymentName, String pubsubName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setPubsub(pubsubName).withAnySubscription();
 List<Subscription> matchingSubscriptions = lookupService.getMatchingNodesOfType(filter, Subscription.class);
 if (matchingSubscriptions.size() == 0) {
  throw new ConfigNotFoundException(
    new ConfigProblemBuilder(Severity.FATAL, "No subscriptions could be found").build());
 } else {
  return matchingSubscriptions;
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validatePubsub(String deploymentName, String pubsubName) {
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .setPubsub(pubsubName)
   .withAnySubscription()
   .setBakeryDefaults()
   .withAnyBaseImage();
 return validateService.validateMatchingFilter(filter);
}
origin: spinnaker/halyard

public ProblemSet validatePubsub(String deploymentName, String pubsubName) {
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .setPubsub(pubsubName)
   .withAnySubscription()
   .setBakeryDefaults()
   .withAnyBaseImage();
 return validateService.validateMatchingFilter(filter);
}
com.netflix.spinnaker.halyard.config.model.v1.nodeNodeFilterwithAnySubscription

Popular methods of NodeFilter

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JFileChooser (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now