v1

package
v0.16.6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 25 Imported by: 181,420

Documentation

Overview

Package v1 contains API types that are common to all versions.

The package contains two categories of types:

  • external (serialized) types that lack their own version (e.g TypeMeta)
  • internal (never-serialized) types that are needed by several different api groups, and so live here, to avoid duplication and/or import loops (e.g. LabelSelector).

In the future, we will probably move these categories of objects into separate packages.

Index

Constants

View Source
const (
	FinalizerOrphanDependents string = "orphan"
	FinalizerDeleteDependents string = "foregroundDeletion"
)

These are internal finalizer values for Kubernetes-like APIs, must be qualified name unless defined here

View Source
const (
	// NamespaceDefault means the object is in the default namespace which is applied when not specified by clients
	NamespaceDefault string = "default"
	// NamespaceAll is the default argument to specify on a context when you want to list or filter resources across all namespaces
	NamespaceAll string = ""
	// NamespaceNone is the argument for a context when there is no namespace.
	NamespaceNone string = ""
	// NamespaceSystem is the system namespace where we place system components.
	NamespaceSystem string = "kube-system"
	// NamespacePublic is the namespace where we place public info (ConfigMaps)
	NamespacePublic string = "kube-public"
)
View Source
const (
	StatusSuccess = "Success"
	StatusFailure = "Failure"
)

Values of Status.Status

View Source
const (
	// DryRunAll means to complete all processing stages, but don't
	// persist changes to storage.
	DryRunAll = "All"
)
View Source
const GroupName = "meta.k8s.io"

GroupName is the group name for this API.

View Source
const RFC3339Micro = "2006-01-02T15:04:05.000000Z07:00"
View Source
const WatchEventKind = "WatchEvent"

WatchEventKind is name reserved for serializing watch events.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var ParameterCodec = runtime.NewParameterCodec(scheme)

ParameterCodec knows about query parameters used with the meta v1 API spec.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

View Source
var Unversioned = schema.GroupVersion{Group: "", Version: "v1"}

Unversioned is group version for unversioned API objects TODO: this should be v1 probably

Functions

func AddConversionFuncs

func AddConversionFuncs(scheme *runtime.Scheme) error

func AddMetaToScheme

func AddMetaToScheme(scheme *runtime.Scheme) error

func AddToGroupVersion

func AddToGroupVersion(scheme *runtime.Scheme, groupVersion schema.GroupVersion)

AddToGroupVersion registers common meta types into schemas.

func Convert_Map_string_To_string_To_v1_LabelSelector

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

func Convert_Pointer_bool_To_bool

func Convert_Pointer_bool_To_bool(in **bool, out *bool, s conversion.Scope) error

func Convert_Pointer_float64_To_float64

func Convert_Pointer_float64_To_float64(in **float64, out *float64, s conversion.Scope) error

func Convert_Pointer_int32_To_int32

func Convert_Pointer_int32_To_int32(in **int32, out *int32, s conversion.Scope) error

func Convert_Pointer_int64_To_int

func Convert_Pointer_int64_To_int(in **int64, out *int, s conversion.Scope) error

func Convert_Pointer_int64_To_int64

func Convert_Pointer_int64_To_int64(in **int64, out *int64, s conversion.Scope) error

func Convert_Pointer_string_To_string

func Convert_Pointer_string_To_string(in **string, out *string, s conversion.Scope) error

func Convert_Pointer_v1_Duration_To_v1_Duration

func Convert_Pointer_v1_Duration_To_v1_Duration(in **Duration, out *Duration, s conversion.Scope) error

func Convert_Slice_string_To_Slice_int32

func Convert_Slice_string_To_Slice_int32(in *[]string, out *[]int32, s conversion.Scope) error

Convert_Slice_string_To_Slice_int32 converts multiple query parameters or a single query parameter with a comma delimited value to multiple int32. This is used for port forwarding which needs the ports as int32.

func Convert_Slice_string_To_v1_DeletionPropagation

func Convert_Slice_string_To_v1_DeletionPropagation(input *[]string, out *DeletionPropagation, s conversion.Scope) error

Convert_Slice_string_To_v1_DeletionPropagation allows converting a URL query parameter propagationPolicy

func Convert_Slice_string_To_v1_IncludeObjectPolicy

func Convert_Slice_string_To_v1_IncludeObjectPolicy(input *[]string, out *IncludeObjectPolicy, s conversion.Scope) error

Convert_Slice_string_To_v1_IncludeObjectPolicy allows converting a URL query parameter value

func Convert_Slice_string_To_v1_Time

func Convert_Slice_string_To_v1_Time(input *[]string, out *Time, s conversion.Scope) error

Convert_Slice_string_To_v1_Time allows converting a URL query parameter value

func Convert_bool_To_Pointer_bool

func Convert_bool_To_Pointer_bool(in *bool, out **bool, s conversion.Scope) error

func Convert_fields_Selector_To_string

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

func Convert_float64_To_Pointer_float64

func Convert_float64_To_Pointer_float64(in *float64, out **float64, s conversion.Scope) error

func Convert_int32_To_Pointer_int32

func Convert_int32_To_Pointer_int32(in *int32, out **int32, s conversion.Scope) error

func Convert_int64_To_Pointer_int64

func Convert_int64_To_Pointer_int64(in *int64, out **int64, s conversion.Scope) error

func Convert_int_To_Pointer_int64

func Convert_int_To_Pointer_int64(in *int, out **int64, s conversion.Scope) error

func Convert_intstr_IntOrString_To_intstr_IntOrString

func Convert_intstr_IntOrString_To_intstr_IntOrString(in, out *intstr.IntOrString, s conversion.Scope) error

+k8s:conversion-fn=copy-only

func Convert_labels_Selector_To_string

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

func Convert_resource_Quantity_To_resource_Quantity

func Convert_resource_Quantity_To_resource_Quantity(in *resource.Quantity, out *resource.Quantity, s conversion.Scope) error

+k8s:conversion-fn=copy-only

func Convert_string_To_Pointer_string

func Convert_string_To_Pointer_string(in *string, out **string, 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_Duration_To_Pointer_v1_Duration

func Convert_v1_Duration_To_Pointer_v1_Duration(in *Duration, out **Duration, s conversion.Scope) error

func Convert_v1_InternalEvent_To_v1_WatchEvent

func Convert_v1_InternalEvent_To_v1_WatchEvent(in *InternalEvent, out *WatchEvent, s conversion.Scope) error

func Convert_v1_LabelSelector_To_Map_string_To_string

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

func Convert_v1_ListMeta_To_v1_ListMeta

func Convert_v1_ListMeta_To_v1_ListMeta(in, out *ListMeta, s conversion.Scope) error

+k8s:conversion-fn=copy-only

func Convert_v1_MicroTime_To_v1_MicroTime

func Convert_v1_MicroTime_To_v1_MicroTime(in *MicroTime, out *MicroTime, s conversion.Scope) error

+k8s:conversion-fn=copy-only

func Convert_v1_Time_To_v1_Time

func Convert_v1_Time_To_v1_Time(in *Time, out *Time, s conversion.Scope) error

+k8s:conversion-fn=copy-only

func Convert_v1_TypeMeta_To_v1_TypeMeta

func Convert_v1_TypeMeta_To_v1_TypeMeta(in, out *TypeMeta, s conversion.Scope) error

+k8s:conversion-fn=drop

func Convert_v1_WatchEvent_To_v1_InternalEvent

func Convert_v1_WatchEvent_To_v1_InternalEvent(in *WatchEvent, out *InternalEvent, s conversion.Scope) error

func Convert_v1_WatchEvent_To_watch_Event

func Convert_v1_WatchEvent_To_watch_Event(in *WatchEvent, out *watch.Event, s conversion.Scope) error

func Convert_watch_Event_To_v1_WatchEvent

func Convert_watch_Event_To_v1_WatchEvent(in *watch.Event, out *WatchEvent, s conversion.Scope) error

func ExtractGroupVersions

func ExtractGroupVersions(l *APIGroupList) []string

func FieldSelectorQueryParam

func FieldSelectorQueryParam(version string) string

TODO: remove me when watch is refactored

func FormatLabelSelector

func FormatLabelSelector(labelSelector *LabelSelector) string

FormatLabelSelector convert labelSelector into plain string

func HasAnnotation

func HasAnnotation(obj ObjectMeta, ann string) bool

HasAnnotation returns a bool if passed in annotation exists

func HasObjectMetaSystemFieldValues

func HasObjectMetaSystemFieldValues(meta Object) bool

HasObjectMetaSystemFieldValues returns true if fields that are managed by the system on ObjectMeta have values.

func IsControlledBy

func IsControlledBy(obj Object, owner Object) bool

IsControlledBy checks if the object has a controllerRef set to the given owner

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func LabelSelectorAsMap

func LabelSelectorAsMap(ps *LabelSelector) (map[string]string, error)

LabelSelectorAsMap converts the LabelSelector api type into a map of strings, ie. the original structure of a label selector. Operators that cannot be converted into plain labels (Exists, DoesNotExist, NotIn, and In with more than one value) will result in an error.

func LabelSelectorAsSelector

func LabelSelectorAsSelector(ps *LabelSelector) (labels.Selector, error)

LabelSelectorAsSelector converts the LabelSelector api type into a struct that implements labels.Selector Note: This function should be kept in sync with the selector methods in pkg/labels/selector.go

func LabelSelectorQueryParam

func LabelSelectorQueryParam(version string) string

TODO: remove me when watch is refactored

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 ResetObjectMetaForStatus

func ResetObjectMetaForStatus(meta, existingMeta Object)

ResetObjectMetaForStatus forces the meta fields for a status update to match the meta fields for a pre-existing object. This is opt-in for new objects with Status subresource.

func SelectorHasLabel

func SelectorHasLabel(selector *LabelSelector, labelKey string) bool

SelectorHasLabel checks if the given selector contains the given label key in its MatchLabels

func SetMetaDataAnnotation

func SetMetaDataAnnotation(obj *ObjectMeta, ann string, value string)

SetMetaDataAnnotation sets the annotation and value

Types

type APIGroup

type APIGroup struct {
	TypeMeta `json:",inline"`
	// name is the name of the group.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// versions are the versions supported in this group.
	Versions []GroupVersionForDiscovery `json:"versions" protobuf:"bytes,2,rep,name=versions"`
	// preferredVersion is the version preferred by the API server, which
	// probably is the storage version.
	// +optional
	PreferredVersion GroupVersionForDiscovery `json:"preferredVersion,omitempty" protobuf:"bytes,3,opt,name=preferredVersion"`
	// a map of client CIDR to server address that is serving this group.
	// This is to help clients reach servers in the most network-efficient way possible.
	// Clients can use the appropriate server address as per the CIDR that they match.
	// In case of multiple matches, clients should use the longest matching CIDR.
	// The server returns only those CIDRs that it thinks that the client can match.
	// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
	// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
	// +optional
	ServerAddressByClientCIDRs []ServerAddressByClientCIDR `json:"serverAddressByClientCIDRs,omitempty" protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs"`
}

APIGroup contains the name, the supported versions, and the preferred version of a group.

func (*APIGroup) DeepCopy

func (in *APIGroup) DeepCopy() *APIGroup

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

func (*APIGroup) DeepCopyInto

func (in *APIGroup) DeepCopyInto(out *APIGroup)

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

func (*APIGroup) DeepCopyObject

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

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

func (*APIGroup) Descriptor

func (*APIGroup) Descriptor() ([]byte, []int)

func (*APIGroup) Marshal

func (m *APIGroup) Marshal() (dAtA []byte, err error)

func (*APIGroup) MarshalTo

func (m *APIGroup) MarshalTo(dAtA []byte) (int, error)

func (*APIGroup) MarshalToSizedBuffer added in v0.16.4

func (m *APIGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIGroup) ProtoMessage

func (*APIGroup) ProtoMessage()

func (*APIGroup) Reset

func (m *APIGroup) Reset()

func (*APIGroup) Size

func (m *APIGroup) Size() (n int)

func (*APIGroup) String

func (this *APIGroup) String() string

func (APIGroup) SwaggerDoc

func (APIGroup) SwaggerDoc() map[string]string

func (*APIGroup) Unmarshal

func (m *APIGroup) Unmarshal(dAtA []byte) error

func (*APIGroup) XXX_DiscardUnknown added in v0.16.4

func (m *APIGroup) XXX_DiscardUnknown()

func (*APIGroup) XXX_Marshal added in v0.16.4

func (m *APIGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIGroup) XXX_Merge added in v0.16.4

func (m *APIGroup) XXX_Merge(src proto.Message)

func (*APIGroup) XXX_Size added in v0.16.4

func (m *APIGroup) XXX_Size() int

func (*APIGroup) XXX_Unmarshal added in v0.16.4

func (m *APIGroup) XXX_Unmarshal(b []byte) error

type APIGroupList

type APIGroupList struct {
	TypeMeta `json:",inline"`
	// groups is a list of APIGroup.
	Groups []APIGroup `json:"groups" protobuf:"bytes,1,rep,name=groups"`
}

APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.

func (*APIGroupList) DeepCopy

func (in *APIGroupList) DeepCopy() *APIGroupList

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

func (*APIGroupList) DeepCopyInto

func (in *APIGroupList) DeepCopyInto(out *APIGroupList)

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

func (*APIGroupList) DeepCopyObject

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

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

func (*APIGroupList) Descriptor

func (*APIGroupList) Descriptor() ([]byte, []int)

func (*APIGroupList) Marshal

func (m *APIGroupList) Marshal() (dAtA []byte, err error)

func (*APIGroupList) MarshalTo

func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error)

func (*APIGroupList) MarshalToSizedBuffer added in v0.16.4

func (m *APIGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIGroupList) ProtoMessage

func (*APIGroupList) ProtoMessage()

func (*APIGroupList) Reset

func (m *APIGroupList) Reset()

func (*APIGroupList) Size

func (m *APIGroupList) Size() (n int)

func (*APIGroupList) String

func (this *APIGroupList) String() string

func (APIGroupList) SwaggerDoc

func (APIGroupList) SwaggerDoc() map[string]string

func (*APIGroupList) Unmarshal

func (m *APIGroupList) Unmarshal(dAtA []byte) error

func (*APIGroupList) XXX_DiscardUnknown added in v0.16.4

func (m *APIGroupList) XXX_DiscardUnknown()

func (*APIGroupList) XXX_Marshal added in v0.16.4

func (m *APIGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIGroupList) XXX_Merge added in v0.16.4

func (m *APIGroupList) XXX_Merge(src proto.Message)

func (*APIGroupList) XXX_Size added in v0.16.4

func (m *APIGroupList) XXX_Size() int

func (*APIGroupList) XXX_Unmarshal added in v0.16.4

func (m *APIGroupList) XXX_Unmarshal(b []byte) error

type APIResource

type APIResource struct {
	// name is the plural name of the resource.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
	// The singularName is more correct for reporting status on a single item and both singular and plural are allowed
	// from the kubectl CLI interface.
	SingularName string `json:"singularName" protobuf:"bytes,6,opt,name=singularName"`
	// namespaced indicates if a resource is namespaced or not.
	Namespaced bool `json:"namespaced" protobuf:"varint,2,opt,name=namespaced"`
	// group is the preferred group of the resource.  Empty implies the group of the containing resource list.
	// For subresources, this may have a different value, for example: Scale".
	Group string `json:"group,omitempty" protobuf:"bytes,8,opt,name=group"`
	// version is the preferred version of the resource.  Empty implies the version of the containing resource list
	// For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
	Version string `json:"version,omitempty" protobuf:"bytes,9,opt,name=version"`
	// kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
	Kind string `json:"kind" protobuf:"bytes,3,opt,name=kind"`
	// verbs is a list of supported kube verbs (this includes get, list, watch, create,
	// update, patch, delete, deletecollection, and proxy)
	Verbs Verbs `json:"verbs" protobuf:"bytes,4,opt,name=verbs"`
	// shortNames is a list of suggested short names of the resource.
	ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,5,rep,name=shortNames"`
	// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
	Categories []string `json:"categories,omitempty" protobuf:"bytes,7,rep,name=categories"`
	// The hash value of the storage version, the version this resource is
	// converted to when written to the data store. Value must be treated
	// as opaque by clients. Only equality comparison on the value is valid.
	// This is an alpha feature and may change or be removed in the future.
	// The field is populated by the apiserver only if the
	// StorageVersionHash feature gate is enabled.
	// This field will remain optional even if it graduates.
	// +optional
	StorageVersionHash string `json:"storageVersionHash,omitempty" protobuf:"bytes,10,opt,name=storageVersionHash"`
}

APIResource specifies the name of a resource and whether it is namespaced.

func (*APIResource) DeepCopy

func (in *APIResource) DeepCopy() *APIResource

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

func (*APIResource) DeepCopyInto

func (in *APIResource) DeepCopyInto(out *APIResource)

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

func (*APIResource) Descriptor

func (*APIResource) Descriptor() ([]byte, []int)

func (*APIResource) Marshal

func (m *APIResource) Marshal() (dAtA []byte, err error)

func (*APIResource) MarshalTo

func (m *APIResource) MarshalTo(dAtA []byte) (int, error)

func (*APIResource) MarshalToSizedBuffer added in v0.16.4

func (m *APIResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIResource) ProtoMessage

func (*APIResource) ProtoMessage()

func (*APIResource) Reset

func (m *APIResource) Reset()

func (*APIResource) Size

func (m *APIResource) Size() (n int)

func (*APIResource) String

func (this *APIResource) String() string

func (APIResource) SwaggerDoc

func (APIResource) SwaggerDoc() map[string]string

func (*APIResource) Unmarshal

func (m *APIResource) Unmarshal(dAtA []byte) error

func (*APIResource) XXX_DiscardUnknown added in v0.16.4

func (m *APIResource) XXX_DiscardUnknown()

func (*APIResource) XXX_Marshal added in v0.16.4

func (m *APIResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIResource) XXX_Merge added in v0.16.4

func (m *APIResource) XXX_Merge(src proto.Message)

func (*APIResource) XXX_Size added in v0.16.4

func (m *APIResource) XXX_Size() int

func (*APIResource) XXX_Unmarshal added in v0.16.4

func (m *APIResource) XXX_Unmarshal(b []byte) error

type APIResourceList

type APIResourceList struct {
	TypeMeta `json:",inline"`
	// groupVersion is the group and version this APIResourceList is for.
	GroupVersion string `json:"groupVersion" protobuf:"bytes,1,opt,name=groupVersion"`
	// resources contains the name of the resources and if they are namespaced.
	APIResources []APIResource `json:"resources" protobuf:"bytes,2,rep,name=resources"`
}

APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.

func (*APIResourceList) DeepCopy

func (in *APIResourceList) DeepCopy() *APIResourceList

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

func (*APIResourceList) DeepCopyInto

func (in *APIResourceList) DeepCopyInto(out *APIResourceList)

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

func (*APIResourceList) DeepCopyObject

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

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

func (*APIResourceList) Descriptor

func (*APIResourceList) Descriptor() ([]byte, []int)

func (*APIResourceList) Marshal

func (m *APIResourceList) Marshal() (dAtA []byte, err error)

func (*APIResourceList) MarshalTo

func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error)

func (*APIResourceList) MarshalToSizedBuffer added in v0.16.4

func (m *APIResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIResourceList) ProtoMessage

func (*APIResourceList) ProtoMessage()

func (*APIResourceList) Reset

func (m *APIResourceList) Reset()

func (*APIResourceList) Size

func (m *APIResourceList) Size() (n int)

func (*APIResourceList) String

func (this *APIResourceList) String() string

func (APIResourceList) SwaggerDoc

func (APIResourceList) SwaggerDoc() map[string]string

func (*APIResourceList) Unmarshal

func (m *APIResourceList) Unmarshal(dAtA []byte) error

func (*APIResourceList) XXX_DiscardUnknown added in v0.16.4

func (m *APIResourceList) XXX_DiscardUnknown()

func (*APIResourceList) XXX_Marshal added in v0.16.4

func (m *APIResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIResourceList) XXX_Merge added in v0.16.4

func (m *APIResourceList) XXX_Merge(src proto.Message)

func (*APIResourceList) XXX_Size added in v0.16.4

func (m *APIResourceList) XXX_Size() int

func (*APIResourceList) XXX_Unmarshal added in v0.16.4

func (m *APIResourceList) XXX_Unmarshal(b []byte) error

type APIVersions

type APIVersions struct {
	TypeMeta `json:",inline"`
	// versions are the api versions that are available.
	Versions []string `json:"versions" protobuf:"bytes,1,rep,name=versions"`
	// a map of client CIDR to server address that is serving this group.
	// This is to help clients reach servers in the most network-efficient way possible.
	// Clients can use the appropriate server address as per the CIDR that they match.
	// In case of multiple matches, clients should use the longest matching CIDR.
	// The server returns only those CIDRs that it thinks that the client can match.
	// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
	// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
	ServerAddressByClientCIDRs []ServerAddressByClientCIDR `json:"serverAddressByClientCIDRs" protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs"`
}

APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.

+protobuf.options.(gogoproto.goproto_stringer)=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*APIVersions) DeepCopy

func (in *APIVersions) DeepCopy() *APIVersions

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

func (*APIVersions) DeepCopyInto

func (in *APIVersions) DeepCopyInto(out *APIVersions)

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

func (*APIVersions) DeepCopyObject

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

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

func (*APIVersions) Descriptor

func (*APIVersions) Descriptor() ([]byte, []int)

func (APIVersions) GoString

func (apiVersions APIVersions) GoString() string

func (*APIVersions) Marshal

func (m *APIVersions) Marshal() (dAtA []byte, err error)

func (*APIVersions) MarshalTo

func (m *APIVersions) MarshalTo(dAtA []byte) (int, error)

func (*APIVersions) MarshalToSizedBuffer added in v0.16.4

func (m *APIVersions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIVersions) ProtoMessage

func (*APIVersions) ProtoMessage()

func (*APIVersions) Reset

func (m *APIVersions) Reset()

func (*APIVersions) Size

func (m *APIVersions) Size() (n int)

func (APIVersions) String

func (apiVersions APIVersions) String() string

String returns available api versions as a human-friendly version string.

func (APIVersions) SwaggerDoc

func (APIVersions) SwaggerDoc() map[string]string

func (*APIVersions) Unmarshal

func (m *APIVersions) Unmarshal(dAtA []byte) error

func (*APIVersions) XXX_DiscardUnknown added in v0.16.4

func (m *APIVersions) XXX_DiscardUnknown()

func (*APIVersions) XXX_Marshal added in v0.16.4

func (m *APIVersions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIVersions) XXX_Merge added in v0.16.4

func (m *APIVersions) XXX_Merge(src proto.Message)

func (*APIVersions) XXX_Size added in v0.16.4

func (m *APIVersions) XXX_Size() int

func (*APIVersions) XXX_Unmarshal added in v0.16.4

func (m *APIVersions) XXX_Unmarshal(b []byte) error

type CauseType

type CauseType string

CauseType is a machine readable value providing more detail about what occurred in a status response. An operation may have multiple causes for a status (whether Failure or Success).

const (
	// CauseTypeFieldValueNotFound is used to report failure to find a requested value
	// (e.g. looking up an ID).
	CauseTypeFieldValueNotFound CauseType = "FieldValueNotFound"
	// CauseTypeFieldValueRequired is used to report required values that are not
	// provided (e.g. empty strings, null values, or empty arrays).
	CauseTypeFieldValueRequired CauseType = "FieldValueRequired"
	// CauseTypeFieldValueDuplicate is used to report collisions of values that must be
	// unique (e.g. unique IDs).
	CauseTypeFieldValueDuplicate CauseType = "FieldValueDuplicate"
	// CauseTypeFieldValueInvalid is used to report malformed values (e.g. failed regex
	// match).
	CauseTypeFieldValueInvalid CauseType = "FieldValueInvalid"
	// CauseTypeFieldValueNotSupported is used to report valid (as per formatting rules)
	// values that can not be handled (e.g. an enumerated string).
	CauseTypeFieldValueNotSupported CauseType = "FieldValueNotSupported"
	// CauseTypeUnexpectedServerResponse is used to report when the server responded to the client
	// without the expected return type. The presence of this cause indicates the error may be
	// due to an intervening proxy or the server software malfunctioning.
	CauseTypeUnexpectedServerResponse CauseType = "UnexpectedServerResponse"
	// FieldManagerConflict is used to report when another client claims to manage this field,
	// It should only be returned for a request using server-side apply.
	CauseTypeFieldManagerConflict CauseType = "FieldManagerConflict"
)

type Common

type Common interface {
	GetResourceVersion() string
	SetResourceVersion(version string)
	GetSelfLink() string
	SetSelfLink(selfLink string)
}

Common lets you work with core metadata from any of the versioned or internal API objects. Attempting to set or retrieve a field on an object that does not support that field will be a no-op and return a default value. TODO: move this, and TypeMeta and ListMeta, to a different package

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition. "ConditionFalse" means a resource is not in the condition. "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type CreateOptions

type CreateOptions struct {
	TypeMeta `json:",inline"`

	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`

	// fieldManager is a name associated with the actor or entity
	// that is making these changes. The value must be less than or
	// 128 characters long, and only contain printable characters,
	// as defined by https://golang.org/pkg/unicode/#IsPrint.
	// +optional
	FieldManager string `json:"fieldManager,omitempty" protobuf:"bytes,3,name=fieldManager"`
}

CreateOptions may be provided when creating an API object.

func (*CreateOptions) DeepCopy

func (in *CreateOptions) DeepCopy() *CreateOptions

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

func (*CreateOptions) DeepCopyInto

func (in *CreateOptions) DeepCopyInto(out *CreateOptions)

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

func (*CreateOptions) DeepCopyObject

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

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

func (*CreateOptions) Descriptor

func (*CreateOptions) Descriptor() ([]byte, []int)

func (*CreateOptions) Marshal

func (m *CreateOptions) Marshal() (dAtA []byte, err error)

func (*CreateOptions) MarshalTo

func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error)

func (*CreateOptions) MarshalToSizedBuffer added in v0.16.4

func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateOptions) ProtoMessage

func (*CreateOptions) ProtoMessage()

func (*CreateOptions) Reset

func (m *CreateOptions) Reset()

func (*CreateOptions) Size

func (m *CreateOptions) Size() (n int)

func (*CreateOptions) String

func (this *CreateOptions) String() string

func (CreateOptions) SwaggerDoc

func (CreateOptions) SwaggerDoc() map[string]string

func (*CreateOptions) Unmarshal

func (m *CreateOptions) Unmarshal(dAtA []byte) error

func (*CreateOptions) XXX_DiscardUnknown added in v0.16.4

func (m *CreateOptions) XXX_DiscardUnknown()

func (*CreateOptions) XXX_Marshal added in v0.16.4

func (m *CreateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateOptions) XXX_Merge added in v0.16.4

func (m *CreateOptions) XXX_Merge(src proto.Message)

func (*CreateOptions) XXX_Size added in v0.16.4

func (m *CreateOptions) XXX_Size() int

func (*CreateOptions) XXX_Unmarshal added in v0.16.4

func (m *CreateOptions) XXX_Unmarshal(b []byte) error

type DeleteOptions

type DeleteOptions struct {
	TypeMeta `json:",inline"`

	// The duration in seconds before the object should be deleted. Value must be non-negative integer.
	// The value zero indicates delete immediately. If this value is nil, the default grace period for the
	// specified type will be used.
	// Defaults to a per object value if not specified. zero means delete immediately.
	// +optional
	GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty" protobuf:"varint,1,opt,name=gracePeriodSeconds"`

	// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
	// returned.
	// +optional
	Preconditions *Preconditions `json:"preconditions,omitempty" protobuf:"bytes,2,opt,name=preconditions"`

	// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
	// Should the dependent objects be orphaned. If true/false, the "orphan"
	// finalizer will be added to/removed from the object's finalizers list.
	// Either this field or PropagationPolicy may be set, but not both.
	// +optional
	OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"`

	// Whether and how garbage collection will be performed.
	// Either this field or OrphanDependents may be set, but not both.
	// The default policy is decided by the existing finalizer set in the
	// metadata.finalizers and the resource-specific default policy.
	// Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
	// allow the garbage collector to delete the dependents in the background;
	// 'Foreground' - a cascading policy that deletes all dependents in the
	// foreground.
	// +optional
	PropagationPolicy *DeletionPropagation `json:"propagationPolicy,omitempty" protobuf:"varint,4,opt,name=propagationPolicy"`

	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,5,rep,name=dryRun"`
}

DeleteOptions may be provided when deleting an API object.

func NewDeleteOptions

func NewDeleteOptions(grace int64) *DeleteOptions

NewDeleteOptions returns a DeleteOptions indicating the resource should be deleted within the specified grace period. Use zero to indicate immediate deletion. If you would prefer to use the default grace period, use &metav1.DeleteOptions{} directly.

func NewPreconditionDeleteOptions

func NewPreconditionDeleteOptions(uid string) *DeleteOptions

NewPreconditionDeleteOptions returns a DeleteOptions with a UID precondition set.

func NewRVDeletionPrecondition

func NewRVDeletionPrecondition(rv string) *DeleteOptions

NewRVDeletionPrecondition returns a DeleteOptions with a ResourceVersion precondition set.

func (*DeleteOptions) DeepCopy

func (in *DeleteOptions) DeepCopy() *DeleteOptions

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

func (*DeleteOptions) DeepCopyInto

func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions)

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

func (*DeleteOptions) DeepCopyObject

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

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

func (*DeleteOptions) Descriptor

func (*DeleteOptions) Descriptor() ([]byte, []int)

func (*DeleteOptions) Marshal

func (m *DeleteOptions) Marshal() (dAtA []byte, err error)

func (*DeleteOptions) MarshalTo

func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error)

func (*DeleteOptions) MarshalToSizedBuffer added in v0.16.4

func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteOptions) ProtoMessage

func (*DeleteOptions) ProtoMessage()

func (*DeleteOptions) Reset

func (m *DeleteOptions) Reset()

func (*DeleteOptions) Size

func (m *DeleteOptions) Size() (n int)

func (*DeleteOptions) String

func (this *DeleteOptions) String() string

func (DeleteOptions) SwaggerDoc

func (DeleteOptions) SwaggerDoc() map[string]string

func (*DeleteOptions) Unmarshal

func (m *DeleteOptions) Unmarshal(dAtA []byte) error

func (*DeleteOptions) XXX_DiscardUnknown added in v0.16.4

func (m *DeleteOptions) XXX_DiscardUnknown()

func (*DeleteOptions) XXX_Marshal added in v0.16.4

func (m *DeleteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteOptions) XXX_Merge added in v0.16.4

func (m *DeleteOptions) XXX_Merge(src proto.Message)

func (*DeleteOptions) XXX_Size added in v0.16.4

func (m *DeleteOptions) XXX_Size() int

func (*DeleteOptions) XXX_Unmarshal added in v0.16.4

func (m *DeleteOptions) XXX_Unmarshal(b []byte) error

type DeletionPropagation

type DeletionPropagation string

DeletionPropagation decides if a deletion will propagate to the dependents of the object, and how the garbage collector will handle the propagation.

const (
	// Orphans the dependents.
	DeletePropagationOrphan DeletionPropagation = "Orphan"
	// Deletes the object from the key-value store, the garbage collector will
	// delete the dependents in the background.
	DeletePropagationBackground DeletionPropagation = "Background"
	// The object exists in the key-value store until the garbage collector
	// deletes all the dependents whose ownerReference.blockOwnerDeletion=true
	// from the key-value store.  API sever will put the "foregroundDeletion"
	// finalizer on the object, and sets its deletionTimestamp.  This policy is
	// cascading, i.e., the dependents will be deleted with Foreground.
	DeletePropagationForeground DeletionPropagation = "Foreground"
)

type Duration

type Duration struct {
	time.Duration `protobuf:"varint,1,opt,name=duration,casttype=time.Duration"`
}

Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.

func (*Duration) DeepCopy

func (in *Duration) DeepCopy() *Duration

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

func (*Duration) DeepCopyInto

func (in *Duration) DeepCopyInto(out *Duration)

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

func (*Duration) Descriptor

func (*Duration) Descriptor() ([]byte, []int)

func (*Duration) Marshal

func (m *Duration) Marshal() (dAtA []byte, err error)

func (Duration) MarshalJSON

func (d Duration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Duration) MarshalTo

func (m *Duration) MarshalTo(dAtA []byte) (int, error)

func (*Duration) MarshalToSizedBuffer added in v0.16.4

func (m *Duration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Duration) OpenAPISchemaFormat

func (_ Duration) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (Duration) OpenAPISchemaType

func (_ Duration) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) Reset

func (m *Duration) Reset()

func (*Duration) Size

func (m *Duration) Size() (n int)

func (*Duration) String

func (this *Duration) String() string

func (*Duration) Unmarshal

func (m *Duration) Unmarshal(dAtA []byte) error

func (*Duration) UnmarshalJSON

func (d *Duration) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*Duration) XXX_DiscardUnknown added in v0.16.4

func (m *Duration) XXX_DiscardUnknown()

func (*Duration) XXX_Marshal added in v0.16.4

func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Duration) XXX_Merge added in v0.16.4

func (m *Duration) XXX_Merge(src proto.Message)

func (*Duration) XXX_Size added in v0.16.4

func (m *Duration) XXX_Size() int

func (*Duration) XXX_Unmarshal added in v0.16.4

func (m *Duration) XXX_Unmarshal(b []byte) error

type ExportOptions

type ExportOptions struct {
	TypeMeta `json:",inline"`
	// Should this value be exported.  Export strips fields that a user can not specify.
	// Deprecated. Planned for removal in 1.18.
	Export bool `json:"export" protobuf:"varint,1,opt,name=export"`
	// Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
	// Deprecated. Planned for removal in 1.18.
	Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"`
}

ExportOptions is the query options to the standard REST get call. Deprecated. Planned for removal in 1.18.

func (*ExportOptions) DeepCopy

func (in *ExportOptions) DeepCopy() *ExportOptions

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

func (*ExportOptions) DeepCopyInto

func (in *ExportOptions) DeepCopyInto(out *ExportOptions)

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

func (*ExportOptions) DeepCopyObject

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

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

func (*ExportOptions) Descriptor

func (*ExportOptions) Descriptor() ([]byte, []int)

func (*ExportOptions) Marshal

func (m *ExportOptions) Marshal() (dAtA []byte, err error)

func (*ExportOptions) MarshalTo

func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error)

func (*ExportOptions) MarshalToSizedBuffer added in v0.16.4

func (m *ExportOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExportOptions) ProtoMessage

func (*ExportOptions) ProtoMessage()

func (*ExportOptions) Reset

func (m *ExportOptions) Reset()

func (*ExportOptions) Size

func (m *ExportOptions) Size() (n int)

func (*ExportOptions) String

func (this *ExportOptions) String() string

func (ExportOptions) SwaggerDoc

func (ExportOptions) SwaggerDoc() map[string]string

func (*ExportOptions) Unmarshal

func (m *ExportOptions) Unmarshal(dAtA []byte) error

func (*ExportOptions) XXX_DiscardUnknown added in v0.16.4

func (m *ExportOptions) XXX_DiscardUnknown()

func (*ExportOptions) XXX_Marshal added in v0.16.4

func (m *ExportOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportOptions) XXX_Merge added in v0.16.4

func (m *ExportOptions) XXX_Merge(src proto.Message)

func (*ExportOptions) XXX_Size added in v0.16.4

func (m *ExportOptions) XXX_Size() int

func (*ExportOptions) XXX_Unmarshal added in v0.16.4

func (m *ExportOptions) XXX_Unmarshal(b []byte) error

type FieldsV1 added in v0.16.4

type FieldsV1 struct {
	// Raw is the underlying serialization of this object.
	Raw []byte `json:"-" protobuf:"bytes,1,opt,name=Raw"`
}

FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.

Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.

The exact format is defined in sigs.k8s.io/structured-merge-diff

func (*FieldsV1) DeepCopy added in v0.16.4

func (in *FieldsV1) DeepCopy() *FieldsV1

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

func (*FieldsV1) DeepCopyInto added in v0.16.4

func (in *FieldsV1) DeepCopyInto(out *FieldsV1)

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

func (*FieldsV1) Descriptor added in v0.16.4

func (*FieldsV1) Descriptor() ([]byte, []int)

func (*FieldsV1) Marshal added in v0.16.4

func (m *FieldsV1) Marshal() (dAtA []byte, err error)

func (FieldsV1) MarshalJSON added in v0.16.4

func (f FieldsV1) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler MarshalJSON may get called on pointers or values, so implement MarshalJSON on value. http://stackoverflow.com/questions/21390979/custom-marshaljson-never-gets-called-in-go

func (*FieldsV1) MarshalTo added in v0.16.4

func (m *FieldsV1) MarshalTo(dAtA []byte) (int, error)

func (*FieldsV1) MarshalToSizedBuffer added in v0.16.4

func (m *FieldsV1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FieldsV1) ProtoMessage added in v0.16.4

func (*FieldsV1) ProtoMessage()

func (*FieldsV1) Reset added in v0.16.4

func (m *FieldsV1) Reset()

func (*FieldsV1) Size added in v0.16.4

func (m *FieldsV1) Size() (n int)

func (*FieldsV1) String added in v0.16.4

func (this *FieldsV1) String() string

func (FieldsV1) SwaggerDoc added in v0.16.4

func (FieldsV1) SwaggerDoc() map[string]string

func (*FieldsV1) Unmarshal added in v0.16.4

func (m *FieldsV1) Unmarshal(dAtA []byte) error

func (*FieldsV1) UnmarshalJSON added in v0.16.4

func (f *FieldsV1) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FieldsV1) XXX_DiscardUnknown added in v0.16.4

func (m *FieldsV1) XXX_DiscardUnknown()

func (*FieldsV1) XXX_Marshal added in v0.16.4

func (m *FieldsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldsV1) XXX_Merge added in v0.16.4

func (m *FieldsV1) XXX_Merge(src proto.Message)

func (*FieldsV1) XXX_Size added in v0.16.4

func (m *FieldsV1) XXX_Size() int

func (*FieldsV1) XXX_Unmarshal added in v0.16.4

func (m *FieldsV1) XXX_Unmarshal(b []byte) error

type GetOptions

type GetOptions struct {
	TypeMeta `json:",inline"`
	// When specified:
	// - 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 `json:"resourceVersion,omitempty" protobuf:"bytes,1,opt,name=resourceVersion"`
}

GetOptions is the standard query options to the standard REST get call.

func (*GetOptions) DeepCopy

func (in *GetOptions) DeepCopy() *GetOptions

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

func (*GetOptions) DeepCopyInto

func (in *GetOptions) DeepCopyInto(out *GetOptions)

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

func (*GetOptions) DeepCopyObject

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

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

func (*GetOptions) Descriptor

func (*GetOptions) Descriptor() ([]byte, []int)

func (*GetOptions) Marshal

func (m *GetOptions) Marshal() (dAtA []byte, err error)

func (*GetOptions) MarshalTo

func (m *GetOptions) MarshalTo(dAtA []byte) (int, error)

func (*GetOptions) MarshalToSizedBuffer added in v0.16.4

func (m *GetOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetOptions) ProtoMessage

func (*GetOptions) ProtoMessage()

func (*GetOptions) Reset

func (m *GetOptions) Reset()

func (*GetOptions) Size

func (m *GetOptions) Size() (n int)

func (*GetOptions) String

func (this *GetOptions) String() string

func (GetOptions) SwaggerDoc

func (GetOptions) SwaggerDoc() map[string]string

func (*GetOptions) Unmarshal

func (m *GetOptions) Unmarshal(dAtA []byte) error

func (*GetOptions) XXX_DiscardUnknown added in v0.16.4

func (m *GetOptions) XXX_DiscardUnknown()

func (*GetOptions) XXX_Marshal added in v0.16.4

func (m *GetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOptions) XXX_Merge added in v0.16.4

func (m *GetOptions) XXX_Merge(src proto.Message)

func (*GetOptions) XXX_Size added in v0.16.4

func (m *GetOptions) XXX_Size() int

func (*GetOptions) XXX_Unmarshal added in v0.16.4

func (m *GetOptions) XXX_Unmarshal(b []byte) error

type GroupKind

type GroupKind struct {
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	Kind  string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
}

GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupKind) DeepCopy

func (in *GroupKind) DeepCopy() *GroupKind

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

func (*GroupKind) DeepCopyInto

func (in *GroupKind) DeepCopyInto(out *GroupKind)

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

func (*GroupKind) Descriptor

func (*GroupKind) Descriptor() ([]byte, []int)

func (*GroupKind) Marshal

func (m *GroupKind) Marshal() (dAtA []byte, err error)

func (*GroupKind) MarshalTo

func (m *GroupKind) MarshalTo(dAtA []byte) (int, error)

func (*GroupKind) MarshalToSizedBuffer added in v0.16.4

func (m *GroupKind) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupKind) ProtoMessage

func (*GroupKind) ProtoMessage()

func (*GroupKind) Reset

func (m *GroupKind) Reset()

func (*GroupKind) Size

func (m *GroupKind) Size() (n int)

func (*GroupKind) String

func (gk *GroupKind) String() string

func (*GroupKind) Unmarshal

func (m *GroupKind) Unmarshal(dAtA []byte) error

func (*GroupKind) XXX_DiscardUnknown added in v0.16.4

func (m *GroupKind) XXX_DiscardUnknown()

func (*GroupKind) XXX_Marshal added in v0.16.4

func (m *GroupKind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupKind) XXX_Merge added in v0.16.4

func (m *GroupKind) XXX_Merge(src proto.Message)

func (*GroupKind) XXX_Size added in v0.16.4

func (m *GroupKind) XXX_Size() int

func (*GroupKind) XXX_Unmarshal added in v0.16.4

func (m *GroupKind) XXX_Unmarshal(b []byte) error

type GroupResource

type GroupResource struct {
	Group    string `json:"group" protobuf:"bytes,1,opt,name=group"`
	Resource string `json:"resource" protobuf:"bytes,2,opt,name=resource"`
}

GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupResource) DeepCopy

func (in *GroupResource) DeepCopy() *GroupResource

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

func (*GroupResource) DeepCopyInto

func (in *GroupResource) DeepCopyInto(out *GroupResource)

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

func (*GroupResource) Descriptor

func (*GroupResource) Descriptor() ([]byte, []int)

func (*GroupResource) Marshal

func (m *GroupResource) Marshal() (dAtA []byte, err error)

func (*GroupResource) MarshalTo

func (m *GroupResource) MarshalTo(dAtA []byte) (int, error)

func (*GroupResource) MarshalToSizedBuffer added in v0.16.4

func (m *GroupResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupResource) ProtoMessage

func (*GroupResource) ProtoMessage()

func (*GroupResource) Reset

func (m *GroupResource) Reset()

func (*GroupResource) Size

func (m *GroupResource) Size() (n int)

func (*GroupResource) String

func (gr *GroupResource) String() string

func (*GroupResource) Unmarshal

func (m *GroupResource) Unmarshal(dAtA []byte) error

func (*GroupResource) XXX_DiscardUnknown added in v0.16.4

func (m *GroupResource) XXX_DiscardUnknown()

func (*GroupResource) XXX_Marshal added in v0.16.4

func (m *GroupResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupResource) XXX_Merge added in v0.16.4

func (m *GroupResource) XXX_Merge(src proto.Message)

func (*GroupResource) XXX_Size added in v0.16.4

func (m *GroupResource) XXX_Size() int

func (*GroupResource) XXX_Unmarshal added in v0.16.4

func (m *GroupResource) XXX_Unmarshal(b []byte) error

type GroupVersion

type GroupVersion struct {
	Group   string `json:"group" protobuf:"bytes,1,opt,name=group"`
	Version string `json:"version" protobuf:"bytes,2,opt,name=version"`
}

GroupVersion contains the "group" and the "version", which uniquely identifies the API.

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupVersion) DeepCopy

func (in *GroupVersion) DeepCopy() *GroupVersion

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

func (*GroupVersion) DeepCopyInto

func (in *GroupVersion) DeepCopyInto(out *GroupVersion)

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

func (*GroupVersion) Descriptor

func (*GroupVersion) Descriptor() ([]byte, []int)

func (GroupVersion) Empty

func (gv GroupVersion) Empty() bool

Empty returns true if group and version are empty

func (*GroupVersion) Marshal

func (m *GroupVersion) Marshal() (dAtA []byte, err error)

func (GroupVersion) MarshalJSON

func (gv GroupVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface.

func (*GroupVersion) MarshalTo

func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersion) MarshalToSizedBuffer added in v0.16.4

func (m *GroupVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupVersion) ProtoMessage

func (*GroupVersion) ProtoMessage()

func (*GroupVersion) Reset

func (m *GroupVersion) Reset()

func (*GroupVersion) Size

func (m *GroupVersion) Size() (n int)

func (GroupVersion) String

func (gv GroupVersion) String() string

String puts "group" and "version" into a single "group/version" string. For the legacy v1 it returns "v1".

func (*GroupVersion) Unmarshal

func (m *GroupVersion) Unmarshal(dAtA []byte) error

func (*GroupVersion) UnmarshalJSON

func (gv *GroupVersion) UnmarshalJSON(value []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*GroupVersion) UnmarshalText

func (gv *GroupVersion) UnmarshalText(value []byte) error

UnmarshalTEXT implements the Ugorji's encoding.TextUnmarshaler interface.

func (*GroupVersion) XXX_DiscardUnknown added in v0.16.4

func (m *GroupVersion) XXX_DiscardUnknown()

func (*GroupVersion) XXX_Marshal added in v0.16.4

func (m *GroupVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupVersion) XXX_Merge added in v0.16.4

func (m *GroupVersion) XXX_Merge(src proto.Message)

func (*GroupVersion) XXX_Size added in v0.16.4

func (m *GroupVersion) XXX_Size() int

func (*GroupVersion) XXX_Unmarshal added in v0.16.4

func (m *GroupVersion) XXX_Unmarshal(b []byte) error

type GroupVersionForDiscovery

type GroupVersionForDiscovery struct {
	// groupVersion specifies the API group and version in the form "group/version"
	GroupVersion string `json:"groupVersion" protobuf:"bytes,1,opt,name=groupVersion"`
	// version specifies the version in the form of "version". This is to save
	// the clients the trouble of splitting the GroupVersion.
	Version string `json:"version" protobuf:"bytes,2,opt,name=version"`
}

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

func (*GroupVersionForDiscovery) DeepCopy

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

func (*GroupVersionForDiscovery) DeepCopyInto

func (in *GroupVersionForDiscovery) DeepCopyInto(out *GroupVersionForDiscovery)

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

func (*GroupVersionForDiscovery) Descriptor

func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int)

func (*GroupVersionForDiscovery) Marshal

func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error)

func (*GroupVersionForDiscovery) MarshalTo

func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersionForDiscovery) MarshalToSizedBuffer added in v0.16.4

func (m *GroupVersionForDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupVersionForDiscovery) ProtoMessage

func (*GroupVersionForDiscovery) ProtoMessage()

func (*GroupVersionForDiscovery) Reset

func (m *GroupVersionForDiscovery) Reset()

func (*GroupVersionForDiscovery) Size

func (m *GroupVersionForDiscovery) Size() (n int)

func (*GroupVersionForDiscovery) String

func (this *GroupVersionForDiscovery) String() string

func (GroupVersionForDiscovery) SwaggerDoc

func (GroupVersionForDiscovery) SwaggerDoc() map[string]string

func (*GroupVersionForDiscovery) Unmarshal

func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error

func (*GroupVersionForDiscovery) XXX_DiscardUnknown added in v0.16.4

func (m *GroupVersionForDiscovery) XXX_DiscardUnknown()

func (*GroupVersionForDiscovery) XXX_Marshal added in v0.16.4

func (m *GroupVersionForDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupVersionForDiscovery) XXX_Merge added in v0.16.4

func (m *GroupVersionForDiscovery) XXX_Merge(src proto.Message)

func (*GroupVersionForDiscovery) XXX_Size added in v0.16.4

func (m *GroupVersionForDiscovery) XXX_Size() int

func (*GroupVersionForDiscovery) XXX_Unmarshal added in v0.16.4

func (m *GroupVersionForDiscovery) XXX_Unmarshal(b []byte) error

type GroupVersionKind

type GroupVersionKind struct {
	Group   string `json:"group" protobuf:"bytes,1,opt,name=group"`
	Version string `json:"version" protobuf:"bytes,2,opt,name=version"`
	Kind    string `json:"kind" protobuf:"bytes,3,opt,name=kind"`
}

GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupVersionKind) DeepCopy

func (in *GroupVersionKind) DeepCopy() *GroupVersionKind

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

func (*GroupVersionKind) DeepCopyInto

func (in *GroupVersionKind) DeepCopyInto(out *GroupVersionKind)

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

func (*GroupVersionKind) Descriptor

func (*GroupVersionKind) Descriptor() ([]byte, []int)

func (*GroupVersionKind) Marshal

func (m *GroupVersionKind) Marshal() (dAtA []byte, err error)

func (*GroupVersionKind) MarshalTo

func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersionKind) MarshalToSizedBuffer added in v0.16.4

func (m *GroupVersionKind) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupVersionKind) ProtoMessage

func (*GroupVersionKind) ProtoMessage()

func (*GroupVersionKind) Reset

func (m *GroupVersionKind) Reset()

func (*GroupVersionKind) Size

func (m *GroupVersionKind) Size() (n int)

func (GroupVersionKind) String

func (gvk GroupVersionKind) String() string

func (*GroupVersionKind) Unmarshal

func (m *GroupVersionKind) Unmarshal(dAtA []byte) error

func (*GroupVersionKind) XXX_DiscardUnknown added in v0.16.4

func (m *GroupVersionKind) XXX_DiscardUnknown()

func (*GroupVersionKind) XXX_Marshal added in v0.16.4

func (m *GroupVersionKind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupVersionKind) XXX_Merge added in v0.16.4

func (m *GroupVersionKind) XXX_Merge(src proto.Message)

func (*GroupVersionKind) XXX_Size added in v0.16.4

func (m *GroupVersionKind) XXX_Size() int

func (*GroupVersionKind) XXX_Unmarshal added in v0.16.4

func (m *GroupVersionKind) XXX_Unmarshal(b []byte) error

type GroupVersionResource

type GroupVersionResource struct {
	Group    string `json:"group" protobuf:"bytes,1,opt,name=group"`
	Version  string `json:"version" protobuf:"bytes,2,opt,name=version"`
	Resource string `json:"resource" protobuf:"bytes,3,opt,name=resource"`
}

GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupVersionResource) DeepCopy

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

func (*GroupVersionResource) DeepCopyInto

func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource)

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

func (*GroupVersionResource) Descriptor

func (*GroupVersionResource) Descriptor() ([]byte, []int)

func (*GroupVersionResource) Marshal

func (m *GroupVersionResource) Marshal() (dAtA []byte, err error)

func (*GroupVersionResource) MarshalTo

func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersionResource) MarshalToSizedBuffer added in v0.16.4

func (m *GroupVersionResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupVersionResource) ProtoMessage

func (*GroupVersionResource) ProtoMessage()

func (*GroupVersionResource) Reset

func (m *GroupVersionResource) Reset()

func (*GroupVersionResource) Size

func (m *GroupVersionResource) Size() (n int)

func (*GroupVersionResource) String

func (gvr *GroupVersionResource) String() string

func (*GroupVersionResource) Unmarshal

func (m *GroupVersionResource) Unmarshal(dAtA []byte) error

func (*GroupVersionResource) XXX_DiscardUnknown added in v0.16.4

func (m *GroupVersionResource) XXX_DiscardUnknown()

func (*GroupVersionResource) XXX_Marshal added in v0.16.4

func (m *GroupVersionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupVersionResource) XXX_Merge added in v0.16.4

func (m *GroupVersionResource) XXX_Merge(src proto.Message)

func (*GroupVersionResource) XXX_Size added in v0.16.4

func (m *GroupVersionResource) XXX_Size() int

func (*GroupVersionResource) XXX_Unmarshal added in v0.16.4

func (m *GroupVersionResource) XXX_Unmarshal(b []byte) error

type IncludeObjectPolicy

type IncludeObjectPolicy string

IncludeObjectPolicy controls which portion of the object is returned with a Table.

const (
	// IncludeNone returns no object.
	IncludeNone IncludeObjectPolicy = "None"
	// IncludeMetadata serializes the object containing only its metadata field.
	IncludeMetadata IncludeObjectPolicy = "Metadata"
	// IncludeObject contains the full object.
	IncludeObject IncludeObjectPolicy = "Object"
)

type InternalEvent

type InternalEvent watch.Event

InternalEvent makes watch.Event versioned +protobuf=false

func (*InternalEvent) DeepCopy

func (in *InternalEvent) DeepCopy() *InternalEvent

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

func (*InternalEvent) DeepCopyInto

func (in *InternalEvent) DeepCopyInto(out *InternalEvent)

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

func (*InternalEvent) DeepCopyObject

func (e *InternalEvent) DeepCopyObject() runtime.Object

func (*InternalEvent) GetObjectKind

func (e *InternalEvent) GetObjectKind() schema.ObjectKind

type LabelSelector

type LabelSelector struct {
	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	// +optional
	MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"`
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional
	MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"`
}

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

func AddLabelToSelector

func AddLabelToSelector(selector *LabelSelector, labelKey, labelValue string) *LabelSelector

AddLabelToSelector returns a selector with the given key and value added to the given selector's MatchLabels.

func CloneSelectorAndAddLabel

func CloneSelectorAndAddLabel(selector *LabelSelector, labelKey, labelValue string) *LabelSelector

Clones the given selector and returns a new selector with the given key and value added. Returns the given selector, if labelKey is empty.

func ParseToLabelSelector

func ParseToLabelSelector(selector string) (*LabelSelector, error)

ParseToLabelSelector parses a string representing a selector into a LabelSelector object. Note: This function should be kept in sync with the parser in pkg/labels/selector.go

func SetAsLabelSelector

func SetAsLabelSelector(ls labels.Set) *LabelSelector

SetAsLabelSelector converts the labels.Set object into a LabelSelector api object.

func (*LabelSelector) DeepCopy

func (in *LabelSelector) DeepCopy() *LabelSelector

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

func (*LabelSelector) DeepCopyInto

func (in *LabelSelector) DeepCopyInto(out *LabelSelector)

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

func (*LabelSelector) Descriptor

func (*LabelSelector) Descriptor() ([]byte, []int)

func (*LabelSelector) Marshal

func (m *LabelSelector) Marshal() (dAtA []byte, err error)

func (*LabelSelector) MarshalTo

func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error)

func (*LabelSelector) MarshalToSizedBuffer added in v0.16.4

func (m *LabelSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelSelector) ProtoMessage

func (*LabelSelector) ProtoMessage()

func (*LabelSelector) Reset

func (m *LabelSelector) Reset()

func (*LabelSelector) Size

func (m *LabelSelector) Size() (n int)

func (*LabelSelector) String

func (this *LabelSelector) String() string

func (LabelSelector) SwaggerDoc

func (LabelSelector) SwaggerDoc() map[string]string

func (*LabelSelector) Unmarshal

func (m *LabelSelector) Unmarshal(dAtA []byte) error

func (*LabelSelector) XXX_DiscardUnknown added in v0.16.4

func (m *LabelSelector) XXX_DiscardUnknown()

func (*LabelSelector) XXX_Marshal added in v0.16.4

func (m *LabelSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelSelector) XXX_Merge added in v0.16.4

func (m *LabelSelector) XXX_Merge(src proto.Message)

func (*LabelSelector) XXX_Size added in v0.16.4

func (m *LabelSelector) XXX_Size() int

func (*LabelSelector) XXX_Unmarshal added in v0.16.4

func (m *LabelSelector) XXX_Unmarshal(b []byte) error

type LabelSelectorOperator

type LabelSelectorOperator string

A label selector operator is the set of operators that can be used in a selector requirement.

const (
	LabelSelectorOpIn           LabelSelectorOperator = "In"
	LabelSelectorOpNotIn        LabelSelectorOperator = "NotIn"
	LabelSelectorOpExists       LabelSelectorOperator = "Exists"
	LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist"
)

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	// key is the label key that the selector applies to.
	// +patchMergeKey=key
	// +patchStrategy=merge
	Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"`
	// operator represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"`
	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	// +optional
	Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"`
}

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*LabelSelectorRequirement) DeepCopy

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

func (*LabelSelectorRequirement) DeepCopyInto

func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement)

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

func (*LabelSelectorRequirement) Descriptor

func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)

func (*LabelSelectorRequirement) Marshal

func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error)

func (*LabelSelectorRequirement) MarshalTo

func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error)

func (*LabelSelectorRequirement) MarshalToSizedBuffer added in v0.16.4

func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelSelectorRequirement) ProtoMessage

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) Reset

func (m *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) Size

func (m *LabelSelectorRequirement) Size() (n int)

func (*LabelSelectorRequirement) String

func (this *LabelSelectorRequirement) String() string

func (LabelSelectorRequirement) SwaggerDoc

func (LabelSelectorRequirement) SwaggerDoc() map[string]string

func (*LabelSelectorRequirement) Unmarshal

func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error

func (*LabelSelectorRequirement) XXX_DiscardUnknown added in v0.16.4

func (m *LabelSelectorRequirement) XXX_DiscardUnknown()

func (*LabelSelectorRequirement) XXX_Marshal added in v0.16.4

func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelSelectorRequirement) XXX_Merge added in v0.16.4

func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message)

func (*LabelSelectorRequirement) XXX_Size added in v0.16.4

func (m *LabelSelectorRequirement) XXX_Size() int

func (*LabelSelectorRequirement) XXX_Unmarshal added in v0.16.4

func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error

type List

type List struct {
	TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of objects
	Items []runtime.RawExtension `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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

func (*List) DeepCopy

func (in *List) DeepCopy() *List

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

func (*List) DeepCopyInto

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

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

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

func (*List) Descriptor

func (*List) Descriptor() ([]byte, []int)

func (*List) Marshal

func (m *List) Marshal() (dAtA []byte, err error)

func (*List) MarshalTo

func (m *List) MarshalTo(dAtA []byte) (int, error)

func (*List) MarshalToSizedBuffer added in v0.16.4

func (m *List) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (m *List) Reset()

func (*List) Size

func (m *List) Size() (n int)

func (*List) String

func (this *List) String() string

func (List) SwaggerDoc

func (List) SwaggerDoc() map[string]string

func (*List) Unmarshal

func (m *List) Unmarshal(dAtA []byte) error

func (*List) XXX_DiscardUnknown added in v0.16.4

func (m *List) XXX_DiscardUnknown()

func (*List) XXX_Marshal added in v0.16.4

func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*List) XXX_Merge added in v0.16.4

func (m *List) XXX_Merge(src proto.Message)

func (*List) XXX_Size added in v0.16.4

func (m *List) XXX_Size() int

func (*List) XXX_Unmarshal added in v0.16.4

func (m *List) XXX_Unmarshal(b []byte) error

type ListInterface

type ListInterface interface {
	GetResourceVersion() string
	SetResourceVersion(version string)
	GetSelfLink() string
	SetSelfLink(selfLink string)
	GetContinue() string
	SetContinue(c string)
	GetRemainingItemCount() *int64
	SetRemainingItemCount(c *int64)
}

ListInterface lets you work with list metadata from any of the versioned or internal API objects. Attempting to set or retrieve a field on an object that does not support that field will be a no-op and return a default value. TODO: move this, and TypeMeta and ListMeta, to a different package

type ListMeta

type ListMeta struct {
	// selfLink is a URL representing this object.
	// Populated by the system.
	// Read-only.
	//
	// DEPRECATED
	// Kubernetes will stop propagating this field in 1.20 release and the field is planned
	// to be removed in 1.21 release.
	// +optional
	SelfLink string `json:"selfLink,omitempty" protobuf:"bytes,1,opt,name=selfLink"`

	// String that identifies the server's internal version of this object that
	// can be used by clients to determine when objects have changed.
	// Value must be treated as opaque by clients and passed unmodified back to the server.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,2,opt,name=resourceVersion"`

	// continue may be set if the user set a limit on the number of items returned, and indicates that
	// the server has more data available. The value is opaque and may be used to issue another request
	// to the endpoint that served this list to retrieve the next set of available objects. Continuing a
	// consistent list may not be possible if the server configuration has changed or more than a few
	// minutes have passed. The resourceVersion field returned when using this continue value will be
	// identical to the value in the first response, unless you have received this token from an error
	// message.
	Continue string `json:"continue,omitempty" protobuf:"bytes,3,opt,name=continue"`

	// remainingItemCount is the number of subsequent items in the list which are not included in this
	// list response. If the list request contained label or field selectors, then the number of
	// remaining items is unknown and the field will be left unset and omitted during serialization.
	// If the list is complete (either because it is not chunking or because this is the last chunk),
	// then there are no more remaining items and this field will be left unset and omitted during
	// serialization.
	// Servers older than v1.15 do not set this field.
	// The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
	// should not rely on the remainingItemCount to be set or to be exact.
	// +optional
	RemainingItemCount *int64 `json:"remainingItemCount,omitempty" protobuf:"bytes,4,opt,name=remainingItemCount"`
}

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

func (*ListMeta) DeepCopy

func (in *ListMeta) DeepCopy() *ListMeta

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

func (*ListMeta) DeepCopyInto

func (in *ListMeta) DeepCopyInto(out *ListMeta)

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

func (*ListMeta) Descriptor

func (*ListMeta) Descriptor() ([]byte, []int)

func (*ListMeta) GetContinue

func (meta *ListMeta) GetContinue() string

func (*ListMeta) GetListMeta

func (obj *ListMeta) GetListMeta() ListInterface

func (*ListMeta) GetRemainingItemCount

func (meta *ListMeta) GetRemainingItemCount() *int64

func (*ListMeta) GetResourceVersion

func (meta *ListMeta) GetResourceVersion() string
func (meta *ListMeta) GetSelfLink() string

func (*ListMeta) Marshal

func (m *ListMeta) Marshal() (dAtA []byte, err error)

func (*ListMeta) MarshalTo

func (m *ListMeta) MarshalTo(dAtA []byte) (int, error)

func (*ListMeta) MarshalToSizedBuffer added in v0.16.4

func (m *ListMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListMeta) ProtoMessage

func (*ListMeta) ProtoMessage()

func (*ListMeta) Reset

func (m *ListMeta) Reset()

func (*ListMeta) SetContinue

func (meta *ListMeta) SetContinue(c string)

func (*ListMeta) SetRemainingItemCount

func (meta *ListMeta) SetRemainingItemCount(c *int64)

func (*ListMeta) SetResourceVersion

func (meta *ListMeta) SetResourceVersion(version string)
func (meta *ListMeta) SetSelfLink(selfLink string)

func (*ListMeta) Size

func (m *ListMeta) Size() (n int)

func (*ListMeta) String

func (this *ListMeta) String() string

func (ListMeta) SwaggerDoc

func (ListMeta) SwaggerDoc() map[string]string

func (*ListMeta) Unmarshal

func (m *ListMeta) Unmarshal(dAtA []byte) error

func (*ListMeta) XXX_DiscardUnknown added in v0.16.4

func (m *ListMeta) XXX_DiscardUnknown()

func (*ListMeta) XXX_Marshal added in v0.16.4

func (m *ListMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMeta) XXX_Merge added in v0.16.4

func (m *ListMeta) XXX_Merge(src proto.Message)

func (*ListMeta) XXX_Size added in v0.16.4

func (m *ListMeta) XXX_Size() int

func (*ListMeta) XXX_Unmarshal added in v0.16.4

func (m *ListMeta) XXX_Unmarshal(b []byte) error

type ListMetaAccessor

type ListMetaAccessor interface {
	GetListMeta() ListInterface
}

ListMetaAccessor retrieves the list interface from an object

type ListOptions

type ListOptions struct {
	TypeMeta `json:",inline"`

	// A selector to restrict the list of returned objects by their labels.
	// Defaults to everything.
	// +optional
	LabelSelector string `json:"labelSelector,omitempty" protobuf:"bytes,1,opt,name=labelSelector"`
	// A selector to restrict the list of returned objects by their fields.
	// Defaults to everything.
	// +optional
	FieldSelector string `json:"fieldSelector,omitempty" protobuf:"bytes,2,opt,name=fieldSelector"`

	// Watch for changes to the described resources and return them as a stream of
	// add, update, and remove notifications. Specify resourceVersion.
	// +optional
	Watch bool `json:"watch,omitempty" protobuf:"varint,3,opt,name=watch"`
	// 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.
	//
	// This field is beta.
	//
	// +optional
	AllowWatchBookmarks bool `json:"allowWatchBookmarks,omitempty" protobuf:"varint,9,opt,name=allowWatchBookmarks"`

	// 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.
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,4,opt,name=resourceVersion"`
	// Timeout for the list/watch call.
	// This limits the duration of the call, regardless of any activity or inactivity.
	// +optional
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,5,opt,name=timeoutSeconds"`

	// limit is a maximum number of responses to return for a list call. If more items exist, the
	// server will set the `continue` field on the list metadata to a value that can be used with the
	// same initial query to retrieve the next set of results. Setting a limit may return fewer than
	// the requested amount of items (up to zero items) in the event all requested objects are
	// filtered out and clients should only use the presence of the continue field to determine whether
	// more results are available. Servers may choose not to support the limit argument and will return
	// all of the available results. If limit is specified and the continue field is empty, clients may
	// assume that no more results are available. This field is not supported if watch is true.
	//
	// The server guarantees that the objects returned when using continue will be identical to issuing
	// a single list call without a limit - that is, no objects created, modified, or deleted after the
	// first request is issued will be included in any subsequent continued requests. This is sometimes
	// referred to as a consistent snapshot, and ensures that a client that is using limit to receive
	// smaller chunks of a very large result can ensure they see all possible objects. If objects are
	// updated during a chunked list the version of the object that was present at the time the first list
	// result was calculated is returned.
	Limit int64 `json:"limit,omitempty" protobuf:"varint,7,opt,name=limit"`
	// The continue option should be set when retrieving more results from the server. Since this value is
	// server defined, clients may only use the continue value from a previous query result with identical
	// query parameters (except for the value of continue) and the server may reject a continue value it
	// does not recognize. If the specified continue value is no longer valid whether due to expiration
	// (generally five to fifteen minutes) or a configuration change on the server, the server will
	// respond with a 410 ResourceExpired error together with a continue token. If the client needs a
	// consistent list, it must restart their list without the continue field. Otherwise, the client may
	// send another list request with the token received with the 410 error, the server will respond with
	// a list starting from the next key, but from the latest snapshot, which is inconsistent from the
	// previous list results - objects that are created, modified, or deleted after the first list request
	// will be included in the response, as long as their keys are after the "next key".
	//
	// This field is not supported when watch is true. Clients may start a watch from the last
	// resourceVersion value returned by the server and not miss any modifications.
	Continue string `json:"continue,omitempty" protobuf:"bytes,8,opt,name=continue"`
}

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

func SingleObject

func SingleObject(meta ObjectMeta) ListOptions

SingleObject returns a ListOptions for watching a single object.

func (*ListOptions) DeepCopy

func (in *ListOptions) DeepCopy() *ListOptions

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

func (*ListOptions) DeepCopyInto

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

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

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

func (*ListOptions) Descriptor

func (*ListOptions) Descriptor() ([]byte, []int)

func (*ListOptions) Marshal

func (m *ListOptions) Marshal() (dAtA []byte, err error)

func (*ListOptions) MarshalTo

func (m *ListOptions) MarshalTo(dAtA []byte) (int, error)

func (*ListOptions) MarshalToSizedBuffer added in v0.16.4

func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListOptions) ProtoMessage

func (*ListOptions) ProtoMessage()

func (*ListOptions) Reset

func (m *ListOptions) Reset()

func (*ListOptions) Size

func (m *ListOptions) Size() (n int)

func (*ListOptions) String

func (this *ListOptions) String() string

func (ListOptions) SwaggerDoc

func (ListOptions) SwaggerDoc() map[string]string

func (*ListOptions) Unmarshal

func (m *ListOptions) Unmarshal(dAtA []byte) error

func (*ListOptions) XXX_DiscardUnknown added in v0.16.4

func (m *ListOptions) XXX_DiscardUnknown()

func (*ListOptions) XXX_Marshal added in v0.16.4

func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListOptions) XXX_Merge added in v0.16.4

func (m *ListOptions) XXX_Merge(src proto.Message)

func (*ListOptions) XXX_Size added in v0.16.4

func (m *ListOptions) XXX_Size() int

func (*ListOptions) XXX_Unmarshal added in v0.16.4

func (m *ListOptions) XXX_Unmarshal(b []byte) error

type ManagedFieldsEntry

type ManagedFieldsEntry struct {
	// Manager is an identifier of the workflow managing these fields.
	Manager string `json:"manager,omitempty" protobuf:"bytes,1,opt,name=manager"`
	// Operation is the type of operation which lead to this ManagedFieldsEntry being created.
	// The only valid values for this field are 'Apply' and 'Update'.
	Operation ManagedFieldsOperationType `json:"operation,omitempty" protobuf:"bytes,2,opt,name=operation,casttype=ManagedFieldsOperationType"`
	// APIVersion defines the version of this resource that this field set
	// applies to. The format is "group/version" just like the top-level
	// APIVersion field. It is necessary to track the version of a field
	// set because it cannot be automatically converted.
	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"`
	// Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
	// +optional
	Time *Time `json:"time,omitempty" protobuf:"bytes,4,opt,name=time"`

	// FieldsType is the discriminator for the different fields format and version.
	// There is currently only one possible value: "FieldsV1"
	FieldsType string `json:"fieldsType,omitempty" protobuf:"bytes,6,opt,name=fieldsType"`
	// FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
	// +optional
	FieldsV1 *FieldsV1 `json:"fieldsV1,omitempty" protobuf:"bytes,7,opt,name=fieldsV1"`
}

ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

func (*ManagedFieldsEntry) DeepCopy

func (in *ManagedFieldsEntry) DeepCopy() *ManagedFieldsEntry

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

func (*ManagedFieldsEntry) DeepCopyInto

func (in *ManagedFieldsEntry) DeepCopyInto(out *ManagedFieldsEntry)

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

func (*ManagedFieldsEntry) Descriptor

func (*ManagedFieldsEntry) Descriptor() ([]byte, []int)

func (*ManagedFieldsEntry) Marshal

func (m *ManagedFieldsEntry) Marshal() (dAtA []byte, err error)

func (*ManagedFieldsEntry) MarshalTo

func (m *ManagedFieldsEntry) MarshalTo(dAtA []byte) (int, error)

func (*ManagedFieldsEntry) MarshalToSizedBuffer added in v0.16.4

func (m *ManagedFieldsEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ManagedFieldsEntry) ProtoMessage

func (*ManagedFieldsEntry) ProtoMessage()

func (*ManagedFieldsEntry) Reset

func (m *ManagedFieldsEntry) Reset()

func (*ManagedFieldsEntry) Size

func (m *ManagedFieldsEntry) Size() (n int)

func (*ManagedFieldsEntry) String

func (this *ManagedFieldsEntry) String() string

func (ManagedFieldsEntry) SwaggerDoc

func (ManagedFieldsEntry) SwaggerDoc() map[string]string

func (*ManagedFieldsEntry) Unmarshal

func (m *ManagedFieldsEntry) Unmarshal(dAtA []byte) error

func (*ManagedFieldsEntry) XXX_DiscardUnknown added in v0.16.4

func (m *ManagedFieldsEntry) XXX_DiscardUnknown()

func (*ManagedFieldsEntry) XXX_Marshal added in v0.16.4

func (m *ManagedFieldsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManagedFieldsEntry) XXX_Merge added in v0.16.4

func (m *ManagedFieldsEntry) XXX_Merge(src proto.Message)

func (*ManagedFieldsEntry) XXX_Size added in v0.16.4

func (m *ManagedFieldsEntry) XXX_Size() int

func (*ManagedFieldsEntry) XXX_Unmarshal added in v0.16.4

func (m *ManagedFieldsEntry) XXX_Unmarshal(b []byte) error

type ManagedFieldsOperationType

type ManagedFieldsOperationType string

ManagedFieldsOperationType is the type of operation which lead to a ManagedFieldsEntry being created.

const (
	ManagedFieldsOperationApply  ManagedFieldsOperationType = "Apply"
	ManagedFieldsOperationUpdate ManagedFieldsOperationType = "Update"
)

type MicroTime

type MicroTime struct {
	time.Time `protobuf:"-"`
}

MicroTime is version of Time with microsecond level precision.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

func DateMicro

func DateMicro(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) MicroTime

DateMicro returns the MicroTime corresponding to the supplied parameters by wrapping time.Date.

func NewMicroTime

func NewMicroTime(time time.Time) MicroTime

NewMicroTime returns a wrapped instance of the provided time

func NowMicro

func NowMicro() MicroTime

NowMicro returns the current local time.

func UnixMicro

func UnixMicro(sec int64, nsec int64) MicroTime

UnixMicro returns the local time corresponding to the given Unix time by wrapping time.Unix.

func (*MicroTime) Before

func (t *MicroTime) Before(u *MicroTime) bool

Before reports whether the time instant t is before u.

func (*MicroTime) BeforeTime

func (t *MicroTime) BeforeTime(u *Time) bool

BeforeTime reports whether the time instant t is before second-lever precision u.

func (*MicroTime) DeepCopy

func (in *MicroTime) DeepCopy() *MicroTime

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

func (*MicroTime) DeepCopyInto

func (t *MicroTime) DeepCopyInto(out *MicroTime)

DeepCopy returns a deep-copy of the MicroTime value. The underlying time.Time type is effectively immutable in the time API, so it is safe to copy-by-assign, despite the presence of (unexported) Pointer fields.

func (*MicroTime) Descriptor

func (*MicroTime) Descriptor() ([]byte, []int)

func (*MicroTime) Equal

func (t *MicroTime) Equal(u *MicroTime) bool

Equal reports whether the time instant t is equal to u.

func (*MicroTime) EqualTime

func (t *MicroTime) EqualTime(u *Time) bool

EqualTime reports whether the time instant t is equal to second-lever precision u.

func (*MicroTime) Fuzz

func (t *MicroTime) Fuzz(c fuzz.Continue)

Fuzz satisfies fuzz.Interface.

func (*MicroTime) IsZero

func (t *MicroTime) IsZero() bool

IsZero returns true if the value is nil or time is zero.

func (*MicroTime) Marshal

func (m *MicroTime) Marshal() (data []byte, err error)

Marshal implements the protobuf marshalling interface.

func (MicroTime) MarshalJSON

func (t MicroTime) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (MicroTime) MarshalQueryParameter

func (t MicroTime) MarshalQueryParameter() (string, error)

MarshalQueryParameter converts to a URL query parameter value

func (*MicroTime) MarshalTo

func (m *MicroTime) MarshalTo(data []byte) (int, error)

MarshalTo implements the protobuf marshalling interface.

func (*MicroTime) MarshalToSizedBuffer added in v0.16.4

func (m *MicroTime) MarshalToSizedBuffer(data []byte) (int, error)

MarshalToSizedBuffer implements the protobuf marshalling interface.

func (MicroTime) OpenAPISchemaFormat

func (_ MicroTime) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (MicroTime) OpenAPISchemaType

func (_ MicroTime) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (*MicroTime) ProtoMessage

func (*MicroTime) ProtoMessage()

func (*MicroTime) ProtoMicroTime

func (m *MicroTime) ProtoMicroTime() *Timestamp

Timestamp returns the Time as a new Timestamp value.

func (*MicroTime) Reset

func (m *MicroTime) Reset()

func (*MicroTime) Size

func (m *MicroTime) Size() (n int)

Size implements the protobuf marshalling interface.

func (*MicroTime) Unmarshal

func (m *MicroTime) Unmarshal(data []byte) error

Reset implements the protobuf marshalling interface.

func (*MicroTime) UnmarshalJSON

func (t *MicroTime) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*MicroTime) UnmarshalQueryParameter

func (t *MicroTime) UnmarshalQueryParameter(str string) error

UnmarshalQueryParameter converts from a URL query parameter value to an object

func (*MicroTime) XXX_DiscardUnknown added in v0.16.4

func (m *MicroTime) XXX_DiscardUnknown()

func (*MicroTime) XXX_Marshal added in v0.16.4

func (m *MicroTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MicroTime) XXX_Merge added in v0.16.4

func (m *MicroTime) XXX_Merge(src proto.Message)

func (*MicroTime) XXX_Size added in v0.16.4

func (m *MicroTime) XXX_Size() int

func (*MicroTime) XXX_Unmarshal added in v0.16.4

func (m *MicroTime) XXX_Unmarshal(b []byte) error

type Object

type Object interface {
	GetNamespace() string
	SetNamespace(namespace string)
	GetName() string
	SetName(name string)
	GetGenerateName() string
	SetGenerateName(name string)
	GetUID() types.UID
	SetUID(uid types.UID)
	GetResourceVersion() string
	SetResourceVersion(version string)
	GetGeneration() int64
	SetGeneration(generation int64)
	GetSelfLink() string
	SetSelfLink(selfLink string)
	GetCreationTimestamp() Time
	SetCreationTimestamp(timestamp Time)
	GetDeletionTimestamp() *Time
	SetDeletionTimestamp(timestamp *Time)
	GetDeletionGracePeriodSeconds() *int64
	SetDeletionGracePeriodSeconds(*int64)
	GetLabels() map[string]string
	SetLabels(labels map[string]string)
	GetAnnotations() map[string]string
	SetAnnotations(annotations map[string]string)
	GetFinalizers() []string
	SetFinalizers(finalizers []string)
	GetOwnerReferences() []OwnerReference
	SetOwnerReferences([]OwnerReference)
	GetClusterName() string
	SetClusterName(clusterName string)
	GetManagedFields() []ManagedFieldsEntry
	SetManagedFields(managedFields []ManagedFieldsEntry)
}

Object lets you work with object metadata from any of the versioned or internal API objects. Attempting to set or retrieve a field on an object that does not support that field (Name, UID, Namespace on lists) will be a no-op and return a default value.

type ObjectMeta

type ObjectMeta struct {
	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will
	// NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
	// ServerTimeout indicating a unique name could not be found in the time allotted, and the client
	// should retry (optionally after the time indicated in the Retry-After header).
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty" protobuf:"bytes,2,opt,name=generateName"`

	// Namespace defines the space within each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`

	// SelfLink is a URL representing this object.
	// Populated by the system.
	// Read-only.
	//
	// DEPRECATED
	// Kubernetes will stop propagating this field in 1.20 release and the field is planned
	// to be removed in 1.21 release.
	// +optional
	SelfLink string `json:"selfLink,omitempty" protobuf:"bytes,4,opt,name=selfLink"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	// +optional
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,5,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,6,opt,name=resourceVersion"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation int64 `json:"generation,omitempty" protobuf:"varint,7,opt,name=generation"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp Time `json:"creationTimestamp,omitempty" protobuf:"bytes,8,opt,name=creationTimestamp"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp *Time `json:"deletionTimestamp,omitempty" protobuf:"bytes,9,opt,name=deletionTimestamp"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty" protobuf:"varint,10,opt,name=deletionGracePeriodSeconds"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" patchStrategy:"merge" patchMergeKey:"uid" protobuf:"bytes,13,rep,name=ownerReferences"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// +optional
	// +patchStrategy=merge
	Finalizers []string `json:"finalizers,omitempty" patchStrategy:"merge" protobuf:"bytes,14,rep,name=finalizers"`

	// The name of the cluster which the object belongs to.
	// This is used to distinguish resources with same name and namespace in different clusters.
	// This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
	// +optional
	ClusterName string `json:"clusterName,omitempty" protobuf:"bytes,15,opt,name=clusterName"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	ManagedFields []ManagedFieldsEntry `json:"managedFields,omitempty" protobuf:"bytes,17,rep,name=managedFields"`
}

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

func (*ObjectMeta) DeepCopy

func (in *ObjectMeta) DeepCopy() *ObjectMeta

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

func (*ObjectMeta) DeepCopyInto

func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)

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

func (*ObjectMeta) Descriptor

func (*ObjectMeta) Descriptor() ([]byte, []int)

func (*ObjectMeta) GetAnnotations

func (meta *ObjectMeta) GetAnnotations() map[string]string

func (*ObjectMeta) GetClusterName

func (meta *ObjectMeta) GetClusterName() string

func (*ObjectMeta) GetCreationTimestamp

func (meta *ObjectMeta) GetCreationTimestamp() Time

func (*ObjectMeta) GetDeletionGracePeriodSeconds

func (meta *ObjectMeta) GetDeletionGracePeriodSeconds() *int64

func (*ObjectMeta) GetDeletionTimestamp

func (meta *ObjectMeta) GetDeletionTimestamp() *Time

func (*ObjectMeta) GetFinalizers

func (meta *ObjectMeta) GetFinalizers() []string

func (*ObjectMeta) GetGenerateName

func (meta *ObjectMeta) GetGenerateName() string

func (*ObjectMeta) GetGeneration

func (meta *ObjectMeta) GetGeneration() int64

func (*ObjectMeta) GetLabels

func (meta *ObjectMeta) GetLabels() map[string]string

func (*ObjectMeta) GetManagedFields

func (meta *ObjectMeta) GetManagedFields() []ManagedFieldsEntry

func (*ObjectMeta) GetName

func (meta *ObjectMeta) GetName() string

func (*ObjectMeta) GetNamespace

func (meta *ObjectMeta) GetNamespace() string

Namespace implements metav1.Object for any object with an ObjectMeta typed field. Allows fast, direct access to metadata fields for API objects.

func (*ObjectMeta) GetObjectMeta

func (obj *ObjectMeta) GetObjectMeta() Object

func (*ObjectMeta) GetOwnerReferences

func (meta *ObjectMeta) GetOwnerReferences() []OwnerReference

func (*ObjectMeta) GetResourceVersion

func (meta *ObjectMeta) GetResourceVersion() string
func (meta *ObjectMeta) GetSelfLink() string

func (*ObjectMeta) GetUID

func (meta *ObjectMeta) GetUID() types.UID

func (*ObjectMeta) Marshal

func (m *ObjectMeta) Marshal() (dAtA []byte, err error)

func (*ObjectMeta) MarshalTo

func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error)

func (*ObjectMeta) MarshalToSizedBuffer added in v0.16.4

func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectMeta) ProtoMessage

func (*ObjectMeta) ProtoMessage()

func (*ObjectMeta) Reset

func (m *ObjectMeta) Reset()

func (*ObjectMeta) SetAnnotations

func (meta *ObjectMeta) SetAnnotations(annotations map[string]string)

func (*ObjectMeta) SetClusterName

func (meta *ObjectMeta) SetClusterName(clusterName string)

func (*ObjectMeta) SetCreationTimestamp

func (meta *ObjectMeta) SetCreationTimestamp(creationTimestamp Time)

func (*ObjectMeta) SetDeletionGracePeriodSeconds

func (meta *ObjectMeta) SetDeletionGracePeriodSeconds(deletionGracePeriodSeconds *int64)

func (*ObjectMeta) SetDeletionTimestamp

func (meta *ObjectMeta) SetDeletionTimestamp(deletionTimestamp *Time)

func (*ObjectMeta) SetFinalizers

func (meta *ObjectMeta) SetFinalizers(finalizers []string)

func (*ObjectMeta) SetGenerateName

func (meta *ObjectMeta) SetGenerateName(generateName string)

func (*ObjectMeta) SetGeneration

func (meta *ObjectMeta) SetGeneration(generation int64)

func (*ObjectMeta) SetLabels

func (meta *ObjectMeta) SetLabels(labels map[string]string)

func (*ObjectMeta) SetManagedFields

func (meta *ObjectMeta) SetManagedFields(managedFields []ManagedFieldsEntry)

func (*ObjectMeta) SetName

func (meta *ObjectMeta) SetName(name string)

func (*ObjectMeta) SetNamespace

func (meta *ObjectMeta) SetNamespace(namespace string)

func (*ObjectMeta) SetOwnerReferences

func (meta *ObjectMeta) SetOwnerReferences(references []OwnerReference)

func (*ObjectMeta) SetResourceVersion

func (meta *ObjectMeta) SetResourceVersion(version string)
func (meta *ObjectMeta) SetSelfLink(selfLink string)

func (*ObjectMeta) SetUID

func (meta *ObjectMeta) SetUID(uid types.UID)

func (*ObjectMeta) Size

func (m *ObjectMeta) Size() (n int)

func (*ObjectMeta) String

func (this *ObjectMeta) String() string

func (ObjectMeta) SwaggerDoc

func (ObjectMeta) SwaggerDoc() map[string]string

func (*ObjectMeta) Unmarshal

func (m *ObjectMeta) Unmarshal(dAtA []byte) error

func (*ObjectMeta) XXX_DiscardUnknown added in v0.16.4

func (m *ObjectMeta) XXX_DiscardUnknown()

func (*ObjectMeta) XXX_Marshal added in v0.16.4

func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectMeta) XXX_Merge added in v0.16.4

func (m *ObjectMeta) XXX_Merge(src proto.Message)

func (*ObjectMeta) XXX_Size added in v0.16.4

func (m *ObjectMeta) XXX_Size() int

func (*ObjectMeta) XXX_Unmarshal added in v0.16.4

func (m *ObjectMeta) XXX_Unmarshal(b []byte) error

type ObjectMetaAccessor

type ObjectMetaAccessor interface {
	GetObjectMeta() Object
}

TODO: move this, Object, List, and Type to a different package

type OwnerReference

type OwnerReference struct {
	// API version of the referent.
	APIVersion string `json:"apiVersion" protobuf:"bytes,5,opt,name=apiVersion"`
	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	// Name of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
	// UID of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	UID types.UID `json:"uid" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
	// If true, this reference points to the managing controller.
	// +optional
	Controller *bool `json:"controller,omitempty" protobuf:"varint,6,opt,name=controller"`
	// If true, AND if the owner has the "foregroundDeletion" finalizer, then
	// the owner cannot be deleted from the key-value store until this
	// reference is removed.
	// Defaults to false.
	// To set this field, a user needs "delete" permission of the owner,
	// otherwise 422 (Unprocessable Entity) will be returned.
	// +optional
	BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty" protobuf:"varint,7,opt,name=blockOwnerDeletion"`
}

OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

func GetControllerOf

func GetControllerOf(controllee Object) *OwnerReference

GetControllerOf returns a pointer to a copy of the controllerRef if controllee has a controller

func NewControllerRef

func NewControllerRef(owner Object, gvk schema.GroupVersionKind) *OwnerReference

NewControllerRef creates an OwnerReference pointing to the given owner.

func (*OwnerReference) DeepCopy

func (in *OwnerReference) DeepCopy() *OwnerReference

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

func (*OwnerReference) DeepCopyInto

func (in *OwnerReference) DeepCopyInto(out *OwnerReference)

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

func (*OwnerReference) Descriptor

func (*OwnerReference) Descriptor() ([]byte, []int)

func (*OwnerReference) Marshal

func (m *OwnerReference) Marshal() (dAtA []byte, err error)

func (*OwnerReference) MarshalTo

func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error)

func (*OwnerReference) MarshalToSizedBuffer added in v0.16.4

func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OwnerReference) ProtoMessage

func (*OwnerReference) ProtoMessage()

func (*OwnerReference) Reset

func (m *OwnerReference) Reset()

func (*OwnerReference) Size

func (m *OwnerReference) Size() (n int)

func (*OwnerReference) String

func (this *OwnerReference) String() string

func (OwnerReference) SwaggerDoc

func (OwnerReference) SwaggerDoc() map[string]string

func (*OwnerReference) Unmarshal

func (m *OwnerReference) Unmarshal(dAtA []byte) error

func (*OwnerReference) XXX_DiscardUnknown added in v0.16.4

func (m *OwnerReference) XXX_DiscardUnknown()

func (*OwnerReference) XXX_Marshal added in v0.16.4

func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OwnerReference) XXX_Merge added in v0.16.4

func (m *OwnerReference) XXX_Merge(src proto.Message)

func (*OwnerReference) XXX_Size added in v0.16.4

func (m *OwnerReference) XXX_Size() int

func (*OwnerReference) XXX_Unmarshal added in v0.16.4

func (m *OwnerReference) XXX_Unmarshal(b []byte) error

type PartialObjectMetadata

type PartialObjectMetadata struct {
	TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
}

PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PartialObjectMetadata) DeepCopy

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

func (*PartialObjectMetadata) DeepCopyInto

func (in *PartialObjectMetadata) DeepCopyInto(out *PartialObjectMetadata)

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

func (*PartialObjectMetadata) DeepCopyObject

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

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

func (*PartialObjectMetadata) Descriptor

func (*PartialObjectMetadata) Descriptor() ([]byte, []int)

func (*PartialObjectMetadata) Marshal

func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error)

func (*PartialObjectMetadata) MarshalTo

func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error)

func (*PartialObjectMetadata) MarshalToSizedBuffer added in v0.16.4

func (m *PartialObjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PartialObjectMetadata) ProtoMessage

func (*PartialObjectMetadata) ProtoMessage()

func (*PartialObjectMetadata) Reset

func (m *PartialObjectMetadata) Reset()

func (*PartialObjectMetadata) Size

func (m *PartialObjectMetadata) Size() (n int)

func (*PartialObjectMetadata) String

func (this *PartialObjectMetadata) String() string

func (PartialObjectMetadata) SwaggerDoc

func (PartialObjectMetadata) SwaggerDoc() map[string]string

func (*PartialObjectMetadata) Unmarshal

func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error

func (*PartialObjectMetadata) XXX_DiscardUnknown added in v0.16.4

func (m *PartialObjectMetadata) XXX_DiscardUnknown()

func (*PartialObjectMetadata) XXX_Marshal added in v0.16.4

func (m *PartialObjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartialObjectMetadata) XXX_Merge added in v0.16.4

func (m *PartialObjectMetadata) XXX_Merge(src proto.Message)

func (*PartialObjectMetadata) XXX_Size added in v0.16.4

func (m *PartialObjectMetadata) XXX_Size() int

func (*PartialObjectMetadata) XXX_Unmarshal added in v0.16.4

func (m *PartialObjectMetadata) XXX_Unmarshal(b []byte) error

type PartialObjectMetadataList

type PartialObjectMetadataList struct {
	TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items contains each of the included items.
	Items []PartialObjectMetadata `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PartialObjectMetadataList contains a list of objects containing only their metadata +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PartialObjectMetadataList) DeepCopy

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

func (*PartialObjectMetadataList) DeepCopyInto

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

func (*PartialObjectMetadataList) DeepCopyObject

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

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

func (*PartialObjectMetadataList) Descriptor

func (*PartialObjectMetadataList) Descriptor() ([]byte, []int)

func (*PartialObjectMetadataList) Marshal

func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error)

func (*PartialObjectMetadataList) MarshalTo

func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error)

func (*PartialObjectMetadataList) MarshalToSizedBuffer added in v0.16.4

func (m *PartialObjectMetadataList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PartialObjectMetadataList) ProtoMessage

func (*PartialObjectMetadataList) ProtoMessage()

func (*PartialObjectMetadataList) Reset

func (m *PartialObjectMetadataList) Reset()

func (*PartialObjectMetadataList) Size

func (m *PartialObjectMetadataList) Size() (n int)

func (*PartialObjectMetadataList) String

func (this *PartialObjectMetadataList) String() string

func (PartialObjectMetadataList) SwaggerDoc

func (PartialObjectMetadataList) SwaggerDoc() map[string]string

func (*PartialObjectMetadataList) Unmarshal

func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error

func (*PartialObjectMetadataList) XXX_DiscardUnknown added in v0.16.4

func (m *PartialObjectMetadataList) XXX_DiscardUnknown()

func (*PartialObjectMetadataList) XXX_Marshal added in v0.16.4

func (m *PartialObjectMetadataList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartialObjectMetadataList) XXX_Merge added in v0.16.4

func (m *PartialObjectMetadataList) XXX_Merge(src proto.Message)

func (*PartialObjectMetadataList) XXX_Size added in v0.16.4

func (m *PartialObjectMetadataList) XXX_Size() int

func (*PartialObjectMetadataList) XXX_Unmarshal added in v0.16.4

func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error

type Patch

type Patch struct{}

Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.

func (*Patch) DeepCopy

func (in *Patch) DeepCopy() *Patch

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

func (*Patch) DeepCopyInto

func (in *Patch) DeepCopyInto(out *Patch)

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

func (*Patch) Descriptor

func (*Patch) Descriptor() ([]byte, []int)

func (*Patch) Marshal

func (m *Patch) Marshal() (dAtA []byte, err error)

func (*Patch) MarshalTo

func (m *Patch) MarshalTo(dAtA []byte) (int, error)

func (*Patch) MarshalToSizedBuffer added in v0.16.4

func (m *Patch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Patch) ProtoMessage

func (*Patch) ProtoMessage()

func (*Patch) Reset

func (m *Patch) Reset()

func (*Patch) Size

func (m *Patch) Size() (n int)

func (*Patch) String

func (this *Patch) String() string

func (Patch) SwaggerDoc

func (Patch) SwaggerDoc() map[string]string

func (*Patch) Unmarshal

func (m *Patch) Unmarshal(dAtA []byte) error

func (*Patch) XXX_DiscardUnknown added in v0.16.4

func (m *Patch) XXX_DiscardUnknown()

func (*Patch) XXX_Marshal added in v0.16.4

func (m *Patch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Patch) XXX_Merge added in v0.16.4

func (m *Patch) XXX_Merge(src proto.Message)

func (*Patch) XXX_Size added in v0.16.4

func (m *Patch) XXX_Size() int

func (*Patch) XXX_Unmarshal added in v0.16.4

func (m *Patch) XXX_Unmarshal(b []byte) error

type PatchOptions

type PatchOptions struct {
	TypeMeta `json:",inline"`

	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`

	// Force is going to "force" Apply requests. It means user will
	// re-acquire conflicting fields owned by other people. Force
	// flag must be unset for non-apply patch requests.
	// +optional
	Force *bool `json:"force,omitempty" protobuf:"varint,2,opt,name=force"`

	// fieldManager is a name associated with the actor or entity
	// that is making these changes. The value must be less than or
	// 128 characters long, and only contain printable characters,
	// as defined by https://golang.org/pkg/unicode/#IsPrint. This
	// field is required for apply requests
	// (application/apply-patch) but optional for non-apply patch
	// types (JsonPatch, MergePatch, StrategicMergePatch).
	// +optional
	FieldManager string `json:"fieldManager,omitempty" protobuf:"bytes,3,name=fieldManager"`
}

PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.

func (*PatchOptions) DeepCopy

func (in *PatchOptions) DeepCopy() *PatchOptions

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

func (*PatchOptions) DeepCopyInto

func (in *PatchOptions) DeepCopyInto(out *PatchOptions)

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

func (*PatchOptions) DeepCopyObject

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

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

func (*PatchOptions) Descriptor

func (*PatchOptions) Descriptor() ([]byte, []int)

func (*PatchOptions) Marshal

func (m *PatchOptions) Marshal() (dAtA []byte, err error)

func (*PatchOptions) MarshalTo

func (m *PatchOptions) MarshalTo(dAtA []byte) (int, error)

func (*PatchOptions) MarshalToSizedBuffer added in v0.16.4

func (m *PatchOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PatchOptions) ProtoMessage

func (*PatchOptions) ProtoMessage()

func (*PatchOptions) Reset

func (m *PatchOptions) Reset()

func (*PatchOptions) Size

func (m *PatchOptions) Size() (n int)

func (*PatchOptions) String

func (this *PatchOptions) String() string

func (PatchOptions) SwaggerDoc

func (PatchOptions) SwaggerDoc() map[string]string

func (*PatchOptions) Unmarshal

func (m *PatchOptions) Unmarshal(dAtA []byte) error

func (*PatchOptions) XXX_DiscardUnknown added in v0.16.4

func (m *PatchOptions) XXX_DiscardUnknown()

func (*PatchOptions) XXX_Marshal added in v0.16.4

func (m *PatchOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchOptions) XXX_Merge added in v0.16.4

func (m *PatchOptions) XXX_Merge(src proto.Message)

func (*PatchOptions) XXX_Size added in v0.16.4

func (m *PatchOptions) XXX_Size() int

func (*PatchOptions) XXX_Unmarshal added in v0.16.4

func (m *PatchOptions) XXX_Unmarshal(b []byte) error

type Preconditions

type Preconditions struct {
	// Specifies the target UID.
	// +optional
	UID *types.UID `json:"uid,omitempty" protobuf:"bytes,1,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
	// Specifies the target ResourceVersion
	// +optional
	ResourceVersion *string `json:"resourceVersion,omitempty" protobuf:"bytes,2,opt,name=resourceVersion"`
}

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

func NewUIDPreconditions

func NewUIDPreconditions(uid string) *Preconditions

NewUIDPreconditions returns a Preconditions with UID set.

func (*Preconditions) DeepCopy

func (in *Preconditions) DeepCopy() *Preconditions

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

func (*Preconditions) DeepCopyInto

func (in *Preconditions) DeepCopyInto(out *Preconditions)

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

func (*Preconditions) Descriptor

func (*Preconditions) Descriptor() ([]byte, []int)

func (*Preconditions) Marshal

func (m *Preconditions) Marshal() (dAtA []byte, err error)

func (*Preconditions) MarshalTo

func (m *Preconditions) MarshalTo(dAtA []byte) (int, error)

func (*Preconditions) MarshalToSizedBuffer added in v0.16.4

func (m *Preconditions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Preconditions) ProtoMessage

func (*Preconditions) ProtoMessage()

func (*Preconditions) Reset

func (m *Preconditions) Reset()

func (*Preconditions) Size

func (m *Preconditions) Size() (n int)

func (*Preconditions) String

func (this *Preconditions) String() string

func (Preconditions) SwaggerDoc

func (Preconditions) SwaggerDoc() map[string]string

func (*Preconditions) Unmarshal

func (m *Preconditions) Unmarshal(dAtA []byte) error

func (*Preconditions) XXX_DiscardUnknown added in v0.16.4

func (m *Preconditions) XXX_DiscardUnknown()

func (*Preconditions) XXX_Marshal added in v0.16.4

func (m *Preconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Preconditions) XXX_Merge added in v0.16.4

func (m *Preconditions) XXX_Merge(src proto.Message)

func (*Preconditions) XXX_Size added in v0.16.4

func (m *Preconditions) XXX_Size() int

func (*Preconditions) XXX_Unmarshal added in v0.16.4

func (m *Preconditions) XXX_Unmarshal(b []byte) error

type RootPaths

type RootPaths struct {
	// paths are the paths available at root.
	Paths []string `json:"paths" protobuf:"bytes,1,rep,name=paths"`
}

RootPaths lists the paths available at root. For example: "/healthz", "/apis".

func (*RootPaths) DeepCopy

func (in *RootPaths) DeepCopy() *RootPaths

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

func (*RootPaths) DeepCopyInto

func (in *RootPaths) DeepCopyInto(out *RootPaths)

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

func (*RootPaths) Descriptor

func (*RootPaths) Descriptor() ([]byte, []int)

func (*RootPaths) Marshal

func (m *RootPaths) Marshal() (dAtA []byte, err error)

func (*RootPaths) MarshalTo

func (m *RootPaths) MarshalTo(dAtA []byte) (int, error)

func (*RootPaths) MarshalToSizedBuffer added in v0.16.4

func (m *RootPaths) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RootPaths) ProtoMessage

func (*RootPaths) ProtoMessage()

func (*RootPaths) Reset

func (m *RootPaths) Reset()

func (*RootPaths) Size

func (m *RootPaths) Size() (n int)

func (*RootPaths) String

func (this *RootPaths) String() string

func (RootPaths) SwaggerDoc

func (RootPaths) SwaggerDoc() map[string]string

func (*RootPaths) Unmarshal

func (m *RootPaths) Unmarshal(dAtA []byte) error

func (*RootPaths) XXX_DiscardUnknown added in v0.16.4

func (m *RootPaths) XXX_DiscardUnknown()

func (*RootPaths) XXX_Marshal added in v0.16.4

func (m *RootPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RootPaths) XXX_Merge added in v0.16.4

func (m *RootPaths) XXX_Merge(src proto.Message)

func (*RootPaths) XXX_Size added in v0.16.4

func (m *RootPaths) XXX_Size() int

func (*RootPaths) XXX_Unmarshal added in v0.16.4

func (m *RootPaths) XXX_Unmarshal(b []byte) error

type RowConditionType

type RowConditionType string
const (
	// RowCompleted means the underlying resource has reached completion and may be given less
	// visual priority than other resources.
	RowCompleted RowConditionType = "Completed"
)

These are valid conditions of a row. This list is not exhaustive and new conditions may be included by other resources.

type ServerAddressByClientCIDR

type ServerAddressByClientCIDR struct {
	// The CIDR with which clients can match their IP to figure out the server address that they should use.
	ClientCIDR string `json:"clientCIDR" protobuf:"bytes,1,opt,name=clientCIDR"`
	// Address of this server, suitable for a client that matches the above CIDR.
	// This can be a hostname, hostname:port, IP or IP:port.
	ServerAddress string `json:"serverAddress" protobuf:"bytes,2,opt,name=serverAddress"`
}

ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.

func (*ServerAddressByClientCIDR) DeepCopy

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

func (*ServerAddressByClientCIDR) DeepCopyInto

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

func (*ServerAddressByClientCIDR) Descriptor

func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)

func (*ServerAddressByClientCIDR) Marshal

func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error)

func (*ServerAddressByClientCIDR) MarshalTo

func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error)

func (*ServerAddressByClientCIDR) MarshalToSizedBuffer added in v0.16.4

func (m *ServerAddressByClientCIDR) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServerAddressByClientCIDR) ProtoMessage

func (*ServerAddressByClientCIDR) ProtoMessage()

func (*ServerAddressByClientCIDR) Reset

func (m *ServerAddressByClientCIDR) Reset()

func (*ServerAddressByClientCIDR) Size

func (m *ServerAddressByClientCIDR) Size() (n int)

func (*ServerAddressByClientCIDR) String

func (this *ServerAddressByClientCIDR) String() string

func (ServerAddressByClientCIDR) SwaggerDoc

func (ServerAddressByClientCIDR) SwaggerDoc() map[string]string

func (*ServerAddressByClientCIDR) Unmarshal

func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error

func (*ServerAddressByClientCIDR) XXX_DiscardUnknown added in v0.16.4

func (m *ServerAddressByClientCIDR) XXX_DiscardUnknown()

func (*ServerAddressByClientCIDR) XXX_Marshal added in v0.16.4

func (m *ServerAddressByClientCIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerAddressByClientCIDR) XXX_Merge added in v0.16.4

func (m *ServerAddressByClientCIDR) XXX_Merge(src proto.Message)

func (*ServerAddressByClientCIDR) XXX_Size added in v0.16.4

func (m *ServerAddressByClientCIDR) XXX_Size() int

func (*ServerAddressByClientCIDR) XXX_Unmarshal added in v0.16.4

func (m *ServerAddressByClientCIDR) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Status of the operation.
	// One of: "Success" or "Failure".
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status string `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
	// A human-readable description of the status of this operation.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`
	// A machine-readable description of why this operation is in the
	// "Failure" status. If this value is empty there
	// is no information available. A Reason clarifies an HTTP status
	// code but does not override it.
	// +optional
	Reason StatusReason `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason,casttype=StatusReason"`
	// Extended data associated with the reason.  Each reason may define its
	// own extended details. This field is optional and the data returned
	// is not guaranteed to conform to any schema except that defined by
	// the reason type.
	// +optional
	Details *StatusDetails `json:"details,omitempty" protobuf:"bytes,5,opt,name=details"`
	// Suggested HTTP return code for this status, 0 if not set.
	// +optional
	Code int32 `json:"code,omitempty" protobuf:"varint,6,opt,name=code"`
}

Status is a return value for calls that don't return other objects.

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

func (*Status) DeepCopyObject

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

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

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer added in v0.16.4

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (this *Status) String() string

func (Status) SwaggerDoc

func (Status) SwaggerDoc() map[string]string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown added in v0.16.4

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal added in v0.16.4

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge added in v0.16.4

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size added in v0.16.4

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal added in v0.16.4

func (m *Status) XXX_Unmarshal(b []byte) error

type StatusCause

type StatusCause struct {
	// A machine-readable description of the cause of the error. If this value is
	// empty there is no information available.
	// +optional
	Type CauseType `json:"reason,omitempty" protobuf:"bytes,1,opt,name=reason,casttype=CauseType"`
	// A human-readable description of the cause of the error.  This field may be
	// presented as-is to a reader.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`
	// The field of the resource that has caused this error, as named by its JSON
	// serialization. May include dot and postfix notation for nested attributes.
	// Arrays are zero-indexed.  Fields may appear more than once in an array of
	// causes due to fields having multiple errors.
	// Optional.
	//
	// Examples:
	//   "name" - the field "name" on the current resource
	//   "items[0].name" - the field "name" on the first array entry in "items"
	// +optional
	Field string `json:"field,omitempty" protobuf:"bytes,3,opt,name=field"`
}

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

func (*StatusCause) DeepCopy

func (in *StatusCause) DeepCopy() *StatusCause

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

func (*StatusCause) DeepCopyInto

func (in *StatusCause) DeepCopyInto(out *StatusCause)

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

func (*StatusCause) Descriptor

func (*StatusCause) Descriptor() ([]byte, []int)

func (*StatusCause) Marshal

func (m *StatusCause) Marshal() (dAtA []byte, err error)

func (*StatusCause) MarshalTo

func (m *StatusCause) MarshalTo(dAtA []byte) (int, error)

func (*StatusCause) MarshalToSizedBuffer added in v0.16.4

func (m *StatusCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusCause) ProtoMessage

func (*StatusCause) ProtoMessage()

func (*StatusCause) Reset

func (m *StatusCause) Reset()

func (*StatusCause) Size

func (m *StatusCause) Size() (n int)

func (*StatusCause) String

func (this *StatusCause) String() string

func (StatusCause) SwaggerDoc

func (StatusCause) SwaggerDoc() map[string]string

func (*StatusCause) Unmarshal

func (m *StatusCause) Unmarshal(dAtA []byte) error

func (*StatusCause) XXX_DiscardUnknown added in v0.16.4

func (m *StatusCause) XXX_DiscardUnknown()

func (*StatusCause) XXX_Marshal added in v0.16.4

func (m *StatusCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusCause) XXX_Merge added in v0.16.4

func (m *StatusCause) XXX_Merge(src proto.Message)

func (*StatusCause) XXX_Size added in v0.16.4

func (m *StatusCause) XXX_Size() int

func (*StatusCause) XXX_Unmarshal added in v0.16.4

func (m *StatusCause) XXX_Unmarshal(b []byte) error

type StatusDetails

type StatusDetails struct {
	// The name attribute of the resource associated with the status StatusReason
	// (when there is a single name which can be described).
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The group attribute of the resource associated with the status StatusReason.
	// +optional
	Group string `json:"group,omitempty" protobuf:"bytes,2,opt,name=group"`
	// The kind attribute of the resource associated with the status StatusReason.
	// On some operations may differ from the requested resource Kind.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty" protobuf:"bytes,3,opt,name=kind"`
	// UID of the resource.
	// (when there is a single resource which can be described).
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	// +optional
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,6,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
	// The Causes array includes more details associated with the StatusReason
	// failure. Not all StatusReasons may provide detailed causes.
	// +optional
	Causes []StatusCause `json:"causes,omitempty" protobuf:"bytes,4,rep,name=causes"`
	// If specified, the time in seconds before the operation should be retried. Some errors may indicate
	// the client must take an alternate action - for those errors this field may indicate how long to wait
	// before taking the alternate action.
	// +optional
	RetryAfterSeconds int32 `json:"retryAfterSeconds,omitempty" protobuf:"varint,5,opt,name=retryAfterSeconds"`
}

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

func (*StatusDetails) DeepCopy

func (in *StatusDetails) DeepCopy() *StatusDetails

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

func (*StatusDetails) DeepCopyInto

func (in *StatusDetails) DeepCopyInto(out *StatusDetails)

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

func (*StatusDetails) Descriptor

func (*StatusDetails) Descriptor() ([]byte, []int)

func (*StatusDetails) Marshal

func (m *StatusDetails) Marshal() (dAtA []byte, err error)

func (*StatusDetails) MarshalTo

func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error)

func (*StatusDetails) MarshalToSizedBuffer added in v0.16.4

func (m *StatusDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusDetails) ProtoMessage

func (*StatusDetails) ProtoMessage()

func (*StatusDetails) Reset

func (m *StatusDetails) Reset()

func (*StatusDetails) Size

func (m *StatusDetails) Size() (n int)

func (*StatusDetails) String

func (this *StatusDetails) String() string

func (StatusDetails) SwaggerDoc

func (StatusDetails) SwaggerDoc() map[string]string

func (*StatusDetails) Unmarshal

func (m *StatusDetails) Unmarshal(dAtA []byte) error

func (*StatusDetails) XXX_DiscardUnknown added in v0.16.4

func (m *StatusDetails) XXX_DiscardUnknown()

func (*StatusDetails) XXX_Marshal added in v0.16.4

func (m *StatusDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusDetails) XXX_Merge added in v0.16.4

func (m *StatusDetails) XXX_Merge(src proto.Message)

func (*StatusDetails) XXX_Size added in v0.16.4

func (m *StatusDetails) XXX_Size() int

func (*StatusDetails) XXX_Unmarshal added in v0.16.4

func (m *StatusDetails) XXX_Unmarshal(b []byte) error

type StatusReason

type StatusReason string

StatusReason is an enumeration of possible failure causes. Each StatusReason must map to a single HTTP status code, but multiple reasons may map to the same HTTP status code. TODO: move to apiserver

const (
	// StatusReasonUnknown means the server has declined to indicate a specific reason.
	// The details field may contain other information about this error.
	// Status code 500.
	StatusReasonUnknown StatusReason = ""

	// StatusReasonUnauthorized means the server can be reached and understood the request, but requires
	// the user to present appropriate authorization credentials (identified by the WWW-Authenticate header)
	// in order for the action to be completed. If the user has specified credentials on the request, the
	// server considers them insufficient.
	// Status code 401
	StatusReasonUnauthorized StatusReason = "Unauthorized"

	// StatusReasonForbidden means the server can be reached and understood the request, but refuses
	// to take any further action.  It is the result of the server being configured to deny access for some reason
	// to the requested resource by the client.
	// Details (optional):
	//   "kind" string - the kind attribute of the forbidden resource
	//                   on some operations may differ from the requested
	//                   resource.
	//   "id"   string - the identifier of the forbidden resource
	// Status code 403
	StatusReasonForbidden StatusReason = "Forbidden"

	// StatusReasonNotFound means one or more resources required for this operation
	// could not be found.
	// Details (optional):
	//   "kind" string - the kind attribute of the missing resource
	//                   on some operations may differ from the requested
	//                   resource.
	//   "id"   string - the identifier of the missing resource
	// Status code 404
	StatusReasonNotFound StatusReason = "NotFound"

	// StatusReasonAlreadyExists means the resource you are creating already exists.
	// Details (optional):
	//   "kind" string - the kind attribute of the conflicting resource
	//   "id"   string - the identifier of the conflicting resource
	// Status code 409
	StatusReasonAlreadyExists StatusReason = "AlreadyExists"

	// StatusReasonConflict means the requested operation cannot be completed
	// due to a conflict in the operation. The client may need to alter the
	// request. Each resource may define custom details that indicate the
	// nature of the conflict.
	// Status code 409
	StatusReasonConflict StatusReason = "Conflict"

	// StatusReasonGone means the item is no longer available at the server and no
	// forwarding address is known.
	// Status code 410
	StatusReasonGone StatusReason = "Gone"

	// StatusReasonInvalid means the requested create or update operation cannot be
	// completed due to invalid data provided as part of the request. The client may
	// need to alter the request. When set, the client may use the StatusDetails
	// message field as a summary of the issues encountered.
	// Details (optional):
	//   "kind" string - the kind attribute of the invalid resource
	//   "id"   string - the identifier of the invalid resource
	//   "causes"      - one or more StatusCause entries indicating the data in the
	//                   provided resource that was invalid.  The code, message, and
	//                   field attributes will be set.
	// Status code 422
	StatusReasonInvalid StatusReason = "Invalid"

	// StatusReasonServerTimeout means the server can be reached and understood the request,
	// but cannot complete the action in a reasonable time. The client should retry the request.
	// This is may be due to temporary server load or a transient communication issue with
	// another server. Status code 500 is used because the HTTP spec provides no suitable
	// server-requested client retry and the 5xx class represents actionable errors.
	// Details (optional):
	//   "kind" string - the kind attribute of the resource being acted on.
	//   "id"   string - the operation that is being attempted.
	//   "retryAfterSeconds" int32 - the number of seconds before the operation should be retried
	// Status code 500
	StatusReasonServerTimeout StatusReason = "ServerTimeout"

	// StatusReasonTimeout means that the request could not be completed within the given time.
	// Clients can get this response only when they specified a timeout param in the request,
	// or if the server cannot complete the operation within a reasonable amount of time.
	// The request might succeed with an increased value of timeout param. The client *should*
	// wait at least the number of seconds specified by the retryAfterSeconds field.
	// Details (optional):
	//   "retryAfterSeconds" int32 - the number of seconds before the operation should be retried
	// Status code 504
	StatusReasonTimeout StatusReason = "Timeout"

	// StatusReasonTooManyRequests means the server experienced too many requests within a
	// given window and that the client must wait to perform the action again. A client may
	// always retry the request that led to this error, although the client should wait at least
	// the number of seconds specified by the retryAfterSeconds field.
	// Details (optional):
	//   "retryAfterSeconds" int32 - the number of seconds before the operation should be retried
	// Status code 429
	StatusReasonTooManyRequests StatusReason = "TooManyRequests"

	// StatusReasonBadRequest means that the request itself was invalid, because the request
	// doesn't make any sense, for example deleting a read-only object.  This is different than
	// StatusReasonInvalid above which indicates that the API call could possibly succeed, but the
	// data was invalid.  API calls that return BadRequest can never succeed.
	// Status code 400
	StatusReasonBadRequest StatusReason = "BadRequest"

	// StatusReasonMethodNotAllowed means that the action the client attempted to perform on the
	// resource was not supported by the code - for instance, attempting to delete a resource that
	// can only be created. API calls that return MethodNotAllowed can never succeed.
	// Status code 405
	StatusReasonMethodNotAllowed StatusReason = "MethodNotAllowed"

	// StatusReasonNotAcceptable means that the accept types indicated by the client were not acceptable
	// to the server - for instance, attempting to receive protobuf for a resource that supports only json and yaml.
	// API calls that return NotAcceptable can never succeed.
	// Status code 406
	StatusReasonNotAcceptable StatusReason = "NotAcceptable"

	// StatusReasonRequestEntityTooLarge means that the request entity is too large.
	// Status code 413
	StatusReasonRequestEntityTooLarge StatusReason = "RequestEntityTooLarge"

	// StatusReasonUnsupportedMediaType means that the content type sent by the client is not acceptable
	// to the server - for instance, attempting to send protobuf for a resource that supports only json and yaml.
	// API calls that return UnsupportedMediaType can never succeed.
	// Status code 415
	StatusReasonUnsupportedMediaType StatusReason = "UnsupportedMediaType"

	// StatusReasonInternalError indicates that an internal error occurred, it is unexpected
	// and the outcome of the call is unknown.
	// Details (optional):
	//   "causes" - The original error
	// Status code 500
	StatusReasonInternalError StatusReason = "InternalError"

	// StatusReasonExpired indicates that the request is invalid because the content you are requesting
	// has expired and is no longer available. It is typically associated with watches that can't be
	// serviced.
	// Status code 410 (gone)
	StatusReasonExpired StatusReason = "Expired"

	// StatusReasonServiceUnavailable means that the request itself was valid,
	// but the requested service is unavailable at this time.
	// Retrying the request after some time might succeed.
	// Status code 503
	StatusReasonServiceUnavailable StatusReason = "ServiceUnavailable"
)

type Table

type Table struct {
	TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	ListMeta `json:"metadata,omitempty"`

	// columnDefinitions describes each column in the returned items array. The number of cells per row
	// will always match the number of column definitions.
	ColumnDefinitions []TableColumnDefinition `json:"columnDefinitions"`
	// rows is the list of items in the table.
	Rows []TableRow `json:"rows"`
}

Table is a tabular representation of a set of API resources. The server transforms the object into a set of preferred columns for quickly reviewing the objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +protobuf=false

func (*Table) DeepCopy

func (in *Table) DeepCopy() *Table

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

func (*Table) DeepCopyInto

func (in *Table) DeepCopyInto(out *Table)

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

func (*Table) DeepCopyObject

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

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

func (Table) SwaggerDoc

func (Table) SwaggerDoc() map[string]string

type TableColumnDefinition

type TableColumnDefinition struct {
	// name is a human readable name for the column.
	Name string `json:"name"`
	// type is an OpenAPI type definition for this column, such as number, integer, string, or
	// array.
	// See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.
	Type string `json:"type"`
	// format is an optional OpenAPI type modifier for this column. A format modifies the type and
	// imposes additional rules, like date or time formatting for a string. The 'name' format is applied
	// to the primary identifier column which has type 'string' to assist in clients identifying column
	// is the resource name.
	// See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.
	Format string `json:"format"`
	// description is a human readable description of this column.
	Description string `json:"description"`
	// priority is an integer defining the relative importance of this column compared to others. Lower
	// numbers are considered higher priority. Columns that may be omitted in limited space scenarios
	// should be given a higher priority.
	Priority int32 `json:"priority"`
}

TableColumnDefinition contains information about a column returned in the Table. +protobuf=false

func (*TableColumnDefinition) DeepCopy

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

func (*TableColumnDefinition) DeepCopyInto

func (in *TableColumnDefinition) DeepCopyInto(out *TableColumnDefinition)

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

func (TableColumnDefinition) SwaggerDoc

func (TableColumnDefinition) SwaggerDoc() map[string]string

type TableOptions

type TableOptions struct {
	TypeMeta `json:",inline"`

	// NoHeaders is only exposed for internal callers. It is not included in our OpenAPI definitions
	// and may be removed as a field in a future release.
	NoHeaders bool `json:"-"`

	// includeObject decides whether to include each object along with its columnar information.
	// Specifying "None" will return no object, specifying "Object" will return the full object contents, and
	// specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
	// in version v1beta1 of the meta.k8s.io API group.
	IncludeObject IncludeObjectPolicy `json:"includeObject,omitempty" protobuf:"bytes,1,opt,name=includeObject,casttype=IncludeObjectPolicy"`
}

TableOptions are used when a Table is requested by the caller. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TableOptions) DeepCopy

func (in *TableOptions) DeepCopy() *TableOptions

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

func (*TableOptions) DeepCopyInto

func (in *TableOptions) DeepCopyInto(out *TableOptions)

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

func (*TableOptions) DeepCopyObject

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

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

func (*TableOptions) Descriptor

func (*TableOptions) Descriptor() ([]byte, []int)

func (*TableOptions) Marshal

func (m *TableOptions) Marshal() (dAtA []byte, err error)

func (*TableOptions) MarshalTo

func (m *TableOptions) MarshalTo(dAtA []byte) (int, error)

func (*TableOptions) MarshalToSizedBuffer added in v0.16.4

func (m *TableOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TableOptions) ProtoMessage

func (*TableOptions) ProtoMessage()

func (*TableOptions) Reset

func (m *TableOptions) Reset()

func (*TableOptions) Size

func (m *TableOptions) Size() (n int)

func (*TableOptions) String

func (this *TableOptions) String() string

func (TableOptions) SwaggerDoc

func (TableOptions) SwaggerDoc() map[string]string

func (*TableOptions) Unmarshal

func (m *TableOptions) Unmarshal(dAtA []byte) error

func (*TableOptions) XXX_DiscardUnknown added in v0.16.4

func (m *TableOptions) XXX_DiscardUnknown()

func (*TableOptions) XXX_Marshal added in v0.16.4

func (m *TableOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableOptions) XXX_Merge added in v0.16.4

func (m *TableOptions) XXX_Merge(src proto.Message)

func (*TableOptions) XXX_Size added in v0.16.4

func (m *TableOptions) XXX_Size() int

func (*TableOptions) XXX_Unmarshal added in v0.16.4

func (m *TableOptions) XXX_Unmarshal(b []byte) error

type TableRow

type TableRow struct {
	// cells will be as wide as the column definitions array and may contain strings, numbers (float64 or
	// int64), booleans, simple maps, lists, or null. See the type field of the column definition for a
	// more detailed description.
	Cells []interface{} `json:"cells"`
	// conditions describe additional status of a row that are relevant for a human user. These conditions
	// apply to the row, not to the object, and will be specific to table output. The only defined
	// condition type is 'Completed', for a row that indicates a resource that has run to completion and
	// can be given less visual priority.
	// +optional
	Conditions []TableRowCondition `json:"conditions,omitempty"`
	// This field contains the requested additional information about each object based on the includeObject
	// policy when requesting the Table. If "None", this field is empty, if "Object" this will be the
	// default serialization of the object for the current API version, and if "Metadata" (the default) will
	// contain the object metadata. Check the returned kind and apiVersion of the object before parsing.
	// The media type of the object will always match the enclosing list - if this as a JSON table, these
	// will be JSON encoded objects.
	// +optional
	Object runtime.RawExtension `json:"object,omitempty"`
}

TableRow is an individual row in a table. +protobuf=false

func (*TableRow) DeepCopy

func (in *TableRow) DeepCopy() *TableRow

func (*TableRow) DeepCopyInto

func (in *TableRow) DeepCopyInto(out *TableRow)

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

func (TableRow) SwaggerDoc

func (TableRow) SwaggerDoc() map[string]string

type TableRowCondition

type TableRowCondition struct {
	// Type of row condition. The only defined value is 'Completed' indicating that the
	// object this row represents has reached a completed state and may be given less visual
	// priority than other rows. Clients are not required to honor any conditions but should
	// be consistent where possible about handling the conditions.
	Type RowConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus `json:"status"`
	// (brief) machine readable reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`
	// Human readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`
}

TableRowCondition allows a row to be marked with additional information. +protobuf=false

func (*TableRowCondition) DeepCopy

func (in *TableRowCondition) DeepCopy() *TableRowCondition

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

func (*TableRowCondition) DeepCopyInto

func (in *TableRowCondition) DeepCopyInto(out *TableRowCondition)

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

func (TableRowCondition) SwaggerDoc

func (TableRowCondition) SwaggerDoc() map[string]string

type Time

type Time struct {
	time.Time `protobuf:"-"`
}

Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

func Date

func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time

Date returns the Time corresponding to the supplied parameters by wrapping time.Date.

func NewTime

func NewTime(time time.Time) Time

NewTime returns a wrapped instance of the provided time

func Now

func Now() Time

Now returns the current local time.

func Unix

func Unix(sec int64, nsec int64) Time

Unix returns the local time corresponding to the given Unix time by wrapping time.Unix.

func (*Time) Before

func (t *Time) Before(u *Time) bool

Before reports whether the time instant t is before u.

func (*Time) DeepCopy

func (in *Time) DeepCopy() *Time

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

func (*Time) DeepCopyInto

func (t *Time) DeepCopyInto(out *Time)

DeepCopyInto creates a deep-copy of the Time value. The underlying time.Time type is effectively immutable in the time API, so it is safe to copy-by-assign, despite the presence of (unexported) Pointer fields.

func (*Time) Descriptor

func (*Time) Descriptor() ([]byte, []int)

func (*Time) Equal

func (t *Time) Equal(u *Time) bool

Equal reports whether the time instant t is equal to u.

func (*Time) Fuzz

func (t *Time) Fuzz(c fuzz.Continue)

Fuzz satisfies fuzz.Interface.

func (*Time) IsZero

func (t *Time) IsZero() bool

IsZero returns true if the value is nil or time is zero.

func (*Time) Marshal

func (m *Time) Marshal() (data []byte, err error)

Marshal implements the protobuf marshaling interface.

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Time) MarshalQueryParameter

func (t Time) MarshalQueryParameter() (string, error)

MarshalQueryParameter converts to a URL query parameter value

func (*Time) MarshalTo

func (m *Time) MarshalTo(data []byte) (int, error)

MarshalTo implements the protobuf marshaling interface.

func (*Time) MarshalToSizedBuffer added in v0.16.4

func (m *Time) MarshalToSizedBuffer(data []byte) (int, error)

MarshalToSizedBuffer implements the protobuf reverse marshaling interface.

func (Time) OpenAPISchemaFormat

func (_ Time) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (Time) OpenAPISchemaType

func (_ Time) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoTime

func (m *Time) ProtoTime() *Timestamp

Timestamp returns the Time as a new Timestamp value.

func (*Time) Reset

func (m *Time) Reset()

func (Time) Rfc3339Copy

func (t Time) Rfc3339Copy() Time

Rfc3339Copy returns a copy of the Time at second-level precision.

func (*Time) Size

func (m *Time) Size() (n int)

Size implements the protobuf marshalling interface.

func (*Time) Unmarshal

func (m *Time) Unmarshal(data []byte) error

Reset implements the protobuf marshalling interface.

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*Time) UnmarshalQueryParameter

func (t *Time) UnmarshalQueryParameter(str string) error

UnmarshalQueryParameter converts from a URL query parameter value to an object

func (*Time) XXX_DiscardUnknown added in v0.16.4

func (m *Time) XXX_DiscardUnknown()

func (*Time) XXX_Marshal added in v0.16.4

func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Time) XXX_Merge added in v0.16.4

func (m *Time) XXX_Merge(src proto.Message)

func (*Time) XXX_Size added in v0.16.4

func (m *Time) XXX_Size() int

func (*Time) XXX_Unmarshal added in v0.16.4

func (m *Time) XXX_Unmarshal(b []byte) error

type Timestamp

type Timestamp struct {
	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds int64 `json:"seconds" protobuf:"varint,1,opt,name=seconds"`
	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time. Must be from 0 to 999,999,999
	// inclusive. This field may be limited in precision depending on context.
	Nanos int32 `json:"nanos" protobuf:"varint,2,opt,name=nanos"`
}

Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.

func (*Timestamp) DeepCopy

func (in *Timestamp) DeepCopy() *Timestamp

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

func (*Timestamp) DeepCopyInto

func (in *Timestamp) DeepCopyInto(out *Timestamp)

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

func (*Timestamp) Descriptor

func (*Timestamp) Descriptor() ([]byte, []int)

func (*Timestamp) Marshal

func (m *Timestamp) Marshal() (dAtA []byte, err error)

func (*Timestamp) MarshalTo

func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)

func (*Timestamp) MarshalToSizedBuffer added in v0.16.4

func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset

func (m *Timestamp) Reset()

func (*Timestamp) Size

func (m *Timestamp) Size() (n int)

func (*Timestamp) String

func (this *Timestamp) String() string

func (*Timestamp) Unmarshal

func (m *Timestamp) Unmarshal(dAtA []byte) error

func (*Timestamp) XXX_DiscardUnknown added in v0.16.4

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal added in v0.16.4

func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Timestamp) XXX_Merge added in v0.16.4

func (m *Timestamp) XXX_Merge(src proto.Message)

func (*Timestamp) XXX_Size added in v0.16.4

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal added in v0.16.4

func (m *Timestamp) XXX_Unmarshal(b []byte) error

type Type

type Type interface {
	GetAPIVersion() string
	SetAPIVersion(version string)
	GetKind() string
	SetKind(kind string)
}

Type exposes the type and APIVersion of versioned or internal API objects. TODO: move this, and TypeMeta and ListMeta, to a different package

type TypeMeta

type TypeMeta struct {
	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"`
}

TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.

+k8s:deepcopy-gen=false

func (*TypeMeta) Descriptor

func (*TypeMeta) Descriptor() ([]byte, []int)

func (*TypeMeta) GetObjectKind

func (obj *TypeMeta) GetObjectKind() schema.ObjectKind

func (*TypeMeta) GroupVersionKind

func (obj *TypeMeta) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta

func (*TypeMeta) Marshal

func (m *TypeMeta) Marshal() (dAtA []byte, err error)

func (*TypeMeta) MarshalTo

func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error)

func (*TypeMeta) MarshalToSizedBuffer added in v0.16.4

func (m *TypeMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TypeMeta) ProtoMessage

func (*TypeMeta) ProtoMessage()

func (*TypeMeta) Reset

func (m *TypeMeta) Reset()

func (*TypeMeta) SetGroupVersionKind

func (obj *TypeMeta) SetGroupVersionKind(gvk schema.GroupVersionKind)

SetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta

func (*TypeMeta) Size

func (m *TypeMeta) Size() (n int)

func (*TypeMeta) String

func (this *TypeMeta) String() string

func (TypeMeta) SwaggerDoc

func (TypeMeta) SwaggerDoc() map[string]string

func (*TypeMeta) Unmarshal

func (m *TypeMeta) Unmarshal(dAtA []byte) error

func (*TypeMeta) XXX_DiscardUnknown added in v0.16.4

func (m *TypeMeta) XXX_DiscardUnknown()

func (*TypeMeta) XXX_Marshal added in v0.16.4

func (m *TypeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeMeta) XXX_Merge added in v0.16.4

func (m *TypeMeta) XXX_Merge(src proto.Message)

func (*TypeMeta) XXX_Size added in v0.16.4

func (m *TypeMeta) XXX_Size() int

func (*TypeMeta) XXX_Unmarshal added in v0.16.4

func (m *TypeMeta) XXX_Unmarshal(b []byte) error

type UpdateOptions

type UpdateOptions struct {
	TypeMeta `json:",inline"`

	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`

	// fieldManager is a name associated with the actor or entity
	// that is making these changes. The value must be less than or
	// 128 characters long, and only contain printable characters,
	// as defined by https://golang.org/pkg/unicode/#IsPrint.
	// +optional
	FieldManager string `json:"fieldManager,omitempty" protobuf:"bytes,2,name=fieldManager"`
}

UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.

func (*UpdateOptions) DeepCopy

func (in *UpdateOptions) DeepCopy() *UpdateOptions

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

func (*UpdateOptions) DeepCopyInto

func (in *UpdateOptions) DeepCopyInto(out *UpdateOptions)

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

func (*UpdateOptions) DeepCopyObject

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

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

func (*UpdateOptions) Descriptor

func (*UpdateOptions) Descriptor() ([]byte, []int)

func (*UpdateOptions) Marshal

func (m *UpdateOptions) Marshal() (dAtA []byte, err error)

func (*UpdateOptions) MarshalTo

func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error)

func (*UpdateOptions) MarshalToSizedBuffer added in v0.16.4

func (m *UpdateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateOptions) ProtoMessage

func (*UpdateOptions) ProtoMessage()

func (*UpdateOptions) Reset

func (m *UpdateOptions) Reset()

func (*UpdateOptions) Size

func (m *UpdateOptions) Size() (n int)

func (*UpdateOptions) String

func (this *UpdateOptions) String() string

func (UpdateOptions) SwaggerDoc

func (UpdateOptions) SwaggerDoc() map[string]string

func (*UpdateOptions) Unmarshal

func (m *UpdateOptions) Unmarshal(dAtA []byte) error

func (*UpdateOptions) XXX_DiscardUnknown added in v0.16.4

func (m *UpdateOptions) XXX_DiscardUnknown()

func (*UpdateOptions) XXX_Marshal added in v0.16.4

func (m *UpdateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateOptions) XXX_Merge added in v0.16.4

func (m *UpdateOptions) XXX_Merge(src proto.Message)

func (*UpdateOptions) XXX_Size added in v0.16.4

func (m *UpdateOptions) XXX_Size() int

func (*UpdateOptions) XXX_Unmarshal added in v0.16.4

func (m *UpdateOptions) XXX_Unmarshal(b []byte) error

type Verbs

type Verbs []string

Verbs masks the value so protobuf can generate

+protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (Verbs) DeepCopy

func (in Verbs) DeepCopy() Verbs

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

func (Verbs) DeepCopyInto

func (in Verbs) DeepCopyInto(out *Verbs)

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

func (*Verbs) Descriptor

func (*Verbs) Descriptor() ([]byte, []int)

func (Verbs) Marshal

func (m Verbs) Marshal() (dAtA []byte, err error)

func (Verbs) MarshalTo

func (m Verbs) MarshalTo(dAtA []byte) (int, error)

func (Verbs) MarshalToSizedBuffer added in v0.16.4

func (m Verbs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Verbs) ProtoMessage

func (*Verbs) ProtoMessage()

func (*Verbs) Reset

func (m *Verbs) Reset()

func (Verbs) Size

func (m Verbs) Size() (n int)

func (Verbs) String

func (vs Verbs) String() string

func (*Verbs) Unmarshal

func (m *Verbs) Unmarshal(dAtA []byte) error

func (*Verbs) XXX_DiscardUnknown added in v0.16.4

func (m *Verbs) XXX_DiscardUnknown()

func (*Verbs) XXX_Marshal added in v0.16.4

func (m *Verbs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verbs) XXX_Merge added in v0.16.4

func (m *Verbs) XXX_Merge(src proto.Message)

func (*Verbs) XXX_Size added in v0.16.4

func (m *Verbs) XXX_Size() int

func (*Verbs) XXX_Unmarshal added in v0.16.4

func (m *Verbs) XXX_Unmarshal(b []byte) error

type WatchEvent

type WatchEvent struct {
	Type string `json:"type" protobuf:"bytes,1,opt,name=type"`

	// Object is:
	//  * If Type is Added or Modified: the new state of the object.
	//  * If Type is Deleted: the state of the object immediately before deletion.
	//  * If Type is Error: *Status is recommended; other types may make sense
	//    depending on context.
	Object runtime.RawExtension `json:"object" protobuf:"bytes,2,opt,name=object"`
}

Event represents a single event to a watched resource.

+protobuf=true +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WatchEvent) DeepCopy

func (in *WatchEvent) DeepCopy() *WatchEvent

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

func (*WatchEvent) DeepCopyInto

func (in *WatchEvent) DeepCopyInto(out *WatchEvent)

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

func (*WatchEvent) DeepCopyObject

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

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

func (*WatchEvent) Descriptor

func (*WatchEvent) Descriptor() ([]byte, []int)

func (*WatchEvent) GetObjectKind

func (e *WatchEvent) GetObjectKind() schema.ObjectKind

func (*WatchEvent) Marshal

func (m *WatchEvent) Marshal() (dAtA []byte, err error)

func (*WatchEvent) MarshalTo

func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error)

func (*WatchEvent) MarshalToSizedBuffer added in v0.16.4

func (m *WatchEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchEvent) ProtoMessage

func (*WatchEvent) ProtoMessage()

func (*WatchEvent) Reset

func (m *WatchEvent) Reset()

func (*WatchEvent) Size

func (m *WatchEvent) Size() (n int)

func (*WatchEvent) String

func (this *WatchEvent) String() string

func (*WatchEvent) Unmarshal

func (m *WatchEvent) Unmarshal(dAtA []byte) error

func (*WatchEvent) XXX_DiscardUnknown added in v0.16.4

func (m *WatchEvent) XXX_DiscardUnknown()

func (*WatchEvent) XXX_Marshal added in v0.16.4

func (m *WatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchEvent) XXX_Merge added in v0.16.4

func (m *WatchEvent) XXX_Merge(src proto.Message)

func (*WatchEvent) XXX_Size added in v0.16.4

func (m *WatchEvent) XXX_Size() int

func (*WatchEvent) XXX_Unmarshal added in v0.16.4

func (m *WatchEvent) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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