Documentation ¶
Overview ¶
Package v1beta1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto It has these top-level messages: PartialObjectMetadata PartialObjectMetadataList TableOptions
package v1beta1 is alpha objects from meta that will be introduced.
Index ¶
- Constants
- Variables
- func Convert_Slice_string_To_v1beta1_IncludeObjectPolicy(input *[]string, out *IncludeObjectPolicy, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- type ConditionStatus
- type IncludeObjectPolicy
- type PartialObjectMetadata
- func (in *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata
- func (in *PartialObjectMetadata) DeepCopyInto(out *PartialObjectMetadata)
- func (in *PartialObjectMetadata) DeepCopyObject() runtime.Object
- 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 (PartialObjectMetadata) SwaggerDoc() map[string]string
- func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error
- type PartialObjectMetadataList
- func (in *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList
- func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList)
- func (in *PartialObjectMetadataList) DeepCopyObject() runtime.Object
- func (*PartialObjectMetadataList) Descriptor() ([]byte, []int)
- func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error)
- func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error)
- func (*PartialObjectMetadataList) ProtoMessage()
- func (m *PartialObjectMetadataList) Reset()
- func (m *PartialObjectMetadataList) Size() (n int)
- func (this *PartialObjectMetadataList) String() string
- func (PartialObjectMetadataList) SwaggerDoc() map[string]string
- func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error
- type RowConditionType
- type Table
- type TableColumnDefinition
- type TableOptions
- func (in *TableOptions) DeepCopy() *TableOptions
- func (in *TableOptions) DeepCopyInto(out *TableOptions)
- func (in *TableOptions) DeepCopyObject() runtime.Object
- 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 (TableOptions) SwaggerDoc() map[string]string
- func (m *TableOptions) Unmarshal(dAtA []byte) error
- type TableRow
- type TableRowCondition
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 v1beta1 API spec.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_Slice_string_To_v1beta1_IncludeObjectPolicy ¶
func Convert_Slice_string_To_v1beta1_IncludeObjectPolicy(input *[]string, out *IncludeObjectPolicy, s conversion.Scope) error
Convert_Slice_string_To_v1beta1_IncludeObjectPolicy allows converting a URL query parameter value
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
Types ¶
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 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: https://git.k8s.io/community/contributors/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. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PartialObjectMetadata) DeepCopy ¶
func (in *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata
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) 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
type PartialObjectMetadataList ¶
type PartialObjectMetadataList struct { v1.TypeMeta `json:",inline"` // items contains each of the included items. Items []*PartialObjectMetadata `json:"items" protobuf:"bytes,1,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 ¶
func (in *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadataList.
func (*PartialObjectMetadataList) DeepCopyInto ¶
func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList)
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) 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
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 Table ¶
type Table struct { v1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional v1.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. +protobuf=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Table) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.
func (*Table) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Table) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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. // 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. The 'name' format is applied // to the primary identifier column 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 ¶
func (in *TableColumnDefinition) DeepCopy() *TableColumnDefinition
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 { 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 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) 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
type TableRow ¶
type TableRow struct { // cells will be as wide as headers and may contain strings, numbers (float64 or int64), booleans, simple // maps, or 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. // +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. // +optional Object runtime.RawExtension `json:"object,omitempty"` }
TableRow is an individual row in a table. +protobuf=false
func (*TableRow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableRowCondition ¶
type TableRowCondition struct { // Type of row condition. 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