Documentation
¶
Index ¶
Constants ¶
View Source
const ( SchemaName = "certmanager" APIPrefix = "/cert/v1" )
View Source
const (
// Maximum number of names to return in a list query
NameListLimit = 100
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertCreateMeta ¶ added in v1.5.6
type CertCreateMeta struct {
Name string `json:"name,omitempty"`
CommonName string `json:"common_name,omitempty"`
Signer string `json:"signer,omitempty"`
Subject string `json:"subject,omitempty"`
SerialNumber *big.Int `json:"serial_number,omitempty"`
Expiry time.Duration `json:"expiry,omitempty"`
IsCA bool `json:"is_ca,omitempty"`
KeyType string `json:"key_type,omitempty"`
Address []string `json:"address,omitempty"`
}
Certificate Metadata for creating a new certificate
type CertListRequest ¶ added in v1.5.6
type CertListRequest struct {
pg.OffsetLimit
}
func (CertListRequest) String ¶ added in v1.5.6
func (c CertListRequest) String() string
type CertMeta ¶
type CertMeta struct {
Signer *string `json:"signer,omitempty"`
Subject *uint64 `json:"subject,omitempty"`
NotBefore time.Time `json:"not_before,omitzero"`
NotAfter time.Time `json:"not_after,omitzero"`
IsCA bool `json:"is_ca,omitempty"`
Cert []byte `json:"cert,omitempty"`
Key []byte `json:"key,omitempty"`
}
Certificate Metadata
type Name ¶
type NameList ¶
type NameList struct {
NameListRequest
Count uint64 `json:"count"`
Body []Name `json:"body,omitempty"`
}
type NameListRequest ¶
type NameListRequest struct {
pg.OffsetLimit
}
func (NameListRequest) String ¶ added in v1.5.6
func (n NameListRequest) String() string
type NameMeta ¶
type NameMeta struct {
Org *string `json:"organizationName,omitempty"`
Unit *string `json:"organizationalUnit,omitempty"`
Country *string `json:"countryName,omitempty"`
City *string `json:"localityName,omitempty"`
State *string `json:"stateOrProvinceName,omitempty"`
StreetAddress *string `json:"streetAddress,omitempty"`
PostalCode *string `json:"postalCode,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.