github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/pkg/version/version.go (about)

     1  package version
     2  
     3  import (
     4  	"fmt"
     5  	// "strings"
     6  
     7  	"github.com/blang/semver"
     8  )
     9  
    10  var (
    11  	// Raw is the string representation of the version. This will be replaced
    12  	// with the calculated version at build time.
    13  	Raw = "v4.7.0"
    14  
    15  	// Version is semver representation of the version.
    16  	Version = semver.MustParse("4.7.0")
    17  
    18  	// String is the human-friendly representation of the version.
    19  	String = fmt.Sprintf("SriovNetworkConfigOperator %s", Raw)
    20  )