v1

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: 4 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=moodlecontroller.kubeplus

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: moodlecontroller.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Moodle

type Moodle struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MoodleSpec   `json:"spec"`
	Status MoodleStatus `json:"status"`
}

Moodle is a specification for a Moodle resource +k8s:openapi-gen=true

func (*Moodle) DeepCopy

func (in *Moodle) DeepCopy() *Moodle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Moodle.

func (*Moodle) DeepCopyInto

func (in *Moodle) DeepCopyInto(out *Moodle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Moodle) DeepCopyObject

func (in *Moodle) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MoodleList

type MoodleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Moodle `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MoodleList is a list of Moodle resources

func (*MoodleList) DeepCopy

func (in *MoodleList) DeepCopy() *MoodleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MoodleList.

func (*MoodleList) DeepCopyInto

func (in *MoodleList) DeepCopyInto(out *MoodleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MoodleList) DeepCopyObject

func (in *MoodleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MoodleSpec

type MoodleSpec struct {
	//Comma separated list of plugin names from: https://moodle.org/plugins/
	Plugins []string `json:"plugins"`
	//MySQL Service name
	MySQLServiceName string `json:"mySQLServiceName"`
	//MySQL Username
	MySQLUserName string `json:"mySQLUserName"`
	//MySQL Password
	MySQLUserPassword string `json:"mySQLUserPassword"`
	//Moodle Admin Email
	MoodleAdminEmail string `json:"moodleAdminEmail"`
	//PVC Volume Name
	PVCVolumeName string `json:"PVCVolumeName"`
	//Domain Name
	DomainName string `json:"domainName"`
	//TLS Flag
	Tls string `json:"tls"`
}

MoodleSpec is the spec for a MoodleSpec resource +k8s:openapi-gen=true

func (*MoodleSpec) DeepCopy

func (in *MoodleSpec) DeepCopy() *MoodleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MoodleSpec.

func (*MoodleSpec) DeepCopyInto

func (in *MoodleSpec) DeepCopyInto(out *MoodleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MoodleStatus

type MoodleStatus struct {
	PodName            string   `json:"podName"`
	SecretName         string   `json:"secretName"`
	Status             string   `json:"status"`
	Url                string   `json:"url"`
	InstalledPlugins   []string `json:"installedPlugins"`
	UnsupportedPlugins []string `json:"unsupportedPlugins"`
}

MoodleStatus is the status for a Moodle resource +k8s:openapi-gen=true

func (*MoodleStatus) DeepCopy

func (in *MoodleStatus) DeepCopy() *MoodleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MoodleStatus.

func (*MoodleStatus) DeepCopyInto

func (in *MoodleStatus) DeepCopyInto(out *MoodleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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