v1

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	pulumi.CustomResourceState

	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Action pulumi.StringPtrOutput `pulumi:"action"`
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount pulumi.IntPtrOutput `pulumi:"deprecatedCount"`
	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedFirstTimestamp pulumi.StringPtrOutput `pulumi:"deprecatedFirstTimestamp"`
	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedLastTimestamp pulumi.StringPtrOutput `pulumi:"deprecatedLastTimestamp"`
	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource corev1.EventSourcePtrOutput `pulumi:"deprecatedSource"`
	// eventTime is the time when this Event was first observed. It is required.
	EventTime pulumi.StringOutput `pulumi:"eventTime"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// note is 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.
	Note pulumi.StringPtrOutput `pulumi:"note"`
	// reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Reason pulumi.StringPtrOutput `pulumi:"reason"`
	// regarding contains 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.
	Regarding corev1.ObjectReferencePtrOutput `pulumi:"regarding"`
	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related corev1.ObjectReferencePtrOutput `pulumi:"related"`
	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController pulumi.StringPtrOutput `pulumi:"reportingController"`
	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance pulumi.StringPtrOutput `pulumi:"reportingInstance"`
	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series EventSeriesPtrOutput `pulumi:"series"`
	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

func GetEvent

func GetEvent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventState, opts ...pulumi.ResourceOption) (*Event, error)

GetEvent gets an existing Event resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEvent

func NewEvent(ctx *pulumi.Context,
	name string, args *EventArgs, opts ...pulumi.ResourceOption) (*Event, error)

NewEvent registers a new resource with the given unique name, arguments, and options.

func (*Event) ElementType added in v2.7.2

func (*Event) ElementType() reflect.Type

func (*Event) ToEventOutput added in v2.7.2

func (i *Event) ToEventOutput() EventOutput

func (*Event) ToEventOutputWithContext added in v2.7.2

func (i *Event) ToEventOutputWithContext(ctx context.Context) EventOutput

func (*Event) ToEventPtrOutput added in v2.7.7

func (i *Event) ToEventPtrOutput() EventPtrOutput

func (*Event) ToEventPtrOutputWithContext added in v2.7.7

func (i *Event) ToEventPtrOutputWithContext(ctx context.Context) EventPtrOutput

type EventArgs

type EventArgs struct {
	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Action pulumi.StringPtrInput
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount pulumi.IntPtrInput
	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedFirstTimestamp pulumi.StringPtrInput
	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedLastTimestamp pulumi.StringPtrInput
	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource corev1.EventSourcePtrInput
	// eventTime is the time when this Event was first observed. It is required.
	EventTime pulumi.StringInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// note is 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.
	Note pulumi.StringPtrInput
	// reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Reason pulumi.StringPtrInput
	// regarding contains 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.
	Regarding corev1.ObjectReferencePtrInput
	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related corev1.ObjectReferencePtrInput
	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController pulumi.StringPtrInput
	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance pulumi.StringPtrInput
	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series EventSeriesPtrInput
	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Event resource.

func (EventArgs) ElementType

func (EventArgs) ElementType() reflect.Type

type EventArray added in v2.7.7

type EventArray []EventInput

func (EventArray) ElementType added in v2.7.7

func (EventArray) ElementType() reflect.Type

func (EventArray) ToEventArrayOutput added in v2.7.7

func (i EventArray) ToEventArrayOutput() EventArrayOutput

func (EventArray) ToEventArrayOutputWithContext added in v2.7.7

func (i EventArray) ToEventArrayOutputWithContext(ctx context.Context) EventArrayOutput

type EventArrayInput added in v2.7.7

type EventArrayInput interface {
	pulumi.Input

	ToEventArrayOutput() EventArrayOutput
	ToEventArrayOutputWithContext(context.Context) EventArrayOutput
}

EventArrayInput is an input type that accepts EventArray and EventArrayOutput values. You can construct a concrete instance of `EventArrayInput` via:

EventArray{ EventArgs{...} }

type EventArrayOutput added in v2.7.7

type EventArrayOutput struct{ *pulumi.OutputState }

func (EventArrayOutput) ElementType added in v2.7.7

func (EventArrayOutput) ElementType() reflect.Type

func (EventArrayOutput) Index added in v2.7.7

func (EventArrayOutput) ToEventArrayOutput added in v2.7.7

func (o EventArrayOutput) ToEventArrayOutput() EventArrayOutput

func (EventArrayOutput) ToEventArrayOutputWithContext added in v2.7.7

func (o EventArrayOutput) ToEventArrayOutputWithContext(ctx context.Context) EventArrayOutput

type EventInput added in v2.7.2

type EventInput interface {
	pulumi.Input

	ToEventOutput() EventOutput
	ToEventOutputWithContext(ctx context.Context) EventOutput
}

type EventList

type EventList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// items is a list of schema objects.
	Items EventTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

EventList is a list of Event objects.

func GetEventList

func GetEventList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventListState, opts ...pulumi.ResourceOption) (*EventList, error)

GetEventList gets an existing EventList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventList

func NewEventList(ctx *pulumi.Context,
	name string, args *EventListArgs, opts ...pulumi.ResourceOption) (*EventList, error)

NewEventList registers a new resource with the given unique name, arguments, and options.

func (*EventList) ElementType added in v2.7.2

func (*EventList) ElementType() reflect.Type

func (*EventList) ToEventListOutput added in v2.7.2

func (i *EventList) ToEventListOutput() EventListOutput

func (*EventList) ToEventListOutputWithContext added in v2.7.2

func (i *EventList) ToEventListOutputWithContext(ctx context.Context) EventListOutput

func (*EventList) ToEventListPtrOutput added in v2.7.7

func (i *EventList) ToEventListPtrOutput() EventListPtrOutput

func (*EventList) ToEventListPtrOutputWithContext added in v2.7.7

func (i *EventList) ToEventListPtrOutputWithContext(ctx context.Context) EventListPtrOutput

type EventListArgs

type EventListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// items is a list of schema objects.
	Items EventTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a EventList resource.

func (EventListArgs) ElementType

func (EventListArgs) ElementType() reflect.Type

type EventListArray added in v2.7.7

type EventListArray []EventListInput

func (EventListArray) ElementType added in v2.7.7

func (EventListArray) ElementType() reflect.Type

func (EventListArray) ToEventListArrayOutput added in v2.7.7

func (i EventListArray) ToEventListArrayOutput() EventListArrayOutput

func (EventListArray) ToEventListArrayOutputWithContext added in v2.7.7

func (i EventListArray) ToEventListArrayOutputWithContext(ctx context.Context) EventListArrayOutput

type EventListArrayInput added in v2.7.7

type EventListArrayInput interface {
	pulumi.Input

	ToEventListArrayOutput() EventListArrayOutput
	ToEventListArrayOutputWithContext(context.Context) EventListArrayOutput
}

EventListArrayInput is an input type that accepts EventListArray and EventListArrayOutput values. You can construct a concrete instance of `EventListArrayInput` via:

EventListArray{ EventListArgs{...} }

type EventListArrayOutput added in v2.7.7

type EventListArrayOutput struct{ *pulumi.OutputState }

func (EventListArrayOutput) ElementType added in v2.7.7

func (EventListArrayOutput) ElementType() reflect.Type

func (EventListArrayOutput) Index added in v2.7.7

func (EventListArrayOutput) ToEventListArrayOutput added in v2.7.7

func (o EventListArrayOutput) ToEventListArrayOutput() EventListArrayOutput

func (EventListArrayOutput) ToEventListArrayOutputWithContext added in v2.7.7

func (o EventListArrayOutput) ToEventListArrayOutputWithContext(ctx context.Context) EventListArrayOutput

type EventListInput added in v2.7.2

type EventListInput interface {
	pulumi.Input

	ToEventListOutput() EventListOutput
	ToEventListOutputWithContext(ctx context.Context) EventListOutput
}

type EventListMap added in v2.7.7

type EventListMap map[string]EventListInput

func (EventListMap) ElementType added in v2.7.7

func (EventListMap) ElementType() reflect.Type

func (EventListMap) ToEventListMapOutput added in v2.7.7

func (i EventListMap) ToEventListMapOutput() EventListMapOutput

func (EventListMap) ToEventListMapOutputWithContext added in v2.7.7

func (i EventListMap) ToEventListMapOutputWithContext(ctx context.Context) EventListMapOutput

type EventListMapInput added in v2.7.7

type EventListMapInput interface {
	pulumi.Input

	ToEventListMapOutput() EventListMapOutput
	ToEventListMapOutputWithContext(context.Context) EventListMapOutput
}

EventListMapInput is an input type that accepts EventListMap and EventListMapOutput values. You can construct a concrete instance of `EventListMapInput` via:

EventListMap{ "key": EventListArgs{...} }

type EventListMapOutput added in v2.7.7

type EventListMapOutput struct{ *pulumi.OutputState }

func (EventListMapOutput) ElementType added in v2.7.7

func (EventListMapOutput) ElementType() reflect.Type

func (EventListMapOutput) MapIndex added in v2.7.7

func (EventListMapOutput) ToEventListMapOutput added in v2.7.7

func (o EventListMapOutput) ToEventListMapOutput() EventListMapOutput

func (EventListMapOutput) ToEventListMapOutputWithContext added in v2.7.7

func (o EventListMapOutput) ToEventListMapOutputWithContext(ctx context.Context) EventListMapOutput

type EventListOutput added in v2.7.2

type EventListOutput struct {
	*pulumi.OutputState
}

func (EventListOutput) ElementType added in v2.7.2

func (EventListOutput) ElementType() reflect.Type

func (EventListOutput) ToEventListOutput added in v2.7.2

func (o EventListOutput) ToEventListOutput() EventListOutput

func (EventListOutput) ToEventListOutputWithContext added in v2.7.2

func (o EventListOutput) ToEventListOutputWithContext(ctx context.Context) EventListOutput

func (EventListOutput) ToEventListPtrOutput added in v2.7.7

func (o EventListOutput) ToEventListPtrOutput() EventListPtrOutput

func (EventListOutput) ToEventListPtrOutputWithContext added in v2.7.7

func (o EventListOutput) ToEventListPtrOutputWithContext(ctx context.Context) EventListPtrOutput

type EventListPtrInput added in v2.7.7

type EventListPtrInput interface {
	pulumi.Input

	ToEventListPtrOutput() EventListPtrOutput
	ToEventListPtrOutputWithContext(ctx context.Context) EventListPtrOutput
}

type EventListPtrOutput added in v2.7.7

type EventListPtrOutput struct {
	*pulumi.OutputState
}

func (EventListPtrOutput) ElementType added in v2.7.7

func (EventListPtrOutput) ElementType() reflect.Type

func (EventListPtrOutput) ToEventListPtrOutput added in v2.7.7

func (o EventListPtrOutput) ToEventListPtrOutput() EventListPtrOutput

func (EventListPtrOutput) ToEventListPtrOutputWithContext added in v2.7.7

func (o EventListPtrOutput) ToEventListPtrOutputWithContext(ctx context.Context) EventListPtrOutput

type EventListState

type EventListState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// items is a list of schema objects.
	Items EventTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

func (EventListState) ElementType

func (EventListState) ElementType() reflect.Type

type EventListType

type EventListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// items is a list of schema objects.
	Items []EventType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

EventList is a list of Event objects.

type EventListTypeArgs

type EventListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// items is a list of schema objects.
	Items EventTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

EventList is a list of Event objects.

func (EventListTypeArgs) ElementType

func (EventListTypeArgs) ElementType() reflect.Type

func (EventListTypeArgs) ToEventListTypeOutput

func (i EventListTypeArgs) ToEventListTypeOutput() EventListTypeOutput

func (EventListTypeArgs) ToEventListTypeOutputWithContext

func (i EventListTypeArgs) ToEventListTypeOutputWithContext(ctx context.Context) EventListTypeOutput

type EventListTypeInput

type EventListTypeInput interface {
	pulumi.Input

	ToEventListTypeOutput() EventListTypeOutput
	ToEventListTypeOutputWithContext(context.Context) EventListTypeOutput
}

EventListTypeInput is an input type that accepts EventListTypeArgs and EventListTypeOutput values. You can construct a concrete instance of `EventListTypeInput` via:

EventListTypeArgs{...}

type EventListTypeOutput

type EventListTypeOutput struct{ *pulumi.OutputState }

EventList is a list of Event objects.

func (EventListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (EventListTypeOutput) ElementType

func (EventListTypeOutput) ElementType() reflect.Type

func (EventListTypeOutput) Items

items is a list of schema objects.

func (EventListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (EventListTypeOutput) ToEventListTypeOutput

func (o EventListTypeOutput) ToEventListTypeOutput() EventListTypeOutput

func (EventListTypeOutput) ToEventListTypeOutputWithContext

func (o EventListTypeOutput) ToEventListTypeOutputWithContext(ctx context.Context) EventListTypeOutput

type EventMap added in v2.7.7

type EventMap map[string]EventInput

func (EventMap) ElementType added in v2.7.7

func (EventMap) ElementType() reflect.Type

func (EventMap) ToEventMapOutput added in v2.7.7

func (i EventMap) ToEventMapOutput() EventMapOutput

func (EventMap) ToEventMapOutputWithContext added in v2.7.7

func (i EventMap) ToEventMapOutputWithContext(ctx context.Context) EventMapOutput

type EventMapInput added in v2.7.7

type EventMapInput interface {
	pulumi.Input

	ToEventMapOutput() EventMapOutput
	ToEventMapOutputWithContext(context.Context) EventMapOutput
}

EventMapInput is an input type that accepts EventMap and EventMapOutput values. You can construct a concrete instance of `EventMapInput` via:

EventMap{ "key": EventArgs{...} }

type EventMapOutput added in v2.7.7

type EventMapOutput struct{ *pulumi.OutputState }

func (EventMapOutput) ElementType added in v2.7.7

func (EventMapOutput) ElementType() reflect.Type

func (EventMapOutput) MapIndex added in v2.7.7

func (EventMapOutput) ToEventMapOutput added in v2.7.7

func (o EventMapOutput) ToEventMapOutput() EventMapOutput

func (EventMapOutput) ToEventMapOutputWithContext added in v2.7.7

func (o EventMapOutput) ToEventMapOutputWithContext(ctx context.Context) EventMapOutput

type EventOutput added in v2.7.2

type EventOutput struct {
	*pulumi.OutputState
}

func (EventOutput) ElementType added in v2.7.2

func (EventOutput) ElementType() reflect.Type

func (EventOutput) ToEventOutput added in v2.7.2

func (o EventOutput) ToEventOutput() EventOutput

func (EventOutput) ToEventOutputWithContext added in v2.7.2

func (o EventOutput) ToEventOutputWithContext(ctx context.Context) EventOutput

func (EventOutput) ToEventPtrOutput added in v2.7.7

func (o EventOutput) ToEventPtrOutput() EventPtrOutput

func (EventOutput) ToEventPtrOutputWithContext added in v2.7.7

func (o EventOutput) ToEventPtrOutputWithContext(ctx context.Context) EventPtrOutput

type EventPtrInput added in v2.7.7

type EventPtrInput interface {
	pulumi.Input

	ToEventPtrOutput() EventPtrOutput
	ToEventPtrOutputWithContext(ctx context.Context) EventPtrOutput
}

type EventPtrOutput added in v2.7.7

type EventPtrOutput struct {
	*pulumi.OutputState
}

func (EventPtrOutput) ElementType added in v2.7.7

func (EventPtrOutput) ElementType() reflect.Type

func (EventPtrOutput) ToEventPtrOutput added in v2.7.7

func (o EventPtrOutput) ToEventPtrOutput() EventPtrOutput

func (EventPtrOutput) ToEventPtrOutputWithContext added in v2.7.7

func (o EventPtrOutput) ToEventPtrOutputWithContext(ctx context.Context) EventPtrOutput

type EventSeries

type EventSeries struct {
	// count is the number of occurrences in this series up to the last heartbeat time.
	Count int `pulumi:"count"`
	// lastObservedTime is the time when last Event from the series was seen before last heartbeat.
	LastObservedTime string `pulumi:"lastObservedTime"`
}

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

type EventSeriesArgs

type EventSeriesArgs struct {
	// count is the number of occurrences in this series up to the last heartbeat time.
	Count pulumi.IntInput `pulumi:"count"`
	// lastObservedTime is the time when last Event from the series was seen before last heartbeat.
	LastObservedTime pulumi.StringInput `pulumi:"lastObservedTime"`
}

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

func (EventSeriesArgs) ElementType

func (EventSeriesArgs) ElementType() reflect.Type

func (EventSeriesArgs) ToEventSeriesOutput

func (i EventSeriesArgs) ToEventSeriesOutput() EventSeriesOutput

func (EventSeriesArgs) ToEventSeriesOutputWithContext

func (i EventSeriesArgs) ToEventSeriesOutputWithContext(ctx context.Context) EventSeriesOutput

func (EventSeriesArgs) ToEventSeriesPtrOutput

func (i EventSeriesArgs) ToEventSeriesPtrOutput() EventSeriesPtrOutput

func (EventSeriesArgs) ToEventSeriesPtrOutputWithContext

func (i EventSeriesArgs) ToEventSeriesPtrOutputWithContext(ctx context.Context) EventSeriesPtrOutput

type EventSeriesInput

type EventSeriesInput interface {
	pulumi.Input

	ToEventSeriesOutput() EventSeriesOutput
	ToEventSeriesOutputWithContext(context.Context) EventSeriesOutput
}

EventSeriesInput is an input type that accepts EventSeriesArgs and EventSeriesOutput values. You can construct a concrete instance of `EventSeriesInput` via:

EventSeriesArgs{...}

type EventSeriesOutput

type EventSeriesOutput struct{ *pulumi.OutputState }

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

func (EventSeriesOutput) Count

count is the number of occurrences in this series up to the last heartbeat time.

func (EventSeriesOutput) ElementType

func (EventSeriesOutput) ElementType() reflect.Type

func (EventSeriesOutput) LastObservedTime

func (o EventSeriesOutput) LastObservedTime() pulumi.StringOutput

lastObservedTime is the time when last Event from the series was seen before last heartbeat.

func (EventSeriesOutput) ToEventSeriesOutput

func (o EventSeriesOutput) ToEventSeriesOutput() EventSeriesOutput

func (EventSeriesOutput) ToEventSeriesOutputWithContext

func (o EventSeriesOutput) ToEventSeriesOutputWithContext(ctx context.Context) EventSeriesOutput

func (EventSeriesOutput) ToEventSeriesPtrOutput

func (o EventSeriesOutput) ToEventSeriesPtrOutput() EventSeriesPtrOutput

func (EventSeriesOutput) ToEventSeriesPtrOutputWithContext

func (o EventSeriesOutput) ToEventSeriesPtrOutputWithContext(ctx context.Context) EventSeriesPtrOutput

type EventSeriesPtrInput

type EventSeriesPtrInput interface {
	pulumi.Input

	ToEventSeriesPtrOutput() EventSeriesPtrOutput
	ToEventSeriesPtrOutputWithContext(context.Context) EventSeriesPtrOutput
}

EventSeriesPtrInput is an input type that accepts EventSeriesArgs, EventSeriesPtr and EventSeriesPtrOutput values. You can construct a concrete instance of `EventSeriesPtrInput` via:

        EventSeriesArgs{...}

or:

        nil

func EventSeriesPtr

func EventSeriesPtr(v *EventSeriesArgs) EventSeriesPtrInput

type EventSeriesPtrOutput

type EventSeriesPtrOutput struct{ *pulumi.OutputState }

func (EventSeriesPtrOutput) Count

count is the number of occurrences in this series up to the last heartbeat time.

func (EventSeriesPtrOutput) Elem

func (EventSeriesPtrOutput) ElementType

func (EventSeriesPtrOutput) ElementType() reflect.Type

func (EventSeriesPtrOutput) LastObservedTime

func (o EventSeriesPtrOutput) LastObservedTime() pulumi.StringPtrOutput

lastObservedTime is the time when last Event from the series was seen before last heartbeat.

func (EventSeriesPtrOutput) ToEventSeriesPtrOutput

func (o EventSeriesPtrOutput) ToEventSeriesPtrOutput() EventSeriesPtrOutput

func (EventSeriesPtrOutput) ToEventSeriesPtrOutputWithContext

func (o EventSeriesPtrOutput) ToEventSeriesPtrOutputWithContext(ctx context.Context) EventSeriesPtrOutput

type EventState

type EventState struct {
	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Action pulumi.StringPtrInput
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount pulumi.IntPtrInput
	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedFirstTimestamp pulumi.StringPtrInput
	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedLastTimestamp pulumi.StringPtrInput
	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource corev1.EventSourcePtrInput
	// eventTime is the time when this Event was first observed. It is required.
	EventTime pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// note is 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.
	Note pulumi.StringPtrInput
	// reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Reason pulumi.StringPtrInput
	// regarding contains 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.
	Regarding corev1.ObjectReferencePtrInput
	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related corev1.ObjectReferencePtrInput
	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController pulumi.StringPtrInput
	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance pulumi.StringPtrInput
	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series EventSeriesPtrInput
	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
	Type pulumi.StringPtrInput
}

func (EventState) ElementType

func (EventState) ElementType() reflect.Type

type EventType

type EventType struct {
	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Action *string `pulumi:"action"`
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount *int `pulumi:"deprecatedCount"`
	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedFirstTimestamp *string `pulumi:"deprecatedFirstTimestamp"`
	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedLastTimestamp *string `pulumi:"deprecatedLastTimestamp"`
	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource *corev1.EventSource `pulumi:"deprecatedSource"`
	// eventTime is the time when this Event was first observed. It is required.
	EventTime string `pulumi:"eventTime"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// note is 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.
	Note *string `pulumi:"note"`
	// reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Reason *string `pulumi:"reason"`
	// regarding contains 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.
	Regarding *corev1.ObjectReference `pulumi:"regarding"`
	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related *corev1.ObjectReference `pulumi:"related"`
	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController *string `pulumi:"reportingController"`
	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance *string `pulumi:"reportingInstance"`
	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series *EventSeries `pulumi:"series"`
	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
	Type *string `pulumi:"type"`
}

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

type EventTypeArgs

type EventTypeArgs struct {
	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount pulumi.IntPtrInput `pulumi:"deprecatedCount"`
	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedFirstTimestamp pulumi.StringPtrInput `pulumi:"deprecatedFirstTimestamp"`
	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedLastTimestamp pulumi.StringPtrInput `pulumi:"deprecatedLastTimestamp"`
	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource corev1.EventSourcePtrInput `pulumi:"deprecatedSource"`
	// eventTime is the time when this Event was first observed. It is required.
	EventTime pulumi.StringInput `pulumi:"eventTime"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// note is 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.
	Note pulumi.StringPtrInput `pulumi:"note"`
	// reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// regarding contains 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.
	Regarding corev1.ObjectReferencePtrInput `pulumi:"regarding"`
	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related corev1.ObjectReferencePtrInput `pulumi:"related"`
	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController pulumi.StringPtrInput `pulumi:"reportingController"`
	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance pulumi.StringPtrInput `pulumi:"reportingInstance"`
	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series EventSeriesPtrInput `pulumi:"series"`
	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

func (EventTypeArgs) ElementType

func (EventTypeArgs) ElementType() reflect.Type

func (EventTypeArgs) ToEventTypeOutput

func (i EventTypeArgs) ToEventTypeOutput() EventTypeOutput

func (EventTypeArgs) ToEventTypeOutputWithContext

func (i EventTypeArgs) ToEventTypeOutputWithContext(ctx context.Context) EventTypeOutput

type EventTypeArray

type EventTypeArray []EventTypeInput

func (EventTypeArray) ElementType

func (EventTypeArray) ElementType() reflect.Type

func (EventTypeArray) ToEventTypeArrayOutput

func (i EventTypeArray) ToEventTypeArrayOutput() EventTypeArrayOutput

func (EventTypeArray) ToEventTypeArrayOutputWithContext

func (i EventTypeArray) ToEventTypeArrayOutputWithContext(ctx context.Context) EventTypeArrayOutput

type EventTypeArrayInput

type EventTypeArrayInput interface {
	pulumi.Input

	ToEventTypeArrayOutput() EventTypeArrayOutput
	ToEventTypeArrayOutputWithContext(context.Context) EventTypeArrayOutput
}

EventTypeArrayInput is an input type that accepts EventTypeArray and EventTypeArrayOutput values. You can construct a concrete instance of `EventTypeArrayInput` via:

EventTypeArray{ EventTypeArgs{...} }

type EventTypeArrayOutput

type EventTypeArrayOutput struct{ *pulumi.OutputState }

func (EventTypeArrayOutput) ElementType

func (EventTypeArrayOutput) ElementType() reflect.Type

func (EventTypeArrayOutput) Index

func (EventTypeArrayOutput) ToEventTypeArrayOutput

func (o EventTypeArrayOutput) ToEventTypeArrayOutput() EventTypeArrayOutput

func (EventTypeArrayOutput) ToEventTypeArrayOutputWithContext

func (o EventTypeArrayOutput) ToEventTypeArrayOutputWithContext(ctx context.Context) EventTypeArrayOutput

type EventTypeInput

type EventTypeInput interface {
	pulumi.Input

	ToEventTypeOutput() EventTypeOutput
	ToEventTypeOutputWithContext(context.Context) EventTypeOutput
}

EventTypeInput is an input type that accepts EventTypeArgs and EventTypeOutput values. You can construct a concrete instance of `EventTypeInput` via:

EventTypeArgs{...}

type EventTypeOutput

type EventTypeOutput struct{ *pulumi.OutputState }

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

func (EventTypeOutput) Action

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

func (EventTypeOutput) ApiVersion

func (o EventTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (EventTypeOutput) DeprecatedCount

func (o EventTypeOutput) DeprecatedCount() pulumi.IntPtrOutput

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

func (EventTypeOutput) DeprecatedFirstTimestamp

func (o EventTypeOutput) DeprecatedFirstTimestamp() pulumi.StringPtrOutput

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

func (EventTypeOutput) DeprecatedLastTimestamp

func (o EventTypeOutput) DeprecatedLastTimestamp() pulumi.StringPtrOutput

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

func (EventTypeOutput) DeprecatedSource

func (o EventTypeOutput) DeprecatedSource() corev1.EventSourcePtrOutput

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

func (EventTypeOutput) ElementType

func (EventTypeOutput) ElementType() reflect.Type

func (EventTypeOutput) EventTime

func (o EventTypeOutput) EventTime() pulumi.StringOutput

eventTime is the time when this Event was first observed. It is required.

func (EventTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (EventTypeOutput) Note

note is 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.

func (EventTypeOutput) Reason

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

func (EventTypeOutput) Regarding

regarding contains 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.

func (EventTypeOutput) Related

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

func (EventTypeOutput) ReportingController

func (o EventTypeOutput) ReportingController() pulumi.StringPtrOutput

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

func (EventTypeOutput) ReportingInstance

func (o EventTypeOutput) ReportingInstance() pulumi.StringPtrOutput

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

func (EventTypeOutput) Series

series is data about the Event series this event represents or nil if it's a singleton Event.

func (EventTypeOutput) ToEventTypeOutput

func (o EventTypeOutput) ToEventTypeOutput() EventTypeOutput

func (EventTypeOutput) ToEventTypeOutputWithContext

func (o EventTypeOutput) ToEventTypeOutputWithContext(ctx context.Context) EventTypeOutput

func (EventTypeOutput) Type

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Jump to

Keyboard shortcuts

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