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

testlogin

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Overview

Package testlogin logs a command under test in to a fake meshStack.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HoldProfiles

func HoldProfiles(t *testing.T) (release func())

HoldProfiles holds the profiles as a command that changes them does: meshstack profile while it is open, and a login until the browser comes back.

func LoggedInTo

func LoggedInTo(t *testing.T, endpoint string)

LoggedInTo points the CLI at endpoint with fakemeshstack.Token, and clears every other setting the environment of the test run could carry into the resolution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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