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
Click to show internal directories.
Click to hide internal directories.