ipallowlist

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package ipallowlist implements the `bitbottle workspace ipallowlist` command group.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAdd

func NewCmdAdd(f *factory.Factory, runF func(*AddOptions) error) *cobra.Command

NewCmdAdd constructs the cobra command for `workspace ipallowlist add`.

func NewCmdDelete

func NewCmdDelete(f *factory.Factory, runF func(*DeleteOptions) error) *cobra.Command

NewCmdDelete constructs the cobra command for `workspace ipallowlist delete`.

func NewCmdList

func NewCmdList(f *factory.Factory, runF func(*ListOptions) error) *cobra.Command

NewCmdList constructs the cobra command for `workspace ipallowlist list`.

Types

type AddOptions

type AddOptions struct {
	Hostname    string
	Workspace   string
	CIDR        string
	Description string
	Enabled     bool
}

AddOptions carries parsed flags for `workspace ipallowlist add`.

type DeleteOptions

type DeleteOptions struct {
	Hostname  string
	Workspace string
	UUID      string
	Confirm   bool
}

DeleteOptions carries parsed flags for `workspace ipallowlist delete`.

type ListOptions

type ListOptions struct {
	Output    format.OutputConfig
	Hostname  string
	Workspace string
	Limit     int
}

ListOptions carries parsed flags for `workspace ipallowlist list`.

Jump to

Keyboard shortcuts

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