utils

package
v0.0.0-...-c9bbdc1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Utils

type Utils struct {
	// contains filtered or unexported fields
}

func NewUtils

func NewUtils(
	_cfg *restclient.Config,
	_kubeclientset kubernetes.Interface) Utils

func (*Utils) EnsurePluginsInstalled

func (u *Utils) EnsurePluginsInstalled(moodle *operatorv1.Moodle,
	supportedPlugins []string,
	name,
	namespace string,
	pluginData map[string]map[string]string) []string

func (*Utils) Exec

func (u *Utils) Exec(pluginName, moodlePodName, namespace, downloadLink, installFolder string) bool

func (*Utils) GetPodFullName

func (u *Utils) GetPodFullName(timeout int, podname, namespace string) (string, bool)

func (*Utils) GetSupportedPlugins

func (u *Utils) GetSupportedPlugins(plugins []string) ([]string, []string)

func (*Utils) WaitForPod

func (u *Utils) WaitForPod(timeout int, podname, namespace string) (string, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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