Help us shape the future of Go! Take the 2026 Go Developer Survey

authmode

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package authmode persists credential-tier transitions that must be applied before existing tsnet node state is reused.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearCredentialUpgradePending

func ClearCredentialUpgradePending() error

ClearCredentialUpgradePending removes a transition only after all affected local node state has been removed.

func CredentialUpgradePath

func CredentialUpgradePath() (string, error)

CredentialUpgradePath returns the private marker used to carry a Tier 1 to Tier 2 transition across the process restart required to replace node state.

func CredentialUpgradePending

func CredentialUpgradePending() (bool, error)

CredentialUpgradePending reports whether a Tier 1 to Tier 2 transition is waiting to be applied. Existing markers are validated as private regular files before they are trusted.

func MarkCredentialUpgradePending

func MarkCredentialUpgradePending() error

MarkCredentialUpgradePending records that existing interactive node state must not be reused by the next credentialed serve.

Types

This section is empty.

Jump to

Keyboard shortcuts

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