Documentation ¶ Index ¶ Constants type KeyType func (kt *KeyType) Set(v string) error func (kt *KeyType) String() string Constants ¶ View Source const DefaultClusterCAKeySize = 4096 DefaultClusterCAKeySize is the default size of the cluster CA key. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type KeyType ¶ type KeyType string KeyType is the type of private key. const ( // ECDSA is the key type for ECDSA keys. ECDSA KeyType = "ecdsa" // RSA is the key type for RSA keys. RSA KeyType = "rsa" // DefaultClusterCAKeyType is the default key type for the cluster CA. DefaultClusterCAKeyType KeyType = ECDSA ) func (*KeyType) Set ¶ func (kt *KeyType) Set(v string) error Set implements flag.Value. func (*KeyType) String ¶ func (kt *KeyType) String() string String implements the String() method from flag.Value interface. Source Files ¶ View all Source files consts.gotypes.go Click to show internal directories. Click to hide internal directories.