internal

package
v0.0.0-...-eb519e2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNotFail

func MustNotFail(err error)

func MustReturn

func MustReturn[T any](obj T, err error) T

Types

type ACL

type ACL struct {
	Deployers []*ACLDeployer `yaml:"deployers"`
}

func NewACL

func NewACL(aclFilePath string) *ACL

func (*ACL) MatchNetworkAttachment

func (a *ACL) MatchNetworkAttachment(username string, networkName string) bool

func (*ACL) MatchServicePrefix

func (a *ACL) MatchServicePrefix(username string, serviceName string) bool

func (*ACL) VerifyUser

func (a *ACL) VerifyUser(username string, password string) bool

type ACLDeployer

type ACLDeployer struct {
	Username           string   `yaml:"username"`
	PasswordHash       string   `yaml:"password_hash"`
	ServicePrefix      string   `yaml:"service_prefix"`
	NetworkAttachments []string `yaml:"network_attachments"`
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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