This repository contains Go API, Kubernetes CRD's and a Go client for dealing with Maistra objects.
Refer to the API documentation to learn more about the role of each resource.
The API itself is contained in these directories, with a version (e.g. v1
or v2
) as subdirs.
core/v1
: Contains the following types:ServiceMeshControlPlane
ServiceMeshExtension
ServiceMeshMember
ServiceMeshMemberRoll
.
core/v1alpha1
: Contains the following types:ServiceMeshExtension
ServiceExports
MeshFederation
.
core/v2
: Contains the following types:ServiceMeshControlPlane
.
manifests
: Holds the CRDyaml
files for Maistra types.
client/versioned
: Clientsetclient/listers
: Listersclient/informers
: informers
example
: Full example of how to use the Go client and the API.
- Vendored dependencies
Most of the files are autogenerated. After making changes to the relevant files, just run make
(or make clean gen
) and commit all the result.