controller

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MaxDeploymentSize int64
	StorageKeyPrefix  string
	HostIDScheme      config.HostIDScheme
	HostPattern       *config.HostPattern
	ReservedApps      map[string]struct{}
	TokenAuthority    string
	TokenSigningKey   []byte
	ACL               *watch.File[config.ACL]

	ServerVersion       string
	CustomDomainMessage string
}

type Controller

type Controller struct {
	Context context.Context
	Logger  *zap.Logger
	Clock   apptime.Clock
	Config  Config
	Storage *storage.Storage
	DB      db.DB
	// contains filtered or unexported fields
}

func (*Controller) Handler

func (c *Controller) Handler() http.Handler

Jump to

Keyboard shortcuts

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