Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=moodlecontroller.kubeplus
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: moodlecontroller.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Moodle.
func (*Moodle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Moodle) DeepCopyObject ¶
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.