crds

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package crds read in files for CRD schemas and parse annotations from it

Index

Constants

View Source
const Annotation = "x-kubernetes-annotation"

Annotation is to mark a field as annotations. "x-kubernetes-annotation": ""

View Source
const Identity = "x-kubernetes-identity"

Identity is to mark a field as Identity "x-kubernetes-identity": ""

View Source
const Kind = "x-kubernetes-object-ref-kind"

Kind marks the type name of an object ref field "x-kubernetes-object-ref-kind": <kind name>

View Source
const LabelSelector = "x-kubernetes-label-selector"

LabelSelector is to mark a field as LabelSelector "x-kubernetes-label-selector": ""

View Source
const NameKey = "x-kubernetes-object-ref-name-key"

NameKey marks the field key that refers to an object of an object ref field "x-kubernetes-object-ref-name-key": "name" default is "name"

View Source
const Version = "x-kubernetes-object-ref-api-version"

Version marks the type version of an object ref field "x-kubernetes-object-ref-api-version": <apiVersion name>

Variables

This section is empty.

Functions

func RegisterCRDs

func RegisterCRDs(loader loader.Loader, paths []string) error

RegisterCRDs parse CRD schemas from paths and update various pathConfigs

Types

This section is empty.

Jump to

Keyboard shortcuts

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