devserver

package
v0.0.0-...-611bec0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resources

type Resources interface {
	Resolve(ctx context.Context, resources []declaration.Resource) ([]binding.Resolved, error)
	Services() bindingproxy.Services
}

type Server

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

func New

func New(url string, resources Resources) *Server

func (*Server) AppToken

func (s *Server) AppToken() string

func (*Server) DiscoveryTarget

func (s *Server) DiscoveryTarget() discovery.Server

func (*Server) Mux

func (s *Server) Mux() *http.ServeMux

func (*Server) PublicKeys

func (s *Server) PublicKeys(apps []variables.App) []string

func (*Server) PushEnv

func (s *Server) PushEnv(env map[string]string)

func (*Server) RefuseIncompleteEnv

func (s *Server) RefuseIncompleteEnv(ctx context.Context) error

func (*Server) ResetDeclarations

func (s *Server) ResetDeclarations()

func (*Server) ResourceKinds

func (s *Server) ResourceKinds() []string

func (*Server) ScopedFolders

func (s *Server) ScopedFolders() map[string][]string

func (*Server) SyncResults

func (s *Server) SyncResults() <-chan SyncResult

func (*Server) TakeSDKRefusal

func (s *Server) TakeSDKRefusal() error

func (*Server) UseValues

func (s *Server) UseValues(values map[string]string, scope variables.Scope)

type SyncResult

type SyncResult struct {
	Resources    []binding.Resolved
	DevServerURL string
	AppToken     string
	SecretValues map[string]string
	SecretKeys   []string
	Err          error
}

Jump to

Keyboard shortcuts

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