Documentation
¶
Index ¶
- func ExecuteInPod(namespace string, name string, container string, command []string, ...) error
- func GetNotebookPod(namespace string, notebookName string) (*v1.Pod, error)
- func GetPodLogs(pod v1.Pod, container string, follow bool) error
- func GetWorkspacePod(namespace string, workspacName string) (*v1.Pod, error)
- func GetWorkspaceVolumes(namespace string, notebookName string) ([]v1.PersistentVolumeClaim, error)
- func ReadSecret(name string, namespace string) (*v1.Secret, error)
- func WaitForDeployment(name, namespace string, waitTimeout uint) error
- func WaitUntilPodIsReady(name, namespace string) error
- type Client
- type ConfigMapper
- type FileMap
- type PortForward
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteInPod ¶
func GetWorkspaceVolumes ¶
func GetWorkspaceVolumes(namespace string, notebookName string) ([]v1.PersistentVolumeClaim, error)
func WaitForDeployment ¶
func WaitUntilPodIsReady ¶
Types ¶
type Client ¶
type Client struct { CoreV1 *kubernetes.Clientset Config *rest.Config Namespace string }
func InitClient ¶
func (*Client) CreateDialer ¶
func (*Client) ForwardPorts ¶
type ConfigMapper ¶
type ConfigMapper struct {
// contains filtered or unexported fields
}
func NewConfigMapper ¶
func NewConfigMapper(files []FileMap) ConfigMapper
func (*ConfigMapper) BuildConfigMap ¶
func (o *ConfigMapper) BuildConfigMap(namespace, name string) error
type PortForward ¶
type PortForward struct { ReadyChannel chan struct{} StopChannel chan struct{} Name string Namespace string ForwardedPorts []portforward.ForwardedPort }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.