Documentation ¶
Index ¶
- func BuildIndexedDataFromStructByFilter[T any](fields map[string]bool, sourceData *[]T) map[string]map[string][]T
- func DynamicRESTFromTypeStruct[T any](fields map[string]bool, r *gin.Engine, dataSource DataRetriever[T])
- func GetEnvVars(envvars ...string) map[string]EnvVar
- func NewKubeClientSet(useInclusterConfig bool) (*kubernetes.Clientset, error)
- type DataRetriever
- type EnvVar
- type InvalidSetupError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIndexedDataFromStructByFilter ¶
func BuildIndexedDataFromStructByFilter[T any](fields map[string]bool, sourceData *[]T) map[string]map[string][]T
In short I want to pivot my dataset and index by field.
func NewKubeClientSet ¶ added in v0.0.8
func NewKubeClientSet(useInclusterConfig bool) (*kubernetes.Clientset, error)
Types ¶
type DataRetriever ¶
Type is meant to work as an interface into the service base modules to access consumer data to perform some addition support mode
type InvalidSetupError ¶ added in v0.0.8
type InvalidSetupError struct{}
func (*InvalidSetupError) Error ¶ added in v0.0.8
func (e *InvalidSetupError) Error() string
Click to show internal directories.
Click to hide internal directories.