congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
NodeFilter.setAuthnMethod
Code IndexAdd Tabnine to your IDE (free)

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

origin: spinnaker/halyard

public AuthnMethod getAuthnMethod(String deploymentName, String methodName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setSecurity().setAuthnMethod(methodName);
 return lookupService.getSingularNodeOrDefault(filter,
   AuthnMethod.class,
   () -> {
    try {
     return AuthnMethod.translateAuthnMethodName(methodName).newInstance();
    } catch (InstantiationException | IllegalAccessException e) {
     throw new RuntimeException(e);
    }
   },
   n -> setAuthnMethod(deploymentName, n));
}
origin: com.netflix.spinnaker.halyard/halyard-config

public AuthnMethod getAuthnMethod(String deploymentName, String methodName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setSecurity().setAuthnMethod(methodName);
 return lookupService.getSingularNodeOrDefault(filter,
   AuthnMethod.class,
   () -> {
    try {
     return AuthnMethod.translateAuthnMethodName(methodName).newInstance();
    } catch (InstantiationException | IllegalAccessException e) {
     throw new RuntimeException(e);
    }
   },
   n -> setAuthnMethod(deploymentName, n));
}
origin: spinnaker/halyard

public ProblemSet validateAuthnMethod(String deploymentName, String methodName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setSecurity().setAuthnMethod(methodName);
 return validateService.validateMatchingFilter(filter);
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validateAuthnMethod(String deploymentName, String methodName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setSecurity().setAuthnMethod(methodName);
 return validateService.validateMatchingFilter(filter);
}
com.netflix.spinnaker.halyard.config.model.v1.nodeNodeFiltersetAuthnMethod

Popular methods of NodeFilter

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

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • String (java.lang)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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