Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

loozhengyuan/hikctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hikctl

PkgGoDev Go Report Card ci

Important: This tool is still under heavy development so only a basic set of configuration variables are available. This will be gradually expanded over time.

Configuration management tool for Hikvision devices.

The hikctl command line tool, inspired by the kubectl tool for Kubernetes, aims to provide a declarative way to manage configuration on Hikvision devices.

Install

Compile from source

To compile hikctl from source, clone the git repository.

git clone https://github.com/loozhengyuan/hikctl.git && cd hikctl

Next, run go install, which will compile the binary and install it to the $GOPATH/bin directory.

go install

Check that the binary is correctly installed by running hikctl version

hikctl version

Usage

Applying a configuration file

First, start by creating a set of configuration variables in a yaml file.

version: v0

To apply the configuration file, run the hikctl apply command as shown below.

hikctl apply hikvision.yaml

License

GPL-3.0

About

Configuration management tool for Hikvision devices. 海康威视配置管理工具.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published