configuration

package
v0.13.91 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package configuration handles the details of interfacing with the O² Configuration store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(cfg *configuration.ConsulSource, cmd *cobra.Command, args []string, o io.Writer) (err error, code int)

func History added in v0.11.0

func History(cfg *configuration.ConsulSource, _ *cobra.Command, args []string, o io.Writer) (err error, code int)

func Import added in v0.11.0

func Import(cfg *configuration.ConsulSource, cmd *cobra.Command, args []string, o io.Writer) (err error, code int)

func List added in v0.11.0

func List(cfg *configuration.ConsulSource, cmd *cobra.Command, args []string, o io.Writer) (err error, code int)

func Show added in v0.11.0

func Show(cfg *configuration.ConsulSource, cmd *cobra.Command, args []string, o io.Writer) (err error, code int)

Types

type ConfigurationCall

type ConfigurationCall func(*configuration.ConsulSource, *cobra.Command, []string, io.Writer) (error, int)

type RunFunc

type RunFunc func(*cobra.Command, []string)

func WrapCall

func WrapCall(call ConfigurationCall) RunFunc

Jump to

Keyboard shortcuts

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