Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientProvider ¶
Types ¶
type CertificateResponse ¶
type CertificateResponse struct {
Result schema.CertificationResult `json:"result"`
}
type Client ¶
type Client interface { Configuration(ctx context.Context, headers map[string]string) (schema.Configuration, apperrors.AppError) SignCSR(ctx context.Context, csr string, headers map[string]string) (schema.CertificationResult, apperrors.AppError) Revoke(ctx context.Context, headers map[string]string) apperrors.AppError }
type ClientProvider ¶
type ConfigurationResponse ¶
type ConfigurationResponse struct {
Result schema.Configuration `json:"result"`
}
type RevokeResponse ¶
type RevokeResponse struct {
Result bool `json:"result"`
}
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.