Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Service ¶
type Service interface { // 详情信息 Get(ctx context.Context, name string) (resp *types.Namespace, err error) // 创建namespace Post(ctx context.Context, name, displayName string) error // 同步namespace Sync(ctx context.Context) error // 删除namespace Delete(ctx context.Context) error // 更新Namespaces Update(ctx context.Context, name, displayName string) error // 空间列表 List(ctx context.Context) (res []*types.Namespace, err error) }
func NewService ¶
func NewService(logger log.Logger, cf *config.Config, client kubernetes.K8sClient, store repository.Repository) Service
Click to show internal directories.
Click to hide internal directories.