Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=events.amazonaws.com
Index ¶
Constants ¶
const (
Group = "events.amazonaws.com"
)
Variables ¶
var ( SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: "v1alpha1"} SchemeBuilder = runtime.NewSchemeBuilder(func(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &EventRule{}, &EventRuleList{}, &SlackTarget{}, &SlackTargetList{}, &SQSTarget{}, &SQSTargetList{}, ) metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil }) )
Functions ¶
This section is empty.
Types ¶
type EventRule ¶
type EventRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EventRuleSpec `json:"spec,omitempty"` }
EventRule is the Schema for the EventRules API +kubebuilder:object:root=true +kubebuilder:resource:path=eventrules,scope=Cluster
func (*EventRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventRule.
func (*EventRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventRuleList ¶
type EventRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventRule `json:"items"` }
EventRuleList contains a list of Provisioner +kubebuilder:object:root=true
func (*EventRuleList) DeepCopy ¶
func (in *EventRuleList) DeepCopy() *EventRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventRuleList.
func (*EventRuleList) DeepCopyInto ¶
func (in *EventRuleList) DeepCopyInto(out *EventRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventRuleList) DeepCopyObject ¶
func (in *EventRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventRuleSpec ¶
type EventRuleSpec struct { // EventBus to send the messages to. Defaults to `default`. // +optional EventBus *string `json:"eventBus,omitempty"` Filter []Filter `json:"filter,omitempty"` }
EventRuleSpec describes the desired state of the EventRule
func (*EventRuleSpec) DeepCopy ¶
func (in *EventRuleSpec) DeepCopy() *EventRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventRuleSpec.
func (*EventRuleSpec) DeepCopyInto ¶
func (in *EventRuleSpec) DeepCopyInto(out *EventRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filter ¶
type Filter struct { // Reason of the event. Matches all, if unset // +optional Reason *string `json:"reason,omitempty"` // Type of the message: (Info | Warning | Error). Matches all, if unset // +optional Type *string `json:"type,omitempty"` }
func (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQSTarget ¶
type SQSTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SQSTargetSpec `json:"spec,omitempty"` Status SQSTargetStatus `json:"status,omitempty"` }
SQSTarget is the Schema for the SQSTargets API +kubebuilder:object:root=true +kubebuilder:resource:path=sqstargets,scope=Cluster +kubebuilder:subresource:status
func (*SQSTarget) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQSTarget.
func (*SQSTarget) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQSTarget) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQSTargetList ¶
type SQSTargetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SQSTarget `json:"items"` }
SQSTargetList contains a list of Provisioner +kubebuilder:object:root=true
func (*SQSTargetList) DeepCopy ¶
func (in *SQSTargetList) DeepCopy() *SQSTargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQSTargetList.
func (*SQSTargetList) DeepCopyInto ¶
func (in *SQSTargetList) DeepCopyInto(out *SQSTargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SQSTargetList) DeepCopyObject ¶
func (in *SQSTargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SQSTargetSpec ¶
type SQSTargetSpec struct { // EventRule is the name of the event rule to source messages // +required EventRule string `json:"eventRule"` }
SQSTargetSpec describes the desired state of the SQSTarget
func (*SQSTargetSpec) DeepCopy ¶
func (in *SQSTargetSpec) DeepCopy() *SQSTargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQSTargetSpec.
func (*SQSTargetSpec) DeepCopyInto ¶
func (in *SQSTargetSpec) DeepCopyInto(out *SQSTargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQSTargetStatus ¶
type SQSTargetStatus struct { // Target queue URL // +required QueueURL string `json:"queueUrl"` }
func (*SQSTargetStatus) DeepCopy ¶
func (in *SQSTargetStatus) DeepCopy() *SQSTargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQSTargetStatus.
func (*SQSTargetStatus) DeepCopyInto ¶
func (in *SQSTargetStatus) DeepCopyInto(out *SQSTargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackTarget ¶
type SlackTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SlackTargetSpec `json:"spec,omitempty"` }
SlackTarget is the Schema for the SlackTargets API +kubebuilder:object:root=true +kubebuilder:resource:path=slacktargets,scope=Cluster
func (*SlackTarget) DeepCopy ¶
func (in *SlackTarget) DeepCopy() *SlackTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackTarget.
func (*SlackTarget) DeepCopyInto ¶
func (in *SlackTarget) DeepCopyInto(out *SlackTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SlackTarget) DeepCopyObject ¶
func (in *SlackTarget) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SlackTargetList ¶
type SlackTargetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SlackTarget `json:"items"` }
SlackTargetList contains a list of Provisioner +kubebuilder:object:root=true
func (*SlackTargetList) DeepCopy ¶
func (in *SlackTargetList) DeepCopy() *SlackTargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackTargetList.
func (*SlackTargetList) DeepCopyInto ¶
func (in *SlackTargetList) DeepCopyInto(out *SlackTargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SlackTargetList) DeepCopyObject ¶
func (in *SlackTargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SlackTargetSpec ¶
type SlackTargetSpec struct { // EventRule is the name of the event rule to source messages // +required EventRule string `json:"eventRule"` // HTTPEndpoint of the slack webhook to post the messages // +required HTTPEndpoint string `json:"httpEndpoint"` }
SlackTargetSpec describes the desired state of the SlackTarget
func (*SlackTargetSpec) DeepCopy ¶
func (in *SlackTargetSpec) DeepCopy() *SlackTargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackTargetSpec.
func (*SlackTargetSpec) DeepCopyInto ¶
func (in *SlackTargetSpec) DeepCopyInto(out *SlackTargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.