requirements

package
v3.0.62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2021 License: Apache-2.0 Imports: 17 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvironmentGitURL added in v3.0.58

func EnvironmentGitURL(c *jxcore.RequirementsConfig, name string) string

EnvironmentGitURL looks up the environment configuration based on environment name and returns the git URL or an empty string if the environment does not have an owner or repository configured

func GetClusterRequirementsConfig

func GetClusterRequirementsConfig(g gitclient.Interface, jxClient versioned.Interface) (*jxcore.RequirementsConfig, error)

GetClusterRequirementsConfig returns the cluster requirements from the cluster git repo

func GetRequirementsFromGit added in v3.0.57

func GetRequirementsFromGit(g gitclient.Interface, gitURL string) (*jxcore.RequirementsConfig, error)

GetRequirementsFromGit gets the requiremnets from the given git URL

func LoadSettings added in v3.0.58

func LoadSettings(dir string, failOnValidationErrors bool) (*jxcore.Settings, error)

LoadSettings loads the settings from the given directory if present or return nil

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL