Documentation ¶
Overview ¶
+groupName=slack.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 Connection
- func (in *Connection) DeepCopy() *Connection
- func (in *Connection) DeepCopyInto(out *Connection)
- func (in *Connection) DeepCopyObject() runtime.Object
- func (r *Connection) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Connection) ValidateCreate() error
- func (r *Connection) ValidateDelete() error
- func (r *Connection) ValidateUpdate(old runtime.Object) error
- type ConnectionList
- type ConnectionSpec
- type ConnectionSpecConfig
- type ConnectionSpecResource
- type ConnectionStatus
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: slack.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 Connection ¶
type Connection struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConnectionSpec `json:"spec,omitempty"` Status ConnectionStatus `json:"status,omitempty"` }
func (*Connection) DeepCopy ¶
func (in *Connection) DeepCopy() *Connection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection.
func (*Connection) DeepCopyInto ¶
func (in *Connection) DeepCopyInto(out *Connection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Connection) DeepCopyObject ¶
func (in *Connection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Connection) SetupWebhookWithManager ¶
func (r *Connection) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Connection) ValidateCreate ¶
func (r *Connection) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Connection) ValidateDelete ¶
func (r *Connection) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Connection) ValidateUpdate ¶
func (r *Connection) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ConnectionList ¶
type ConnectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Connection CRD objects Items []Connection `json:"items,omitempty"` }
ConnectionList is a list of Connections
func (*ConnectionList) DeepCopy ¶
func (in *ConnectionList) DeepCopy() *ConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionList.
func (*ConnectionList) DeepCopyInto ¶
func (in *ConnectionList) DeepCopyInto(out *ConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionList) DeepCopyObject ¶
func (in *ConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectionSpec ¶
type ConnectionSpec struct { State *ConnectionSpecResource `json:"state,omitempty" tf:"-"` Resource ConnectionSpecResource `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 (*ConnectionSpec) DeepCopy ¶
func (in *ConnectionSpec) DeepCopy() *ConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpec.
func (*ConnectionSpec) DeepCopyInto ¶
func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionSpecConfig ¶
type ConnectionSpecConfig struct { Events []string `json:"events" tf:"events"` // +optional Priorities []string `json:"priorities,omitempty" tf:"priorities"` // +optional Urgency *string `json:"urgency,omitempty" tf:"urgency"` }
func (*ConnectionSpecConfig) DeepCopy ¶
func (in *ConnectionSpecConfig) DeepCopy() *ConnectionSpecConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpecConfig.
func (*ConnectionSpecConfig) DeepCopyInto ¶
func (in *ConnectionSpecConfig) DeepCopyInto(out *ConnectionSpecConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionSpecResource ¶
type ConnectionSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ChannelID *string `json:"channelID" tf:"channel_id"` // +optional ChannelName *string `json:"channelName,omitempty" tf:"channel_name"` Config []ConnectionSpecConfig `json:"config" tf:"config"` NotificationType *string `json:"notificationType" tf:"notification_type"` SourceID *string `json:"sourceID" tf:"source_id"` // +optional SourceName *string `json:"sourceName,omitempty" tf:"source_name"` SourceType *string `json:"sourceType" tf:"source_type"` WorkspaceID *string `json:"workspaceID" tf:"workspace_id"` }
func (*ConnectionSpecResource) DeepCopy ¶
func (in *ConnectionSpecResource) DeepCopy() *ConnectionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpecResource.
func (*ConnectionSpecResource) DeepCopyInto ¶
func (in *ConnectionSpecResource) DeepCopyInto(out *ConnectionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionStatus ¶
type ConnectionStatus 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 (*ConnectionStatus) DeepCopy ¶
func (in *ConnectionStatus) DeepCopy() *ConnectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStatus.
func (*ConnectionStatus) DeepCopyInto ¶
func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.