Documentation ¶
Index ¶
Constants ¶
View Source
const (
Secret = "secrets"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator interface { List(user, resource, subresource string, query *query.Query) (*api.ListResult, error) Get(user, resource, name, subresource string) (runtime.Object, error) Create(user, resource string, obj runtime.Object) (runtime.Object, error) Delete(user, resource, name string) error Update(user, resource, name string, obj runtime.Object) (runtime.Object, error) GetObject(resource string) runtime.Object IsKnownResource(resource, subresource string) bool }
func NewOperator ¶
func NewOperator( informers informers.InformerFactory, k8sClient kubernetes.Interface, ksClient kubesphere.Interface) Operator
Click to show internal directories.
Click to hide internal directories.