portal

package
v0.31.0 Latest Latest
Warning

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

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

Documentation

Overview

Package portal contains functions for listing routes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(cfg *config)

func WithBrowserCommand

func WithBrowserCommand(browserCommand string) Option

func WithJWTCache

func WithJWTCache(jwtCache jwt.Cache) Option

func WithServiceAccount

func WithServiceAccount(serviceAccount string) Option

func WithServiceAccountFile

func WithServiceAccountFile(serviceAccountFile string) Option

func WithTLSConfig

func WithTLSConfig(tlsConfig *tls.Config) Option

type Portal

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

func New

func New(options ...Option) *Portal

New creates a new Portal.

func (*Portal) ListRoutes

func (p *Portal) ListRoutes(ctx context.Context, rawServerURL string) ([]Route, error)

type Route

type Route = portal.Route

Jump to

Keyboard shortcuts

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