types

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppName represents the full app name
	AppName string = "move2kube"
	// AppNameShort represents the short app name
	AppNameShort string = "m2k"
	// GroupName is the group name use in this package
	GroupName = AppName + ".konveyor.io"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
)

Functions

This section is empty.

Types

type Kind

type Kind string

Kind stores the kind of the file

type ObjectMeta

type ObjectMeta struct {
	// Name represents the name of the resource
	Name string `yaml:"name,omitempty" json:"name,omitempty"`
	// Labels are Map of string keys and values that can be used to organize and categorize (scope and select) objects.
	Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
}

ObjectMeta stores object metadata

type TypeMeta

type TypeMeta struct {
	// APIVersion defines the versioned schema of this representation of an object.
	APIVersion string `yaml:"apiVersion,omitempty" json:"apiVersion,omitempty"`
	// Kind is a string value representing the resource this object represents.
	Kind string `yaml:"kind,omitempty" json:"kind,omitempty"`
}

TypeMeta stores apiversion and kind for resources

Directories

Path Synopsis
Package qaengine contains the types used for the question answering part of the CLI.
Package qaengine contains the types used for the question answering part of the CLI.
source

Jump to

Keyboard shortcuts

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