cmd

package
v0.0.0-...-5a1019b Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright © 2020 Platform9, Inc.

Copyright © 2020 Platform9, Inc.

Copyright © 2020 Platform9, Inc.

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:     "remote-exec",
	Version: "0.0.1",
	Short:   "Remote exec itself",
	Long:    "Remote exec itself",
}

RootCmd represents the base command when called without any subcommands

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.

func MagicCall

func MagicCall(client *rpc.Client, m interface{}, args interface{}, reply interface{}) error

Types

type Args

type Args struct {
	A, B int
}

type Arith

type Arith int

func (*Arith) Divide

func (t *Arith) Divide(args *Args, quo *Quotient) error

func (*Arith) Multiply

func (t *Arith) Multiply(args *Args, reply *int) error

type Quotient

type Quotient struct {
	Quo, Rem int
}

Jump to

Keyboard shortcuts

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