Documentation
¶
Index ¶
- Constants
- func AddLabels(obj *v1.ObjectMeta, realm string, module string)
- func ConfigMapName(module string) string
- func CreateClientSet() (*kubernetes.Clientset, error)
- func CreateIstioClientSet() (*istioclient.Clientset, error)
- func EnsureNamespace(ctx context.Context, client *kubernetes.Clientset, namespace string, ...) error
- func GetCurrentNamespace() (string, error)
- func SecretName(module string) string
- type KubeConfig
- type NamespaceMapper
Constants ¶
View Source
const ModuleLabel = "ftl.dev/module"
View Source
const RealmLabel = "ftl.dev/realm"
Variables ¶
This section is empty.
Functions ¶
func ConfigMapName ¶
func CreateClientSet ¶
func CreateClientSet() (*kubernetes.Clientset, error)
func CreateIstioClientSet ¶
func CreateIstioClientSet() (*istioclient.Clientset, error)
func EnsureNamespace ¶
func GetCurrentNamespace ¶
func SecretName ¶
Types ¶
type KubeConfig ¶
type KubeConfig struct {
UserNamespace string `help:"Namespace to use for kube user resources." env:"FTL_USER_NAMESPACE"`
}
func (*KubeConfig) NamespaceMapper ¶
func (k *KubeConfig) NamespaceMapper() NamespaceMapper
func (*KubeConfig) RouteTemplate ¶
func (k *KubeConfig) RouteTemplate() string
type NamespaceMapper ¶
Click to show internal directories.
Click to hide internal directories.