authtoken

package
v0.0.0-...-2feb83d Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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
}

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.

Jump to

Keyboard shortcuts

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