Skip to content

luksa/api

 
 

Repository files navigation

Maistra API and Go client

This repository contains Go API, Kubernetes CRD's and a Go client for dealing with Maistra objects.

Tree hierarchy

API

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.

CRD's

  • manifests: Holds the CRD yaml files for Maistra types.

Go client

  • client/versioned: Clientset
  • client/listers: Listers
  • client/informers: informers

Examples

  • example: Full example of how to use the Go client and the API.

Vendor

  • Vendored dependencies

Development

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.

About

API, CRD's and Go client for Maistra definitions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.1%
  • Makefile 2.9%