Documentation ¶
Index ¶
- func Decrypt(ciphertext, key []byte) ([]byte, error)
- func DecryptMap(data map[string][]byte, key []byte) (result map[string][]byte, err error)
- func Encrypt(plaintext, key []byte) ([]byte, error)
- func EncryptMap(data map[string][]byte, key []byte) (result map[string][]byte, err error)
- func New() (plugin.Plugin, error)
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- type CloudConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptMap ¶
func EncryptMap ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct { Kube struct { OutCluster bool `yaml:"outCluster" json:"outCluster"` ConfigPath string `yaml:"configPath" json:"configPath" default:"etc/baetyl/kubeconfig.yml"` // TODO Remove from plugin AES struct { Key string `yaml:"key" json:"key" default:"baetyl2020202020"` } `yaml:"aes" json:"aes" default:"{}"` } `yaml:"kube" json:"kube"` }
CloudConfig baetyl-cloud config
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
apis
|
|
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/cloud/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/cloud/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.