Skip to content

Commit

Permalink
Update extension apiserver documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomleb committed Jan 21, 2025
1 parent 469208d commit 4724a8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ext/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ func (s *ExtensionAPIServer) GetAuthorizer() authorizer.Authorizer {

// Install adds a new store to the extension API server.
//
// resourceName should be the plural form of the resource, the same that usually
// goes in a [schema.GroupVersionResource]. For example, for a token store, it would be tokens.
//
// gvk is the [schema.GroupVersionKind] that defines the input / output for the store. The kind must be
// singular name and in PascalCase. For example, for a token store, the kind would be Token.
//
// A store implements handlers for the various operations (verbs) supported for
// a defined GVK / GVR. For example, a store for a (apiVersion:
// ext.cattle.io/v1, kind: Tokens) Custom Resource could implement create and
Expand Down

0 comments on commit 4724a8d

Please sign in to comment.