Skip to content

Commit

Permalink
feat: add OAM module
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 31, 2023
1 parent 4039eee commit c068fae
Show file tree
Hide file tree
Showing 24 changed files with 19,998 additions and 0 deletions.
3,824 changes: 3,824 additions & 0 deletions oam/README.md

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions oam/core_oam_dev_v1alpha1_policy.k
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"""
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
"""
import k8s.apimachinery.pkg.apis.meta.v1


schema Policy:
"""
Policy is the Schema for the policy API

Attributes
----------
apiVersion : str, default is "core.oam.dev/v1alpha1", required
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind : str, default is "Policy", required
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata : v1.ObjectMeta, default is Undefined, optional
metadata
properties : any, default is Undefined, optional
properties
$type : str, default is Undefined, required
type
"""


apiVersion: "core.oam.dev/v1alpha1" = "core.oam.dev/v1alpha1"

kind: "Policy" = "Policy"

metadata?: v1.ObjectMeta

properties?: any

$type: str


Loading

0 comments on commit c068fae

Please sign in to comment.