Tabnine Logo
GoogleCanaryAccount.getNamedAccountCredentials
Code IndexAdd Tabnine to your IDE (free)

How to use
getNamedAccountCredentials
method
in
com.netflix.spinnaker.halyard.config.model.v1.canary.google.GoogleCanaryAccount

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.canary.google.GoogleCanaryAccount.getNamedAccountCredentials (Showing top 2 results out of 315)

origin: com.netflix.spinnaker.halyard/halyard-config

 @Override
 public void validate(ConfigProblemSetBuilder p, AbstractCanaryAccount n) {
  super.validate(p, n);

  GoogleCanaryAccount canaryAccount = (GoogleCanaryAccount)n;

  DaemonTaskHandler.message("Validating " + n.getNodeName() + " with " + GoogleCanaryAccountValidator.class.getSimpleName());

  GoogleNamedAccountCredentials credentials = canaryAccount.getNamedAccountCredentials(halyardVersion, p);

  if (credentials == null) {
   return;
  }

  try {
   Compute compute = credentials.getCompute();

   compute.projects().get(canaryAccount.getProject()).execute();
  } catch (IOException e) {
   p.addProblem(Severity.ERROR, "Failed to load project \"" + canaryAccount.getProject() + "\": " + e.getMessage() + ".");
  }
 }
}
origin: spinnaker/halyard

GoogleNamedAccountCredentials credentials = canaryAccount.getNamedAccountCredentials(halyardVersion, p);
com.netflix.spinnaker.halyard.config.model.v1.canary.googleGoogleCanaryAccountgetNamedAccountCredentials

Popular methods of GoogleCanaryAccount

  • getBucket
  • getJsonPath
  • getProject
  • getBucketLocation
  • getRootFolder
  • <init>
  • getName
  • getSupportedTypes
  • setBucket
  • setBucketLocation
  • setJsonPath
  • setName
  • setJsonPath,
  • setName,
  • setProject,
  • setRootFolder

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JTable (javax.swing)
  • Top 12 Jupyter Notebook extensions
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