v1

package
v0.0.0-...-10cedd8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorkFlow

func NewWorkFlow(app *KubeManage) *workflow

func Setup

func Setup(o *options.Options)

Setup 完成核心应用接口的设置

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 Logger

type Logger interface {
	logger.Logger
}
var Log Logger

type SystemGetter

type SystemGetter interface {
	System() SystemInterface
}

type SystemInterface

SystemInterface 顶层抽象 包括系统相关接口

func NewSystem

func NewSystem(app *KubeManage) SystemInterface

type WorkFlowServiceGetter

type WorkFlowServiceGetter interface {
	WorkFlow() WorkFlowService
}

type WorkflowResp

type WorkflowResp struct {
	Items []*model.Workflow `json:"items"`
	Total int               `json:"total"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL