apimachinery: k8s.io/apimachinery/pkg/apis/meta/internalversion Index | Files

package internalversion

import "k8s.io/apimachinery/pkg/apis/meta/internalversion"

Index

Package Files

conversion.go doc.go register.go types.go zz_generated.conversion.go zz_generated.deepcopy.go

Constants

const GroupName = "meta.k8s.io"

GroupName is the group name for this API.

Variables

var (
    // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
    // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
    SchemeBuilder runtime.SchemeBuilder

    AddToScheme = localSchemeBuilder.AddToScheme
)
var Codecs = serializer.NewCodecFactory(scheme)

Codecs provides access to encoding and decoding for the scheme.

var ParameterCodec = runtime.NewParameterCodec(scheme)

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

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

SchemeGroupVersion is group version used to register these objects

func Convert_internalversion_ListOptions_To_v1_ListOptions Uses

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

func Convert_internalversion_List_To_v1_List Uses

func Convert_internalversion_List_To_v1_List(in *List, out *v1.List, s conversion.Scope) error

Convert_internalversion_List_To_v1_List is an autogenerated conversion function.

func Convert_v1_ListOptions_To_internalversion_ListOptions Uses

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

func Convert_v1_List_To_internalversion_List Uses

func Convert_v1_List_To_internalversion_List(in *v1.List, out *List, s conversion.Scope) error

Convert_v1_List_To_internalversion_List is an autogenerated conversion function.

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions Uses

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

type List Uses

type List struct {
    metav1.TypeMeta
    // +optional
    metav1.ListMeta

    Items []runtime.Object
}

List holds a list of objects, which may not be known by the server.

func (*List) DeepCopy Uses

func (in *List) DeepCopy() *List

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

func (*List) DeepCopyInto Uses

func (in *List) DeepCopyInto(out *List)

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

func (*List) DeepCopyObject Uses

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

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

type ListOptions Uses

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
    // allowWatchBookmarks requests watch events with type "BOOKMARK".
    // Servers that do not implement bookmarks may ignore this flag and
    // bookmarks are sent at the server's discretion. Clients should not
    // assume bookmarks are returned at any specific interval, nor may they
    // assume the server will send any BOOKMARK event during a session.
    // If this is not a watch, this field is ignored.
    // If the feature gate WatchBookmarks is not enabled in apiserver,
    // this field is ignored.
    AllowWatchBookmarks 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
    // Limit specifies the maximum number of results to return from the server. The server may
    // not support this field on all resource types, but if it does and more results remain it
    // will set the continue field on the returned list object.
    Limit int64
    // Continue is a token returned by the server that lets a client retrieve chunks of results
    // from the server by specifying limit. The server may reject requests for continuation tokens
    // it does not recognize and will return a 410 error if the token can no longer be used because
    // it has expired.
    Continue string
}

ListOptions is the query options to a standard REST list call.

func (*ListOptions) DeepCopy Uses

func (in *ListOptions) DeepCopy() *ListOptions

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

func (*ListOptions) DeepCopyInto Uses

func (in *ListOptions) DeepCopyInto(out *ListOptions)

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

func (*ListOptions) DeepCopyObject Uses

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

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

Package internalversion imports 9 packages (graph) and is imported by 136 packages. Updated 2019-06-01. Refresh now. Tools for package owners.