Versions in this module Expand all Collapse all v0 v0.3.0 May 22, 2023 Changes in this version + type ByModelID []Chart + func (c ByModelID) Len() int + func (c ByModelID) Less(i, j int) bool + func (c ByModelID) Swap(i, j int) type ParticipantFATEStatus + const ParticipantFATEStatusUpgrading v0.2.0 Jan 4, 2023 Changes in this version type EndpointBase + Namespace string type ParticipantFATE + func (p ParticipantFATE) GetSitePortalAdminPassword() (string, error) v0.1.0 Oct 26, 2022 Changes in this version + const ParticipantFATESecretNameATS + const ParticipantFATESecretNameFMLMgr + const ParticipantFATESecretNamePortal + const ParticipantFATESecretNamePulsar + const ParticipantOpenFLSecretNameDirector + const ParticipantOpenFLSecretNameEnvoy + const ParticipantOpenFLSecretNameJupyter + type Certificate struct + Chain []*x509.Certificate + ChainPEM string + Name string + PEM string + SerialNumberStr string + UUID string + func (c *Certificate) AfterFind(tx *gorm.DB) error + func (c *Certificate) BeforeSave(tx *gorm.DB) error + func (c *Certificate) EncodePEM() ([]byte, error) + type CertificateAuthority struct + ConfigurationJSON string + Description string + Name string + Type CertificateAuthorityType + UUID string + func (ca *CertificateAuthority) Client() (CertificateAuthorityClient, error) + func (ca *CertificateAuthority) RootCert() (*x509.Certificate, error) + type CertificateAuthorityClient interface + type CertificateAuthorityConfigurationStepCA struct + ProvisionerName string + ProvisionerPassword string + ServiceCertificatePEM string + ServiceURL string + type CertificateAuthorityType uint8 + const CertificateAuthorityTypeStepCA + const CertificateAuthorityTypeUnknown + type CertificateBinding struct + CertificateUUID string + FederationType FederationType + FederationUUID string + ParticipantUUID string + ServiceType CertificateBindingServiceType + UUID string + type CertificateBindingServiceType uint8 + const CertificateBindingServiceFMLManagerClient + const CertificateBindingServiceFMLManagerServer + const CertificateBindingServiceSitePortalClient + const CertificateBindingServiceSitePortalServer + const CertificateBindingServiceTypeATS + const CertificateBindingServiceTypeOpenFLDirector + const CertificateBindingServiceTypeOpenFLEnvoy + const CertificateBindingServiceTypeOpenFLJupyter + const CertificateBindingServiceTypePulsarServer + const CertificateBindingServiceTypeUnknown + func (t CertificateBindingServiceType) String() string + type Chart struct + AppVersion string + ArchiveContent []byte + Chart string + ChartName string + Description string + InitialYamlTemplate string + Name string + Private bool + Type ChartType + UUID string + Values string + ValuesTemplate string + Version string + type ChartType uint8 + const ChartTypeFATECluster + const ChartTypeFATEExchange + const ChartTypeOpenFLDirector + const ChartTypeOpenFLEnvoy + const ChartTypeUnknown + type EndpointBase struct + Description string + InfraProviderUUID string + Name string + Status EndpointStatus + Type EndpointType + UUID string + Version string + type EndpointKubeFATE struct + Config KubeFATEConfig + DeploymentYAML string + IngressControllerYAML string + type EndpointKubeFATEIngressControllerServiceMode uint8 + const EndpointKubeFATEIngressControllerServiceModeLoadBalancer + const EndpointKubeFATEIngressControllerServiceModeModeNodePort + const EndpointKubeFATEIngressControllerServiceModeModeNonexistent + const EndpointKubeFATEIngressControllerServiceModeSkip + type EndpointStatus uint8 + const EndpointStatusCreating + const EndpointStatusDeleting + const EndpointStatusDismissed + const EndpointStatusReady + const EndpointStatusUnavailable + const EndpointStatusUnknown + func (s EndpointStatus) String() string + type EndpointType string + const EndpointTypeKubeFATE + const EndpointTypeUnknown + type EntityType uint8 + const EntityTypeCluster + const EntityTypeEndpoint + const EntityTypeExchange + const EntityTypeOpenFLDirector + const EntityTypeOpenFLEnvoy + const EntityTypeUnknown + func (t EntityType) String() string + type Event struct + Data string + EntityType EntityType + EntityUUID string + Type EventType + UUID string + type EventData struct + Description string + LogLevel string + type EventLogLevel uint8 + const EventLogLevelError + const EventLogLevelInfo + const EventLogLevelUnknown + func (t EventLogLevel) String() string + type EventType uint8 + const EventTypeLogMessage + const EventTypeUnknown + type Federation struct + Description string + Name string + Repo repo.FederationRepository + Type FederationType + UUID string + type FederationFATE struct + Domain string + func (federation *FederationFATE) Create() error + type FederationOpenFL struct + Domain string + ShardDescriptorConfig *valueobject.ShardDescriptorConfig + UseCustomizedShardDescriptor bool + func (FederationOpenFL) TableName() string + func (federation *FederationOpenFL) Create() error + type FederationType string + const FederationTypeFATE + const FederationTypeOpenFL + type InfraProviderBase struct + Description string + Name string + Type InfraProviderType + UUID string + type InfraProviderKubernetes struct + APIHost string + Config valueobject.KubeConfig + ConfigSHA256 string + RegistryConfigFATE valueobject.KubeRegistryConfig + Repo repo.InfraProviderRepository + func (p *InfraProviderKubernetes) AfterFind(tx *gorm.DB) error + func (p *InfraProviderKubernetes) BeforeSave(tx *gorm.DB) error + func (p *InfraProviderKubernetes) Create() error + func (p *InfraProviderKubernetes) Update() error + func (p *InfraProviderKubernetes) Validate() error + type InfraProviderType string + const InfraProviderTypeK8s + const InfraProviderTypeUnknown + type KubeFATEConfig struct + IngressAddress string + IngressRuleHost string + UsePortForwarding bool + func (c *KubeFATEConfig) Scan(v interface{}) error + func (c KubeFATEConfig) Value() (driver.Value, error) + type Participant struct + ChartUUID string + ClusterUUID string + DeploymentYAML string + Description string + EndpointUUID string + ExtraAttribute ParticipantExtraAttribute + FederationUUID string + IsManaged bool + JobUUID string + Name string + Namespace string + UUID string + type ParticipantCertBindingMode uint8 + const CertBindingModeCreate + const CertBindingModeReuse + const CertBindingModeSkip + const CertBindingModeUnknown + type ParticipantComponentCertInfo struct + BindingMode ParticipantCertBindingMode + CommonName string + UUID string + type ParticipantDefaultServiceType uint8 + const ParticipantDefaultServiceTypeLoadBalancer + const ParticipantDefaultServiceTypeNodePort + const ParticipantDefaultServiceTypeUnknown + func (t ParticipantDefaultServiceType) String() string + type ParticipantExtraAttribute struct + IsNewNamespace bool + UseRegistrySecret bool + func (a *ParticipantExtraAttribute) Scan(v interface{}) error + func (a ParticipantExtraAttribute) Value() (driver.Value, error) + type ParticipantFATE struct + AccessInfo ParticipantFATEModulesAccessMap + CertConfig ParticipantFATECertConfig + IngressInfo ParticipantFATEIngressMap + PartyID int + Status ParticipantFATEStatus + Type ParticipantFATEType + type ParticipantFATECertConfig struct + FMLManagerClientCertInfo ParticipantComponentCertInfo + FMLManagerServerCertInfo ParticipantComponentCertInfo + ProxyServerCertInfo ParticipantComponentCertInfo + PulsarServerCertInfo ParticipantComponentCertInfo + SitePortalClientCertInfo ParticipantComponentCertInfo + SitePortalServerCertInfo ParticipantComponentCertInfo + func (c *ParticipantFATECertConfig) Scan(v interface{}) error + func (c ParticipantFATECertConfig) Value() (driver.Value, error) + type ParticipantFATEIngress struct + Addresses []string + Hosts []string + TLS bool + type ParticipantFATEIngressMap map[string]ParticipantFATEIngress + func (c *ParticipantFATEIngressMap) Scan(v interface{}) error + func (c ParticipantFATEIngressMap) Value() (driver.Value, error) + type ParticipantFATEModulesAccessMap map[ParticipantFATEServiceName]ParticipantModulesAccess + func (c *ParticipantFATEModulesAccessMap) Scan(v interface{}) error + func (c ParticipantFATEModulesAccessMap) Value() (driver.Value, error) + type ParticipantFATEServiceName string + const ParticipantFATEServiceNameATS + const ParticipantFATEServiceNameFMLMgr + const ParticipantFATEServiceNameNginx + const ParticipantFATEServiceNamePortal + const ParticipantFATEServiceNamePulsar + type ParticipantFATEStatus uint8 + const ParticipantFATEStatusActive + const ParticipantFATEStatusFailed + const ParticipantFATEStatusInstalling + const ParticipantFATEStatusReconfiguring + const ParticipantFATEStatusRemoving + const ParticipantFATEStatusUnknown + func (t ParticipantFATEStatus) String() string + type ParticipantFATEType uint8 + const ParticipantFATETypeCluster + const ParticipantFATETypeExchange + const ParticipantFATETypeUnknown + func (t ParticipantFATEType) String() string + type ParticipantModulesAccess struct + FQDN string + Host string + Port int + ServiceType corev1.ServiceType + TLS bool + type ParticipantOpenFL struct + AccessInfo ParticipantOpenFLModulesAccessMap + CertConfig ParticipantOpenFLCertConfig + InfraUUID string + Labels valueobject.Labels + Status ParticipantOpenFLStatus + TokenUUID string + Type ParticipantOpenFLType + type ParticipantOpenFLCertConfig struct + DirectorServerCertInfo ParticipantComponentCertInfo + EnvoyClientCertInfo ParticipantComponentCertInfo + JupyterClientCertInfo ParticipantComponentCertInfo + func (c *ParticipantOpenFLCertConfig) Scan(v interface{}) error + func (c ParticipantOpenFLCertConfig) Value() (driver.Value, error) + type ParticipantOpenFLModulesAccessMap map[ParticipantOpenFLServiceName]ParticipantModulesAccess + func (c *ParticipantOpenFLModulesAccessMap) Scan(v interface{}) error + func (c ParticipantOpenFLModulesAccessMap) Value() (driver.Value, error) + type ParticipantOpenFLServiceName string + const ParticipantOpenFLServiceNameAggregator + const ParticipantOpenFLServiceNameDirector + const ParticipantOpenFLServiceNameJupyter + type ParticipantOpenFLStatus uint8 + const ParticipantOpenFLStatusActive + const ParticipantOpenFLStatusConfiguringInfra + const ParticipantOpenFLStatusFailed + const ParticipantOpenFLStatusInstallingDirector + const ParticipantOpenFLStatusInstallingEndpoint + const ParticipantOpenFLStatusInstallingEnvoy + const ParticipantOpenFLStatusRemoving + const ParticipantOpenFLStatusUnknown + func (t ParticipantOpenFLStatus) String() string + type ParticipantOpenFLType uint8 + const ParticipantOpenFLTypeDirector + const ParticipantOpenFLTypeEnvoy + const ParticipantOpenFLTypeUnknown + func (t ParticipantOpenFLType) String() string + type RegistrationToken struct + Description string + Name string + Repo repo.RegistrationTokenRepository + TokenStr string + TokenType RegistrationTokenType + UUID string + type RegistrationTokenOpenFL struct + ExpiredAt time.Time + FederationUUID string + Labels valueobject.Labels + Limit int + ParticipantRepo repo.ParticipantOpenFLRepository + func (RegistrationTokenOpenFL) TableName() string + func (token *RegistrationTokenOpenFL) Create() error + func (token *RegistrationTokenOpenFL) Display() string + func (token *RegistrationTokenOpenFL) Validate() error + type RegistrationTokenType uint8 + const RegistrationTokenTypeRand16 + const RegistrationTokenTypeUnknown + func RegistrationTokenParse(tokenDisplayedStr string) (RegistrationTokenType, string, error) + func (t RegistrationTokenType) DisplayStr() string + func (t RegistrationTokenType) Generate() string + type User struct + Name string + Password string + Repo repo.UserRepository + UUID string + func (u *User) LoadById() error + func (u *User) UpdatePwdInfo(curPassword, newPassword string) error