go-icinga2

module
v0.0.0-...-1f64550 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: BSD-3-Clause

README

go-icinga2

go-icinga2 is a Go client library for accessing the Icinga2 API.

License Build Status Go Report Card codecov GoDoc

Status

In very early stage of development. We'd love to accept your pull requests and contributions to this project.

Usage

Not very usable at the moment.

transport := &icinga.BasicAuthTransport{
	Username: "user",
	Password: "pass",

	Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
}

icinga := icinga.NewClient("https://localhost:5665/", transport.Client())

host, resp, err := icinga.Hosts.Get("hostname")

Licence

This library is distributed under the New BSD License found in the LICENSE file.

Directories

Path Synopsis
Package icinga provides a client for using the Icinga2 API.
Package icinga provides a client for using the Icinga2 API.

Jump to

Keyboard shortcuts

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