Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConfigMapList configmap.ConfigMapList `json:"configMapList"` PersistentVolumeClaimList pvc.PersistentVolumeClaimList `json:"persistentVolumeClaimList"` SecretList secret.SecretList `json:"secretList"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
Config structure contains all resource lists grouped into the config category.
func GetConfig ¶
func GetConfig(client *kubernetes.Clientset, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*Config, error)
GetConfig returns a list of all config resources in the cluster.
func GetConfigFromChannels ¶
func GetConfigFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery, nsQuery *common.NamespaceQuery) (*Config, error)
GetConfigFromChannels returns a list of all config in the cluster, from the channel sources.
Click to show internal directories.
Click to hide internal directories.