Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InformerService ¶
type InformerService interface { GetMasterUserRecord(name string) (*toolchainv1alpha1.MasterUserRecord, error) GetSpace(name string) (*toolchainv1alpha1.Space, error) GetToolchainStatus() (*toolchainv1alpha1.ToolchainStatus, error) GetUserSignup(name string) (*toolchainv1alpha1.UserSignup, error) ListSpaceBindings(reqs ...labels.Requirement) ([]toolchainv1alpha1.SpaceBinding, error) GetProxyPluginConfig(name string) (*toolchainv1alpha1.ProxyPlugin, error) GetNSTemplateTier(name string) (*toolchainv1alpha1.NSTemplateTier, error) }
type MemberClusterService ¶
type MemberClusterService interface {
GetClusterAccess(userID, username, workspace, proxyPluginName string) (*access.ClusterAccess, error)
}
type Services ¶
type Services interface { InformerService() InformerService SignupService() SignupService VerificationService() VerificationService MemberClusterService() MemberClusterService }
type SignupService ¶
type SignupService interface { Signup(ctx *gin.Context) (*toolchainv1alpha1.UserSignup, error) GetSignup(ctx *gin.Context, userID, username string) (*signup.Signup, error) GetSignupFromInformer(ctx *gin.Context, userID, username string, checkUserSignupCompleted bool) (*signup.Signup, error) GetUserSignupFromIdentifier(userID, username string) (*toolchainv1alpha1.UserSignup, error) UpdateUserSignup(userSignup *toolchainv1alpha1.UserSignup) (*toolchainv1alpha1.UserSignup, error) PhoneNumberAlreadyInUse(userID, username, phoneNumberOrHash string) error }
type SocialEventService ¶
type SocialEventService interface {
GetEvent(code string) (*toolchainv1alpha1.SocialEvent, error)
}
type VerificationService ¶
Click to show internal directories.
Click to hide internal directories.