mirror of
https://github.com/siderolabs/image-factory.git
synced 2026-05-05 12:26:17 +02:00
Rename consistently to 'Image Factory Enterprise'. Pass Talos name down to profile. Pass the image factory name (and url) in the schematic's extension Author field. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
20 lines
504 B
Go
20 lines
504 B
Go
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
package version
|
|
|
|
import (
|
|
"sync"
|
|
|
|
"github.com/siderolabs/image-factory/pkg/constants"
|
|
)
|
|
|
|
// ServerString is the Server header string including enterprise info if enabled.
|
|
var ServerString = sync.OnceValue(func() string {
|
|
server := constants.ImageFactoryName
|
|
server += " " + Tag
|
|
|
|
return server
|
|
})
|