internalversion

package
v0.0.0-...-c810e49 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "meta.k8s.io"

GroupName is the group name for this API.

Variables

View Source
var Codecs = serializer.NewCodecFactory(scheme)

Codecs provides access to encoding and decoding for the scheme.

View Source
var ParameterCodec = runtime.NewParameterCodec(scheme)

ParameterCodec handles versioning of objects that are converted to query parameters.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_fields_Selector_To_string

func Convert_fields_Selector_To_string(in *fields.Selector, out *string, s conversion.Scope) error

func Convert_internalversion_ListOptions_To_v1_ListOptions

func Convert_internalversion_ListOptions_To_v1_ListOptions(in *ListOptions, out *metav1.ListOptions, s conversion.Scope) error

func Convert_labels_Selector_To_string

func Convert_labels_Selector_To_string(in *labels.Selector, out *string, s conversion.Scope) error

func Convert_map_to_v1_LabelSelector

func Convert_map_to_v1_LabelSelector(in *map[string]string, out *metav1.LabelSelector, s conversion.Scope) error

func Convert_string_To_fields_Selector

func Convert_string_To_fields_Selector(in *string, out *fields.Selector, s conversion.Scope) error

func Convert_string_To_labels_Selector

func Convert_string_To_labels_Selector(in *string, out *labels.Selector, s conversion.Scope) error

func Convert_v1_LabelSelector_to_map

func Convert_v1_LabelSelector_to_map(in *metav1.LabelSelector, out *map[string]string, s conversion.Scope) error

func Convert_v1_ListOptions_To_internalversion_ListOptions

func Convert_v1_ListOptions_To_internalversion_ListOptions(in *metav1.ListOptions, out *ListOptions, s conversion.Scope) error

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

Types

type ListOptions

type ListOptions struct {
	metav1.TypeMeta

	// A selector based on labels
	LabelSelector labels.Selector
	// A selector based on fields
	FieldSelector fields.Selector
	// If true, watch for changes to this list
	Watch bool
	// When specified with a watch call, shows changes that occur after that particular version of a resource.
	// Defaults to changes from the beginning of history.
	// When specified for list:
	// - if unset, then the result is returned from remote storage based on quorum-read flag;
	// - if it's 0, then we simply return what we currently have in cache, no guarantee;
	// - if set to non zero, then the result is at least as fresh as given rv.
	ResourceVersion string
	// Timeout for the list/watch call.
	TimeoutSeconds *int64
}

ListOptions is the query options to a standard REST list call, and has future support for watch calls.

Jump to

Keyboard shortcuts

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