Documentation ¶
Index ¶
- type Utils
- func (u *Utils) EnsurePluginsInstalled(moodle *operatorv1.Moodle, supportedPlugins []string, name, namespace string, ...) []string
- func (u *Utils) Exec(pluginName, moodlePodName, namespace, downloadLink, installFolder string) bool
- func (u *Utils) ExecuteExecCall(moodlePodName, namespace, command string) bool
- func (u *Utils) GetPodFullName(timeout int, podname, namespace string) (string, bool)
- func (u *Utils) GetSupportedPlugins(plugins []string) ([]string, []string)
- func (u *Utils) WaitForPod(timeout int, podname, namespace string) (string, bool)
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 (*Utils) ExecuteExecCall ¶
Reference for kubectl exec: - https://github.com/a4abhishek/Client-Go-Examples/blob/master/exec_to_pod/exec_to_pod.go - https://stackoverflow.com/questions/43314689/example-of-exec-in-k8ss-pod-by-using-go-client/43315545#43315545 - https://github.com/kubernetes/client-go/issues/204
func (*Utils) GetPodFullName ¶
func (*Utils) GetSupportedPlugins ¶
Click to show internal directories.
Click to hide internal directories.