kubernetes: k8s.io/kubernetes/pkg/apis/events Index | Files | Directories

package events

import "k8s.io/kubernetes/pkg/apis/events"


Package Files

doc.go register.go


const GroupName = "events.k8s.io"

GroupName is the group name use in this package


var (
    // SchemeBuilder points to a list of functions added to Scheme.
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    // AddToScheme applies all the stored functions to the scheme.
    AddToScheme = SchemeBuilder.AddToScheme
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource


installPackage install installs the events API group, making it available as an option to all of the API encoding/decoding machinery.

Package events imports 3 packages (graph) and is imported by 73 packages. Updated 2020-11-23. Refresh now. Tools for package owners.