api: k8s.io/api/events/v1beta1 Index | Files

package v1beta1

import "k8s.io/api/events/v1beta1"

Index

Package Files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go

Constants

const GroupName = "events.k8s.io"

GroupName is the group name use in this package

Variables

var (
    ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
var (
    // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
    // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

    AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type Event Uses

type Event struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Required. Time when this Event was first observed.
    EventTime metav1.MicroTime `json:"eventTime" protobuf:"bytes,2,opt,name=eventTime"`

    // Data about the Event series this event represents or nil if it's a singleton Event.
    // +optional
    Series *EventSeries `json:"series,omitempty" protobuf:"bytes,3,opt,name=series"`

    // Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
    // +optional
    ReportingController string `json:"reportingController,omitempty" protobuf:"bytes,4,opt,name=reportingController"`

    // ID of the controller instance, e.g. `kubelet-xyzf`.
    // +optional
    ReportingInstance string `json:"reportingInstance,omitempty" protobuf:"bytes,5,opt,name=reportingInstance"`

    // What action was taken/failed regarding to the regarding object.
    // +optional
    Action string `json:"action,omitempty" protobuf:"bytes,6,name=action"`

    // Why the action was taken.
    Reason string `json:"reason,omitempty" protobuf:"bytes,7,name=reason"`

    // The object this Event is about. In most cases it's an Object reporting controller implements.
    // E.g. ReplicaSetController implements ReplicaSets and this event is emitted because
    // it acts on some changes in a ReplicaSet object.
    // +optional
    Regarding corev1.ObjectReference `json:"regarding,omitempty" protobuf:"bytes,8,opt,name=regarding"`

    // Optional secondary object for more complex actions. E.g. when regarding object triggers
    // a creation or deletion of related object.
    // +optional
    Related *corev1.ObjectReference `json:"related,omitempty" protobuf:"bytes,9,opt,name=related"`

    // Optional. A human-readable description of the status of this operation.
    // Maximal length of the note is 1kB, but libraries should be prepared to
    // handle values up to 64kB.
    // +optional
    Note string `json:"note,omitempty" protobuf:"bytes,10,opt,name=note"`

    // Type of this event (Normal, Warning), new types could be added in the
    // future.
    // +optional
    Type string `json:"type,omitempty" protobuf:"bytes,11,opt,name=type"`

    // Deprecated field assuring backward compatibility with core.v1 Event type
    // +optional
    DeprecatedSource corev1.EventSource `json:"deprecatedSource,omitempty" protobuf:"bytes,12,opt,name=deprecatedSource"`
    // Deprecated field assuring backward compatibility with core.v1 Event type
    // +optional
    DeprecatedFirstTimestamp metav1.Time `json:"deprecatedFirstTimestamp,omitempty" protobuf:"bytes,13,opt,name=deprecatedFirstTimestamp"`
    // Deprecated field assuring backward compatibility with core.v1 Event type
    // +optional
    DeprecatedLastTimestamp metav1.Time `json:"deprecatedLastTimestamp,omitempty" protobuf:"bytes,14,opt,name=deprecatedLastTimestamp"`
    // Deprecated field assuring backward compatibility with core.v1 Event type
    // +optional
    DeprecatedCount int32 `json:"deprecatedCount,omitempty" protobuf:"varint,15,opt,name=deprecatedCount"`
}

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.

func (*Event) DeepCopy Uses

func (in *Event) DeepCopy() *Event

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.

func (*Event) DeepCopyInto Uses

func (in *Event) DeepCopyInto(out *Event)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Event) DeepCopyObject Uses

func (in *Event) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Event) Descriptor Uses

func (*Event) Descriptor() ([]byte, []int)

func (*Event) Marshal Uses

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo Uses

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer Uses

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage Uses

func (*Event) ProtoMessage()

func (*Event) Reset Uses

func (m *Event) Reset()

func (*Event) Size Uses

func (m *Event) Size() (n int)

func (*Event) String Uses

func (this *Event) String() string

func (Event) SwaggerDoc Uses

func (Event) SwaggerDoc() map[string]string

func (*Event) Unmarshal Uses

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown Uses

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal Uses

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge Uses

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size Uses

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal Uses

func (m *Event) XXX_Unmarshal(b []byte) error

type EventList Uses

type EventList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard list metadata.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    // +optional
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Items is a list of schema objects.
    Items []Event `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EventList is a list of Event objects.

func (*EventList) DeepCopy Uses

func (in *EventList) DeepCopy() *EventList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.

func (*EventList) DeepCopyInto Uses

func (in *EventList) DeepCopyInto(out *EventList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventList) DeepCopyObject Uses

func (in *EventList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EventList) Descriptor Uses

func (*EventList) Descriptor() ([]byte, []int)

func (*EventList) Marshal Uses

func (m *EventList) Marshal() (dAtA []byte, err error)

func (*EventList) MarshalTo Uses

func (m *EventList) MarshalTo(dAtA []byte) (int, error)

func (*EventList) MarshalToSizedBuffer Uses

func (m *EventList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventList) ProtoMessage Uses

func (*EventList) ProtoMessage()

func (*EventList) Reset Uses

func (m *EventList) Reset()

func (*EventList) Size Uses

func (m *EventList) Size() (n int)

func (*EventList) String Uses

func (this *EventList) String() string

func (EventList) SwaggerDoc Uses

func (EventList) SwaggerDoc() map[string]string

func (*EventList) Unmarshal Uses

func (m *EventList) Unmarshal(dAtA []byte) error

func (*EventList) XXX_DiscardUnknown Uses

func (m *EventList) XXX_DiscardUnknown()

func (*EventList) XXX_Marshal Uses

func (m *EventList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventList) XXX_Merge Uses

func (m *EventList) XXX_Merge(src proto.Message)

func (*EventList) XXX_Size Uses

func (m *EventList) XXX_Size() int

func (*EventList) XXX_Unmarshal Uses

func (m *EventList) XXX_Unmarshal(b []byte) error

type EventSeries Uses

type EventSeries struct {
    // Number of occurrences in this series up to the last heartbeat time
    Count int32 `json:"count" protobuf:"varint,1,opt,name=count"`
    // Time when last Event from the series was seen before last heartbeat.
    LastObservedTime metav1.MicroTime `json:"lastObservedTime" protobuf:"bytes,2,opt,name=lastObservedTime"`
    // Information whether this series is ongoing or finished.
    // Deprecated. Planned removal for 1.18
    State EventSeriesState `json:"state" protobuf:"bytes,3,opt,name=state"`
}

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.

func (*EventSeries) DeepCopy Uses

func (in *EventSeries) DeepCopy() *EventSeries

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries.

func (*EventSeries) DeepCopyInto Uses

func (in *EventSeries) DeepCopyInto(out *EventSeries)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventSeries) Descriptor Uses

func (*EventSeries) Descriptor() ([]byte, []int)

func (*EventSeries) Marshal Uses

func (m *EventSeries) Marshal() (dAtA []byte, err error)

func (*EventSeries) MarshalTo Uses

func (m *EventSeries) MarshalTo(dAtA []byte) (int, error)

func (*EventSeries) MarshalToSizedBuffer Uses

func (m *EventSeries) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSeries) ProtoMessage Uses

func (*EventSeries) ProtoMessage()

func (*EventSeries) Reset Uses

func (m *EventSeries) Reset()

func (*EventSeries) Size Uses

func (m *EventSeries) Size() (n int)

func (*EventSeries) String Uses

func (this *EventSeries) String() string

func (EventSeries) SwaggerDoc Uses

func (EventSeries) SwaggerDoc() map[string]string

func (*EventSeries) Unmarshal Uses

func (m *EventSeries) Unmarshal(dAtA []byte) error

func (*EventSeries) XXX_DiscardUnknown Uses

func (m *EventSeries) XXX_DiscardUnknown()

func (*EventSeries) XXX_Marshal Uses

func (m *EventSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSeries) XXX_Merge Uses

func (m *EventSeries) XXX_Merge(src proto.Message)

func (*EventSeries) XXX_Size Uses

func (m *EventSeries) XXX_Size() int

func (*EventSeries) XXX_Unmarshal Uses

func (m *EventSeries) XXX_Unmarshal(b []byte) error

type EventSeriesState Uses

type EventSeriesState string
const (
    EventSeriesStateOngoing  EventSeriesState = "Ongoing"
    EventSeriesStateFinished EventSeriesState = "Finished"
    EventSeriesStateUnknown  EventSeriesState = "Unknown"
)

Package v1beta1 imports 11 packages (graph) and is imported by 34 packages. Updated 2019-08-31. Refresh now. Tools for package owners.