Documentation
¶
Index ¶
- func GetAppService(ctx context.Context, appName string, namespace string) (app.AppService, error)
- func GetAppServiceForAdd(ctx context.Context, url, configUrl, namespace string, isHelmRepository bool, ...) (app.AppService, error)
- func GetAuthService(ctx context.Context, normalizedUrl gitproviders.RepoURL, dryRun bool) (auth.AuthService, error)
- func GetLogger() logger.Logger
- func IsClusterReady() error
- type AppClients
- type AppFactory
- type AppServiceParams
- type DefaultAppFactory
- type ServerAppFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppService ¶
func GetAppServiceForAdd ¶
func GetAuthService ¶ added in v0.3.2
func GetAuthService(ctx context.Context, normalizedUrl gitproviders.RepoURL, dryRun bool) (auth.AuthService, error)
func IsClusterReady ¶
func IsClusterReady() error
Types ¶
type AppClients ¶ added in v0.3.2
func GetBaseClients ¶
func GetBaseClients() (AppClients, error)
type AppFactory ¶
type AppFactory interface { GetKubeService() (kube.Kube, error) GetAppService(ctx context.Context, name, namespace string) (app.AppService, error) GetAppServiceForAdd(ctx context.Context, params AppServiceParams) (app.AppService, error) }
AppFactory provides helpers for generating various WeGO service objects at runtime.
type AppServiceParams ¶ added in v0.3.1
type DefaultAppFactory ¶
type DefaultAppFactory struct { }
func (*DefaultAppFactory) GetAppService ¶
func (f *DefaultAppFactory) GetAppService(ctx context.Context, name, namespace string) (app.AppService, error)
func (*DefaultAppFactory) GetAppServiceForAdd ¶ added in v0.3.1
func (f *DefaultAppFactory) GetAppServiceForAdd(ctx context.Context, params AppServiceParams) (app.AppService, error)
func (*DefaultAppFactory) GetKubeService ¶
func (f *DefaultAppFactory) GetKubeService() (kube.Kube, error)
type ServerAppFactory ¶ added in v0.3.1
type ServerAppFactory interface { GetKubeService() (kube.Kube, error) GetAppService(ctx context.Context, params AppServiceParams) (app.AppService, error) }
func NewServerAppFactory ¶ added in v0.3.1
Click to show internal directories.
Click to hide internal directories.