Documentation ¶
Index ¶
- func GetCNIDownloadLink(version, arch string) (string, error)
- func GetCNIVersion(packageDef *PackageDefinition) (string, error)
- func GetDefaultReleaseDownloadLinkBase(packageDef *PackageDefinition) (string, error)
- func GetDependencies(packageDef *PackageDefinition) (map[string]string, error)
- type Build
- type ChannelType
- type Client
- func (c *Client) ConstructBuilds() ([]Build, error)
- func (c *Client) GetCIBuildsDownloadLinkBase(packageDef *PackageDefinition) (string, error)
- func (c *Client) GetCRIToolsVersion(packageDef *PackageDefinition) (string, error)
- func (c *Client) GetDownloadLinkBase(packageDef *PackageDefinition) (string, error)
- func (c *Client) GetKubernetesVersion(packageDef *PackageDefinition) (string, error)
- func (c *Client) GetPackageVersion(packageDef *PackageDefinition) (string, error)
- func (c *Client) SetImpl(impl Impl)
- func (c *Client) WalkBuilds(builds []Build) (err error)
- type Impl
- type PackageDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCNIDownloadLink ¶ added in v0.3.2
func GetCNIVersion ¶ added in v0.3.2
func GetCNIVersion(packageDef *PackageDefinition) (string, error)
func GetDefaultReleaseDownloadLinkBase ¶ added in v0.3.2
func GetDefaultReleaseDownloadLinkBase(packageDef *PackageDefinition) (string, error)
func GetDependencies ¶ added in v0.3.2
func GetDependencies(packageDef *PackageDefinition) (map[string]string, error)
Types ¶
type Build ¶
type Build struct { Type options.BuildType Package string Definitions []*PackageDefinition TemplateDir string }
type ChannelType ¶
type ChannelType string
const ( ChannelRelease ChannelType = "release" ChannelTesting ChannelType = "testing" ChannelNightly ChannelType = "nightly" CurrentCNIVersion = "0.8.6" MinimumCNIVersion = "0.8.6" )
type Client ¶ added in v0.3.2
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConstructBuilds ¶ added in v0.3.2
func (*Client) GetCIBuildsDownloadLinkBase ¶ added in v0.3.2
func (c *Client) GetCIBuildsDownloadLinkBase(packageDef *PackageDefinition) (string, error)
func (*Client) GetCRIToolsVersion ¶ added in v0.3.2
func (c *Client) GetCRIToolsVersion(packageDef *PackageDefinition) (string, error)
func (*Client) GetDownloadLinkBase ¶ added in v0.3.2
func (c *Client) GetDownloadLinkBase(packageDef *PackageDefinition) (string, error)
func (*Client) GetKubernetesVersion ¶ added in v0.3.2
func (c *Client) GetKubernetesVersion(packageDef *PackageDefinition) (string, error)
func (*Client) GetPackageVersion ¶ added in v0.3.2
func (c *Client) GetPackageVersion(packageDef *PackageDefinition) (string, error)
func (*Client) WalkBuilds ¶ added in v0.3.2
Click to show internal directories.
Click to hide internal directories.