providers

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

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

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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