Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderAWS ¶
type ProviderAWS struct { SigningCA string `yaml:"signingCAArn"` TemplateARN string `yaml:"templateArn"` // SigningAlgorithm is the signing algorithm to be used by AWS Issue Certificate. SigningAlgorithm string `yaml:"signingAlgorithm"` acmpcaiface.ACMPCAAPI `yaml:"-"` }
ProviderAWS contains credentials for establishing connection to the AWS,
func (*ProviderAWS) IssueCA ¶
func (p *ProviderAWS) IssueCA(ctx context.Context, opts models.IssueCAOptions) (*k8s.IstioSecretDetails, error)
IssueCA issues new Intermediate CA, and provides a secret.
type ProviderGCP ¶
type ProviderGCP struct { CASCAName string `yaml:"casCAName"` MaxIssuerPathLen int32 `yaml:"maxIssuerPathLen"` *privateca.CertificateAuthorityClient `yaml:"-"` }
ProviderGCP contains credentials for establishing connection to the GCP,
func (*ProviderGCP) IssueCA ¶
func (p *ProviderGCP) IssueCA(ctx context.Context, opts models.IssueCAOptions) (*k8s.IstioSecretDetails, error)
IssueCA issues new Intermediate Certificate Authority, and provides a secret.
type ProviderInterface ¶
type ProviderInterface interface { // IssueCA creates an new intermediate CA according to the provider specified // and returns the CA File Path and error (if any) IssueCA(context.Context, models.IssueCAOptions) (*k8s.IstioSecretDetails, error) }
ProviderInterface defines the operations available on cloud providers
Click to show internal directories.
Click to hide internal directories.