Documentation ¶
Index ¶
- type CachedDiscoveryClient
- func (r *CachedDiscoveryClient) APIResources(ctx context.Context, proxy types.NamespacedName, branch string) ([]*discoverypb.APIResource, error)
- func (r *CachedDiscoveryClient) Close() error
- func (r *CachedDiscoveryClient) Invalidate()
- func (r *CachedDiscoveryClient) Watch(ctx context.Context, req *discoverypb.Watch_Request) chan *discoverypb.Watch_Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedDiscoveryClient ¶
type CachedDiscoveryClient struct {
// contains filtered or unexported fields
}
func (*CachedDiscoveryClient) APIResources ¶
func (r *CachedDiscoveryClient) APIResources(ctx context.Context, proxy types.NamespacedName, branch string) ([]*discoverypb.APIResource, error)
func (*CachedDiscoveryClient) Close ¶
func (r *CachedDiscoveryClient) Close() error
func (*CachedDiscoveryClient) Invalidate ¶
func (r *CachedDiscoveryClient) Invalidate()
func (*CachedDiscoveryClient) Watch ¶
func (r *CachedDiscoveryClient) Watch(ctx context.Context, req *discoverypb.Watch_Request) chan *discoverypb.Watch_Response
Click to show internal directories.
Click to hide internal directories.