Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Adding README example show cases #403

Merged
merged 3 commits into from
Aug 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ same capabilities when building from scratch.
- Easily add new resources and subresources
- Provides sane defaults for most values, but can be overridden

## Examples

- [BasicExample](https://sigs.k8s.io/apiserver-builder-alpha/example/basic): Various simple resource examples.
- [KineExample](https://sigs.k8s.io/apiserver-builder-alpha/example/kine): Plumbs aggregated apiserver over SQL-storages including sqlite, mysql, etc..
- [PodLogsExample](https://sigs.k8s.io/apiserver-builder-alpha/example/podlogs): Serves `pod/logs` in aggregation layer to offload kube-apiserver connections.
- [PodExecExample](https://sigs.k8s.io/apiserver-builder-alpha/example/podexec): Serves `pod/exec` in aggregation layer to offload kube-apiserver connections.

## Guides

**Note:** The guides are presented roughly in the order of recommended progression.
Expand Down
88 changes: 0 additions & 88 deletions example/basic/pkg/apis/miskatonic/book_student_rest.go

This file was deleted.

69 changes: 0 additions & 69 deletions example/basic/pkg/apis/miskatonic/pencil_student_rest.go

This file was deleted.

31 changes: 0 additions & 31 deletions example/basic/pkg/apis/miskatonic/v1beta1/book_student_types.go

This file was deleted.

33 changes: 0 additions & 33 deletions example/basic/pkg/apis/miskatonic/v1beta1/pencil_student_types.go

This file was deleted.

2 changes: 0 additions & 2 deletions example/basic/pkg/apis/miskatonic/v1beta1/student_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ import (
// +k8s:openapi-gen=true
// +resource:path=students,rest=StudentREST
// +subresource:request=StudentComputer,path=computer,kind=StudentComputer,rest=StudentComputerREST
// +subresource:request=StudentBook,path=book,kind=StudentBook,rest=StudentBookREST
// +subresource:request=StudentPencil,path=pencil,kind=StudentPencil,rest=StudentPencilREST
type Student struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down