kubeconverters

package
v1.6.0-beta19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2020 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

View Source
const (
	APIKeyDataKey                           = "api-key"
	APIKeySecretType      kubev1.SecretType = "extauth.solo.io/apikey"
	GlooKindAnnotationKey                   = "resource_kind"
)
View Source
const (
	AwsAccessKeyName    = "aws_access_key_id"
	AwsSecretKeyName    = "aws_secret_access_key"
	AwsSessionTokenName = "aws_session_token"
)
View Source
const HeaderSecretType = "gloo.solo.io/header"

Variables

Functions

func ArtifactToKubeConfigMap added in v1.2.16

func ArtifactToKubeConfigMap(resource resources.Resource) (*kubev1.ConfigMap, error)

func KubeConfigMapToArtifact added in v1.2.16

func KubeConfigMapToArtifact(configMap *kubev1.ConfigMap) *v1.Artifact

func NewArtifactConverter added in v1.2.16

func NewArtifactConverter() skcfgmap.ConfigMapConverter

Types

type APIKeySecretConverter added in v1.5.0

type APIKeySecretConverter struct{}

Processes secrets with type "extauth.solo.io/apikey".

func (*APIKeySecretConverter) FromKubeSecret added in v1.5.0

func (*APIKeySecretConverter) ToKubeSecret added in v1.5.0

type AwsSecretConverter added in v0.18.12

type AwsSecretConverter struct{}

The purpose of this implementation of the SecretConverter interface is to provide a way for the user to specify AWS secrets without having to use an annotation to identify the secret as a AWS secret. Instead of an annotation, this converter looks for the two required fields.

func (*AwsSecretConverter) FromKubeSecret added in v0.18.12

func (*AwsSecretConverter) ToKubeSecret added in v0.18.12

type HeaderSecretConverter added in v1.4.11

type HeaderSecretConverter struct{}

func (*HeaderSecretConverter) FromKubeSecret added in v1.4.11

func (*HeaderSecretConverter) ToKubeSecret added in v1.4.11

type SecretConverterChain added in v0.18.12

type SecretConverterChain struct {
	// contains filtered or unexported fields
}

func NewSecretConverterChain added in v0.18.12

func NewSecretConverterChain(converters ...kubesecret.SecretConverter) *SecretConverterChain

func (*SecretConverterChain) FromKubeSecret added in v0.18.12

func (*SecretConverterChain) ToKubeSecret added in v0.18.12

type TLSSecretConverter

type TLSSecretConverter struct{}

func (*TLSSecretConverter) FromKubeSecret

func (*TLSSecretConverter) ToKubeSecret

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL