v1sets

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleSet

type RoleSet interface {
	Keys() sets.String
	List() []*rbac_authorization_k8s_io_v1.Role
	Map() map[string]*rbac_authorization_k8s_io_v1.Role
	Insert(role ...*rbac_authorization_k8s_io_v1.Role)
	Equal(roleSet RoleSet) bool
	Has(role *rbac_authorization_k8s_io_v1.Role) bool
	Delete(role *rbac_authorization_k8s_io_v1.Role)
	Union(set RoleSet) RoleSet
	Difference(set RoleSet) RoleSet
	Intersection(set RoleSet) RoleSet
	Find(id ezkube.ResourceId) (*rbac_authorization_k8s_io_v1.Role, error)
	Length() int
}

func NewRoleSet

func NewRoleSet(roleList ...*rbac_authorization_k8s_io_v1.Role) RoleSet

func NewRoleSetFromList

func NewRoleSetFromList(roleList *rbac_authorization_k8s_io_v1.RoleList) RoleSet

Directories

Path Synopsis
Package mock_v1sets is a generated GoMock package.
Package mock_v1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

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