Documentation ¶
Overview ¶
+groupName=codestarnotifications.aws.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type NotificationRule
- func (in *NotificationRule) DeepCopy() *NotificationRule
- func (in *NotificationRule) DeepCopyInto(out *NotificationRule)
- func (in *NotificationRule) DeepCopyObject() runtime.Object
- func (r *NotificationRule) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NotificationRule) ValidateCreate() error
- func (r *NotificationRule) ValidateDelete() error
- func (r *NotificationRule) ValidateUpdate(old runtime.Object) error
- type NotificationRuleList
- type NotificationRuleSpec
- type NotificationRuleSpecResource
- type NotificationRuleSpecTarget
- type NotificationRuleStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: codestarnotifications.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type NotificationRule ¶
type NotificationRule struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationRuleSpec `json:"spec,omitempty"` Status NotificationRuleStatus `json:"status,omitempty"` }
func (*NotificationRule) DeepCopy ¶
func (in *NotificationRule) DeepCopy() *NotificationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRule.
func (*NotificationRule) DeepCopyInto ¶
func (in *NotificationRule) DeepCopyInto(out *NotificationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRule) DeepCopyObject ¶
func (in *NotificationRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationRule) SetupWebhookWithManager ¶
func (r *NotificationRule) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*NotificationRule) ValidateCreate ¶
func (r *NotificationRule) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NotificationRule) ValidateDelete ¶
func (r *NotificationRule) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*NotificationRule) ValidateUpdate ¶
func (r *NotificationRule) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type NotificationRuleList ¶
type NotificationRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of NotificationRule CRD objects Items []NotificationRule `json:"items,omitempty"` }
NotificationRuleList is a list of NotificationRules
func (*NotificationRuleList) DeepCopy ¶
func (in *NotificationRuleList) DeepCopy() *NotificationRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleList.
func (*NotificationRuleList) DeepCopyInto ¶
func (in *NotificationRuleList) DeepCopyInto(out *NotificationRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRuleList) DeepCopyObject ¶
func (in *NotificationRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationRuleSpec ¶
type NotificationRuleSpec struct { State *NotificationRuleSpecResource `json:"state,omitempty" tf:"-"` Resource NotificationRuleSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*NotificationRuleSpec) DeepCopy ¶
func (in *NotificationRuleSpec) DeepCopy() *NotificationRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleSpec.
func (*NotificationRuleSpec) DeepCopyInto ¶
func (in *NotificationRuleSpec) DeepCopyInto(out *NotificationRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleSpecResource ¶
type NotificationRuleSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Arn *string `json:"arn,omitempty" tf:"arn"` DetailType *string `json:"detailType" tf:"detail_type"` // +kubebuilder:validation:MaxItems=200 // +kubebuilder:validation:MinItems=1 EventTypeIDS []string `json:"eventTypeIDS" tf:"event_type_ids"` Name *string `json:"name" tf:"name"` Resource *string `json:"resource" tf:"resource"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tags *map[string]string `json:"tags,omitempty" tf:"tags"` // +optional TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"` // +optional // +kubebuilder:validation:MaxItems=10 Target []NotificationRuleSpecTarget `json:"target,omitempty" tf:"target"` }
func (*NotificationRuleSpecResource) DeepCopy ¶
func (in *NotificationRuleSpecResource) DeepCopy() *NotificationRuleSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleSpecResource.
func (*NotificationRuleSpecResource) DeepCopyInto ¶
func (in *NotificationRuleSpecResource) DeepCopyInto(out *NotificationRuleSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleSpecTarget ¶
type NotificationRuleSpecTarget struct { Address *string `json:"address" tf:"address"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Type *string `json:"type,omitempty" tf:"type"` }
func (*NotificationRuleSpecTarget) DeepCopy ¶
func (in *NotificationRuleSpecTarget) DeepCopy() *NotificationRuleSpecTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleSpecTarget.
func (*NotificationRuleSpecTarget) DeepCopyInto ¶
func (in *NotificationRuleSpecTarget) DeepCopyInto(out *NotificationRuleSpecTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleStatus ¶
type NotificationRuleStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*NotificationRuleStatus) DeepCopy ¶
func (in *NotificationRuleStatus) DeepCopy() *NotificationRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleStatus.
func (*NotificationRuleStatus) DeepCopyInto ¶
func (in *NotificationRuleStatus) DeepCopyInto(out *NotificationRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.