package
0.0.0-20250106104712-c9ecf6f8c9a3
Repository: https://github.com/beamlit/beamlit-controller.git
Documentation: pkg.go.dev

# README

API

Version management

Handling versioning is done by the API server. The API server will only serve the latest version of the API.

Version v1alpha1

Routes

Register Route

POST /v1alpha1/routes

{
    "name": "my-route",
    "hostnames": ["example.com"],
    "backends": [
        {
            "host": "example.com:8080",
            "weight": 2,
            "scheme": "https"
        },
        {
            "addr": "example.com:8081",
            "weight": 1,
            "scheme": "http"
        }
    ]
}

Get Route

GET /v1alpha1/routes/{name}

Delete Route

DELETE /v1alpha1/routes/{name}

Update Route

PUT /v1alpha1/routes/{name}

{
    "name": "my-route",
    "hostnames": ["example.com"],
    "backends": [
        ...
    ]
}

# Packages

No description provided by the author

# Functions

No description provided by the author
nolint:gocyclo,dupl.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author