Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultNamespaceDeletionTimeout = 10 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentManager ¶
type DeploymentManager struct {
// contains filtered or unexported fields
}
func NewDeploymentManager ¶
func NewDeploymentManager(cs kubernetes.Interface) *DeploymentManager
func (*DeploymentManager) WaitDeploymentReady ¶
func (m *DeploymentManager) WaitDeploymentReady(ctx context.Context, dp *appsv1.Deployment) (*appsv1.Deployment, error)
type IngressManager ¶
type IngressManager struct {
// contains filtered or unexported fields
}
func NewIngressManager ¶
func NewIngressManager(cs kubernetes.Interface) *IngressManager
func (*IngressManager) WaitIngressReady ¶
func (m *IngressManager) WaitIngressReady(ctx context.Context, ing *extensionsv1.Ingress) (*extensionsv1.Ingress, error)
type Manager ¶
type Manager struct { *NamespaceManager *DeploymentManager *ServiceManager *IngressManager }
func NewManager ¶
func NewManager(cs kubernetes.Interface) *Manager
type NamespaceManager ¶
type NamespaceManager struct {
// contains filtered or unexported fields
}
func NewNamespaceManager ¶
func NewNamespaceManager(cs kubernetes.Interface) *NamespaceManager
func (*NamespaceManager) CreateNamespaceUnique ¶
func (*NamespaceManager) DeleteNamespace ¶
func (m *NamespaceManager) DeleteNamespace(ctx context.Context, namespace string) error
DeleteNamespace deletes the provided namespace, waits for it to be completely deleted.
type ServiceManager ¶
type ServiceManager struct {
// contains filtered or unexported fields
}
func NewServiceManager ¶
func NewServiceManager(cs kubernetes.Interface) *ServiceManager
Click to show internal directories.
Click to hide internal directories.