Documentation ¶
Index ¶
- type Connector
- func (f Connector) Default() *Connector
- func (f *Connector) Ping() (err error)
- func (f *Connector) ReadZoneConfiguration() (config *endpoint.ZoneConfiguration, err error)
- func (f *Connector) RenewCertificate(req *certificate.RenewalRequest) (requestID string, err error)
- func (f *Connector) RequestCertificate(req *certificate.Request) (requestID string, err error)
- func (f *Connector) RetrieveCertificate(req *certificate.Request) (certificates *certificate.PEMCollection, err error)
- type Venafi
- func (v *Venafi) Ping() error
- func (v *Venafi) ReadZoneConfiguration() (*endpoint.ZoneConfiguration, error)
- func (v *Venafi) RequestCertificate(csrPEM []byte, duration time.Duration, customFields []api.CustomField) (string, error)
- func (v *Venafi) RetrieveCertificate(pickupID string, csrPEM []byte, duration time.Duration, ...) ([]byte, error)
- func (v *Venafi) SetClient(endpoint.Connector)
- func (v *Venafi) VerifyCredentials() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { *fake.Connector PingFunc func() error ReadZoneConfigurationFunc func() (*endpoint.ZoneConfiguration, error) RetrieveCertificateFunc func(*certificate.Request) (*certificate.PEMCollection, error) RequestCertificateFunc func(*certificate.Request) (string, error) RenewCertificateFunc func(*certificate.RenewalRequest) (string, error) }
func (*Connector) ReadZoneConfiguration ¶
func (f *Connector) ReadZoneConfiguration() (config *endpoint.ZoneConfiguration, err error)
func (*Connector) RenewCertificate ¶
func (f *Connector) RenewCertificate(req *certificate.RenewalRequest) (requestID string, err error)
func (*Connector) RequestCertificate ¶
func (f *Connector) RequestCertificate(req *certificate.Request) (requestID string, err error)
func (*Connector) RetrieveCertificate ¶
func (f *Connector) RetrieveCertificate(req *certificate.Request) (certificates *certificate.PEMCollection, err error)
type Venafi ¶
type Venafi struct { PingFn func() error RequestCertificateFn func(csrPEM []byte, duration time.Duration, customFields []api.CustomField) (string, error) RetrieveCertificateFn func(pickupID string, csrPEM []byte, duration time.Duration, customFields []api.CustomField) ([]byte, error) ReadZoneConfigurationFn func() (*endpoint.ZoneConfiguration, error) VerifyCredentialsFn func() error }
func (*Venafi) ReadZoneConfiguration ¶
func (v *Venafi) ReadZoneConfiguration() (*endpoint.ZoneConfiguration, error)
func (*Venafi) RequestCertificate ¶
func (*Venafi) RetrieveCertificate ¶
func (*Venafi) VerifyCredentials ¶ added in v1.9.0
VerifyCredentials will return VerifyCredentialsFn if set, otherwise nil.
Click to show internal directories.
Click to hide internal directories.