Documentation ¶
Index ¶
Constants ¶
View Source
const ( Secret = "secrets" ConfigMap = "configmaps" VerificationAPIPath = "/api/v2/verify" V2beta1 = "v2beta1" V2beta2 = "v2beta2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator interface { ListV2beta1(user, resource, subresource string, query *query.Query) (*api.ListResult, error) GetV2beta1(user, resource, name, subresource string) (runtime.Object, error) CreateV2beta1(user, resource string, obj runtime.Object) (runtime.Object, error) DeleteV2beta1(user, resource, name string) error UpdateV2beta1(user, resource, name string, obj runtime.Object) (runtime.Object, error) 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) Patch(user, resource, name string, data []byte) (runtime.Object, error) Verify(request *restful.Request, response *restful.Response) GetObject(resource, version string) runtime.Object IsKnownResource(resource, version, subresource string) bool }
func NewOperator ¶
func NewOperator( informers informers.InformerFactory, k8sClient kubernetes.Interface, ksClient kubesphere.Interface, options *notification.Options) Operator
Click to show internal directories.
Click to hide internal directories.