config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

config/config.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(cfg Config) error

SaveConfig saves the configuration to a file.

Types

type Config

type Config struct {
	ServiceAccountToken string `json:"service_account_token"`
}

Config holds the PipeOps CLI configuration.

func LoadConfig

func LoadConfig() (*Config, error)

LoadConfig loads the configuration from a file.

Jump to

Keyboard shortcuts

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