Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkFlow ¶
func NewWorkFlow(app *KubeManage) *workflow
Types ¶
type CloudGetter ¶
type CloudGetter interface {
Cloud() CloudInterface
}
type CloudInterface ¶
type CloudInterface interface { kube.PodsGetter }
func NewCloud ¶
func NewCloud(c *KubeManage) CloudInterface
type CoreService ¶
type CoreService interface { WorkFlowServiceGetter CloudGetter SystemGetter }
var CoreV1 CoreService
func New ¶
func New(cfg *config.Config, factory dao.ShareDaoFactory) CoreService
type KubeManage ¶
type KubeManage struct { Cfg *config.Config Factory dao.ShareDaoFactory }
func (*KubeManage) Cloud ¶
func (c *KubeManage) Cloud() CloudInterface
func (*KubeManage) System ¶
func (c *KubeManage) System() SystemInterface
func (*KubeManage) WorkFlow ¶
func (c *KubeManage) WorkFlow() WorkFlowService
type SystemGetter ¶
type SystemGetter interface {
System() SystemInterface
}
type SystemInterface ¶
type SystemInterface interface { sys.UserServiceGetter sys.MenuGetter sys.CasbinServiceGetter sys.AuthorityGetter sys.OperationServiceGetter sys.APIServiceGetter }
SystemInterface 顶层抽象 包括系统相关接口
func NewSystem ¶
func NewSystem(app *KubeManage) SystemInterface
type WorkFlowService ¶
type WorkFlowServiceGetter ¶
type WorkFlowServiceGetter interface {
WorkFlow() WorkFlowService
}
type WorkflowResp ¶
Click to show internal directories.
Click to hide internal directories.