channelserver

package
v0.0.0-...-2145c8e Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultByRuntimeAndServerVersion

func GetDefaultByRuntimeAndServerVersion(ctx context.Context, runtime, serverVersion string) string

func GetReleaseConfigByRuntime

func GetReleaseConfigByRuntime(ctx context.Context, runtime string) *config.Config

func GetReleaseConfigByRuntimeAndVersion

func GetReleaseConfigByRuntimeAndVersion(ctx context.Context, runtime, kubernetesVersion string) model.Release

func GetURLAndInterval

func GetURLAndInterval() (string, time.Duration)

func NewHandler

func NewHandler(ctx context.Context) http.Handler

func Refresh

func Refresh()

Types

type DynamicInterval

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

func (*DynamicInterval) Wait

func (d *DynamicInterval) Wait(ctx context.Context) bool

type DynamicSource

type DynamicSource struct{}

func (*DynamicSource) URL

func (d *DynamicSource) URL() string

Jump to

Keyboard shortcuts

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