Documentation ¶
Index ¶
- type CourseServer
- func (c CourseServer) AppendDynamicScenariosByCategories(scenariosList []string, categories []string) []string
- func (c CourseServer) CreateFunc(w http.ResponseWriter, r *http.Request)
- func (c CourseServer) DeleteFunc(w http.ResponseWriter, r *http.Request)
- func (c CourseServer) GetCourse(w http.ResponseWriter, r *http.Request)
- func (c CourseServer) GetCourseById(id string) (hfv1.Course, error)
- func (c CourseServer) ListCoursesForAccesscode(w http.ResponseWriter, r *http.Request)
- func (c CourseServer) ListFunc(w http.ResponseWriter, r *http.Request)
- func (c CourseServer) SetupRoutes(r *mux.Router)
- func (c CourseServer) UpdateFunc(w http.ResponseWriter, r *http.Request)
- type PreparedCourse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CourseServer ¶
type CourseServer struct {
// contains filtered or unexported fields
}
func NewCourseServer ¶
func NewCourseServer(authClient *authclient.AuthClient, acClient *accesscode.AccessCodeClient, hfClientset hfClientset.Interface, hfInformerFactory hfInformers.SharedInformerFactory, ctx context.Context) (*CourseServer, error)
func (CourseServer) AppendDynamicScenariosByCategories ¶ added in v1.0.0
func (c CourseServer) AppendDynamicScenariosByCategories(scenariosList []string, categories []string) []string
func (CourseServer) CreateFunc ¶ added in v0.1.9
func (c CourseServer) CreateFunc(w http.ResponseWriter, r *http.Request)
func (CourseServer) DeleteFunc ¶ added in v0.1.9
func (c CourseServer) DeleteFunc(w http.ResponseWriter, r *http.Request)
func (CourseServer) GetCourse ¶
func (c CourseServer) GetCourse(w http.ResponseWriter, r *http.Request)
func (CourseServer) GetCourseById ¶
func (c CourseServer) GetCourseById(id string) (hfv1.Course, error)
func (CourseServer) ListCoursesForAccesscode ¶ added in v0.1.9
func (c CourseServer) ListCoursesForAccesscode(w http.ResponseWriter, r *http.Request)
func (CourseServer) ListFunc ¶ added in v0.1.9
func (c CourseServer) ListFunc(w http.ResponseWriter, r *http.Request)
func (CourseServer) SetupRoutes ¶
func (c CourseServer) SetupRoutes(r *mux.Router)
func (CourseServer) UpdateFunc ¶ added in v0.1.9
func (c CourseServer) UpdateFunc(w http.ResponseWriter, r *http.Request)
type PreparedCourse ¶
type PreparedCourse struct { Id string `json:"id"` hfv1.CourseSpec }
Click to show internal directories.
Click to hide internal directories.