auth

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package auth provides utilities for authenticating a chronoctl session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultOrg

func GetDefaultOrg(store *token.Store) (string, error)

GetDefaultOrg returns the default org within the store

func NewChronoctlStore

func NewChronoctlStore() (*token.Store, error)

NewChronoctlStore creates a new token store in the user's local cache directory to store short-lived chronoctl credentials

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns a command for Chronosphere authentication

Types

This section is empty.

Jump to

Keyboard shortcuts

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