Documentation ¶
Overview ¶
+groupName=meta.k8s.io
Package v1alpha1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1alpha1/generated.proto It has these top-level messages: PartialObjectMetadata TableOptions
package v1alpha1 is alpha objects from meta that will be introduced.
Index ¶
- Constants
- Variables
- func DeepCopy_v1alpha1_PartialObjectMetadata(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_Table(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_TableColumnDefinitions(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_TableOptions(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_TableRow(in interface{}, out interface{}, c *conversion.Cloner) error
- func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
- func Kind(kind string) schema.GroupKind
- type IncludeObjectPolicy
- type PartialObjectMetadata
- func (*PartialObjectMetadata) Descriptor() ([]byte, []int)
- func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error)
- func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*PartialObjectMetadata) ProtoMessage()
- func (m *PartialObjectMetadata) Reset()
- func (m *PartialObjectMetadata) Size() (n int)
- func (this *PartialObjectMetadata) String() string
- func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error
- type Table
- type TableColumnDefinitions
- type TableOptions
- func (*TableOptions) Descriptor() ([]byte, []int)
- func (m *TableOptions) Marshal() (dAtA []byte, err error)
- func (m *TableOptions) MarshalTo(dAtA []byte) (int, error)
- func (*TableOptions) ProtoMessage()
- func (m *TableOptions) Reset()
- func (m *TableOptions) Size() (n int)
- func (this *TableOptions) String() string
- func (m *TableOptions) Unmarshal(dAtA []byte) error
- type TableRow
Constants ¶
const GroupName = "meta.k8s.io"
GroupName is the group name for this API.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ParameterCodec = runtime.NewParameterCodec(scheme)
ParameterCodec knows about query parameters used with the meta v1alpha1 API spec.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_v1alpha1_PartialObjectMetadata ¶
func DeepCopy_v1alpha1_PartialObjectMetadata(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_PartialObjectMetadata is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_Table ¶
func DeepCopy_v1alpha1_Table(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_Table is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_TableColumnDefinitions ¶
func DeepCopy_v1alpha1_TableColumnDefinitions(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_TableColumnDefinitions is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_TableOptions ¶
func DeepCopy_v1alpha1_TableOptions(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_TableOptions is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_TableRow ¶
func DeepCopy_v1alpha1_TableRow(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_TableRow is an autogenerated deepcopy function.
func GetGeneratedDeepCopyFuncs ¶
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
Types ¶
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 PartialObjectMetadata ¶
type PartialObjectMetadata struct { v1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional v1.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.
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) 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) Unmarshal ¶
func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error
type Table ¶
type Table struct { v1.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // columnDefinitions describes each column in the returned items array. The number of cells per row // will always match the number of column definitions. ColumnDefinitions []TableColumnDefinitions `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. +protobuf=false
type TableColumnDefinitions ¶
type TableColumnDefinitions struct { // name is a human readable name for the column. Name string `json:"name"` // type is an OpenAPI type definition for this column. // 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 definition for this column. // 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"` }
TableColumnDefinitions contains information about a column returned in the Table. +protobuf=false
type TableOptions ¶
type TableOptions struct { v1.TypeMeta `json:",inline"` // 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 v1alpha1 of the meta.k8s.io API group. IncludeObject IncludeObjectPolicy `json:"includeObject,omitempty" protobuf:"bytes,1,opt,name=includeObject"` }
TableOptions are used when a Table is requested by the caller.
func (*TableOptions) Descriptor ¶
func (*TableOptions) Descriptor() ([]byte, []int)
func (*TableOptions) Marshal ¶
func (m *TableOptions) Marshal() (dAtA []byte, err 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) Unmarshal ¶
func (m *TableOptions) Unmarshal(dAtA []byte) error
type TableRow ¶
type TableRow struct { // cells will be as wide as headers and may contain strings, numbers, booleans, simple maps, or lists, or // null. See the type field of the column definition for a more detailed description. Cells []interface{} `json:"cells"` // 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. Object runtime.RawExtension `json:"object"` }
TableRow is an individual row in a table. +protobuf=false