Documentation ¶
Index ¶
- Variables
- type REST
- func (r *REST) Categories() []string
- func (r *REST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
- func (r *REST) ConnectMethods() []string
- func (r *REST) Destroy()
- func (r *REST) GetSingularName() string
- func (r *REST) NamespaceScoped() bool
- func (r *REST) New() runtime.Object
- func (r *REST) NewConnectOptions() (runtime.Object, bool, string)
- func (r *REST) ShortNames() []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConnectionCount = compbasemetrics.NewGauge(&compbasemetrics.GaugeOpts{ Namespace: category, Subsystem: metricSubsystem, Name: "count", Help: "Number of socket connections", StabilityLevel: compbasemetrics.ALPHA, }) ConnectionDurationSeconds = compbasemetrics.NewHistogram( &compbasemetrics.HistogramOpts{ Namespace: category, Subsystem: metricSubsystem, Name: "duration_seconds", Help: "Active socket connection duration in seconds", Buckets: compbasemetrics.ExponentialBuckets(60, 4, 8), StabilityLevel: compbasemetrics.ALPHA, }, ) )
Functions ¶
This section is empty.
Types ¶
type REST ¶
REST implements a RESTStorage for Proxies API
func (*REST) Categories ¶
func (*REST) Connect ¶
func (r *REST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the websocket connection
func (*REST) ConnectMethods ¶
ConnectMethods returns the list of HTTP methods that can be proxied
func (*REST) GetSingularName ¶ added in v0.17.0
func (*REST) NamespaceScoped ¶
func (*REST) NewConnectOptions ¶
NewConnectOptions returns versioned resource that represents proxy parameters
func (*REST) ShortNames ¶
Click to show internal directories.
Click to hide internal directories.