asconfig

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

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

README

Asconfig

A CLI tool for managing Aerospike configuration files.

Overview

Asconfig allows you to validate and compare Aerospike configuration using a versioned YAML schema directory. For more information and usage examples see the Aerospike Configuration Tool docs.

Build

Build asconfig using the included makefile and display usage information.

git clone https://github.com/aerospike/asconfig.git
cd asconfig
git submodule update --init
make
./bin/asconfig --help

The built binary is available at bin/asconfig.

Install or uninstall asconfig.

make install
make uninstall

Cleanup build and test files.

make clean

Building rpm, deb, and tar packages is also done using the makefile. You will have to install fpm and rpmbuild to build all of these.

make rpm deb tar

The packages will be available in the pkg/ directory.

Testing

Asconfig has unit and integration tests.

You can run the tests using the make file.

Unit Tests
make unit
Integration Tests

Integration tests require that docker is installed and running. A path to an Aerospike feature key file should be defined at the FEATKEY_DIR environment variable. For more information about the feature key file see the feature-key docs.

FEATKEY_DIR=/path/to/aerospike/features/dir make integration
All Tests
FEATKEY_DIR=/path/to/aerospike/features/dir make test
Test Coverage
FEATKEY_DIR=/path/to/aerospike/features/dir make view-coverage

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
A common location to store utilities for testing.
A common location to store utilities for testing.

Jump to

Keyboard shortcuts

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