remove aws fields as flags
This commit is contained in:
		
							parent
							
								
									7ce6e861ef
								
							
						
					
					
						commit
						b5f409d7b2
					
				|  | @ -159,10 +159,6 @@ func NewFlagSet() *pflag.FlagSet { | ||||||
| 	flagSet.Bool("redis-use-cluster", false, "Connect to redis cluster. Must set --redis-cluster-connection-urls to use this feature") | 	flagSet.Bool("redis-use-cluster", false, "Connect to redis cluster. Must set --redis-cluster-connection-urls to use this feature") | ||||||
| 	flagSet.StringSlice("redis-cluster-connection-urls", []string{}, "List of Redis cluster connection URLs (eg redis://[USER[:PASSWORD]@]HOST[:PORT]). Used in conjunction with --redis-use-cluster") | 	flagSet.StringSlice("redis-cluster-connection-urls", []string{}, "List of Redis cluster connection URLs (eg redis://[USER[:PASSWORD]@]HOST[:PORT]). Used in conjunction with --redis-use-cluster") | ||||||
| 	flagSet.Int("redis-connection-idle-timeout", 0, "Redis connection idle timeout seconds, if Redis timeout option is non-zero, the --redis-connection-idle-timeout must be less then Redis timeout option") | 	flagSet.Int("redis-connection-idle-timeout", 0, "Redis connection idle timeout seconds, if Redis timeout option is non-zero, the --redis-connection-idle-timeout must be less then Redis timeout option") | ||||||
| 	flagSet.Bool("redis-aws-use-iam-auth", false, "Use AWS IAM authentication for Redis. Must set --redis-aws-service-name, --redis-aws-cluster-name, & --redis-aws-username to use this feature") |  | ||||||
| 	flagSet.String("redis-aws-service-name", "", "AWS service name for Redis IAM authentication -  `elasticache` or  `memorydb`") |  | ||||||
| 	flagSet.String("redis-aws-cluster-name", "", "AWS cluster name for Redis IAM authentication") |  | ||||||
| 	flagSet.String("redis-aws-username", "", "AWS username for Redis IAM authentication") |  | ||||||
| 	flagSet.String("signature-key", "", "GAP-Signature request signature key (algorithm:secretkey)") | 	flagSet.String("signature-key", "", "GAP-Signature request signature key (algorithm:secretkey)") | ||||||
| 	flagSet.Bool("gcp-healthchecks", false, "Enable GCP/GKE healthcheck endpoints") | 	flagSet.Bool("gcp-healthchecks", false, "Enable GCP/GKE healthcheck endpoints") | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -30,10 +30,10 @@ type RedisStoreOptions struct { | ||||||
| 	SentinelMasterName     string   `flag:"redis-sentinel-master-name" cfg:"redis_sentinel_master_name"` | 	SentinelMasterName     string   `flag:"redis-sentinel-master-name" cfg:"redis_sentinel_master_name"` | ||||||
| 	SentinelConnectionURLs []string `flag:"redis-sentinel-connection-urls" cfg:"redis_sentinel_connection_urls"` | 	SentinelConnectionURLs []string `flag:"redis-sentinel-connection-urls" cfg:"redis_sentinel_connection_urls"` | ||||||
| 	UseCluster             bool     `flag:"redis-use-cluster" cfg:"redis_use_cluster"` | 	UseCluster             bool     `flag:"redis-use-cluster" cfg:"redis_use_cluster"` | ||||||
| 	UseAWSIAMAuth          bool     `flag:"redis-aws-use-iam-auth" cfg:"redis_aws_use_iam_auth"` | 	UseAWSIAMAuth          bool     `cfg:"redis_aws_use_iam_auth"` | ||||||
| 	AWSServiceName         string   `flag:"redis-aws-service-name" cfg:"redis_aws_service_name"` | 	AWSServiceName         string   `cfg:"redis_aws_service_name"` | ||||||
| 	AWSClusterName         string   `flag:"redis-aws-cluster-name" cfg:"redis_aws_cluster_name"` | 	AWSClusterName         string   `cfg:"redis_aws_cluster_name"` | ||||||
| 	AWSUsername            string   `flag:"redis-aws-username" cfg:"redis_aws_username"` | 	AWSUsername            string   `cfg:"redis_aws_username"` | ||||||
| 	ClusterConnectionURLs  []string `flag:"redis-cluster-connection-urls" cfg:"redis_cluster_connection_urls"` | 	ClusterConnectionURLs  []string `flag:"redis-cluster-connection-urls" cfg:"redis_cluster_connection_urls"` | ||||||
| 	CAPath                 string   `flag:"redis-ca-path" cfg:"redis_ca_path"` | 	CAPath                 string   `flag:"redis-ca-path" cfg:"redis_ca_path"` | ||||||
| 	InsecureSkipTLSVerify  bool     `flag:"redis-insecure-skip-tls-verify" cfg:"redis_insecure_skip_tls_verify"` | 	InsecureSkipTLSVerify  bool     `flag:"redis-insecure-skip-tls-verify" cfg:"redis_insecure_skip_tls_verify"` | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue