rpc

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

* rpc is a subcommands of droplet-ctl * which pulls policy information from controller by rpc. * now it contains 3 subcommands: * flowAcls get flowAcls from controller * ipGroups get ipGroups from controller * platformData get platformData from controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonFormat

func JsonFormat(index int, v interface{})

func RegisterRpcCommand

func RegisterRpcCommand() *cobra.Command

Types

type CmdExecute

type CmdExecute func(response *trident.SyncResponse)

type SortedAcls

type SortedAcls []*trident.FlowAcl

func (SortedAcls) Len

func (a SortedAcls) Len() int

func (SortedAcls) Less

func (a SortedAcls) Less(i, j int) bool

func (SortedAcls) Swap

func (a SortedAcls) Swap(i, j int)

Jump to

Keyboard shortcuts

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