toml-configer

command module
v0.0.0-...-d192740 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

toml-configer-sample

This repo contains source to read and update toml file (like containerd config.toml). It uses https://github.com/pelletier/go-toml to deal with toml files. If you are looking to tool manipulate toml files, you can take a look at this sample

How to update containerd config.toml with airgap settings

Follow these commands

git clone <this repo>
cd to cmd directory
make -f Makefile build-mac or
make -f Makefile build-linux

How to test

Here is the sample execution command

<binary name> -username=user1 -password=testpw -clientcert="abc.pem" -insecure=true -registryurl="demo.hpe.com -loglevel=debug"
  
or run go test
go test ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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