Codota Logo
DCOSCluster.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.netflix.spinnaker.halyard.config.model.v1.providers.dcos.DCOSCluster
constructor

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.providers.dcos.DCOSCluster.<init> (Showing top 2 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

 @Override
 protected void executeThis() {

  DCOSCluster cluster = new DCOSCluster();
  cluster.setName(getClusterName())
    .setDcosUrl(dcosUrl)
    .setCaCertFile(caCertFile)
    .setInsecureSkipTlsVerify(insecureSkipTlsVerify);

  if (nonNull(loadBalancerImage)) {
   final DCOSCluster.LoadBalancer loadBalancer = new DCOSCluster.LoadBalancer()
     .setImage(loadBalancerImage)
     .setServiceAccountSecret(loadBalancerServiceAccountSecret);
   cluster.setLoadBalancer(loadBalancer);
  }

  new OperationHandler<Void>()
    .setFailureMesssage("Failed to add cluster " + getClusterName() + " for provider " + getProviderName() + ".")
    .setSuccessMessage(
      "Successfully added cluster " + getClusterName() + " for provider " + getProviderName() + ".")
    .setOperation(Daemon.addCluster(getCurrentDeployment(), getProviderName(), !noValidate, cluster))
    .get();
 }
}
origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected void executeThis() {

  DCOSCluster cluster = new DCOSCluster();
  cluster.setName(getClusterName())
    .setDcosUrl(dcosUrl)
    .setCaCertFile(caCertFile)
    .setInsecureSkipTlsVerify(insecureSkipTlsVerify);

  if (nonNull(loadBalancerImage)) {
   final DCOSCluster.LoadBalancer loadBalancer = new DCOSCluster.LoadBalancer()
     .setImage(loadBalancerImage)
     .setServiceAccountSecret(loadBalancerServiceAccountSecret);
   cluster.setLoadBalancer(loadBalancer);
  }

  new OperationHandler<Void>()
    .setFailureMesssage("Failed to add cluster " + getClusterName() + " for provider " + getProviderName() + ".")
    .setSuccessMessage(
      "Successfully added cluster " + getClusterName() + " for provider " + getProviderName() + ".")
    .setOperation(Daemon.addCluster(getCurrentDeployment(), getProviderName(), !noValidate, cluster))
    .get();
 }
}
com.netflix.spinnaker.halyard.config.model.v1.providers.dcosDCOSCluster<init>

Popular methods of DCOSCluster

  • getLoadBalancer
  • getName
  • getCaCertFile
  • getDcosUrl
  • getInsecureSkipTlsVerify
  • hashCode
  • setCaCertFile
  • setDcosUrl
  • setInsecureSkipTlsVerify
  • setLoadBalancer
  • setName
  • setName

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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