config

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfigLocation

func DefaultConfigLocation() (string, error)

Types

type NebulaClusterConfig

type NebulaClusterConfig struct {
	Namespace   string `json:"namespace,omitempty"`
	ClusterName string `json:"clusterName,omitempty"`
}

func NewNebulaClusterConfig

func NewNebulaClusterConfig(namespace, clusterName string) *NebulaClusterConfig

func (*NebulaClusterConfig) LoadFromFile

func (c *NebulaClusterConfig) LoadFromFile(filename string) error

func (*NebulaClusterConfig) SaveToFile

func (c *NebulaClusterConfig) SaveToFile(filename string) error

Jump to

Keyboard shortcuts

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