Documentation ¶
Overview ¶
Package versioned is a generated protocol buffer package.
It is generated from these files:
k8s.io/kubernetes/pkg/watch/versioned/generated.proto
It has these top-level messages:
Event
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetObject() *k8s_io_kubernetes_pkg_runtime.RawExtension
- func (m *Event) GetType() string
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` // Object is: // * If Type is Added or Modified: the new state of the object. // * If Type is Deleted: the state of the object immediately before deletion. // * If Type is Error: *api.Status is recommended; other types may make sense // depending on context. Object *k8s_io_kubernetes_pkg_runtime.RawExtension `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"` XXX_unrecognized []byte `json:"-"` }
Event represents a single event to a watched resource.
+protobuf=true +k8s:openapi-gen=true
func (*Event) Descriptor ¶
func (*Event) GetObject ¶
func (m *Event) GetObject() *k8s_io_kubernetes_pkg_runtime.RawExtension
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.