Versions in this module Expand all Collapse all v0 v0.1.1 Apr 19, 2026 v0.1.0 Apr 19, 2026 Changes in this version + const ClusterAutoscalerSaveToEvictAnnotation + const DaemonConfigKey + const DevContainerName + const DevsyCreatedLabel + const DevsyInfoAnnotation + const DevsyLastAppliedAnnotation + const DevsyWorkspaceLabel + const DevsyWorkspaceUIDLabel + const InitContainerName + const OfficialDockerRegistry + var ExtraDevsyLabels = map[string]string + func DecodeAuthTokenFromPullSecret(secret *k8sv1.Secret, host string) (string, error) + func GetRegistryFromImageName(imageName string) (string, error) + func IsCritical(status *corev1.ContainerStatus) bool + func IsReady(status *corev1.ContainerStatus) bool + func IsRunning(status *corev1.ContainerStatus) bool + func IsStarted(status *corev1.ContainerStatus) bool + func IsTerminated(status *corev1.ContainerStatus) bool + func IsWaiting(status *corev1.ContainerStatus) bool + func NewKubernetesDriver(workspaceInfo *provider2.AgentWorkspaceInfo, log log.Logger) (driver.ReprovisioningDriver, error) + func PreparePullSecretData(registryURL, authToken, email string) (string, error) + func Succeeded(status *corev1.ContainerStatus) bool + type Client struct + func NewClient(kubeConfig, kubeContext string) (*Client, string, error) + func (c *Client) Client() *kubernetes.Clientset + func (c *Client) Config() *rest.Config + func (c *Client) Exec(ctx context.Context, options *ExecStreamOptions) error + func (c *Client) FullLogs(ctx context.Context, namespace, pod, container string) ([]byte, error) + func (c *Client) Logs(ctx context.Context, namespace, pod, container string, follow bool) (io.ReadCloser, error) + type DevContainerInfo struct + Options *driver.RunOptions + WorkspaceID string + type DockerConfig map[string]DockerConfigEntry + type DockerConfigEntry struct + Auth string + Email string + type DockerConfigJSON struct + Auths DockerConfig + type ExecStreamOptions struct + Command []string + Container string + Namespace string + Pod string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + type KubernetesDriver struct + Log log.Logger + func (k *KubernetesDriver) CanReprovision() bool + func (k *KubernetesDriver) CommandDevContainer(ctx context.Context, workspaceId, user, command string, stdin io.Reader, ...) error + func (k *KubernetesDriver) DeleteDaemonConfigSecret(ctx context.Context, secretName string) error + func (k *KubernetesDriver) DeleteDevContainer(ctx context.Context, workspaceId string) error + func (k *KubernetesDriver) DeleteSecret(ctx context.Context, secretName string) error + func (k *KubernetesDriver) EnsureDaemonConfigSecret(ctx context.Context, secretName string, data string) error + func (k *KubernetesDriver) EnsurePullSecret(ctx context.Context, pullSecretName string, dockerImage string) (bool, error) + func (k *KubernetesDriver) FindDevContainer(ctx context.Context, workspaceId string) (*config.ContainerDetails, error) + func (k *KubernetesDriver) GetDevContainerLogs(ctx context.Context, workspaceID string, stdout io.Writer, stderr io.Writer) error + func (k *KubernetesDriver) ReadSecretContents(ctx context.Context, pullSecretName string, host string) (string, error) + func (k *KubernetesDriver) RunDevContainer(ctx context.Context, workspaceId string, options *driver.RunOptions) error + func (k *KubernetesDriver) StartDevContainer(ctx context.Context, workspaceId string) error + func (k *KubernetesDriver) StopDevContainer(ctx context.Context, workspaceId string) error + func (k *KubernetesDriver) TargetArchitecture(ctx context.Context, workspaceId string) (string, error)