Documentation
¶
Overview ¶
Package serviceconnection holds what the commands managing service connections share.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KongVars ¶
KongVars returns the variables which the help of the KubernetesClusterOptions flags interpolates.
Types ¶
type KubernetesClusterOptions ¶
type KubernetesClusterOptions struct {
PodSelector *flag.LabelSelector `` /* 403-byte string literal not displayed */
NamespaceSelector *flag.LabelSelector `` /* 268-byte string literal not displayed */
}
KubernetesClusterOptions declares the flags which configure a KubernetesCluster as the source of a service connection. Embed it with the prefix the flags are to be registered under, the create and update commands both use "source-". https://pkg.go.dev/github.com/ninech/apis@v0.0.0-20250708054129-4d49f7a6c606/networking/v1alpha1#KubernetesClusterOptions
func (*KubernetesClusterOptions) APIType ¶
func (kco *KubernetesClusterOptions) APIType() *networking.KubernetesClusterOptions
APIType returns the API type networking.KubernetesClusterOptions of the KubernetesClusterOptions, or nil if none of the selectors was passed.