Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultHTTPListeningAddress = fmt.Sprintf("%s:%s", api.DefaultListeningIP, api.DefaultHttpPort)
)
Functions ¶
This section is empty.
Types ¶
type NPMRestServer ¶
type NPMRestServer struct {
// contains filtered or unexported fields
}
func NewNpmRestServer ¶ added in v1.2.8
func NewNpmRestServer(listeningAddress string) *NPMRestServer
func (*NPMRestServer) GetNpmMgr ¶ added in v1.2.8
func (n *NPMRestServer) GetNpmMgr(npMgr *npm.NetworkPolicyManager) http.Handler
func (*NPMRestServer) NPMRestServerListenAndServe ¶ added in v1.2.8
func (n *NPMRestServer) NPMRestServerListenAndServe(npMgr *npm.NetworkPolicyManager)
Click to show internal directories.
Click to hide internal directories.