Documentation ¶
Index ¶
Constants ¶
View Source
const ( Protocol = "https://" FinalizerName = "terminal.sealos.io/finalizer" HostnameLength = 8 KeepaliveAnnotation = "lastUpdateTime" LetterBytes = "abcdefghijklmnopqrstuvwxyz0123456789" )
View Source
const ( DefaultDomain = "cloud.sealos.io" DefaultPort = "" DefaultSecretName = "wildcard-cert" DefaultSecretNamespace = "sealos-system" )
View Source
const ( CPURequest = "0.01" MemoryRequest = "16Mi" CPULimit = "0.3" MemoryLimit = "256Mi" )
request and limit for terminal pod
View Source
const (
TerminalPartOf = "terminal"
)
Variables ¶
This section is empty.
Functions ¶
func NewCache ¶
func NewCache() cache.NewCacheFunc
Types ¶
type Config ¶
type Config struct { config.Global `yaml:"global"` TerminalConfig TerminalConfig `yaml:"terminalController"` }
type TerminalConfig ¶
type TerminalConfig struct {
IngressTLSSecretName string `yaml:"ingressTLSSecretName"`
}
type TerminalReconciler ¶
type TerminalReconciler struct { client.Client Scheme *runtime.Scheme Config *rest.Config CtrConfig *Config // contains filtered or unexported fields }
TerminalReconciler reconciles a Terminal object
func (*TerminalReconciler) SetupWithManager ¶
func (r *TerminalReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.