Versions in this module Expand all Collapse all v0 v0.1.1 Sep 20, 2025 Changes in this version type APIServer + func (s *APIServer) GetConfig() *rest.Config v0.1.0 Sep 4, 2025 Changes in this version + const DefaultAPIServerPort + type APIServer struct + func NewAPIServer(config Config) (*APIServer, error) + func (s *APIServer) GetScheme() *runtime.Scheme + func (s *APIServer) GetServerAddress() string + func (s *APIServer) RegisterAPIGroup(group string, gvks []schema.GroupVersionKind) error + func (s *APIServer) RegisterGVKs(gvks []schema.GroupVersionKind) error + func (s *APIServer) Start(ctx context.Context) error + func (s *APIServer) UnregisterAPIGroup(group string) + func (s *APIServer) UnregisterGVKs(gvks []schema.GroupVersionKind) + type ClientDelegatedStorage struct + func (s *ClientDelegatedStorage) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) + func (s *ClientDelegatedStorage) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error) + func (s *ClientDelegatedStorage) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, ...) (runtime.Object, bool, error) + func (s *ClientDelegatedStorage) DeleteCollection(ctx context.Context, deleteValidation rest.ValidateObjectFunc, ...) (runtime.Object, error) + func (s *ClientDelegatedStorage) Destroy() + func (s *ClientDelegatedStorage) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) + func (s *ClientDelegatedStorage) GetSingularName() string + func (s *ClientDelegatedStorage) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error) + func (s *ClientDelegatedStorage) NamespaceScoped() bool + func (s *ClientDelegatedStorage) New() runtime.Object + func (s *ClientDelegatedStorage) NewList() runtime.Object + func (s *ClientDelegatedStorage) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error) + func (s *ClientDelegatedStorage) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error) + type CompositeCodec struct + func NewCompositeCodec(defaultCodec runtime.Codec, encoder runtime.Encoder) *CompositeCodec + func (c *CompositeCodec) Encode(obj runtime.Object, w io.Writer) error + type CompositeCodecFactory struct + func NewCompositeCodecFactory(defaultFactory serializer.CodecFactory, scheme *runtime.Scheme) *CompositeCodecFactory + func (f *CompositeCodecFactory) CodecForVersions(encoder runtime.Encoder, decoder runtime.Decoder, ...) runtime.Codec + func (f *CompositeCodecFactory) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder + func (f *CompositeCodecFactory) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder + func (f *CompositeCodecFactory) SupportedMediaTypes() []runtime.SerializerInfo + type Config struct + Addr *net.TCPAddr + DelegatingClient client.Client + DiscoveryClient composite.ViewDiscoveryInterface + Logger logr.Logger + UseHTTP bool + func NewDefaultConfig(addr string, port int, client client.Client, insecure bool, log logr.Logger) (Config, error) + func (c *Config) String() string + type GroupGVKs = map[string]map[schema.GroupVersionKind]bool + type RESTOptionsGetter struct + func (r *RESTOptionsGetter) GetRESTOptions(resource schema.GroupResource, example runtime.Object) (generic.RESTOptions, error) + type Resource struct + APIResource *metav1.APIResource + GVK schema.GroupVersionKind + HasStatus bool + type StorageProvider func(*runtime.Scheme, generic.RESTOptionsGetter) (rest.Storage, error) + func NewClientDelegatedStorage(delegatingClient client.Client, resource *Resource, log logr.Logger) StorageProvider