Documentation ¶
Overview ¶
Package unversioned is a generated protocol buffer package.
It is generated from these files:
k8s.io/kubernetes/pkg/api/unversioned/generated.proto
It has these top-level messages:
APIGroup APIGroupList APIResource APIResourceList APIVersions Duration ExportOptions GroupKind GroupResource GroupVersion GroupVersionForDiscovery GroupVersionKind GroupVersionResource LabelSelector LabelSelectorRequirement ListMeta RootPaths ServerAddressByClientCIDR Status StatusCause StatusDetails Time Timestamp TypeMeta
Index ¶
- Variables
- type APIGroup
- func (*APIGroup) Descriptor() ([]byte, []int)
- func (m *APIGroup) GetName() string
- func (m *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery
- func (m *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
- func (m *APIGroup) GetVersions() []*GroupVersionForDiscovery
- func (m *APIGroup) Marshal() (dAtA []byte, err error)
- func (m *APIGroup) MarshalTo(dAtA []byte) (int, error)
- func (*APIGroup) ProtoMessage()
- func (m *APIGroup) Reset()
- func (m *APIGroup) Size() (n int)
- func (m *APIGroup) String() string
- func (m *APIGroup) Unmarshal(dAtA []byte) error
- type APIGroupList
- func (*APIGroupList) Descriptor() ([]byte, []int)
- func (m *APIGroupList) GetGroups() []*APIGroup
- func (m *APIGroupList) Marshal() (dAtA []byte, err error)
- func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error)
- func (*APIGroupList) ProtoMessage()
- func (m *APIGroupList) Reset()
- func (m *APIGroupList) Size() (n int)
- func (m *APIGroupList) String() string
- func (m *APIGroupList) Unmarshal(dAtA []byte) error
- type APIResource
- func (*APIResource) Descriptor() ([]byte, []int)
- func (m *APIResource) GetKind() string
- func (m *APIResource) GetName() string
- func (m *APIResource) GetNamespaced() bool
- func (m *APIResource) Marshal() (dAtA []byte, err error)
- func (m *APIResource) MarshalTo(dAtA []byte) (int, error)
- func (*APIResource) ProtoMessage()
- func (m *APIResource) Reset()
- func (m *APIResource) Size() (n int)
- func (m *APIResource) String() string
- func (m *APIResource) Unmarshal(dAtA []byte) error
- type APIResourceList
- func (*APIResourceList) Descriptor() ([]byte, []int)
- func (m *APIResourceList) GetGroupVersion() string
- func (m *APIResourceList) GetResources() []*APIResource
- func (m *APIResourceList) Marshal() (dAtA []byte, err error)
- func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error)
- func (*APIResourceList) ProtoMessage()
- func (m *APIResourceList) Reset()
- func (m *APIResourceList) Size() (n int)
- func (m *APIResourceList) String() string
- func (m *APIResourceList) Unmarshal(dAtA []byte) error
- type APIVersions
- func (*APIVersions) Descriptor() ([]byte, []int)
- func (m *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
- func (m *APIVersions) GetVersions() []string
- func (m *APIVersions) Marshal() (dAtA []byte, err error)
- func (m *APIVersions) MarshalTo(dAtA []byte) (int, error)
- func (*APIVersions) ProtoMessage()
- func (m *APIVersions) Reset()
- func (m *APIVersions) Size() (n int)
- func (m *APIVersions) String() string
- func (m *APIVersions) Unmarshal(dAtA []byte) error
- type Duration
- func (*Duration) Descriptor() ([]byte, []int)
- func (m *Duration) GetDuration() int64
- func (m *Duration) Marshal() (dAtA []byte, err error)
- func (m *Duration) MarshalTo(dAtA []byte) (int, error)
- func (*Duration) ProtoMessage()
- func (m *Duration) Reset()
- func (m *Duration) Size() (n int)
- func (m *Duration) String() string
- func (m *Duration) Unmarshal(dAtA []byte) error
- type ExportOptions
- func (*ExportOptions) Descriptor() ([]byte, []int)
- func (m *ExportOptions) GetExact() bool
- func (m *ExportOptions) GetExport() bool
- func (m *ExportOptions) Marshal() (dAtA []byte, err error)
- func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error)
- func (*ExportOptions) ProtoMessage()
- func (m *ExportOptions) Reset()
- func (m *ExportOptions) Size() (n int)
- func (m *ExportOptions) String() string
- func (m *ExportOptions) Unmarshal(dAtA []byte) error
- type GroupKind
- func (*GroupKind) Descriptor() ([]byte, []int)
- func (m *GroupKind) GetGroup() string
- func (m *GroupKind) GetKind() string
- func (m *GroupKind) Marshal() (dAtA []byte, err error)
- func (m *GroupKind) MarshalTo(dAtA []byte) (int, error)
- func (*GroupKind) ProtoMessage()
- func (m *GroupKind) Reset()
- func (m *GroupKind) Size() (n int)
- func (m *GroupKind) String() string
- func (m *GroupKind) Unmarshal(dAtA []byte) error
- type GroupResource
- func (*GroupResource) Descriptor() ([]byte, []int)
- func (m *GroupResource) GetGroup() string
- func (m *GroupResource) GetResource() string
- func (m *GroupResource) Marshal() (dAtA []byte, err error)
- func (m *GroupResource) MarshalTo(dAtA []byte) (int, error)
- func (*GroupResource) ProtoMessage()
- func (m *GroupResource) Reset()
- func (m *GroupResource) Size() (n int)
- func (m *GroupResource) String() string
- func (m *GroupResource) Unmarshal(dAtA []byte) error
- type GroupVersion
- func (*GroupVersion) Descriptor() ([]byte, []int)
- func (m *GroupVersion) GetGroup() string
- func (m *GroupVersion) GetVersion() string
- func (m *GroupVersion) Marshal() (dAtA []byte, err error)
- func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error)
- func (*GroupVersion) ProtoMessage()
- func (m *GroupVersion) Reset()
- func (m *GroupVersion) Size() (n int)
- func (m *GroupVersion) String() string
- func (m *GroupVersion) Unmarshal(dAtA []byte) error
- type GroupVersionForDiscovery
- func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int)
- func (m *GroupVersionForDiscovery) GetGroupVersion() string
- func (m *GroupVersionForDiscovery) GetVersion() string
- func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error)
- func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error)
- func (*GroupVersionForDiscovery) ProtoMessage()
- func (m *GroupVersionForDiscovery) Reset()
- func (m *GroupVersionForDiscovery) Size() (n int)
- func (m *GroupVersionForDiscovery) String() string
- func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)
- func (m *GroupVersionKind) GetGroup() string
- func (m *GroupVersionKind) GetKind() string
- func (m *GroupVersionKind) GetVersion() string
- func (m *GroupVersionKind) Marshal() (dAtA []byte, err error)
- func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error)
- func (*GroupVersionKind) ProtoMessage()
- func (m *GroupVersionKind) Reset()
- func (m *GroupVersionKind) Size() (n int)
- func (m *GroupVersionKind) String() string
- func (m *GroupVersionKind) Unmarshal(dAtA []byte) error
- type GroupVersionResource
- func (*GroupVersionResource) Descriptor() ([]byte, []int)
- func (m *GroupVersionResource) GetGroup() string
- func (m *GroupVersionResource) GetResource() string
- func (m *GroupVersionResource) GetVersion() string
- func (m *GroupVersionResource) Marshal() (dAtA []byte, err error)
- func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error)
- func (*GroupVersionResource) ProtoMessage()
- func (m *GroupVersionResource) Reset()
- func (m *GroupVersionResource) Size() (n int)
- func (m *GroupVersionResource) String() string
- func (m *GroupVersionResource) Unmarshal(dAtA []byte) error
- type LabelSelector
- func (*LabelSelector) Descriptor() ([]byte, []int)
- func (m *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
- func (m *LabelSelector) GetMatchLabels() map[string]string
- func (m *LabelSelector) Marshal() (dAtA []byte, err error)
- func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error)
- func (*LabelSelector) ProtoMessage()
- func (m *LabelSelector) Reset()
- func (m *LabelSelector) Size() (n int)
- func (m *LabelSelector) String() string
- func (m *LabelSelector) Unmarshal(dAtA []byte) error
- type LabelSelectorRequirement
- func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
- func (m *LabelSelectorRequirement) GetKey() string
- func (m *LabelSelectorRequirement) GetOperator() string
- func (m *LabelSelectorRequirement) GetValues() []string
- func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error)
- func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
- func (*LabelSelectorRequirement) ProtoMessage()
- func (m *LabelSelectorRequirement) Reset()
- func (m *LabelSelectorRequirement) Size() (n int)
- func (m *LabelSelectorRequirement) String() string
- func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error
- type ListMeta
- func (*ListMeta) Descriptor() ([]byte, []int)
- func (m *ListMeta) GetResourceVersion() string
- func (m *ListMeta) GetSelfLink() string
- func (m *ListMeta) Marshal() (dAtA []byte, err error)
- func (m *ListMeta) MarshalTo(dAtA []byte) (int, error)
- func (*ListMeta) ProtoMessage()
- func (m *ListMeta) Reset()
- func (m *ListMeta) Size() (n int)
- func (m *ListMeta) String() string
- func (m *ListMeta) Unmarshal(dAtA []byte) error
- type RootPaths
- func (*RootPaths) Descriptor() ([]byte, []int)
- func (m *RootPaths) GetPaths() []string
- func (m *RootPaths) Marshal() (dAtA []byte, err error)
- func (m *RootPaths) MarshalTo(dAtA []byte) (int, error)
- func (*RootPaths) ProtoMessage()
- func (m *RootPaths) Reset()
- func (m *RootPaths) Size() (n int)
- func (m *RootPaths) String() string
- func (m *RootPaths) Unmarshal(dAtA []byte) error
- type ServerAddressByClientCIDR
- func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)
- func (m *ServerAddressByClientCIDR) GetClientCIDR() string
- func (m *ServerAddressByClientCIDR) GetServerAddress() string
- func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error)
- func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error)
- func (*ServerAddressByClientCIDR) ProtoMessage()
- func (m *ServerAddressByClientCIDR) Reset()
- func (m *ServerAddressByClientCIDR) Size() (n int)
- func (m *ServerAddressByClientCIDR) String() string
- func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetCode() int32
- func (m *Status) GetDetails() *StatusDetails
- func (m *Status) GetMessage() string
- func (m *Status) GetMetadata() *ListMeta
- func (m *Status) GetReason() string
- func (m *Status) GetStatus() string
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- type StatusCause
- func (*StatusCause) Descriptor() ([]byte, []int)
- func (m *StatusCause) GetField() string
- func (m *StatusCause) GetMessage() string
- func (m *StatusCause) GetReason() string
- func (m *StatusCause) Marshal() (dAtA []byte, err error)
- func (m *StatusCause) MarshalTo(dAtA []byte) (int, error)
- func (*StatusCause) ProtoMessage()
- func (m *StatusCause) Reset()
- func (m *StatusCause) Size() (n int)
- func (m *StatusCause) String() string
- func (m *StatusCause) Unmarshal(dAtA []byte) error
- type StatusDetails
- func (*StatusDetails) Descriptor() ([]byte, []int)
- func (m *StatusDetails) GetCauses() []*StatusCause
- func (m *StatusDetails) GetGroup() string
- func (m *StatusDetails) GetKind() string
- func (m *StatusDetails) GetName() string
- func (m *StatusDetails) GetRetryAfterSeconds() int32
- func (m *StatusDetails) Marshal() (dAtA []byte, err error)
- func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error)
- func (*StatusDetails) ProtoMessage()
- func (m *StatusDetails) Reset()
- func (m *StatusDetails) Size() (n int)
- func (m *StatusDetails) String() string
- func (m *StatusDetails) Unmarshal(dAtA []byte) error
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (m *Time) GetNanos() int32
- func (m *Time) GetSeconds() int64
- func (m *Time) Marshal() (dAtA []byte, err error)
- func (t Time) MarshalJSON() ([]byte, error)
- func (m *Time) MarshalTo(dAtA []byte) (int, error)
- func (*Time) ProtoMessage()
- func (m *Time) Reset()
- func (m *Time) Size() (n int)
- func (m *Time) String() string
- func (m *Time) Unmarshal(dAtA []byte) error
- func (t *Time) UnmarshalJSON(p []byte) error
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)
- func (m *Timestamp) GetNanos() int32
- func (m *Timestamp) GetSeconds() int64
- func (m *Timestamp) Marshal() (dAtA []byte, err error)
- func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)
- func (*Timestamp) ProtoMessage()
- func (m *Timestamp) Reset()
- func (m *Timestamp) Size() (n int)
- func (m *Timestamp) String() string
- func (m *Timestamp) Unmarshal(dAtA []byte) error
- type TypeMeta
- func (*TypeMeta) Descriptor() ([]byte, []int)
- func (m *TypeMeta) GetApiVersion() string
- func (m *TypeMeta) GetKind() string
- func (m *TypeMeta) Marshal() (dAtA []byte, err error)
- func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error)
- func (*TypeMeta) ProtoMessage()
- func (m *TypeMeta) Reset()
- func (m *TypeMeta) Size() (n int)
- func (m *TypeMeta) String() string
- func (m *TypeMeta) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type APIGroup ¶
type APIGroup struct { // name is the name of the group. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // versions are the versions supported in this group. Versions []*GroupVersionForDiscovery `protobuf:"bytes,2,rep,name=versions" json:"versions,omitempty"` // preferredVersion is the version preferred by the API server, which // probably is the storage version. // +optional PreferredVersion *GroupVersionForDiscovery `protobuf:"bytes,3,opt,name=preferredVersion" json:"preferredVersion,omitempty"` // 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 `protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"` XXX_unrecognized []byte `json:"-"` }
APIGroup contains the name, the supported versions, and the preferred version of a group.
func (*APIGroup) Descriptor ¶
func (*APIGroup) GetPreferredVersion ¶
func (m *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery
func (*APIGroup) GetServerAddressByClientCIDRs ¶
func (m *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
func (*APIGroup) GetVersions ¶
func (m *APIGroup) GetVersions() []*GroupVersionForDiscovery
func (*APIGroup) ProtoMessage ¶
func (*APIGroup) ProtoMessage()
type APIGroupList ¶
type APIGroupList struct { // groups is a list of APIGroup. Groups []*APIGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"` XXX_unrecognized []byte `json:"-"` }
APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.
func (*APIGroupList) Descriptor ¶
func (*APIGroupList) Descriptor() ([]byte, []int)
func (*APIGroupList) GetGroups ¶
func (m *APIGroupList) GetGroups() []*APIGroup
func (*APIGroupList) Marshal ¶
func (m *APIGroupList) Marshal() (dAtA []byte, err 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 (m *APIGroupList) String() string
func (*APIGroupList) Unmarshal ¶
func (m *APIGroupList) Unmarshal(dAtA []byte) error
type APIResource ¶
type APIResource struct { // name is the name of the resource. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // namespaced indicates if a resource is namespaced or not. Namespaced *bool `protobuf:"varint,2,opt,name=namespaced" json:"namespaced,omitempty"` // kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` XXX_unrecognized []byte `json:"-"` }
APIResource specifies the name of a resource and whether it is namespaced.
func (*APIResource) Descriptor ¶
func (*APIResource) Descriptor() ([]byte, []int)
func (*APIResource) GetKind ¶
func (m *APIResource) GetKind() string
func (*APIResource) GetName ¶
func (m *APIResource) GetName() string
func (*APIResource) GetNamespaced ¶
func (m *APIResource) GetNamespaced() bool
func (*APIResource) Marshal ¶
func (m *APIResource) Marshal() (dAtA []byte, err 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 (m *APIResource) String() string
func (*APIResource) Unmarshal ¶
func (m *APIResource) Unmarshal(dAtA []byte) error
type APIResourceList ¶
type APIResourceList struct { // groupVersion is the group and version this APIResourceList is for. GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"` // resources contains the name of the resources and if they are namespaced. Resources []*APIResource `protobuf:"bytes,2,rep,name=resources" json:"resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*APIResourceList) Descriptor() ([]byte, []int)
func (*APIResourceList) GetGroupVersion ¶
func (m *APIResourceList) GetGroupVersion() string
func (*APIResourceList) GetResources ¶
func (m *APIResourceList) GetResources() []*APIResource
func (*APIResourceList) Marshal ¶
func (m *APIResourceList) Marshal() (dAtA []byte, err 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 (m *APIResourceList) String() string
func (*APIResourceList) Unmarshal ¶
func (m *APIResourceList) Unmarshal(dAtA []byte) error
type APIVersions ¶
type APIVersions struct { // versions are the api versions that are available. Versions []string `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"` // 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 `protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
func (*APIVersions) Descriptor ¶
func (*APIVersions) Descriptor() ([]byte, []int)
func (*APIVersions) GetServerAddressByClientCIDRs ¶
func (m *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
func (*APIVersions) GetVersions ¶
func (m *APIVersions) GetVersions() []string
func (*APIVersions) Marshal ¶
func (m *APIVersions) Marshal() (dAtA []byte, err 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 (m *APIVersions) String() string
func (*APIVersions) Unmarshal ¶
func (m *APIVersions) Unmarshal(dAtA []byte) error
type Duration ¶
type Duration struct { Duration *int64 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*Duration) GetDuration ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
type ExportOptions ¶
type ExportOptions struct { // Should this value be exported. Export strips fields that a user can not specify.` Export *bool `protobuf:"varint,1,opt,name=export" json:"export,omitempty"` // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' Exact *bool `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"` XXX_unrecognized []byte `json:"-"` }
ExportOptions is the query options to the standard REST get call.
func (*ExportOptions) Descriptor ¶
func (*ExportOptions) Descriptor() ([]byte, []int)
func (*ExportOptions) GetExact ¶
func (m *ExportOptions) GetExact() bool
func (*ExportOptions) GetExport ¶
func (m *ExportOptions) GetExport() bool
func (*ExportOptions) Marshal ¶
func (m *ExportOptions) Marshal() (dAtA []byte, err 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 (m *ExportOptions) String() string
func (*ExportOptions) Unmarshal ¶
func (m *ExportOptions) Unmarshal(dAtA []byte) error
type GroupKind ¶
type GroupKind struct { Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*GroupKind) ProtoMessage ¶
func (*GroupKind) ProtoMessage()
type GroupResource ¶
type GroupResource struct { Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Resource *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*GroupResource) Descriptor() ([]byte, []int)
func (*GroupResource) GetGroup ¶
func (m *GroupResource) GetGroup() string
func (*GroupResource) GetResource ¶
func (m *GroupResource) GetResource() string
func (*GroupResource) Marshal ¶
func (m *GroupResource) Marshal() (dAtA []byte, err 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 (m *GroupResource) String() string
func (*GroupResource) Unmarshal ¶
func (m *GroupResource) Unmarshal(dAtA []byte) error
type GroupVersion ¶
type GroupVersion struct { Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
GroupVersion contains the "group" and the "version", which uniquely identifies the API.
+protobuf.options.(gogoproto.goproto_stringer)=false
func (*GroupVersion) Descriptor ¶
func (*GroupVersion) Descriptor() ([]byte, []int)
func (*GroupVersion) GetGroup ¶
func (m *GroupVersion) GetGroup() string
func (*GroupVersion) GetVersion ¶
func (m *GroupVersion) GetVersion() string
func (*GroupVersion) Marshal ¶
func (m *GroupVersion) Marshal() (dAtA []byte, err 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 (m *GroupVersion) String() string
func (*GroupVersion) Unmarshal ¶
func (m *GroupVersion) Unmarshal(dAtA []byte) error
type GroupVersionForDiscovery ¶
type GroupVersionForDiscovery struct { // groupVersion specifies the API group and version in the form "group/version" GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"` // version specifies the version in the form of "version". This is to save // the clients the trouble of splitting the GroupVersion. Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.
func (*GroupVersionForDiscovery) Descriptor ¶
func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int)
func (*GroupVersionForDiscovery) GetGroupVersion ¶
func (m *GroupVersionForDiscovery) GetGroupVersion() string
func (*GroupVersionForDiscovery) GetVersion ¶
func (m *GroupVersionForDiscovery) GetVersion() string
func (*GroupVersionForDiscovery) Marshal ¶
func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error)
func (*GroupVersionForDiscovery) MarshalTo ¶
func (m *GroupVersionForDiscovery) MarshalTo(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 (m *GroupVersionForDiscovery) String() string
func (*GroupVersionForDiscovery) Unmarshal ¶
func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error
type GroupVersionKind ¶
type GroupVersionKind struct { Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*GroupVersionKind) Descriptor() ([]byte, []int)
func (*GroupVersionKind) GetGroup ¶
func (m *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (m *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetVersion ¶
func (m *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) Marshal ¶
func (m *GroupVersionKind) Marshal() (dAtA []byte, err 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 (m *GroupVersionKind) String() string
func (*GroupVersionKind) Unmarshal ¶
func (m *GroupVersionKind) Unmarshal(dAtA []byte) error
type GroupVersionResource ¶
type GroupVersionResource struct { Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Resource *string `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*GroupVersionResource) Descriptor() ([]byte, []int)
func (*GroupVersionResource) GetGroup ¶
func (m *GroupVersionResource) GetGroup() string
func (*GroupVersionResource) GetResource ¶
func (m *GroupVersionResource) GetResource() string
func (*GroupVersionResource) GetVersion ¶
func (m *GroupVersionResource) GetVersion() string
func (*GroupVersionResource) Marshal ¶
func (m *GroupVersionResource) Marshal() (dAtA []byte, err error)
func (*GroupVersionResource) MarshalTo ¶
func (m *GroupVersionResource) MarshalTo(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 (m *GroupVersionResource) String() string
func (*GroupVersionResource) Unmarshal ¶
func (m *GroupVersionResource) Unmarshal(dAtA []byte) error
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 `` /* 142-byte string literal not displayed */ // matchExpressions is a list of label selector requirements. The requirements are ANDed. // +optional MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions" json:"matchExpressions,omitempty"` XXX_unrecognized []byte `json:"-"` }
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 (*LabelSelector) Descriptor ¶
func (*LabelSelector) Descriptor() ([]byte, []int)
func (*LabelSelector) GetMatchExpressions ¶
func (m *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
func (*LabelSelector) GetMatchLabels ¶
func (m *LabelSelector) GetMatchLabels() map[string]string
func (*LabelSelector) Marshal ¶
func (m *LabelSelector) Marshal() (dAtA []byte, err 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 (m *LabelSelector) String() string
func (*LabelSelector) Unmarshal ¶
func (m *LabelSelector) Unmarshal(dAtA []byte) error
type LabelSelectorRequirement ¶
type LabelSelectorRequirement struct { // key is the label key that the selector applies to. Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` // operator represents a key's relationship to a set of values. // Valid operators ard In, NotIn, Exists and DoesNotExist. Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"` // 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 `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"` XXX_unrecognized []byte `json:"-"` }
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
func (*LabelSelectorRequirement) Descriptor ¶
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
func (*LabelSelectorRequirement) GetKey ¶
func (m *LabelSelectorRequirement) GetKey() string
func (*LabelSelectorRequirement) GetOperator ¶
func (m *LabelSelectorRequirement) GetOperator() string
func (*LabelSelectorRequirement) GetValues ¶
func (m *LabelSelectorRequirement) GetValues() []string
func (*LabelSelectorRequirement) Marshal ¶
func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error)
func (*LabelSelectorRequirement) MarshalTo ¶
func (m *LabelSelectorRequirement) MarshalTo(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 (m *LabelSelectorRequirement) String() string
func (*LabelSelectorRequirement) Unmarshal ¶
func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error
type ListMeta ¶
type ListMeta struct { // SelfLink is a URL representing this object. // Populated by the system. // Read-only. // +optional SelfLink *string `protobuf:"bytes,1,opt,name=selfLink" json:"selfLink,omitempty"` // 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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency // +optional ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion" json:"resourceVersion,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*ListMeta) GetResourceVersion ¶
func (*ListMeta) GetSelfLink ¶
func (*ListMeta) ProtoMessage ¶
func (*ListMeta) ProtoMessage()
type RootPaths ¶
type RootPaths struct { // paths are the paths available at root. Paths []string `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"` XXX_unrecognized []byte `json:"-"` }
RootPaths lists the paths available at root. For example: "/healthz", "/apis".
func (*RootPaths) Descriptor ¶
func (*RootPaths) ProtoMessage ¶
func (*RootPaths) ProtoMessage()
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 `protobuf:"bytes,1,opt,name=clientCIDR" json:"clientCIDR,omitempty"` // 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 `protobuf:"bytes,2,opt,name=serverAddress" json:"serverAddress,omitempty"` XXX_unrecognized []byte `json:"-"` }
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
func (*ServerAddressByClientCIDR) Descriptor ¶
func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)
func (*ServerAddressByClientCIDR) GetClientCIDR ¶
func (m *ServerAddressByClientCIDR) GetClientCIDR() string
func (*ServerAddressByClientCIDR) GetServerAddress ¶
func (m *ServerAddressByClientCIDR) GetServerAddress() string
func (*ServerAddressByClientCIDR) Marshal ¶
func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error)
func (*ServerAddressByClientCIDR) MarshalTo ¶
func (m *ServerAddressByClientCIDR) MarshalTo(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 (m *ServerAddressByClientCIDR) String() string
func (*ServerAddressByClientCIDR) Unmarshal ¶
func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error
type Status ¶
type Status struct { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Status of the operation. // One of: "Success" or "Failure". // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status // +optional Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` // A human-readable description of the status of this operation. // +optional Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` // 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 *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` // 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 `protobuf:"bytes,5,opt,name=details" json:"details,omitempty"` // Suggested HTTP return code for this status, 0 if not set. // +optional Code *int32 `protobuf:"varint,6,opt,name=code" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
Status is a return value for calls that don't return other objects.
func (*Status) Descriptor ¶
func (*Status) GetDetails ¶
func (m *Status) GetDetails() *StatusDetails
func (*Status) GetMessage ¶
func (*Status) GetMetadata ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
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 Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"` // A human-readable description of the cause of the error. This field may be // presented as-is to a reader. // +optional Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` // 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 `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"` XXX_unrecognized []byte `json:"-"` }
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
func (*StatusCause) Descriptor ¶
func (*StatusCause) Descriptor() ([]byte, []int)
func (*StatusCause) GetField ¶
func (m *StatusCause) GetField() string
func (*StatusCause) GetMessage ¶
func (m *StatusCause) GetMessage() string
func (*StatusCause) GetReason ¶
func (m *StatusCause) GetReason() string
func (*StatusCause) Marshal ¶
func (m *StatusCause) Marshal() (dAtA []byte, err 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 (m *StatusCause) String() string
func (*StatusCause) Unmarshal ¶
func (m *StatusCause) Unmarshal(dAtA []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 `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The group attribute of the resource associated with the status StatusReason. // +optional Group *string `protobuf:"bytes,2,opt,name=group" json:"group,omitempty"` // The kind attribute of the resource associated with the status StatusReason. // On some operations may differ from the requested resource Kind. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` // The Causes array includes more details associated with the StatusReason // failure. Not all StatusReasons may provide detailed causes. // +optional Causes []*StatusCause `protobuf:"bytes,4,rep,name=causes" json:"causes,omitempty"` // If specified, the time in seconds before the operation should be retried. // +optional RetryAfterSeconds *int32 `protobuf:"varint,5,opt,name=retryAfterSeconds" json:"retryAfterSeconds,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*StatusDetails) Descriptor() ([]byte, []int)
func (*StatusDetails) GetCauses ¶
func (m *StatusDetails) GetCauses() []*StatusCause
func (*StatusDetails) GetGroup ¶
func (m *StatusDetails) GetGroup() string
func (*StatusDetails) GetKind ¶
func (m *StatusDetails) GetKind() string
func (*StatusDetails) GetName ¶
func (m *StatusDetails) GetName() string
func (*StatusDetails) GetRetryAfterSeconds ¶
func (m *StatusDetails) GetRetryAfterSeconds() int32
func (*StatusDetails) Marshal ¶
func (m *StatusDetails) Marshal() (dAtA []byte, err 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 (m *StatusDetails) String() string
func (*StatusDetails) Unmarshal ¶
func (m *StatusDetails) Unmarshal(dAtA []byte) error
type Time ¶
type Time struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` // 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 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"` XXX_unrecognized []byte `json:"-"` }
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 (*Time) Descriptor ¶
func (*Time) GetSeconds ¶
func (Time) MarshalJSON ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) UnmarshalJSON ¶
type Timestamp ¶
type Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` // 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 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) Descriptor ¶
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"` // 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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources // +optional ApiVersion *string `protobuf:"bytes,2,opt,name=apiVersion" json:"apiVersion,omitempty"` XXX_unrecognized []byte `json:"-"` }
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.
func (*TypeMeta) Descriptor ¶
func (*TypeMeta) GetApiVersion ¶
func (*TypeMeta) ProtoMessage ¶
func (*TypeMeta) ProtoMessage()