Skip to content

Commit

Permalink
Merge pull request #403 from yue9944882/example-show-cases
Browse files Browse the repository at this point in the history
Docs: Adding README example show cases
  • Loading branch information
k8s-ci-robot committed Aug 27, 2019
2 parents 5d8eda2 + 348d44d commit 2f2a541
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 223 deletions.
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

0 comments on commit 2f2a541

Please sign in to comment.