examples

package
v1.14.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ID   = types.ID(123456789012)
	Name = cflag.NameParameter{
		Name: "example",
	}
	Description = cflag.DescParameter{
		Description: "example",
	}
	Tags = cflag.TagsParameter{
		Tags: types.Tags{"tag1=example1", "tag2=example2"},
	}
	IconID = cflag.IconIDParameter{
		IconID: ID,
	}
	NameUpdate = cflag.NameUpdateParameter{
		Name: pointer.NewString("example"),
	}
	DescriptionUpdate = cflag.DescUpdateParameter{
		Description: pointer.NewString("example"),
	}
	TagsUpdate = cflag.TagsUpdateParameter{
		Tags: &Tags.Tags,
	}
	IconIDUpdate = cflag.IconIDUpdateParameter{
		IconID: &ID,
	}
	IPAddress        = "192.0.2.11"
	IPAddresses      = []string{"192.0.2.21", "192.0.2.22"}
	VirtualIPAddress = "192.0.2.101"
	NetworkMaskLen   = 24
	DefaultRoute     = "192.0.2.1"

	SlackNotifyWebhooksURL = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"

	ScriptContent = `#!/bin/bash

...`
)

Functions

func OptionsString

func OptionsString(vdefKey string) string

func Zones

func Zones(zones []string) cflag.ZoneParameter

func ZonesString

func ZonesString(zones []string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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