Documentation ¶
Index ¶
Constants ¶
View Source
const (
PinnipedDefaultSuffix = "pinniped.dev"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(apiGroupSuffix string) kubeclient.Middleware
func Replace ¶
Replace constructs an API group from a baseAPIGroup and a parameterized apiGroupSuffix.
We assume that all baseAPIGroup's will end in "pinniped.dev", and therefore we can safely replace the reference to "pinniped.dev" with the provided apiGroupSuffix. If the provided baseAPIGroup does not end in "pinniped.dev", then this function will return an empty string and false.
See ExampleReplace_loginv1alpha1 and ExampleReplace_string for more information on input/output pairs.
Types ¶
type GroupData ¶
type GroupData schema.GroupVersion
func (GroupData) APIServiceName ¶
Click to show internal directories.
Click to hide internal directories.