Documentation ¶
Index ¶
Constants ¶
View Source
const AllCertsCacheKey = "all_certs_cache"
View Source
const (
UpperCaApiIntermediateTopology = "/api/v1/cap/ca/intermediate_topology"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IntermediateObject ¶
type IntermediateObject struct { Certs []*schema.FullCert `mapstructure:"certs" json:"certs"` Metadata schema.CaMetadata `mapstructure:"metadata" json:"metadata"` Children []*IntermediateObject `json:"children"` Current bool `json:"current"` }
type Logic ¶
type Logic struct {
// contains filtered or unexported fields
}
func (*Logic) IntermediateTopology ¶
func (l *Logic) IntermediateTopology() ([]*IntermediateObject, error)
IntermediateTopology Obtain the sub cluster certificate issued by itself
func (*Logic) UpperCaIntermediateTopology ¶
func (l *Logic) UpperCaIntermediateTopology() ([]*IntermediateObject, error)
UpperCaIntermediateTopology Get parent CA's
type RoleProfile ¶
type WorkloadUnit ¶
type WorkloadUnit struct { Role string `json:"role"` ValidNum int `json:"valid_num"` // Number of valid certificates FirstIssuedAt time.Time `json:"first_issued_at"` // Date of first issuance of certificate UniqueId string `json:"unique_id"` Forbidden bool `json:"forbidden"` // Is it prohibited }
WorkloadUnit UniqueID Divided workload unit
type WorkloadUnitsParams ¶
Click to show internal directories.
Click to hide internal directories.