opatestserver

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeBundleServer

func InitializeBundleServer(lc fx.Lifecycle, server *sdktest.Server)

func NewBundleServer

func NewBundleServer(ctx context.Context, opts ...BundleServerOptions) (*sdktest.Server, error)

Types

type BundleServerConfig

type BundleServerConfig struct {
	BundleName    string
	BundleSources []fs.FS
}

type BundleServerOptions

type BundleServerOptions func(cfg *BundleServerConfig)

func WithBundleName

func WithBundleName(name string) BundleServerOptions

WithBundleName is a BundleServerOptions to set bundle name

func WithBundleSources

func WithBundleSources(fsys ...fs.FS) BundleServerOptions

WithBundleSources is a BundleServerOptions to add bundle sources from bundle system

Jump to

Keyboard shortcuts

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