venafi

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateManifestsForCertDiscoveryVenafi added in v0.1.3

func GenerateManifestsForCertDiscoveryVenafi(vc *VenafiConnection) (*alpha1operatorv1.CertDiscoveryVenafi, *corev1.Secret)

func GenerateOperatorManifestsForIssuer

func GenerateOperatorManifestsForIssuer(issuer *VenafiIssuer) (*alpha1operatorv1.Issuer, *corev1.Secret, error)

Types

type Conn

type Conn struct {
	VC           *VenafiConnection
	ManagedByVOH bool
}

type VenafiConnection

type VenafiConnection struct {
	URL         string `yaml:"url,omitempty"`
	Zone        string `yaml:"zone,omitempty"`
	AccessToken string `yaml:"access-token,omitempty"`
	Username    string `yaml:"username,omitempty"`
	Password    string `yaml:"password,omitempty"`
}

VenafiConnection holds connection details for a Venafi server

func ParseCertDiscoveryVenafiConfig added in v0.1.3

func ParseCertDiscoveryVenafiConfig(vcName string, vcs map[string]*VenafiConnection, cdvEnabled bool) (*VenafiConnection, error)

ParseCertDiscoveryVenafiConfig parses provided Venafi connection details and validates that they are suitable.

type VenafiIssuer

type VenafiIssuer struct {
	IssuerType   string
	Name         string
	Namespace    string
	ClusterScope bool
	Conn         *Conn
}

func ParseIssuerConfig

func ParseIssuerConfig(issuers []string, vcs map[string]*VenafiConnection, vohEnabled bool) ([]*VenafiIssuer, error)

ParseIssuerConfig parses issuer configuration in form 'type:connection:name:[namespace]' and generates and returns a list of parsed VenafiIssuer

Jump to

Keyboard shortcuts

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