config

package
v0.27.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagName = "global-config"
)

Variables

This section is empty.

Functions

func DefaultDir added in v0.19.0

func DefaultDir() string

Types

type File

type File string

File provides convenience methods for interacting with *os.File.

func (File) Delete

func (f File) Delete() error

Delete deletes the file.

func (File) Read

func (f File) Read() (string, error)

Read reads the file to a string.

func (File) Write

func (f File) Write(s string) error

Write writes the string to the file.

type Root

type Root string

Root represents the configuration directory.

func (Root) DotfilesURL added in v0.6.0

func (r Root) DotfilesURL() File

func (Root) Organization

func (r Root) Organization() File

func (Root) PostgresPassword added in v0.7.0

func (r Root) PostgresPassword() File

func (Root) PostgresPath added in v0.7.0

func (r Root) PostgresPath() string

func (Root) PostgresPort added in v0.7.0

func (r Root) PostgresPort() File

func (Root) ReplicaID added in v0.10.0

func (r Root) ReplicaID() File

ReplicaID is a unique identifier for the Coder server.

func (Root) Session

func (r Root) Session() File

func (Root) URL

func (r Root) URL() File

Jump to

Keyboard shortcuts

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy