kubed

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package api is the internal version of the API. +groupName=kubed.appscode.com

Index

Constants

View Source
const GroupName = "kubed.appscode.com"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type ResultEntry

type ResultEntry struct {
	Score  float64
	Object runtime.RawExtension
}

func (*ResultEntry) DeepCopy

func (in *ResultEntry) DeepCopy() *ResultEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultEntry.

func (*ResultEntry) DeepCopyInto

func (in *ResultEntry) DeepCopyInto(out *ResultEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SearchResult

type SearchResult struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Hits     []ResultEntry
	Total    uint64
	MaxScore float64
	Took     metav1.Duration
}

func (*SearchResult) DeepCopy

func (in *SearchResult) DeepCopy() *SearchResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SearchResult.

func (*SearchResult) DeepCopyInto

func (in *SearchResult) DeepCopyInto(out *SearchResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SearchResult) DeepCopyObject

func (in *SearchResult) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.

Jump to

Keyboard shortcuts

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