v1

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package v1 provides the API server for the application. It includes common API definitions and utilities for version 1 of the API.

Index

Constants

View Source
const (
	// APIVersion is the version of the API.
	APIVersion = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListMeta

type ListMeta struct {
	Continue           string `json:"continue"`
	RemainingItemCount int64  `json:"remainingItemCount"`

} // @name ListMeta

ListMeta is a struct that contains metadata for list responses.

type ListResponse

type ListResponse[T any] struct {
	Kind       string   `json:"kind"`
	APIVersion string   `json:"apiVersion"`
	Metadata   ListMeta `json:"metadata"`
	Items      []T      `json:"items"`

} // @name ListResponse

ListResponse is a struct that represents the response for listing agents.

Directories

Path Synopsis
Package agent provides the agent API for the server
Package agent provides the agent API for the server
Package agentgroup provides the agentgroup API for the server
Package agentgroup provides the agentgroup API for the server
Package auth provides the authentication api for the opampcommander application
Package auth provides the authentication api for the opampcommander application
Package command provides the command api model for opampcommander.
Package command provides the command api model for opampcommander.
Package connection provides the connection model and its methods
Package connection provides the connection model and its methods
Package ping provides the ping controller for the HTTP API.
Package ping provides the ping controller for the HTTP API.
Package server provides the API models for server management.
Package server provides the API models for server management.
Package version provides api model for version information.
Package version provides api model for version information.

Jump to

Keyboard shortcuts

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