Documentation ¶
Index ¶
- func Contains(slice []string, item string) bool
- func EncodePrivateKey(key interface{}) ([]byte, error)
- func EncodeX509Certificate(crt *x509.Certificate) []byte
- func GetClientKubeWithConf(config *rest.Config) (*kubernetes.Clientset, error)
- func GetFreeNodeports(host string, n int) ([]int, error)
- func GetPublicIPKubernetes(clientSet *kubernetes.Clientset) (string, error)
- func GetPublicIPsKubernetes(clientSet *kubernetes.Clientset) ([]string, error)
- func ParseECDSAPrivateKey(contents []byte) (*ecdsa.PrivateKey, error)
- func ParseK8sYaml(fileR []byte) []runtime.Object
- func ParseX509Certificate(contents []byte) (*x509.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePrivateKey ¶
func EncodeX509Certificate ¶
func EncodeX509Certificate(crt *x509.Certificate) []byte
func GetClientKubeWithConf ¶
func GetClientKubeWithConf(config *rest.Config) (*kubernetes.Clientset, error)
func GetPublicIPKubernetes ¶
func GetPublicIPKubernetes(clientSet *kubernetes.Clientset) (string, error)
func GetPublicIPsKubernetes ¶ added in v1.2.1
func GetPublicIPsKubernetes(clientSet *kubernetes.Clientset) ([]string, error)
func ParseECDSAPrivateKey ¶
func ParseECDSAPrivateKey(contents []byte) (*ecdsa.PrivateKey, error)
func ParseK8sYaml ¶
func ParseX509Certificate ¶
func ParseX509Certificate(contents []byte) (*x509.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.