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

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

origin: spinnaker/halyard

 public ProblemSet validateAllHaServices(String deploymentName) {
  NodeFilter filter = new NodeFilter()
    .setDeployment(deploymentName)
    .setDeploymentEnvironment()
    .withAnyHaService();

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

 public ProblemSet validateAllHaServices(String deploymentName) {
  NodeFilter filter = new NodeFilter()
    .setDeployment(deploymentName)
    .setDeploymentEnvironment()
    .withAnyHaService();

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

public List<HaService> getAllHaServices(String deploymentName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).withAnyHaService();
 List<HaService> matching = lookupService.getMatchingNodesOfType(filter, HaService.class);
 if (matching.size() == 0) {
  throw new ConfigNotFoundException(
    new ConfigProblemBuilder(Severity.FATAL, "No high availability services could be found")
      .build());
 } else {
  return matching;
 }
}
origin: spinnaker/halyard

public List<HaService> getAllHaServices(String deploymentName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).withAnyHaService();
 List<HaService> matching = lookupService.getMatchingNodesOfType(filter, HaService.class);
 if (matching.size() == 0) {
  throw new ConfigNotFoundException(
    new ConfigProblemBuilder(Severity.FATAL, "No high availability services could be found")
      .build());
 } else {
  return matching;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.nodeNodeFilterwithAnyHaService

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

  • Start an intent from android
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • getSystemService (Context)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
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