functions

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const LINUX_APP_DATA_PATH = "/etc/netmaker"

LINUX_APP_DATA_PATH - linux path

Variables

This section is empty.

Functions

func FileExists

func FileExists(f string) bool

FileExists - checks if file exists

func GetAllExtClients

func GetAllExtClients() ([]models.ExtClient, error)

GetAllExtClients - get all ext clients

func GetNetmakerPath

func GetNetmakerPath() string

GetNetmakerPath - gets netmaker path locally

func NameInDNSCharSet

func NameInDNSCharSet(name string) bool

NameInDNSCharSet - name in dns char set

func NameInNodeCharSet

func NameInNodeCharSet(name string) bool

NameInNodeCharSet - name in node char set

func RemoveDeletedNode

func RemoveDeletedNode(nodeid string) bool

RemoveDeletedNode - remove deleted node

func SetDNSDir

func SetDNSDir() error

SetDNSDir - sets the dns directory of the system

Types

This section is empty.

Jump to

Keyboard shortcuts

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