roles

package
v0.0.0-...-7d896e5 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRolesHandler

func GetRolesHandler(w http.ResponseWriter, r *http.Request)

func StartRolesWatcher

func StartRolesWatcher(watchRolesChan chan WatchRoleRequest)

func WatchHandler

func WatchHandler(w http.ResponseWriter, r *http.Request, watchRolesChan chan WatchRoleRequest)

Types

type RoleSankeyGraph

type RoleSankeyGraph struct {
	Nodes []sankey.Node `json:"nodes"`
	Links []sankey.Link `json:"links"`
	// contains filtered or unexported fields
}

func NewRolesSankeyGraph

func NewRolesSankeyGraph(ns string) *RoleSankeyGraph

func (*RoleSankeyGraph) CreateGraphData

func (d *RoleSankeyGraph) CreateGraphData()

func (*RoleSankeyGraph) GetK8SObjects

func (d *RoleSankeyGraph) GetK8SObjects() interface{}

func (*RoleSankeyGraph) LoadK8SObjects

func (d *RoleSankeyGraph) LoadK8SObjects()

type WatchRoleRequest

type WatchRoleRequest struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

Jump to

Keyboard shortcuts

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