Documentation ¶
Index ¶
- Variables
- type Event
- func (p *Event) BLength() int
- func (p *Event) DeepEqual(ano *Event) bool
- func (p *Event) FastRead(buf []byte) (int, error)
- func (p *Event) FastReadField1(buf []byte) (int, error)
- func (p *Event) FastReadField2(buf []byte) (int, error)
- func (p *Event) FastReadField3(buf []byte) (int, error)
- func (p *Event) FastReadField4(buf []byte) (int, error)
- func (p *Event) FastReadField5(buf []byte) (int, error)
- func (p *Event) FastReadField6(buf []byte) (int, error)
- func (p *Event) FastReadField7(buf []byte) (int, error)
- func (p *Event) FastReadField8(buf []byte) (int, error)
- func (p *Event) FastWrite(buf []byte) int
- func (p *Event) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Event) Field1DeepEqual(src string) bool
- func (p *Event) Field2DeepEqual(src string) bool
- func (p *Event) Field3DeepEqual(src string) bool
- func (p *Event) Field4DeepEqual(src *string) bool
- func (p *Event) Field5DeepEqual(src string) bool
- func (p *Event) Field6DeepEqual(src *string) bool
- func (p *Event) Field7DeepEqual(src *string) bool
- func (p *Event) Field8DeepEqual(src int32) bool
- func (p *Event) GetDetail() (v string)
- func (p *Event) GetId() (v string)
- func (p *Event) GetKind() (v string)
- func (p *Event) GetMessage() (v string)
- func (p *Event) GetOccorTime() (v string)
- func (p *Event) GetResourceName() (v string)
- func (p *Event) GetTimes() (v int32)
- func (p *Event) GetType() (v string)
- func (p *Event) IsSetDetail() bool
- func (p *Event) IsSetKind() bool
- func (p *Event) IsSetMessage() bool
- func (p *Event) Read(iprot thrift.TProtocol) (err error)
- func (p *Event) ReadField1(iprot thrift.TProtocol) error
- func (p *Event) ReadField2(iprot thrift.TProtocol) error
- func (p *Event) ReadField3(iprot thrift.TProtocol) error
- func (p *Event) ReadField4(iprot thrift.TProtocol) error
- func (p *Event) ReadField5(iprot thrift.TProtocol) error
- func (p *Event) ReadField6(iprot thrift.TProtocol) error
- func (p *Event) ReadField7(iprot thrift.TProtocol) error
- func (p *Event) ReadField8(iprot thrift.TProtocol) error
- func (p *Event) SetDetail(val *string)
- func (p *Event) SetId(val string)
- func (p *Event) SetKind(val *string)
- func (p *Event) SetMessage(val *string)
- func (p *Event) SetOccorTime(val string)
- func (p *Event) SetResourceName(val string)
- func (p *Event) SetTimes(val int32)
- func (p *Event) SetType(val string)
- func (p *Event) String() string
- func (p *Event) Write(oprot thrift.TProtocol) (err error)
- type ListEventRequest
- func (p *ListEventRequest) BLength() int
- func (p *ListEventRequest) DeepEqual(ano *ListEventRequest) bool
- func (p *ListEventRequest) FastRead(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField1(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField2(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField254(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField255(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField3(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField4(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField5(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField6(buf []byte) (int, error)
- func (p *ListEventRequest) FastReadField7(buf []byte) (int, error)
- func (p *ListEventRequest) FastWrite(buf []byte) int
- func (p *ListEventRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ListEventRequest) Field1DeepEqual(src string) bool
- func (p *ListEventRequest) Field254DeepEqual(src *base.TopParam) bool
- func (p *ListEventRequest) Field255DeepEqual(src *base.Base) bool
- func (p *ListEventRequest) Field2DeepEqual(src *string) bool
- func (p *ListEventRequest) Field3DeepEqual(src *string) bool
- func (p *ListEventRequest) Field4DeepEqual(src []string) bool
- func (p *ListEventRequest) Field5DeepEqual(src int32) bool
- func (p *ListEventRequest) Field6DeepEqual(src int32) bool
- func (p *ListEventRequest) Field7DeepEqual(src map[string][]string) bool
- func (p *ListEventRequest) GetBase() (v *base.Base)
- func (p *ListEventRequest) GetClusterId() (v string)
- func (p *ListEventRequest) GetFilters() (v map[string][]string)
- func (p *ListEventRequest) GetKind() (v []string)
- func (p *ListEventRequest) GetLimit() (v int32)
- func (p *ListEventRequest) GetName() (v string)
- func (p *ListEventRequest) GetNamespace() (v string)
- func (p *ListEventRequest) GetOrSetBase() interface{}
- func (p *ListEventRequest) GetStart() (v int32)
- func (p *ListEventRequest) GetTop() (v *base.TopParam)
- func (p *ListEventRequest) IsSetBase() bool
- func (p *ListEventRequest) IsSetFilters() bool
- func (p *ListEventRequest) IsSetKind() bool
- func (p *ListEventRequest) IsSetLimit() bool
- func (p *ListEventRequest) IsSetName() bool
- func (p *ListEventRequest) IsSetNamespace() bool
- func (p *ListEventRequest) IsSetStart() bool
- func (p *ListEventRequest) IsSetTop() bool
- func (p *ListEventRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *ListEventRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField254(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField255(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField6(iprot thrift.TProtocol) error
- func (p *ListEventRequest) ReadField7(iprot thrift.TProtocol) error
- func (p *ListEventRequest) SetBase(val *base.Base)
- func (p *ListEventRequest) SetClusterId(val string)
- func (p *ListEventRequest) SetFilters(val map[string][]string)
- func (p *ListEventRequest) SetKind(val []string)
- func (p *ListEventRequest) SetLimit(val int32)
- func (p *ListEventRequest) SetName(val *string)
- func (p *ListEventRequest) SetNamespace(val *string)
- func (p *ListEventRequest) SetStart(val int32)
- func (p *ListEventRequest) SetTop(val *base.TopParam)
- func (p *ListEventRequest) String() string
- func (p *ListEventRequest) Write(oprot thrift.TProtocol) (err error)
- type ListEventResponse
- func (p *ListEventResponse) BLength() int
- func (p *ListEventResponse) DeepEqual(ano *ListEventResponse) bool
- func (p *ListEventResponse) FastRead(buf []byte) (int, error)
- func (p *ListEventResponse) FastReadField1(buf []byte) (int, error)
- func (p *ListEventResponse) FastReadField2(buf []byte) (int, error)
- func (p *ListEventResponse) FastReadField255(buf []byte) (int, error)
- func (p *ListEventResponse) FastWrite(buf []byte) int
- func (p *ListEventResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ListEventResponse) Field1DeepEqual(src []*Event) bool
- func (p *ListEventResponse) Field255DeepEqual(src *base.Base) bool
- func (p *ListEventResponse) Field2DeepEqual(src int32) bool
- func (p *ListEventResponse) GetBase() (v *base.Base)
- func (p *ListEventResponse) GetItems() (v []*Event)
- func (p *ListEventResponse) GetOrSetBase() interface{}
- func (p *ListEventResponse) GetTotal() (v int32)
- func (p *ListEventResponse) IsSetBase() bool
- func (p *ListEventResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *ListEventResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *ListEventResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *ListEventResponse) ReadField255(iprot thrift.TProtocol) error
- func (p *ListEventResponse) SetBase(val *base.Base)
- func (p *ListEventResponse) SetItems(val []*Event)
- func (p *ListEventResponse) SetTotal(val int32)
- func (p *ListEventResponse) String() string
- func (p *ListEventResponse) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Event_Detail_DEFAULT string
View Source
var Event_Kind_DEFAULT string
View Source
var Event_Message_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var ListEventRequest_Base_DEFAULT *base.Base
View Source
var ListEventRequest_Filters_DEFAULT map[string][]string
View Source
var ListEventRequest_Kind_DEFAULT []string
View Source
var ListEventRequest_Limit_DEFAULT int32 = 10
View Source
var ListEventRequest_Name_DEFAULT string
View Source
var ListEventRequest_Namespace_DEFAULT string
View Source
var ListEventRequest_Start_DEFAULT int32 = 0
View Source
var ListEventRequest_Top_DEFAULT *base.TopParam
View Source
var ListEventResponse_Base_DEFAULT *base.Base
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Id string `thrift:"Id,1,required" json:"Id"` OccorTime string `thrift:"OccorTime,2,required" json:"OccorTime"` ResourceName string `thrift:"ResourceName,3,required" json:"ResourceName"` Kind *string `thrift:"Kind,4" json:"Kind,omitempty"` Type string `thrift:"Type,5,required" json:"Type"` Message *string `thrift:"Message,6" json:"Message,omitempty"` Detail *string `thrift:"Detail,7" json:"Detail,omitempty"` Times int32 `thrift:"Times,8,required" json:"Times"` }
func (*Event) FastWriteNocopy ¶
func (p *Event) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Event) Field1DeepEqual ¶
func (*Event) Field2DeepEqual ¶
func (*Event) Field3DeepEqual ¶
func (*Event) Field4DeepEqual ¶
func (*Event) Field5DeepEqual ¶
func (*Event) Field6DeepEqual ¶
func (*Event) Field7DeepEqual ¶
func (*Event) Field8DeepEqual ¶
func (*Event) GetMessage ¶
func (*Event) GetOccorTime ¶
func (*Event) GetResourceName ¶
func (*Event) IsSetDetail ¶
func (*Event) IsSetMessage ¶
func (*Event) SetMessage ¶
func (*Event) SetOccorTime ¶
func (*Event) SetResourceName ¶
type ListEventRequest ¶
type ListEventRequest struct { ClusterId string `thrift:"ClusterId,1,required" validate:"required"` Namespace *string `thrift:"Namespace,2" json:"Namespace,omitempty"` Name *string `thrift:"Name,3" json:"Name,omitempty"` Kind []string `thrift:"Kind,4" json:"Kind,omitempty"` Start int32 `thrift:"Start,5" validate:"gte=0"` Limit int32 `thrift:"Limit,6" json:"Limit,omitempty"` Filters map[string][]string `thrift:"Filters,7" json:"Filters,omitempty"` Top *base.TopParam `thrift:"Top,254,required" json:"Top"` Base *base.Base `thrift:"Base,255" json:"Base,omitempty"` }
func NewListEventRequest ¶
func NewListEventRequest() *ListEventRequest
func (*ListEventRequest) BLength ¶
func (p *ListEventRequest) BLength() int
func (*ListEventRequest) DeepEqual ¶
func (p *ListEventRequest) DeepEqual(ano *ListEventRequest) bool
func (*ListEventRequest) FastReadField1 ¶
func (p *ListEventRequest) FastReadField1(buf []byte) (int, error)
func (*ListEventRequest) FastReadField2 ¶
func (p *ListEventRequest) FastReadField2(buf []byte) (int, error)
func (*ListEventRequest) FastReadField254 ¶
func (p *ListEventRequest) FastReadField254(buf []byte) (int, error)
func (*ListEventRequest) FastReadField255 ¶
func (p *ListEventRequest) FastReadField255(buf []byte) (int, error)
func (*ListEventRequest) FastReadField3 ¶
func (p *ListEventRequest) FastReadField3(buf []byte) (int, error)
func (*ListEventRequest) FastReadField4 ¶
func (p *ListEventRequest) FastReadField4(buf []byte) (int, error)
func (*ListEventRequest) FastReadField5 ¶
func (p *ListEventRequest) FastReadField5(buf []byte) (int, error)
func (*ListEventRequest) FastReadField6 ¶
func (p *ListEventRequest) FastReadField6(buf []byte) (int, error)
func (*ListEventRequest) FastReadField7 ¶
func (p *ListEventRequest) FastReadField7(buf []byte) (int, error)
func (*ListEventRequest) FastWrite ¶
func (p *ListEventRequest) FastWrite(buf []byte) int
for compatibility
func (*ListEventRequest) FastWriteNocopy ¶
func (p *ListEventRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ListEventRequest) Field1DeepEqual ¶
func (p *ListEventRequest) Field1DeepEqual(src string) bool
func (*ListEventRequest) Field254DeepEqual ¶
func (p *ListEventRequest) Field254DeepEqual(src *base.TopParam) bool
func (*ListEventRequest) Field255DeepEqual ¶
func (p *ListEventRequest) Field255DeepEqual(src *base.Base) bool
func (*ListEventRequest) Field2DeepEqual ¶
func (p *ListEventRequest) Field2DeepEqual(src *string) bool
func (*ListEventRequest) Field3DeepEqual ¶
func (p *ListEventRequest) Field3DeepEqual(src *string) bool
func (*ListEventRequest) Field4DeepEqual ¶
func (p *ListEventRequest) Field4DeepEqual(src []string) bool
func (*ListEventRequest) Field5DeepEqual ¶
func (p *ListEventRequest) Field5DeepEqual(src int32) bool
func (*ListEventRequest) Field6DeepEqual ¶
func (p *ListEventRequest) Field6DeepEqual(src int32) bool
func (*ListEventRequest) Field7DeepEqual ¶
func (p *ListEventRequest) Field7DeepEqual(src map[string][]string) bool
func (*ListEventRequest) GetBase ¶
func (p *ListEventRequest) GetBase() (v *base.Base)
func (*ListEventRequest) GetClusterId ¶
func (p *ListEventRequest) GetClusterId() (v string)
func (*ListEventRequest) GetFilters ¶
func (p *ListEventRequest) GetFilters() (v map[string][]string)
func (*ListEventRequest) GetKind ¶
func (p *ListEventRequest) GetKind() (v []string)
func (*ListEventRequest) GetLimit ¶
func (p *ListEventRequest) GetLimit() (v int32)
func (*ListEventRequest) GetName ¶
func (p *ListEventRequest) GetName() (v string)
func (*ListEventRequest) GetNamespace ¶
func (p *ListEventRequest) GetNamespace() (v string)
func (*ListEventRequest) GetOrSetBase ¶
func (p *ListEventRequest) GetOrSetBase() interface{}
func (*ListEventRequest) GetStart ¶
func (p *ListEventRequest) GetStart() (v int32)
func (*ListEventRequest) GetTop ¶
func (p *ListEventRequest) GetTop() (v *base.TopParam)
func (*ListEventRequest) IsSetBase ¶
func (p *ListEventRequest) IsSetBase() bool
func (*ListEventRequest) IsSetFilters ¶
func (p *ListEventRequest) IsSetFilters() bool
func (*ListEventRequest) IsSetKind ¶
func (p *ListEventRequest) IsSetKind() bool
func (*ListEventRequest) IsSetLimit ¶
func (p *ListEventRequest) IsSetLimit() bool
func (*ListEventRequest) IsSetName ¶
func (p *ListEventRequest) IsSetName() bool
func (*ListEventRequest) IsSetNamespace ¶
func (p *ListEventRequest) IsSetNamespace() bool
func (*ListEventRequest) IsSetStart ¶
func (p *ListEventRequest) IsSetStart() bool
func (*ListEventRequest) IsSetTop ¶
func (p *ListEventRequest) IsSetTop() bool
func (*ListEventRequest) ReadField1 ¶
func (p *ListEventRequest) ReadField1(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField2 ¶
func (p *ListEventRequest) ReadField2(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField254 ¶
func (p *ListEventRequest) ReadField254(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField255 ¶
func (p *ListEventRequest) ReadField255(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField3 ¶
func (p *ListEventRequest) ReadField3(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField4 ¶
func (p *ListEventRequest) ReadField4(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField5 ¶
func (p *ListEventRequest) ReadField5(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField6 ¶
func (p *ListEventRequest) ReadField6(iprot thrift.TProtocol) error
func (*ListEventRequest) ReadField7 ¶
func (p *ListEventRequest) ReadField7(iprot thrift.TProtocol) error
func (*ListEventRequest) SetBase ¶
func (p *ListEventRequest) SetBase(val *base.Base)
func (*ListEventRequest) SetClusterId ¶
func (p *ListEventRequest) SetClusterId(val string)
func (*ListEventRequest) SetFilters ¶
func (p *ListEventRequest) SetFilters(val map[string][]string)
func (*ListEventRequest) SetKind ¶
func (p *ListEventRequest) SetKind(val []string)
func (*ListEventRequest) SetLimit ¶
func (p *ListEventRequest) SetLimit(val int32)
func (*ListEventRequest) SetName ¶
func (p *ListEventRequest) SetName(val *string)
func (*ListEventRequest) SetNamespace ¶
func (p *ListEventRequest) SetNamespace(val *string)
func (*ListEventRequest) SetStart ¶
func (p *ListEventRequest) SetStart(val int32)
func (*ListEventRequest) SetTop ¶
func (p *ListEventRequest) SetTop(val *base.TopParam)
func (*ListEventRequest) String ¶
func (p *ListEventRequest) String() string
type ListEventResponse ¶
type ListEventResponse struct { Items []*Event `thrift:"Items,1,required" json:"Items"` Total int32 `thrift:"Total,2,required" json:"Total"` Base *base.Base `thrift:"Base,255" json:"Base,omitempty"` }
func NewListEventResponse ¶
func NewListEventResponse() *ListEventResponse
func (*ListEventResponse) BLength ¶
func (p *ListEventResponse) BLength() int
func (*ListEventResponse) DeepEqual ¶
func (p *ListEventResponse) DeepEqual(ano *ListEventResponse) bool
func (*ListEventResponse) FastReadField1 ¶
func (p *ListEventResponse) FastReadField1(buf []byte) (int, error)
func (*ListEventResponse) FastReadField2 ¶
func (p *ListEventResponse) FastReadField2(buf []byte) (int, error)
func (*ListEventResponse) FastReadField255 ¶
func (p *ListEventResponse) FastReadField255(buf []byte) (int, error)
func (*ListEventResponse) FastWrite ¶
func (p *ListEventResponse) FastWrite(buf []byte) int
for compatibility
func (*ListEventResponse) FastWriteNocopy ¶
func (p *ListEventResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ListEventResponse) Field1DeepEqual ¶
func (p *ListEventResponse) Field1DeepEqual(src []*Event) bool
func (*ListEventResponse) Field255DeepEqual ¶
func (p *ListEventResponse) Field255DeepEqual(src *base.Base) bool
func (*ListEventResponse) Field2DeepEqual ¶
func (p *ListEventResponse) Field2DeepEqual(src int32) bool
func (*ListEventResponse) GetBase ¶
func (p *ListEventResponse) GetBase() (v *base.Base)
func (*ListEventResponse) GetItems ¶
func (p *ListEventResponse) GetItems() (v []*Event)
func (*ListEventResponse) GetOrSetBase ¶
func (p *ListEventResponse) GetOrSetBase() interface{}
func (*ListEventResponse) GetTotal ¶
func (p *ListEventResponse) GetTotal() (v int32)
func (*ListEventResponse) IsSetBase ¶
func (p *ListEventResponse) IsSetBase() bool
func (*ListEventResponse) Read ¶
func (p *ListEventResponse) Read(iprot thrift.TProtocol) (err error)
func (*ListEventResponse) ReadField1 ¶
func (p *ListEventResponse) ReadField1(iprot thrift.TProtocol) error
func (*ListEventResponse) ReadField2 ¶
func (p *ListEventResponse) ReadField2(iprot thrift.TProtocol) error
func (*ListEventResponse) ReadField255 ¶
func (p *ListEventResponse) ReadField255(iprot thrift.TProtocol) error
func (*ListEventResponse) SetBase ¶
func (p *ListEventResponse) SetBase(val *base.Base)
func (*ListEventResponse) SetItems ¶
func (p *ListEventResponse) SetItems(val []*Event)
func (*ListEventResponse) SetTotal ¶
func (p *ListEventResponse) SetTotal(val int32)
func (*ListEventResponse) String ¶
func (p *ListEventResponse) String() string
Click to show internal directories.
Click to hide internal directories.