cmd

package
v0.0.0-...-e8a3b34 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package cmd implements the rdctl commands

Package cmd implements the rdctl commands

Package cmd is the main package for this CLI

Index

Constants

This section is empty.

Variables

View Source
var InputFile string
View Source
var JSONBody string
View Source
var UseCurrentSettings bool

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type SortableSnapshots

type SortableSnapshots []snapshot.Snapshot

SortableSnapshots are []snapshot.Snapshot sortable by date created.

func (SortableSnapshots) Len

func (snapshots SortableSnapshots) Len() int

func (SortableSnapshots) Less

func (snapshots SortableSnapshots) Less(i, j int) bool

func (SortableSnapshots) Swap

func (snapshots SortableSnapshots) Swap(i, j int)

Jump to

Keyboard shortcuts

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