util

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BasePath = "mgmt/tm/util"
View Source
const BashEndpoint = "/bash"

BashEndpoint represents the REST resource used to execute bash commands.

Variables

This section is empty.

Functions

This section is empty.

Types

type BashCommand

type BashCommand struct {
	Command         string `json:"command,omitempty"`
	UtilCommandArgs string `json:"utilCmdArgs,omitempty"`
	CommandResult   string `json:"commandResult,omitempty"`
}

type BashResource

type BashResource struct {
	// contains filtered or unexported fields
}

A BashResource provides an API to run bash commands

func (*BashResource) Run

func (br *BashResource) Run(item BashCommand) (*BashCommand, error)

type Util

type Util struct {
	// contains filtered or unexported fields
}

func New

func New(c *f5.Client) Util

New creates a new NET client.

func (Util) Bash

func (util Util) Bash() *BashResource

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL