Defines a Swarm as a set of Peers, where peer is a member of the set.
The update-codegen script will automatically generate the following:
pkg/apis/swarm/v1alpha1/zz_generated.deepcopy.go
pkg/generated/
Current limitation on auto-generation from outside GOPATH (pending to solve) Generate as:
./hack/update-codegen.sh
vendor/k8s.io/code-generator/generate-groups.sh all github.com/marcosQuesada/swarm/pkg/generated github.com/marcosQuesada/swarm/pkg/apis "swarm:v1alpha1" --go-header-file ./hack/boilerplate.go.txt --output-base "$(dirname "${BASH_SOURCE[0]}")/" -v 3
/apis/k8slab.info/v1alpha1/namespaces/default/swarms/foo/status