config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by baton-sdk. DO NOT EDIT!!!

Index

Constants

This section is empty.

Variables

View Source
var (
	Username = field.StringField(
		"username",
		field.WithDescription("The Bill username used to connect to the Bill API."),
		field.WithRequired(true),
	)

	Password = field.StringField(
		"password",
		field.WithDescription("The Bill password used to connect to the Bill API."),
		field.WithRequired(true),
		field.WithIsSecret(true),
	)

	OrganizationIDs = field.StringSliceField(
		"organizationIds",
		field.WithDescription("The Bill organizationIds used to connect to the Bill API."),
		field.WithRequired(true),
	)

	DeveloperKey = field.StringField(
		"developerKey",
		field.WithDescription("The Bill developerKey used to connect to the Bill API."),
		field.WithRequired(true),
		field.WithIsSecret(true),
	)
	BaseURLField = field.StringField(
		"base-url",
		field.WithDescription("Override the Bill API URL (for testing)"),
		field.WithHidden(true),
		field.WithExportTarget(field.ExportTargetCLIOnly),
	)
)

Functions

This section is empty.

Types

type Bill

type Bill struct {
	Username        string   `mapstructure:"username"`
	Password        string   `mapstructure:"password"`
	Organizationids []string `mapstructure:"organizationIds"`
	Developerkey    string   `mapstructure:"developerKey"`
	BaseUrl         string   `mapstructure:"base-url"`
}

func (*Bill) GetBool

func (c *Bill) GetBool(fieldName string) bool

func (*Bill) GetInt

func (c *Bill) GetInt(fieldName string) int

func (*Bill) GetString

func (c *Bill) GetString(fieldName string) string

func (*Bill) GetStringMap

func (c *Bill) GetStringMap(fieldName string) map[string]any

func (*Bill) GetStringSlice

func (c *Bill) GetStringSlice(fieldName string) []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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