Thanks to visit codestin.com
Credit goes to pkg.go.dev

portsharing

package
v2.21.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AGPLPortSharer

type AGPLPortSharer struct{}

func (AGPLPortSharer) AuthorizedLevel added in v2.12.0

func (AGPLPortSharer) ConvertMaxLevel added in v2.12.0

func (AGPLPortSharer) ValidateTemplateMaxLevel added in v2.12.0

func (AGPLPortSharer) ValidateTemplateMaxLevel(_ codersdk.WorkspaceAgentPortShareLevel) error

type PortSharer

type PortSharer interface {
	AuthorizedLevel(template database.Template, level codersdk.WorkspaceAgentPortShareLevel) error
	ValidateTemplateMaxLevel(level codersdk.WorkspaceAgentPortShareLevel) error
	ConvertMaxLevel(level database.AppSharingLevel) codersdk.WorkspaceAgentPortShareLevel
}
var DefaultPortSharer PortSharer = AGPLPortSharer{}

Jump to

Keyboard shortcuts

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