openapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbProvider

type AlbProvider struct {
	// contains filtered or unexported fields
}

func NewAlbProvider

func NewAlbProvider(opts *externalLB.Options) *AlbProvider

func (*AlbProvider) DeleteProductPoolByList

func (p *AlbProvider) DeleteProductPoolByList(ctx context.Context, poollist ProductPoolnameList) (ProductPoolnameList, error)

func (*AlbProvider) EnsureProductPool

func (p *AlbProvider) EnsureProductPool(ctx context.Context, product string, service *v1.Service,
	ep *v1.Endpoints, clusterName string) ([]string, error)

type OpenApiClient

type OpenApiClient struct {
	// contains filtered or unexported fields
}

func NewOpenApiClient

func NewOpenApiClient(addr, token string, timeout int) *OpenApiClient

func (*OpenApiClient) CreateProductPool

func (c *OpenApiClient) CreateProductPool(product string, req *product_pool.UpsertParam) (*product_pool.OneRsp, int, error)

func (*OpenApiClient) DeleteProductPool

func (c *OpenApiClient) DeleteProductPool(product string, name string) error

func (*OpenApiClient) GetProductPool

func (c *OpenApiClient) GetProductPool(product string, name string) (*product_pool.OneRsp, int, error)

func (*OpenApiClient) ListProductPool

func (c *OpenApiClient) ListProductPool(product string) (*[]string, int, error)

func (*OpenApiClient) UpdateProductPool

func (c *OpenApiClient) UpdateProductPool(product string, req *product_pool.UpsertParam) (*product_pool.OneRsp, int, error)

type ProductPoolname

type ProductPoolname struct {
	Product  string
	Poolname string
}

type ProductPoolnameList

type ProductPoolnameList []ProductPoolname

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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