Documentation ¶
Index ¶
- type ArgoApplicationService
- type ArgoApplicationServiceExtendedImpl
- func (c *ArgoApplicationServiceExtendedImpl) HibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, ...) ([]*openapi.HibernateStatus, error)
- func (c *ArgoApplicationServiceExtendedImpl) ListApplications(clusterIds []int) ([]*bean.ArgoApplicationListDto, error)
- func (impl *ArgoApplicationServiceExtendedImpl) ResourceTree(ctxt context.Context, query *application2.ResourcesQuery) (*argoApplication.ResourceTreeResponse, error)
- func (c *ArgoApplicationServiceExtendedImpl) UnHibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, ...) ([]*openapi.HibernateStatus, error)
- type ArgoApplicationServiceImpl
- func (impl *ArgoApplicationServiceImpl) HibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, ...) ([]*openapi.HibernateStatus, error)
- func (impl *ArgoApplicationServiceImpl) ListApplications(clusterIds []int) ([]*bean.ArgoApplicationListDto, error)
- func (impl *ArgoApplicationServiceImpl) ResourceTree(ctx context.Context, query *application2.ResourcesQuery) (*argoApplication.ResourceTreeResponse, error)
- func (impl *ArgoApplicationServiceImpl) UnHibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, ...) ([]*openapi.HibernateStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgoApplicationService ¶
type ArgoApplicationService interface { ListApplications(clusterIds []int) ([]*bean.ArgoApplicationListDto, error) HibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error) UnHibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error) //FUll mode // ResourceTree returns the status for all Apps deployed via ArgoCd ResourceTree(ctx context.Context, query *application2.ResourcesQuery) (*argoApplication.ResourceTreeResponse, error) }
type ArgoApplicationServiceExtendedImpl ¶ added in v1.0.0
type ArgoApplicationServiceExtendedImpl struct { *ArgoApplicationServiceImpl // contains filtered or unexported fields }
func NewArgoApplicationServiceExtendedServiceImpl ¶ added in v1.0.0
func NewArgoApplicationServiceExtendedServiceImpl(logger *zap.SugaredLogger, clusterRepository clusterRepository.ClusterRepository, k8sUtil *k8s.K8sServiceImpl, argoUserService argo.ArgoUserService, helmAppClient gRPC.HelmAppClient, helmAppService service.HelmAppService, k8sApplicationService application.K8sApplicationService, readService read.ArgoApplicationReadService, acdClient application3.ServiceClient) *ArgoApplicationServiceExtendedImpl
func (*ArgoApplicationServiceExtendedImpl) HibernateArgoApplication ¶ added in v1.0.0
func (c *ArgoApplicationServiceExtendedImpl) HibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
func (*ArgoApplicationServiceExtendedImpl) ListApplications ¶ added in v1.0.0
func (c *ArgoApplicationServiceExtendedImpl) ListApplications(clusterIds []int) ([]*bean.ArgoApplicationListDto, error)
func (*ArgoApplicationServiceExtendedImpl) ResourceTree ¶ added in v1.0.0
func (impl *ArgoApplicationServiceExtendedImpl) ResourceTree(ctxt context.Context, query *application2.ResourcesQuery) (*argoApplication.ResourceTreeResponse, error)
func (*ArgoApplicationServiceExtendedImpl) UnHibernateArgoApplication ¶ added in v1.0.0
func (c *ArgoApplicationServiceExtendedImpl) UnHibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
type ArgoApplicationServiceImpl ¶
type ArgoApplicationServiceImpl struct {
// contains filtered or unexported fields
}
func NewArgoApplicationServiceImpl ¶
func NewArgoApplicationServiceImpl(logger *zap.SugaredLogger, clusterRepository clusterRepository.ClusterRepository, k8sUtil *k8s.K8sServiceImpl, argoUserService argo.ArgoUserService, helmAppClient gRPC.HelmAppClient, helmAppService service.HelmAppService, k8sApplicationService application.K8sApplicationService, readService read.ArgoApplicationReadService) *ArgoApplicationServiceImpl
func (*ArgoApplicationServiceImpl) HibernateArgoApplication ¶ added in v0.7.2
func (impl *ArgoApplicationServiceImpl) HibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
func (*ArgoApplicationServiceImpl) ListApplications ¶
func (impl *ArgoApplicationServiceImpl) ListApplications(clusterIds []int) ([]*bean.ArgoApplicationListDto, error)
func (*ArgoApplicationServiceImpl) ResourceTree ¶ added in v1.0.0
func (impl *ArgoApplicationServiceImpl) ResourceTree(ctx context.Context, query *application2.ResourcesQuery) (*argoApplication.ResourceTreeResponse, error)
func (*ArgoApplicationServiceImpl) UnHibernateArgoApplication ¶ added in v0.7.2
func (impl *ArgoApplicationServiceImpl) UnHibernateArgoApplication(ctx context.Context, app *bean.ArgoAppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
Click to show internal directories.
Click to hide internal directories.