Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureKeyVaultSource ¶
type AzureKeyVaultSource struct {
// contains filtered or unexported fields
}
func NewAzureKeyVaultSource ¶
func NewAzureKeyVaultSource( client azure.KeyVaultClient, certificateName string, ) (AzureKeyVaultSource, error)
func (AzureKeyVaultSource) Get ¶
func (source AzureKeyVaultSource) Get(ctx context.Context) ( *x509.Certificate, error, )
type FileType ¶
type FileType int
ENUM(pem, der)
func ParseFileType ¶
ParseFileType attempts to convert a string to a FileType.
func (FileType) MarshalText ¶
MarshalText implements the text marshaller method.
func (*FileType) UnmarshalText ¶
UnmarshalText implements the text unmarshaller method.
type HttpsSource ¶
type HttpsSource struct {
// contains filtered or unexported fields
}
func NewHttpsSource ¶
func (HttpsSource) Get ¶
func (source HttpsSource) Get(ctx context.Context) (*x509.Certificate, error)
type LocalSource ¶
type LocalSource struct {
// contains filtered or unexported fields
}
func NewLocalSource ¶
func NewLocalSource(filePath string, sourceType FileType) (LocalSource, error)
func (LocalSource) Get ¶
func (source LocalSource) Get(ctx context.Context) (*x509.Certificate, error)
Click to show internal directories.
Click to hide internal directories.