Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Scheme defines methods for serializing and deserializing API objects. Scheme = runtime.NewScheme() // Codecs provides methods for retrieving codecs and serializers for specific // versions and content types. Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
func NewCRDHandler ¶ added in v0.5.0
func NewCRDHandler(kubeRESTClient restclient.Interface, clusternetClient *clusternet.Clientset, manifestLister applisters.ManifestLister, apiserviceLister apiservicelisters.APIServiceLister, crdInformer apiextensionsinformers.CustomResourceDefinitionInformer, minRequestTimeout int, maxRequestBodyBytes int64, admissionControl admission.Interface, authorizer authorizer.Authorizer, serializer runtime.NegotiatedSerializer, reservedNamespace string) *crdHandler
Types ¶
type ShadowAPIServer ¶
type ShadowAPIServer struct { GenericAPIServer *genericapiserver.GenericAPIServer // contains filtered or unexported fields }
ShadowAPIServer will make a shadow copy for all the APIs
func NewShadowAPIServer ¶
func NewShadowAPIServer(apiserver *genericapiserver.GenericAPIServer, maxRequestBodyBytes int64, minRequestTimeout int, admissionControl admission.Interface, kubeRESTClient restclient.Interface, clusternetclient *clusternet.Clientset, manifestLister applisters.ManifestLister, apiserviceLister apiservicelisters.APIServiceLister, crdInformerFactory crdinformers.SharedInformerFactory, reservedNamespace string) *ShadowAPIServer
func (*ShadowAPIServer) InstallShadowAPIGroups ¶
func (ss *ShadowAPIServer) InstallShadowAPIGroups(stopCh <-chan struct{}, cl discovery.DiscoveryInterface) error
Click to show internal directories.
Click to hide internal directories.