v1alpha1

package
v0.0.0-...-fc927da Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the esl-games.alsenz.github.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=esl-games.alsenz.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "esl-games.alsenz.github.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AuthSpec

type AuthSpec struct {
	Passcode     string    `json:"passcode,omitempty"`
	Login        LoginSpec `json:"login,omitempty"`
	FallbackMode bool      `json:"fallbackMode,omitempty"`
	Public       bool      `json:"public,omitempty"`
}

type Lesson

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

	Spec   LessonSpec   `json:"spec,omitempty"`
	Status LessonStatus `json:"status,omitempty"`
}

Lesson is the Schema for the lessons API

type LessonList

type LessonList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Lesson `json:"items"`
}

LessonList contains a list of Lesson

type LessonSpec

type LessonSpec struct {

	// Foo is an example field of Lesson. Edit Lesson_types.go to remove/update
	Code      string   `json:"code,omitempty"`
	LeaderUri string   `json:"leaderUri,omitempty"`
	PlanUri   string   `json:"planUri,omitempty"`
	Auth      AuthSpec `json:"auth,omitempty"`
}

LessonSpec defines the desired state of Lesson

type LessonStatus

type LessonStatus struct {
}

LessonStatus defines the observed state of Lesson

type LoginSpec

type LoginSpec struct {
	Required bool   `json:"required,omitempty"`
	Domain   string `json:"domain,omitempty"`
	Provider string `json:"provider,omitempty"`
}

Jump to

Keyboard shortcuts

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