v1

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 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 CasbinModelLister

type CasbinModelLister interface {
	// List lists all CasbinModels in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.CasbinModel, err error)
	// CasbinModels returns an object that can list and get CasbinModels.
	CasbinModels(namespace string) CasbinModelNamespaceLister
	CasbinModelListerExpansion
}

CasbinModelLister helps list CasbinModels. All objects returned here must be treated as read-only.

func NewCasbinModelLister

func NewCasbinModelLister(indexer cache.Indexer) CasbinModelLister

NewCasbinModelLister returns a new CasbinModelLister.

type CasbinModelListerExpansion

type CasbinModelListerExpansion interface{}

CasbinModelListerExpansion allows custom methods to be added to CasbinModelLister.

type CasbinModelNamespaceLister

type CasbinModelNamespaceLister interface {
	// List lists all CasbinModels in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.CasbinModel, err error)
	// Get retrieves the CasbinModel from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.CasbinModel, error)
	CasbinModelNamespaceListerExpansion
}

CasbinModelNamespaceLister helps list and get CasbinModels. All objects returned here must be treated as read-only.

type CasbinModelNamespaceListerExpansion

type CasbinModelNamespaceListerExpansion interface{}

CasbinModelNamespaceListerExpansion allows custom methods to be added to CasbinModelNamespaceLister.

type CasbinPolicyLister

type CasbinPolicyLister interface {
	// List lists all CasbinPolicies in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.CasbinPolicy, err error)
	// CasbinPolicies returns an object that can list and get CasbinPolicies.
	CasbinPolicies(namespace string) CasbinPolicyNamespaceLister
	CasbinPolicyListerExpansion
}

CasbinPolicyLister helps list CasbinPolicies. All objects returned here must be treated as read-only.

func NewCasbinPolicyLister

func NewCasbinPolicyLister(indexer cache.Indexer) CasbinPolicyLister

NewCasbinPolicyLister returns a new CasbinPolicyLister.

type CasbinPolicyListerExpansion

type CasbinPolicyListerExpansion interface{}

CasbinPolicyListerExpansion allows custom methods to be added to CasbinPolicyLister.

type CasbinPolicyNamespaceLister

type CasbinPolicyNamespaceLister interface {
	// List lists all CasbinPolicies in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.CasbinPolicy, err error)
	// Get retrieves the CasbinPolicy from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.CasbinPolicy, error)
	CasbinPolicyNamespaceListerExpansion
}

CasbinPolicyNamespaceLister helps list and get CasbinPolicies. All objects returned here must be treated as read-only.

type CasbinPolicyNamespaceListerExpansion

type CasbinPolicyNamespaceListerExpansion interface{}

CasbinPolicyNamespaceListerExpansion allows custom methods to be added to CasbinPolicyNamespaceLister.

Jump to

Keyboard shortcuts

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