go-libs

command module
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

README

go-libs release last commit Doc

This project is focused on delivering a set of go tools used into various startx go modules.

Getting started

in your go code import the go-lib module

import (
	sxUtils "gitlab.com/startx1/k8s/go-libs/pkg/utils"
)

Use the module in your code


// Use the module in your code
func main() {
	display := sxUtils.NewCmdDisplay("main")
	display.Debug("Display a debug message")
}

Here is a list of all the package present in this module

  • Install the go-libs binary (download)
  • Test it with sxlibs version
  • Log into a kubernetes cluster kubectl login ...
  • Create a new quotas based on the default template sxlibs create myquotas
  • Get your quotas to see the changes kubectl get resourcequotas myquotas -o yaml
  • Resize the quotas definitions sxlibs resize myquotas 3
  • Get your quotas to see the changes kubectl get resourcequotas myquotas -o yaml
  • Adjust the quotas definitions sxlibs adjust myquotas
  • Get your quotas to see the changes kubectl get resourcequotas myquotas -o yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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