Versions in this module Expand all Collapse all v0 v0.3.0 Jun 7, 2023 v0.2.1 Jun 7, 2023 v0.2.0 Jun 5, 2023 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + type ApiError struct + Code int64 + Message string + type BundleDigest = string + type Certificate = string + type ConsentStatus string + const Approved + const Denied + const Pending + type JWT = string + type JoinToken = UUID + type Relationship struct + CreatedAt time.Time + Id UUID + TrustDomainAConsent ConsentStatus + TrustDomainAId UUID + TrustDomainAName *TrustDomainName + TrustDomainBConsent ConsentStatus + TrustDomainBId UUID + TrustDomainBName *TrustDomainName + UpdatedAt time.Time + func MapRelationships(relationships ...*entity.Relationship) []*Relationship + func RelationshipFromEntity(entity *entity.Relationship) *Relationship + func (r Relationship) ToEntity() (*entity.Relationship, error) + type SPIFFEID = string + type Signature = string + type TrustBundle = string + type TrustDomain struct + CreatedAt time.Time + Description *string + HarvesterSpiffeId *SPIFFEID + Id UUID + Name TrustDomainName + OnboardingBundle *TrustBundle + UpdatedAt time.Time + func TrustDomainFromEntity(entity *entity.TrustDomain) *TrustDomain + func (td TrustDomain) ToEntity() (*entity.TrustDomain, error) + type TrustDomainName = string + type UUID = openapi_types.UUID