airshipctl/pkg/api/v1alpha1
Dmitry Ukov 069e4069ce Implement plan list subcommand
Change-Id: Ibcd7dbf6dc8cd9d0b018c148017244526651d8ba
Closes: #385
2021-01-27 10:19:54 +00:00
..
bootconfiguration_types.go Bootstrap Ephemeral - Executor methods 2021-01-08 10:34:01 -06:00
cluster_map_types.go [#376] Add clusterapi name and namespaces to clustermap 2020-11-09 21:11:04 +00:00
clusterctl_types_test.go Move clusterctl api structs to gloabal api module 2020-06-08 21:08:08 +04:00
clusterctl_types.go Image override for cert-manager components 2020-11-12 17:12:23 +00:00
genericcontainer_types.go Implement kustomize sink in generic container executor 2021-01-13 17:56:04 +04:00
groupversion_info.go image-builder integration for ISO builds 2020-12-17 14:47:53 -08:00
isoconfiguration.go image-builder integration for ISO builds 2020-12-17 14:47:53 -08:00
kubeconfig_types.go Introduce KubeConfig API object 2020-07-30 16:20:37 +00:00
kubernetes_apply_types.go Add kubernetes apply executor 2020-08-21 11:18:45 -05:00
phase_types.go Add check for executor ref in phase helper 2020-10-12 13:41:48 -05:00
phaseplan_types.go Implement plan list subcommand 2021-01-27 10:19:54 +00:00
README.md BootConfiguration struct for Bootstrap Container 2020-10-30 14:28:49 -05:00
remotedirectconfiguration_types.go Add clustermap object and interface 2020-09-09 17:28:45 -05:00
replacement_plugin_types.go Introduce Replacement Transformer plugin container 2020-10-16 16:00:56 +04:00
templater_plugin_types.go Move plugins configurations to API module 2020-09-17 19:22:07 +04:00
zz_generated.deepcopy.go image-builder integration for ISO builds 2020-12-17 14:47:53 -08:00

Generating zz_generated.deepcopy.go in api/v1alpha1

This directory contains the data types needed by airshipctl phase run command.

When you add a new data structure in this directory you will need to generate the file zz_generated.deepcopy.go. To generate this file you will need the tool *controller-gen" executable.

If you don't have controller-gen in your machine, clone the following repository and compile it.

git clone https://github.com/kubernetes-sigs/controller-tools.git
cd controller-tools/cmd/controller-gen
go build -o controller-gen

Now you can generate the zz_generated.deepcopy.go using controller-gen as follow:

/path/to/controller-gen object paths=/path/to/airshipctl/pkg/api/v1alpha1/

At this point you should have a newly generated zz_generated.deepcopy.go. Just check if your data structure has been added to this file and you are good to go.

TODO: Add this task in the Makefile