1
0
mirror of https://github.com/rancher/types.git synced 2025-08-29 17:12:44 +00:00

Merge pull request #476 from nathan-jenan-rancher/eks-options

Eks options
This commit is contained in:
Denise 2018-06-19 21:51:13 -07:00 committed by GitHub
commit 2064f9bf78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 5 deletions

View File

@ -205,6 +205,11 @@ type AzureKubernetesServiceConfig struct {
type AmazonElasticContainerServiceConfig struct {
AccessKey string `json:"accessKey" norman:"required"`
SecretKey string `json:"secretKey" norman:"required,type=password"`
Region string `json:"region"`
InstanceType string `json:"instanceType"`
MinimumNodes int `json:"minimumNodes"`
MaximumNodes int `json:"maximumNodes"`
}
type ClusterEvent struct {

View File

@ -1,12 +1,20 @@
package client
const (
AmazonElasticContainerServiceConfigType = "amazonElasticContainerServiceConfig"
AmazonElasticContainerServiceConfigFieldAccessKey = "accessKey"
AmazonElasticContainerServiceConfigFieldSecretKey = "secretKey"
AmazonElasticContainerServiceConfigType = "amazonElasticContainerServiceConfig"
AmazonElasticContainerServiceConfigFieldAccessKey = "accessKey"
AmazonElasticContainerServiceConfigFieldInstanceType = "instanceType"
AmazonElasticContainerServiceConfigFieldMaximumNodes = "maximumNodes"
AmazonElasticContainerServiceConfigFieldMinimumNodes = "minimumNodes"
AmazonElasticContainerServiceConfigFieldRegion = "region"
AmazonElasticContainerServiceConfigFieldSecretKey = "secretKey"
)
type AmazonElasticContainerServiceConfig struct {
AccessKey string `json:"accessKey,omitempty" yaml:"accessKey,omitempty"`
SecretKey string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"`
AccessKey string `json:"accessKey,omitempty" yaml:"accessKey,omitempty"`
InstanceType string `json:"instanceType,omitempty" yaml:"instanceType,omitempty"`
MaximumNodes int64 `json:"maximumNodes,omitempty" yaml:"maximumNodes,omitempty"`
MinimumNodes int64 `json:"minimumNodes,omitempty" yaml:"minimumNodes,omitempty"`
Region string `json:"region,omitempty" yaml:"region,omitempty"`
SecretKey string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"`
}