types

package
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: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Error_NeedExecuteFirst      = Error("You should run generator.Execute first")
	Error_FailedToFindGenerator = Error("Can not detect an generator handler.")
)

generator

View Source
const (
	Error_NeedOAM              = Error("path for file 'OAM' is required.")
	Error_NeedPath             = Error("path is required.")
	Error_NeedOutput           = Error("output is required.")
	Error_InvalidParameterType = Error("invalid parameter type(boolean, string, number, null)")
)

generator.kubebuilder.crgen

View Source
const (
	TemplateType_Type       = "type"
	TemplateType_GVInfo     = "groupversion_info"
	TemplateType_Controller = "controller"
	TemplateType_Main       = "main"
	TemplateType_Makefile   = "makefile"
)
View Source
const (
	ResourceType_Workload = "workload"
	ResourceType_Trait    = "trait"
	ResourceType_Exchange = "exchange"
)
View Source
const (
	LABEL_OAM_UUID       = "OAM_UUID"
	LABEL_OAM_GENERATION = "OAM_GENERATION"
	LABEL_OAM_WORKLOAD   = "OAM_WORKLOAD"
)
View Source
const (
	Error_OnlySupportScaffoldV2 = Error("We support scaffold v2 for kubebuilder only.")
)

generator.kubebuilder

View Source
const (
	Error_PartialWrite = Error("Failed to write all data to file.")
)
View Source
const (
	Error_VDRMismatch = Error("Generated Version/Domain/Repo set is not match with OAM")
)

project

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error string

func (Error) Error

func (e Error) Error() string

type ExchangeGetter

type ExchangeGetter interface {
	runtime.Object
	GetExchange() []runtime.Object
}

type GroupVersionKind

type GroupVersionKind struct {
	Group   string
	Version string
	Kind    string
}

func (GroupVersionKind) IsSame

func (gvk GroupVersionKind) IsSame(ggvk GroupVersionKind) bool

type ResourceType

type ResourceType string

type TemplateType

type TemplateType string

func (TemplateType) String

func (t TemplateType) String() string

type WorkloadUIDGetter

type WorkloadUIDGetter interface {
	WorkloadUID() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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