flb

package
v1.1.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package flb implements the controller for Flomesh Load Balancer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReconciler

func NewReconciler(ctx *fctx.ControllerContext) controllers.Reconciler

NewReconciler returns a new reconciler for Service

Types

type AuthRequest

type AuthRequest struct {
	Identifier string `json:"identifier"`
	Password   string `json:"password"`
}

AuthRequest is the request body for FLB authentication

type AuthResponse

type AuthResponse struct {
	Token string `json:"jwt"`
}

AuthResponse is the response body for FLB authentication

type BalancerAPIResponse

type BalancerAPIResponse struct {
	LBIPs []string `json:"LBIPs"`
}

BalancerAPIResponse is the response body for FLB API

Jump to

Keyboard shortcuts

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