Documentation ¶
Index ¶
- func IsUsed(md *meta.Data) bool
- type ClusterManager
- func (cm *ClusterManager) BaseDir(ctx context.Context, ns *namespace.Namespace) (string, error)
- func (cm *ClusterManager) CanDeleteNamespace(ctx context.Context, app *apps.Instance, ns *namespace.Namespace) error
- func (cm *ClusterManager) DeleteNamespace(ctx context.Context, app *apps.Instance, ns *namespace.Namespace) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterManager ¶
type ClusterManager struct {
// contains filtered or unexported fields
}
func NewClusterManager ¶
func NewClusterManager(ns *namespace.Manager) *ClusterManager
NewClusterManager creates a new ClusterManager.
func (*ClusterManager) CanDeleteNamespace ¶
func (cm *ClusterManager) CanDeleteNamespace(ctx context.Context, app *apps.Instance, ns *namespace.Namespace) error
CanDeleteNamespace implements namespace.DeletionHandler.
func (*ClusterManager) DeleteNamespace ¶
func (cm *ClusterManager) DeleteNamespace(ctx context.Context, app *apps.Instance, ns *namespace.Namespace) error
DeleteNamespace implements namespace.DeletionHandler.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewDirServer ¶
func NewInMemoryServer ¶
func NewInMemoryServer() *Server
Click to show internal directories.
Click to hide internal directories.