httphandler

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceInstanceHandler

func ResourceInstanceHandler(manager *provider.Manager) http.HandlerFunc

ResourceInstanceHandler returns an HTTP handler for get (GET), plan/apply (PATCH), and destroy (DELETE) of a single resource instance.

func ResourceInstanceSpec

func ResourceInstanceSpec() *openapi.PathItem

ResourceInstanceSpec returns the OpenAPI path-item for the single-instance endpoint.

func ResourceListHandler

func ResourceListHandler(manager *provider.Manager) http.HandlerFunc

ResourceListHandler returns an HTTP handler that lists resource types (GET) and creates new resource instances (POST).

func ResourceListSpec

func ResourceListSpec() *openapi.PathItem

ResourceListSpec returns the OpenAPI path-item for the resource list endpoint.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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