oambuilder

command module
v0.0.0-...-d46a6ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

OAM Builder

OAM Builder generates OAM types and controller code scaffold based on k8s operator generator. It generates OAM (Workload, Trait,Scope) Operators automatically and lets developers focus on buisness logic.

Prerequisites:

Usage

Install:

make
export PATH=$PWD/bin:$PATH

Initialize domain:

kubebuilder init --domain test

Create Workload:

oambuilder workload --group demo --version v1 --kind DemoWorkload

Create Trait:

oambuilder trait --group demo --version v1 --kind DemoTrait

Create Exchange:

oambuilder exchange --group demo --version v1 --kind DemoExchange

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
+kubebuilder:validation:Optional Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.oam.dev
+kubebuilder:validation:Optional Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.oam.dev
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL