Documentation ¶
Index ¶
- func NewGroupVersionForDiscovery(gv schema.GroupVersion) metav1.GroupVersionForDiscovery
- func StartDefaultDynamicAPIServer(ctx server.PostStartHookContext) error
- func StartDynamicResourceFactoryWithConfigMapInformer(stopCh <-chan struct{})
- type DynamicAPIServer
- func (in *DynamicAPIServer) AddGroupDiscovery(gv schema.GroupVersion)
- func (in *DynamicAPIServer) AddGroupVersionResourceHandler(gvr schema.GroupVersionResource, storage rest.Storage) error
- func (in *DynamicAPIServer) AddResource(r ResourceProvider) error
- func (in *DynamicAPIServer) AddScheme(gvk schema.GroupVersionKind, storage rest.Storage)
- func (in *DynamicAPIServer) RemoveGroupDiscovery(gv schema.GroupVersion)
- func (in *DynamicAPIServer) RemoveGroupVersionResourceHandler(gvr schema.GroupVersionResource, storage rest.Storage) error
- func (in *DynamicAPIServer) RemoveResource(r ResourceProvider) error
- func (in *DynamicAPIServer) RemoveScheme(gvk schema.GroupVersionKind)
- type ResourceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGroupVersionForDiscovery ¶
func NewGroupVersionForDiscovery(gv schema.GroupVersion) metav1.GroupVersionForDiscovery
func StartDefaultDynamicAPIServer ¶
func StartDefaultDynamicAPIServer(ctx server.PostStartHookContext) error
StartDefaultDynamicAPIServer run default dynamic apiserver in backend
func StartDynamicResourceFactoryWithConfigMapInformer ¶
func StartDynamicResourceFactoryWithConfigMapInformer(stopCh <-chan struct{})
Types ¶
type DynamicAPIServer ¶
type DynamicAPIServer struct {
// contains filtered or unexported fields
}
var DefaultDynamicAPIServer *DynamicAPIServer
func NewDynamicAPIServer ¶
func NewDynamicAPIServer(svr *server.GenericAPIServer, config *server.Config) *DynamicAPIServer
func (*DynamicAPIServer) AddGroupDiscovery ¶
func (in *DynamicAPIServer) AddGroupDiscovery(gv schema.GroupVersion)
func (*DynamicAPIServer) AddGroupVersionResourceHandler ¶
func (in *DynamicAPIServer) AddGroupVersionResourceHandler(gvr schema.GroupVersionResource, storage rest.Storage) error
func (*DynamicAPIServer) AddResource ¶
func (in *DynamicAPIServer) AddResource(r ResourceProvider) error
func (*DynamicAPIServer) AddScheme ¶
func (in *DynamicAPIServer) AddScheme(gvk schema.GroupVersionKind, storage rest.Storage)
func (*DynamicAPIServer) RemoveGroupDiscovery ¶
func (in *DynamicAPIServer) RemoveGroupDiscovery(gv schema.GroupVersion)
func (*DynamicAPIServer) RemoveGroupVersionResourceHandler ¶
func (in *DynamicAPIServer) RemoveGroupVersionResourceHandler(gvr schema.GroupVersionResource, storage rest.Storage) error
func (*DynamicAPIServer) RemoveResource ¶
func (in *DynamicAPIServer) RemoveResource(r ResourceProvider) error
func (*DynamicAPIServer) RemoveScheme ¶
func (in *DynamicAPIServer) RemoveScheme(gvk schema.GroupVersionKind)
type ResourceProvider ¶
type ResourceProvider interface { rest.Storage GetGroupVersion() schema.GroupVersion GetGroupVersionKind() schema.GroupVersionKind GetGroupVersionResource() schema.GroupVersionResource }
Click to show internal directories.
Click to hide internal directories.