event

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 NewEvent

func NewEvent() *Event

func (*Event) BLength

func (p *Event) BLength() int

func (*Event) DeepEqual

func (p *Event) DeepEqual(ano *Event) bool

func (*Event) FastRead

func (p *Event) FastRead(buf []byte) (int, error)

func (*Event) FastReadField1

func (p *Event) FastReadField1(buf []byte) (int, error)

func (*Event) FastReadField2

func (p *Event) FastReadField2(buf []byte) (int, error)

func (*Event) FastReadField3

func (p *Event) FastReadField3(buf []byte) (int, error)

func (*Event) FastReadField4

func (p *Event) FastReadField4(buf []byte) (int, error)

func (*Event) FastReadField5

func (p *Event) FastReadField5(buf []byte) (int, error)

func (*Event) FastReadField6

func (p *Event) FastReadField6(buf []byte) (int, error)

func (*Event) FastReadField7

func (p *Event) FastReadField7(buf []byte) (int, error)

func (*Event) FastReadField8

func (p *Event) FastReadField8(buf []byte) (int, error)

func (*Event) FastWrite

func (p *Event) FastWrite(buf []byte) int

for compatibility

func (*Event) FastWriteNocopy

func (p *Event) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Event) Field1DeepEqual

func (p *Event) Field1DeepEqual(src string) bool

func (*Event) Field2DeepEqual

func (p *Event) Field2DeepEqual(src string) bool

func (*Event) Field3DeepEqual

func (p *Event) Field3DeepEqual(src string) bool

func (*Event) Field4DeepEqual

func (p *Event) Field4DeepEqual(src *string) bool

func (*Event) Field5DeepEqual

func (p *Event) Field5DeepEqual(src string) bool

func (*Event) Field6DeepEqual

func (p *Event) Field6DeepEqual(src *string) bool

func (*Event) Field7DeepEqual

func (p *Event) Field7DeepEqual(src *string) bool

func (*Event) Field8DeepEqual

func (p *Event) Field8DeepEqual(src int32) bool

func (*Event) GetDetail

func (p *Event) GetDetail() (v string)

func (*Event) GetId

func (p *Event) GetId() (v string)

func (*Event) GetKind

func (p *Event) GetKind() (v string)

func (*Event) GetMessage

func (p *Event) GetMessage() (v string)

func (*Event) GetOccorTime

func (p *Event) GetOccorTime() (v string)

func (*Event) GetResourceName

func (p *Event) GetResourceName() (v string)

func (*Event) GetTimes

func (p *Event) GetTimes() (v int32)

func (*Event) GetType

func (p *Event) GetType() (v string)

func (*Event) IsSetDetail

func (p *Event) IsSetDetail() bool

func (*Event) IsSetKind

func (p *Event) IsSetKind() bool

func (*Event) IsSetMessage

func (p *Event) IsSetMessage() bool

func (*Event) Read

func (p *Event) Read(iprot thrift.TProtocol) (err error)

func (*Event) ReadField1

func (p *Event) ReadField1(iprot thrift.TProtocol) error

func (*Event) ReadField2

func (p *Event) ReadField2(iprot thrift.TProtocol) error

func (*Event) ReadField3

func (p *Event) ReadField3(iprot thrift.TProtocol) error

func (*Event) ReadField4

func (p *Event) ReadField4(iprot thrift.TProtocol) error

func (*Event) ReadField5

func (p *Event) ReadField5(iprot thrift.TProtocol) error

func (*Event) ReadField6

func (p *Event) ReadField6(iprot thrift.TProtocol) error

func (*Event) ReadField7

func (p *Event) ReadField7(iprot thrift.TProtocol) error

func (*Event) ReadField8

func (p *Event) ReadField8(iprot thrift.TProtocol) error

func (*Event) SetDetail

func (p *Event) SetDetail(val *string)

func (*Event) SetId

func (p *Event) SetId(val string)

func (*Event) SetKind

func (p *Event) SetKind(val *string)

func (*Event) SetMessage

func (p *Event) SetMessage(val *string)

func (*Event) SetOccorTime

func (p *Event) SetOccorTime(val string)

func (*Event) SetResourceName

func (p *Event) SetResourceName(val string)

func (*Event) SetTimes

func (p *Event) SetTimes(val int32)

func (*Event) SetType

func (p *Event) SetType(val string)

func (*Event) String

func (p *Event) String() string

func (*Event) Write

func (p *Event) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *ListEventRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *ListEventRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*ListEventRequest) Write

func (p *ListEventRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *ListEventResponse) FastRead(buf []byte) (int, error)

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

func (*ListEventResponse) Write

func (p *ListEventResponse) Write(oprot thrift.TProtocol) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL