Documentation ¶
Overview ¶
Package api is the internal version of the API. +groupName=kubed.appscode.com
Index ¶
Constants ¶
const GroupName = "kubed.appscode.com"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
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.