Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProviderKubernetes is provider kubernetes ProviderKubernetes = "kubernetes" // ProviderOpenshift is provider openshift ProviderOpenshift = "openshift" // DefaultProvider - provider that will be used if there is no provider was explicitly set DefaultProvider = ProviderKubernetes )
Variables ¶
View Source
var ( // DefaultComposeFiles is a list of filenames that kompose will use if no file is explicitly set DefaultComposeFiles = []string{ "docker-compose.yml", "docker-compose.yaml", "container-compose.yml", "container-compose.yaml", } )
Functions ¶
func Convert ¶
func Convert(opt kobject.ConvertOptions)
Convert transforms docker compose or dab file to k8s objects
func ValidateComposeFile ¶ added in v0.3.0
func ValidateComposeFile(opt *kobject.ConvertOptions)
ValidateComposeFile validates the compose file provided for conversion
func ValidateFlags ¶
func ValidateFlags(args []string, cmd *cobra.Command, opt *kobject.ConvertOptions)
ValidateFlags validates all command line flags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.