Versions in this module Expand all Collapse all v4 v4.1.3 Mar 27, 2024 Changes in this version + func GetDefaultFlavorGroups() map[FlavorGroups]bool + func GetSupportedCerts() []string + func GetUniqueCertType(certType string) string + func GetUniqueCertTypes() []string + func IsDefaultFlavorgroup(flavorGroupName string) bool + func IsValidCertType(certType string) bool + func IsValidDomainType(domain string) bool + type AuditColumnData struct + IsUpdated bool + Name string + Value interface{} + type AuditLogEntry struct + Action string + CreatedAt time.Time + Data AuditTableData + EntityID uuid.UUID + EntityType string + ID uuid.UUID + type AuditTableData struct + Columns []AuditColumnData + type CaCertTypes string + const CaCertTypesAikCa + const CaCertTypesEkCa + const CaCertTypesEndorsementCa + const CaCertTypesPrivacyCa + const CaCertTypesRootCa + const CaCertTypesTagCa + func GetCaCertTypes() []CaCertTypes + func (cct CaCertTypes) String() string + type CertLocation struct + CertPath string + KeyFile string + type CertTypes string + const CertTypesFlavorSigning + const CertTypesSaml + const CertTypesTls + func GetCertTypes() []CertTypes + func (ct CertTypes) String() string + type CertificateStore struct + CertPath string + Certificates []x509.Certificate + Key crypto.PrivateKey + type CertificatesPathStore map[string]CertLocation + type CertificatesStore map[string]*CertificateStore + func (cs *CertificatesStore) AddCertificatesToStore(certType, certFile string, certificate *x509.Certificate) error + func (cs *CertificatesStore) GetKeyAndCertificates(certType string) (crypto.PrivateKey, []x509.Certificate, error) + func (cs *CertificatesStore) GetPath(certType string) string + func (cs *CertificatesStore) RetrieveCertificate(certType, commonName string) (*x509.Certificate, error) + type ESXiClusterFilterCriteria struct + ClusterName string + Id uuid.UUID + type FlavorCreateRequest struct + ConnectionString string + FlavorCollection hvs.FlavorCollection + FlavorParts []hvs.FlavorPartName + FlavorgroupNames []string + SignedFlavorCollection hvs.SignedFlavorCollection + func (fcr *FlavorCreateRequest) UnmarshalJSON(b []byte) error + func (fcr FlavorCreateRequest) MarshalJSON() ([]byte, error) + type FlavorFilterCriteria struct + FlavorParts []hvs.FlavorPartName + FlavorgroupID uuid.UUID + Ids []uuid.UUID + Key string + Value string + type FlavorGroupFilterCriteria struct + FlavorId *uuid.UUID + Ids []uuid.UUID + NameContains string + NameEqualTo string + type FlavorGroups string + const FlavorGroupsAutomatic + const FlavorGroupsHostUnique + const FlavorGroupsPlatformSoftware + const FlavorGroupsWorkloadSoftware + func (dfg FlavorGroups) String() string + type FlavorMetaKv struct + Key string + Value interface{} + type FlavorTemplateFilterCriteria struct + ConditionContains string + FlavorPartContains string + Ids []uuid.UUID + IncludeDeleted bool + Label string + type FlavorVerificationFC struct + FlavorFC FlavorFilterCriteria + FlavorMeta map[hvs.FlavorPartName][]FlavorMetaKv + FlavorPartsWithLatest map[hvs.FlavorPartName]bool + type HVSReport struct + CreatedAt time.Time + Expiration time.Time + HostID uuid.UUID + ID uuid.UUID + Saml string + TrustReport hvs.TrustReport + type HostCredential struct + CreatedTs time.Time + Credential string + HardwareUuid HwUUID + HostId uuid.UUID + HostName string + Id uuid.UUID + type HostFilterCriteria struct + HostHardwareId uuid.UUID + Id uuid.UUID + IdList []uuid.UUID + Key string + NameContains string + NameEqualTo string + OrderBy OrderType + Trusted *bool + Value string + type HostInfoFetchCriteria struct + GetHostStatus bool + GetReport bool + GetTrustStatus bool + type HostStatusFilterCriteria struct + FromDate time.Time + HostHardwareId uuid.UUID + HostId uuid.UUID + HostName string + HostStatus string + Id uuid.UUID + LatestPerHost bool + Limit int + NumberOfDays int + ToDate time.Time + type HwUUID struct + UUID uuid.UUID + Valid bool + func NewHwUUID(u uuid.UUID) HwUUID + func (u *HwUUID) Scan(src interface{}) error + func (u *HwUUID) UnmarshalJSON(text []byte) error + func (u HwUUID) Interface() interface{} + func (u HwUUID) MarshalJSON() ([]byte, error) + func (u HwUUID) Value() (driver.Value, error) + type OrderType string + const Ascending + const Descending + func GetOrderType(oType string) (OrderType, error) + func (ot OrderType) String() string + type Queue struct + Action string + Created time.Time + Id uuid.UUID + Message string + Params map[string]interface{} + State QueueState + Updated time.Time + type QueueFilterCriteria struct + Action string + Id uuid.UUID + Limit int + ParamKey string + ParamMap map[string]string + ParamValue string + QueueStates []QueueState + type QueueState int + const QueueStateCompleted + const QueueStateConnectionFailure + const QueueStateError + const QueueStateNew + const QueueStatePending + const QueueStateReturned + const QueueStateTimeout + const QueueStateUnknown + func (s *QueueState) Unmarshal(str string) + func (s *QueueState) UnmarshalJSON(b []byte) error + func (s QueueState) MarshalJSON() ([]byte, error) + func (s QueueState) Valid() bool + type QuoteReportCache struct + QuoteDigest string + TrustPcrList []int + TrustReport *hvs.TrustReport + type ReportFilterCriteria struct + FromDate time.Time + HostHardwareID uuid.UUID + HostID uuid.UUID + HostName string + HostStatus string + ID uuid.UUID + LatestPerHost bool + Limit int + NumberOfDays int + ToDate time.Time + type ReportLocator struct + HostID uuid.UUID + ID uuid.UUID + type TagCertificateCreateCriteria struct + HardwareUUID uuid.UUID + SelectionContent []hvs.TagKvAttribute + type TagCertificateDeployCriteria struct + CertID uuid.UUID + type TagCertificateFilterCriteria struct + HardwareUUID uuid.UUID + ID uuid.UUID + IssuerContains string + IssuerEqualTo string + SubjectContains string + SubjectEqualTo string + ValidAfter time.Time + ValidBefore time.Time + ValidOn time.Time + type TpmEndorsementFilterCriteria struct + CertificateDigestEqualTo string + CommentContains string + CommentEqualTo string + HardwareUuidEqualTo uuid.UUID + Id uuid.UUID + IssuerContains string + IssuerEqualTo string + RevokedEqualTo bool