Documentation ¶
Index ¶
Constants ¶
View Source
const KubeCfgType kubev1.SecretType = "solo.io/kubeconfig"
Variables ¶
This section is empty.
Functions ¶
func KubeCfgFromSecret ¶
func KubeCfgFromSecret(secret *kubev1.Secret) (*v1.KubeConfig, error)
func KubeConfigToSecret ¶
func KubeConfigToSecret(kc *v1.KubeConfig) (*kubev1.Secret, error)
Types ¶
type KubeConfigSecretConverter ¶
type KubeConfigSecretConverter struct{}
func (*KubeConfigSecretConverter) FromKubeSecret ¶
func (t *KubeConfigSecretConverter) FromKubeSecret(ctx context.Context, rc *kubesecret.ResourceClient, secret *kubev1.Secret) (resources.Resource, error)
func (*KubeConfigSecretConverter) ToKubeSecret ¶
func (t *KubeConfigSecretConverter) ToKubeSecret(ctx context.Context, rc *kubesecret.ResourceClient, resource resources.Resource) (*kubev1.Secret, error)
Click to show internal directories.
Click to hide internal directories.