kuberlogicservice_env

package
v0.0.0-...-4df37e3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

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 (*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

func (*EnvironmentManager) SetupEnv

func (e *EnvironmentManager) SetupEnv(ctx context.Context) error

SetupEnv checks if KLS environment is present and creates it if it is not

type ServicePodWebhook

type ServicePodWebhook struct {
	Client client.Client
	// contains filtered or unexported fields
}

func (*ServicePodWebhook) Handle

func (*ServicePodWebhook) InjectDecoder

func (m *ServicePodWebhook) InjectDecoder(d *admission.Decoder) error

Jump to

Keyboard shortcuts

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