Documentation ¶
Index ¶
- Variables
- type CommonOptions
- func (*CommonOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CommonOptions) GetDryRun() []string
- func (x *CommonOptions) GetForce() bool
- func (*CommonOptions) ProtoMessage()
- func (x *CommonOptions) ProtoReflect() protoreflect.Message
- func (x *CommonOptions) Reset()
- func (x *CommonOptions) String() string
- type CreateOptions
- type DeleteOptions
- type GetOptions
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ListOptions) GetFieldSelector() *wrapperspb.StringValue
- func (x *ListOptions) GetLabelSelector() *wrapperspb.StringValue
- func (x *ListOptions) GetLimit() *wrapperspb.Int64Value
- func (x *ListOptions) GetOffset() *wrapperspb.Int64Value
- func (*ListOptions) ProtoMessage()
- func (x *ListOptions) ProtoReflect() protoreflect.Message
- func (x *ListOptions) Reset()
- func (x *ListOptions) String() string
- type UpdateOptions
Constants ¶
This section is empty.
Variables ¶
var File_options_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommonOptions ¶
type CommonOptions struct { DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // 对应 PatchOptions 和 UpdateOptions 中的 DryRun 字段 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // 对应 PatchOptions 中的 Force 字段 // contains filtered or unexported fields }
CommonOptions defines common options that can be used across different operations.
func (*CommonOptions) Descriptor
deprecated
func (*CommonOptions) Descriptor() ([]byte, []int)
Deprecated: Use CommonOptions.ProtoReflect.Descriptor instead.
func (*CommonOptions) GetDryRun ¶
func (x *CommonOptions) GetDryRun() []string
func (*CommonOptions) GetForce ¶
func (x *CommonOptions) GetForce() bool
func (*CommonOptions) ProtoMessage ¶
func (*CommonOptions) ProtoMessage()
func (*CommonOptions) ProtoReflect ¶
func (x *CommonOptions) ProtoReflect() protoreflect.Message
func (*CommonOptions) Reset ¶
func (x *CommonOptions) Reset()
func (*CommonOptions) String ¶
func (x *CommonOptions) String() string
type CreateOptions ¶
type CreateOptions struct { DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // 对应 Go 结构体中的 DryRun 字段 // contains filtered or unexported fields }
CreateOptions defines options for Create operations.
func (*CreateOptions) Descriptor
deprecated
func (*CreateOptions) Descriptor() ([]byte, []int)
Deprecated: Use CreateOptions.ProtoReflect.Descriptor instead.
func (*CreateOptions) GetDryRun ¶
func (x *CreateOptions) GetDryRun() []string
func (*CreateOptions) ProtoMessage ¶
func (*CreateOptions) ProtoMessage()
func (*CreateOptions) ProtoReflect ¶
func (x *CreateOptions) ProtoReflect() protoreflect.Message
func (*CreateOptions) Reset ¶
func (x *CreateOptions) Reset()
func (*CreateOptions) String ¶
func (x *CreateOptions) String() string
type DeleteOptions ¶
type DeleteOptions struct { Unscoped bool `protobuf:"varint,1,opt,name=unscoped,proto3" json:"unscoped,omitempty"` // 对应 Go 结构体中的 Unscoped 字段 // contains filtered or unexported fields }
DeleteOptions defines options for Delete operations.
func (*DeleteOptions) Descriptor
deprecated
func (*DeleteOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.
func (*DeleteOptions) GetUnscoped ¶
func (x *DeleteOptions) GetUnscoped() bool
func (*DeleteOptions) ProtoMessage ¶
func (*DeleteOptions) ProtoMessage()
func (*DeleteOptions) ProtoReflect ¶
func (x *DeleteOptions) ProtoReflect() protoreflect.Message
func (*DeleteOptions) Reset ¶
func (x *DeleteOptions) Reset()
func (*DeleteOptions) String ¶
func (x *DeleteOptions) String() string
type GetOptions ¶
type GetOptions struct {
// contains filtered or unexported fields
}
func (*GetOptions) Descriptor
deprecated
func (*GetOptions) Descriptor() ([]byte, []int)
Deprecated: Use GetOptions.ProtoReflect.Descriptor instead.
func (*GetOptions) ProtoMessage ¶
func (*GetOptions) ProtoMessage()
func (*GetOptions) ProtoReflect ¶
func (x *GetOptions) ProtoReflect() protoreflect.Message
func (*GetOptions) Reset ¶
func (x *GetOptions) Reset()
func (*GetOptions) String ¶
func (x *GetOptions) String() string
type ListOptions ¶
type ListOptions struct { LabelSelector *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=labelSelector,proto3" json:"labelSelector,omitempty"` FieldSelector *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=fieldSelector,proto3" json:"fieldSelector,omitempty"` Limit *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` Offset *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
ListOptions defines options for listing operations.
func (*ListOptions) Descriptor
deprecated
func (*ListOptions) Descriptor() ([]byte, []int)
Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
func (*ListOptions) GetFieldSelector ¶
func (x *ListOptions) GetFieldSelector() *wrapperspb.StringValue
func (*ListOptions) GetLabelSelector ¶
func (x *ListOptions) GetLabelSelector() *wrapperspb.StringValue
func (*ListOptions) GetLimit ¶
func (x *ListOptions) GetLimit() *wrapperspb.Int64Value
func (*ListOptions) GetOffset ¶
func (x *ListOptions) GetOffset() *wrapperspb.Int64Value
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) ProtoReflect ¶
func (x *ListOptions) ProtoReflect() protoreflect.Message
func (*ListOptions) Reset ¶
func (x *ListOptions) Reset()
func (*ListOptions) String ¶
func (x *ListOptions) String() string
type UpdateOptions ¶
type UpdateOptions struct { DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // 对应 Go 结构体中的 DryRun 字段 // contains filtered or unexported fields }
UpdateOptions defines options for Update operations.
func (*UpdateOptions) Descriptor
deprecated
func (*UpdateOptions) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOptions.ProtoReflect.Descriptor instead.
func (*UpdateOptions) GetDryRun ¶
func (x *UpdateOptions) GetDryRun() []string
func (*UpdateOptions) ProtoMessage ¶
func (*UpdateOptions) ProtoMessage()
func (*UpdateOptions) ProtoReflect ¶
func (x *UpdateOptions) ProtoReflect() protoreflect.Message
func (*UpdateOptions) Reset ¶
func (x *UpdateOptions) Reset()
func (*UpdateOptions) String ¶
func (x *UpdateOptions) String() string