package
0.0.0-20230306131847-26f457599b8d
Repository: https://github.com/xiaoyawei/buf.git
Documentation: pkg.go.dev
# Functions
DependencyForExternalConfigDependencyV1 returns the Dependency representation of a ExternalConfigDependencyV1.
DependencyForExternalConfigDependencyV1Beta1 returns the Dependency representation of a ExternalConfigDependencyV1Beta1.
ExternalConfigDependencyV1Beta1ForDependency returns the ExternalConfigDependencyV1Beta1 of a Dependency.
ExternalConfigDependencyV1ForDependency returns the ExternalConfigDependencyV1 of a Dependency.
ReadConfig reads the lock file at ExternalConfigFilePath relative to the root of the bucket.
WriteConfig writes the lock file to the WriteBucket at ExternalConfigFilePath.
# Constants
ExternalConfigFilePath defines the path to the lock file, relative to the root of the module.
Header is the header prepended to any lock files.
V1Beta1Version is the string used to identify the v1beta1 version of the lock file.
V1Version is the string used to identify the v1 version of the lock file.
# Structs
Config holds the parsed lock file information.
Dependency describes a single pinned dependency.
ExternalConfigDependencyV1 represents a single dependency within the v1 lock file.
ExternalConfigDependencyV1Beta1 represents a single dependency within the v1beta1 lock file.
ExternalConfigV1 represents the v1 lock file.
ExternalConfigV1Beta1 represents the v1beta1 lock file.
ExternalConfigVersion defines the subset of all lock file versions that is used to determine the version.