Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- Variables
- func CreateK1Directory(clusterName string)
- func CreateKubefirstNamespace(clientSet *kubernetes.Clientset) error
- func FindStringInSlice(s []string, str string) bool
- func GetKubernetesClient(clusterName string) *k8s.KubernetesClient
- func InitializeLogs(fileName string) error
- func ReadFileContentType(filePath string) (string, error)
- func ReadFileContents(filePath string) (string, error)
- func RemoveFromSlice[T comparable](slice []T, i int) []T
- func ScheduledGitopsCatalogUpdate()
- func ValidateAuthenticationFields(s map[string]string) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateKubefirstNamespace ¶ added in v0.1.21
func CreateKubefirstNamespace(clientSet *kubernetes.Clientset) error
func FindStringInSlice ¶
FindStringInSlice takes []string and returns true if the supplied string is in the slice.
func GetKubernetesClient ¶ added in v0.1.21
func GetKubernetesClient(clusterName string) *k8s.KubernetesClient
GetKubernetesClient for cluster zero and existing cluster
func InitializeLogs ¶ added in v0.1.9
func ReadFileContentType ¶
ReadFileContentType reads a file on the OS and returns its file type
func ReadFileContents ¶
ReadFileContents reads a file on the OS and returns its contents as a string
func RemoveFromSlice ¶
func RemoveFromSlice[T comparable](slice []T, i int) []T
RemoveFromSlice accepts T as a comparable slice and removed the index at i - the returned value is the slice without the indexed entry
func ScheduledGitopsCatalogUpdate ¶
func ScheduledGitopsCatalogUpdate()
ScheduledGitopsCatalogUpdate
func ValidateAuthenticationFields ¶
ValidateAuthenticationFields checks a map[string]string returned from looking up an authentication Secret for missing fields
Types ¶
This section is empty.