Documentation ¶
Index ¶
- Constants
- type AppTemplate
- type ArgoClientWrapperService
- type ArgoClientWrapperServiceImpl
- type ArgoK8sClient
- type ArgoK8sClientImpl
- func (impl ArgoK8sClientImpl) CreateAcdApp(appRequest *AppTemplate, cluster *repository.Cluster) (string, error)
- func (impl ArgoK8sClientImpl) CreateArgoApplication(namespace string, application string, config *rest.Config) error
- func (impl ArgoK8sClientImpl) GetArgoApplication(namespace string, appName string, cluster *repository.Cluster) (map[string]interface{}, error)
- type VersionService
- type VersionServiceImpl
Constants ¶
View Source
const DevtronInstalationNs = "devtroncd"
View Source
const TimeoutSlow = 30 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppTemplate ¶
type ArgoClientWrapperService ¶ added in v0.6.24
type ArgoClientWrapperServiceImpl ¶ added in v0.6.24
type ArgoClientWrapperServiceImpl struct {
// contains filtered or unexported fields
}
func NewArgoClientWrapperServiceImpl ¶ added in v0.6.24
func NewArgoClientWrapperServiceImpl(logger *zap.SugaredLogger, acdClient application.ServiceClient, ) *ArgoClientWrapperServiceImpl
func (*ArgoClientWrapperServiceImpl) GetArgoAppWithNormalRefresh ¶ added in v0.6.24
func (impl *ArgoClientWrapperServiceImpl) GetArgoAppWithNormalRefresh(context context.Context, argoAppName string) error
type ArgoK8sClient ¶
type ArgoK8sClient interface { CreateAcdApp(appRequest *AppTemplate, cluster *repository.Cluster) (string, error) GetArgoApplication(namespace string, appName string, cluster *repository.Cluster) (map[string]interface{}, error) }
type ArgoK8sClientImpl ¶
type ArgoK8sClientImpl struct {
// contains filtered or unexported fields
}
func NewArgoK8sClientImpl ¶
func NewArgoK8sClientImpl(logger *zap.SugaredLogger, ) *ArgoK8sClientImpl
func (ArgoK8sClientImpl) CreateAcdApp ¶
func (impl ArgoK8sClientImpl) CreateAcdApp(appRequest *AppTemplate, cluster *repository.Cluster) (string, error)
func (ArgoK8sClientImpl) CreateArgoApplication ¶
func (ArgoK8sClientImpl) GetArgoApplication ¶ added in v0.2.27
func (impl ArgoK8sClientImpl) GetArgoApplication(namespace string, appName string, cluster *repository.Cluster) (map[string]interface{}, error)
type VersionService ¶
type VersionServiceImpl ¶
type VersionServiceImpl struct {
// contains filtered or unexported fields
}
func NewVersionServiceImpl ¶
func NewVersionServiceImpl(logger *zap.SugaredLogger, argoCDConnectionManager connection.ArgoCDConnectionManager) *VersionServiceImpl
func (VersionServiceImpl) CheckVersion ¶
func (service VersionServiceImpl) CheckVersion() (err error)
func (VersionServiceImpl) GetVersion ¶
func (service VersionServiceImpl) GetVersion() (apiVersion string, err error)
GetVersion deprecated
Click to show internal directories.
Click to hide internal directories.