capabilities

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package capabilities advertises API v2 operations and server-enforced limits. It does not define user interface preferences or feature-rollout policy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	APIVersion string
	Operations []string
	Limits     Limits
}

Capabilities describes the API v2 operations and limits available from a server.

type Limits

type Limits struct {
	DefaultPageSize     int
	MaximumPageSize     int
	MaximumLogLines     int
	MaximumMetricPoints int
}

Limits defines server-enforced bounds that API v2 clients must observe.

type Service

type Service struct{}

Service provides the API v2 discovery document. It does not own UI preferences.

func NewService

func NewService() *Service

NewService creates the API v2 capability service.

func (*Service) GetCapabilities

func (s *Service) GetCapabilities() Capabilities

GetCapabilities describes API v2 operations and limits available from this server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL