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
dax f5744043a6 Refactor set of cluster scoped handlers
Problem: Cluster scoped gc was taking significantly longer to complete
than before 7387aa5. This was due to a large number of list calls and
the time needed to iterate over them.

Solution: Instead of requesting every type than Rancher uses, a
seperate map appended to when a cluster scoped handler
is created. The full map of all GroupVersionResources is kept as a
fallback for the use case where user controllers may exist on another
host other than the current leader.
2019-05-28 18:48:15 -07:00
api set secure for CSRF cookie 2019-05-01 13:29:53 -07:00
authorization Add CanDo function to AccessControl interface 2018-04-25 20:14:41 -07:00
clientbase Merge pull request #259 from Mikulas/domodify-nil 2019-03-28 12:10:53 -07:00
condition Add Track method 2018-11-26 08:33:11 -07:00
controller Fix bug that doesn't print errors 2019-02-01 15:05:55 -07:00
example Major refactor of subcontexts 2018-02-09 13:45:22 -07:00
generator Refactor set of cluster scoped handlers 2019-05-28 18:48:15 -07:00
httperror Add IsNotFound error check 2019-04-23 13:13:43 -07:00
leader Update dev mode env var to CATTLE_DEV_MODE 2019-05-03 08:59:02 -07:00
lifecycle Force nil values to nil,nil interface 2018-12-17 15:43:21 -07:00
metrics Add Generic Controller Related Metrics 2018-10-05 14:36:58 +09:00
name Special handling for endpoints plural name 2018-01-12 19:15:37 +00:00
objectclient Fix concurrent map read/write 2019-02-12 13:06:49 -07:00
package Initial Commit 2017-10-11 22:48:07 -07:00
parse Add no pagination option 2019-04-05 16:42:43 -07:00
pkg Assign bearer token to InClusterConfig 2019-02-27 15:32:26 -07:00
resource Refactor set of cluster scoped handlers 2019-05-28 18:48:15 -07:00
restwatch Adding code to address aks timeout issue 2019-02-22 09:58:55 -07:00
scripts Make k8s 1.12 leader election the default 2018-10-23 22:48:23 -07:00
signal Move gorouting dump 2018-01-22 23:53:21 +00:00
store Do not wrap a wrapped schema store 2019-05-01 13:00:08 -07:00
types Track namespaces in options property 2019-04-05 17:12:04 -07:00
urlbuilder Allow API to run through k8s service proxy 2018-07-19 10:23:17 -07:00
vendor Vendor changes 2019-04-05 10:24:14 -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
build.go Allow discovery of API clients 2019-01-11 16:56:51 -07:00
Dockerfile.dapper Switch to go 1.11 2018-09-25 11:43:11 -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
types.go Add CustomizeSchemas builder hook 2018-11-09 10:05:15 -07:00
vendor.conf Vendor changes 2019-04-05 10:24:14 -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.