Documentation ¶
Overview ¶
+groupName=user.pagerduty.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 ContactMethod
- func (in *ContactMethod) DeepCopy() *ContactMethod
- func (in *ContactMethod) DeepCopyInto(out *ContactMethod)
- func (in *ContactMethod) DeepCopyObject() runtime.Object
- func (r *ContactMethod) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ContactMethod) ValidateCreate() error
- func (r *ContactMethod) ValidateDelete() error
- func (r *ContactMethod) ValidateUpdate(old runtime.Object) error
- type ContactMethodList
- type ContactMethodSpec
- type ContactMethodSpecResource
- type ContactMethodStatus
- 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 NotificationRuleStatus
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (r *User) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *User) ValidateCreate() error
- func (r *User) ValidateDelete() error
- func (r *User) ValidateUpdate(old runtime.Object) error
- type UserList
- type UserSpec
- type UserSpecResource
- type UserStatus
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: user.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ContactMethod ¶
type ContactMethod struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContactMethodSpec `json:"spec,omitempty"` Status ContactMethodStatus `json:"status,omitempty"` }
func (*ContactMethod) DeepCopy ¶
func (in *ContactMethod) DeepCopy() *ContactMethod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethod.
func (*ContactMethod) DeepCopyInto ¶
func (in *ContactMethod) DeepCopyInto(out *ContactMethod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactMethod) DeepCopyObject ¶
func (in *ContactMethod) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContactMethod) SetupWebhookWithManager ¶
func (r *ContactMethod) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ContactMethod) ValidateCreate ¶
func (r *ContactMethod) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ContactMethod) ValidateDelete ¶
func (r *ContactMethod) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ContactMethod) ValidateUpdate ¶
func (r *ContactMethod) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ContactMethodList ¶
type ContactMethodList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ContactMethod CRD objects Items []ContactMethod `json:"items,omitempty"` }
ContactMethodList is a list of ContactMethods
func (*ContactMethodList) DeepCopy ¶
func (in *ContactMethodList) DeepCopy() *ContactMethodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodList.
func (*ContactMethodList) DeepCopyInto ¶
func (in *ContactMethodList) DeepCopyInto(out *ContactMethodList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactMethodList) DeepCopyObject ¶
func (in *ContactMethodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContactMethodSpec ¶
type ContactMethodSpec struct { State *ContactMethodSpecResource `json:"state,omitempty" tf:"-"` Resource ContactMethodSpecResource `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 (*ContactMethodSpec) DeepCopy ¶
func (in *ContactMethodSpec) DeepCopy() *ContactMethodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodSpec.
func (*ContactMethodSpec) DeepCopyInto ¶
func (in *ContactMethodSpec) DeepCopyInto(out *ContactMethodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactMethodSpecResource ¶
type ContactMethodSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` Address *string `json:"address" tf:"address"` // +optional Blacklisted *bool `json:"blacklisted,omitempty" tf:"blacklisted"` // +optional CountryCode *int64 `json:"countryCode,omitempty" tf:"country_code"` // +optional Enabled *bool `json:"enabled,omitempty" tf:"enabled"` Label *string `json:"label" tf:"label"` // +optional SendShortEmail *bool `json:"sendShortEmail,omitempty" tf:"send_short_email"` Type *string `json:"type" tf:"type"` UserID *string `json:"userID" tf:"user_id"` }
func (*ContactMethodSpecResource) DeepCopy ¶
func (in *ContactMethodSpecResource) DeepCopy() *ContactMethodSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodSpecResource.
func (*ContactMethodSpecResource) DeepCopyInto ¶
func (in *ContactMethodSpecResource) DeepCopyInto(out *ContactMethodSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactMethodStatus ¶
type ContactMethodStatus 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 (*ContactMethodStatus) DeepCopy ¶
func (in *ContactMethodStatus) DeepCopy() *ContactMethodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodStatus.
func (*ContactMethodStatus) DeepCopyInto ¶
func (in *ContactMethodStatus) DeepCopyInto(out *ContactMethodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` ContactMethod *map[string]string `json:"contactMethod" tf:"contact_method"` StartDelayInMinutes *int64 `json:"startDelayInMinutes" tf:"start_delay_in_minutes"` Urgency *string `json:"urgency" tf:"urgency"` UserID *string `json:"userID" tf:"user_id"` }
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 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.
type User ¶
type User struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec,omitempty"` Status UserStatus `json:"status,omitempty"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) SetupWebhookWithManager ¶
func (*User) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*User) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of User CRD objects Items []User `json:"items,omitempty"` }
UserList is a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { State *UserSpecResource `json:"state,omitempty" tf:"-"` Resource UserSpecResource `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 (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
type UserSpecResource ¶
type UserSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AvatarURL *string `json:"avatarURL,omitempty" tf:"avatar_url"` // +optional Color *string `json:"color,omitempty" tf:"color"` // +optional Description *string `json:"description,omitempty" tf:"description"` Email *string `json:"email" tf:"email"` // +optional HtmlURL *string `json:"htmlURL,omitempty" tf:"html_url"` // +optional InvitationSent *bool `json:"invitationSent,omitempty" tf:"invitation_sent"` // +optional JobTitle *string `json:"jobTitle,omitempty" tf:"job_title"` Name *string `json:"name" tf:"name"` // +optional Role *string `json:"role,omitempty" tf:"role"` // +optional // Deprecated Teams []string `json:"teams,omitempty" tf:"teams"` // +optional TimeZone *string `json:"timeZone,omitempty" tf:"time_zone"` }
func (*UserSpecResource) DeepCopy ¶
func (in *UserSpecResource) DeepCopy() *UserSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpecResource.
func (*UserSpecResource) DeepCopyInto ¶
func (in *UserSpecResource) DeepCopyInto(out *UserSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus 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 (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.