Documentation ¶
Index ¶
- func NewDirectorCertClientWithOtherSubject(t *testing.T, ctx context.Context, conf ExternalCertProviderConfig, ...) *gcli.Client
- func NewExternalCertFromConfig(t *testing.T, ctx context.Context, testConfig ExternalCertProviderConfig, ...) (*rsa.PrivateKey, [][]byte)
- type ExternalCertProviderConfig
- type ProviderType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExternalCertFromConfig ¶
func NewExternalCertFromConfig(t *testing.T, ctx context.Context, testConfig ExternalCertProviderConfig, shouldDeleteSecret bool) (*rsa.PrivateKey, [][]byte)
Types ¶
type ExternalCertProviderConfig ¶
type ExternalCertProviderConfig struct { ExternalClientCertTestSecretName string `envconfig:"EXTERNAL_CLIENT_CERT_TEST_SECRET_NAME"` ExternalClientCertTestSecretNamespace string `envconfig:"EXTERNAL_CLIENT_CERT_TEST_SECRET_NAMESPACE"` CertSvcInstanceTestSecretName string `envconfig:"CERT_SVC_INSTANCE_TEST_SECRET_NAME"` CertSvcInstanceTestRegion2SecretName string `envconfig:"CERT_SVC_INSTANCE_TEST_REGION2_SECRET_NAME"` ExternalCertCronjobContainerName string `envconfig:"EXTERNAL_CERT_CRONJOB_CONTAINER_NAME"` ExternalCertTestJobName string `envconfig:"EXTERNAL_CERT_TEST_JOB_NAME"` TestExternalCertSubject string `envconfig:"TEST_EXTERNAL_CERT_SUBJECT"` TestAtomExternalCertSubject string `envconfig:"TEST_ATOM_EXTERNAL_CERT_SUBJECT"` TestExternalCertSubjectRegion2 string `envconfig:"TEST_EXTERNAL_CERT_SUBJECT_REGION2"` TestExternalCertCN string `envconfig:"TEST_EXTERNAL_CERT_CN"` ExternalClientCertCertKey string `envconfig:"APP_EXTERNAL_CLIENT_CERT_KEY"` ExternalClientCertKeyKey string `envconfig:"APP_EXTERNAL_CLIENT_KEY_KEY"` ExternalClientCertExpectedIssuerLocality *string `envconfig:"-"` ExternalClientCertSecretName string `envconfig:"APP_EXTERNAL_CLIENT_CERT_SECRET_NAME"` ExternalCertProvider ProviderType `envconfig:"-"` }
type ProviderType ¶
type ProviderType int
ProviderType missing godoc
const ( CertificateService ProviderType = iota Atom )
Click to show internal directories.
Click to hide internal directories.