// readCredentialProviderConfigFile receives a path to a config file and decodes it // into the internal CredentialProviderConfig type. func readCredentialProviderConfigFile(configPath string) (*kubeletconfig.CredentialProviderConfig, error) { … } // decode decodes data into the internal CredentialProviderConfig type. func decode(data []byte) (*kubeletconfig.CredentialProviderConfig, error) { … } // validateCredentialProviderConfig validates CredentialProviderConfig. func validateCredentialProviderConfig(config *kubeletconfig.CredentialProviderConfig) field.ErrorList { … }