Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentManager ¶
type EnvironmentManager struct { client.Client NamespaceName string // contains filtered or unexported fields }
func New ¶
func New(c client.Client, kls *kuberlogiccomv1alpha1.KuberLogicService, cfg *config.Config) *EnvironmentManager
func (*EnvironmentManager) PauseService ¶
func (e *EnvironmentManager) PauseService(ctx context.Context) error
PauseService deletes all pods in a service namespace. In addition to this resourceQuota in SetupEnv sets the hard limit of non-exited pods to 0.
func (*EnvironmentManager) ResumeService ¶
func (e *EnvironmentManager) ResumeService(ctx context.Context) error
type ServicePodWebhook ¶
func (*ServicePodWebhook) InjectDecoder ¶
func (m *ServicePodWebhook) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.