access

package
Version: v3.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access kubeModels.UserAccess

func AccessFromKube

func AccessFromKube(kubeAccess kubeModels.UserAccess) Access

func (Access) RenderTable

func (access Access) RenderTable() string

func (Access) String

func (access Access) String() string

func (Access) TableHeaders

func (Access) TableHeaders() []string

func (Access) TableRows

func (access Access) TableRows() [][]string

func (Access) ToKube

func (access Access) ToKube() kubeModels.UserAccess

type AccessList

type AccessList []Access

func AccessListFromKube

func AccessListFromKube(kubeAccesses []kubeModels.UserAccess) AccessList

func (AccessList) Copy

func (list AccessList) Copy() AccessList

func (AccessList) Filter

func (list AccessList) Filter(pred func(Access) bool) AccessList

func (AccessList) GetByLevels

func (list AccessList) GetByLevels(levels ...kubeModels.AccessLevel) AccessList

func (AccessList) GetOwner

func (list AccessList) GetOwner() string

func (AccessList) Len

func (list AccessList) Len() int

func (AccessList) Names

func (list AccessList) Names() []string

func (AccessList) New

func (list AccessList) New() AccessList

func (AccessList) RenderTable

func (list AccessList) RenderTable() string

func (AccessList) TableHeaders

func (AccessList) TableHeaders() []string

func (AccessList) TableRows

func (list AccessList) TableRows() [][]string

Jump to

Keyboard shortcuts

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