1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-01 23:41:24 +00:00
mirror from GitHub
Go to file
Donnie Adams eb95d28e82 Stop ignoring id fields for sub-schemas
When generating types, any field with name "id" was being skipped. The intention
here was to skip the "id" field of the embedded types.Resource struct. A type
will have an embedded types.Resource struct when the hasGet function returns
true. Therefore, this hasGet function is also used to skip the id fields as
desired.
2021-11-29 16:19:56 -07:00
api Set x-frame-options to sameorigin 2021-04-22 17:08:42 -07:00
authorization Add CanDo function to AccessControl interface 2018-04-25 20:14:41 -07:00
clientbase Introduce proxy support 2020-01-07 17:40:07 +01:00
condition Add Track method 2018-11-26 08:33:11 -07:00
controller Don't filter out nil objects 2020-08-26 21:25:00 -07:00
example added typer to store 2021-10-25 08:50:05 -07:00
generator Stop ignoring id fields for sub-schemas 2021-11-29 16:19:56 -07:00
httperror Support unwrapping errors to find httperror.APIError 2020-07-27 22:55:37 -07:00
lifecycle Force nil values to nil,nil interface 2018-12-17 15:43:21 -07:00
metrics Move session metrics to remotedialer 2020-01-29 08:49:56 -08:00
objectclient Set creator field again from norman 2020-08-26 13:57:26 -07:00
package Initial Commit 2017-10-11 22:48:07 -07:00
parse Add norman field attribute "pointer" 2021-06-07 16:33:59 -07:00
pkg Start k3s with embedded etcd 2021-11-02 16:20:08 -04:00
resource Refactor set of cluster scoped handlers 2019-05-28 18:48:15 -07:00
restwatch Move ratelimit to wrangler 2020-02-01 22:12:02 -07:00
scripts Make k8s 1.12 leader election the default 2018-10-23 22:48:23 -07:00
store added typer to store 2021-10-25 08:50:05 -07:00
types Add norman field attribute "pointer" 2021-06-07 16:33:59 -07:00
urlbuilder Sync URL parsing logic with Steve 2020-04-16 23:02:30 -07:00
vendor added typer to store 2021-10-25 08:50:05 -07:00
.dockerignore More initial dev 2017-11-10 21:46:30 -07:00
.drone.yml drone 1.x syntax 2019-03-19 10:27:25 -07:00
.gitignore Fixes to adapt to 1.10.5 2018-07-11 16:44:45 -07:00
Dockerfile.dapper Update to go 1.13 2020-03-26 13:17:36 -07:00
go.mod Update vendor 2020-08-26 13:57:26 -07:00
go.sum added typer to store 2021-10-25 08:50:05 -07:00
LICENSE Initial Commit 2017-10-11 22:48:07 -07:00
Makefile Switch to go 1.11 2018-09-25 11:43:11 -07:00
README.md Update readme to refer to go-skel 2018-10-31 14:26:47 -07:00

Norman

An API framework for Building Rancher Style APIs backed by K8s CustomResources and their controllers.

Example

Refer to https://github.com/rancher/go-skel for skeleton norman controller projects

License

Copyright (c) 2014-2017 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.