authtoken

package module
v0.66.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 1 module, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package authtoken implements the creation and access to the auth_token used to communicate between Agent processes. This component offers two implementations: one to create and fetch the auth_token and another that doesn't create the auth_token file but can fetch it it's available.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoneModule

func NoneModule() fxutil.Module

NoneModule return a None optional type for authtoken.Component.

This helper allows code that needs a disabled Optional type for authtoken to get it. The helper is split from the implementation to avoid linking with the dependencies from sysprobeconfig.

Types

type Component

type Component interface {
	Get() (string, error)
	GetTLSClientConfig() *tls.Config
	GetTLSServerConfig() *tls.Config
}

Component is the component type.

Directories

Path Synopsis
Package createandfetchimpl implements the creation and access to the auth_token used to communicate between Agent processes.
Package createandfetchimpl implements the creation and access to the auth_token used to communicate between Agent processes.
Package fetchonlyimpl implements the access to the auth_token used to communicate between Agent processes but does not create it.
Package fetchonlyimpl implements the access to the auth_token used to communicate between Agent processes but does not create it.
Package mock is a mock implementation of the authtoken component
Package mock is a mock implementation of the authtoken component
Package noneimpl implements a noop version of the auth_token component
Package noneimpl implements a noop version of the auth_token component

Jump to

Keyboard shortcuts

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