config

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir() (string, error)

func Load

func Load() (*tuberConfig, error)

func Path

func Path() (string, error)

func Save

func Save(config *tuberConfig) error

Types

type Auth

type Auth struct {
	OAuthClientID string `yaml:"oauth_client_id"`
	OAuthSecret   string `yaml:"oauth_secret"`
}

Auth is not a cluster

type Cluster

type Cluster struct {
	Name        string `yaml:"name"`
	Shorthand   string `yaml:"shorthand"`
	URL         string `yaml:"url"`
	IAPClientID string `yaml:"iap_client_id"`
}

Cluster is a cluster

Jump to

Keyboard shortcuts

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