Documentation ¶
Overview ¶
+groupName=messenger.appscode.com
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type Message
- type MessageList
- type MessageSpec
- type MessageStatus
- type MessagingService
- func (p MessagingService) CustomResourceDefinition() *crd_api.CustomResourceDefinition
- func (in *MessagingService) DeepCopy() *MessagingService
- func (in *MessagingService) DeepCopyInto(out *MessagingService)
- func (in *MessagingService) DeepCopyObject() runtime.Object
- func (p MessagingService) IsValid() error
- type MessagingServiceList
- type MessagingServiceSpec
Constants ¶
const ( ResourceKindMessagingService = "MessagingService" ResourceMessagingService = "messagingservice" ResourceMessagingServices = "messagingservices" ResourceKindMessage = "Message" ResourceMessage = "message" ResourceMessages = "messages" )
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 (
EnableStatusSubresource bool
)
var SchemeGroupVersion = schema.GroupVersion{Group: messenger.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Message ¶
type Message struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MessageSpec `json:"spec,omitempty"` Status MessageStatus `json:"status,omitempty"` }
func (Message) CustomResourceDefinition ¶
func (p Message) CustomResourceDefinition() *crd_api.CustomResourceDefinition
func (*Message) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Message.
func (*Message) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Message) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessageList ¶
type MessageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Notification TPR objects Items []Message `json:"items,omitempty"` }
func (*MessageList) DeepCopy ¶
func (in *MessageList) DeepCopy() *MessageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageList.
func (*MessageList) DeepCopyInto ¶
func (in *MessageList) DeepCopyInto(out *MessageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessageList) DeepCopyObject ¶
func (in *MessageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessageSpec ¶
type MessageSpec struct { Service string `json:"service,omitempty"` Message string `json:"message,omitempty"` Email string `json:"email,omitempty"` Chat string `json:"chat,omitempty"` Sms string `json:"sms,omitempty"` }
func (*MessageSpec) DeepCopy ¶
func (in *MessageSpec) DeepCopy() *MessageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageSpec.
func (*MessageSpec) DeepCopyInto ¶
func (in *MessageSpec) DeepCopyInto(out *MessageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageStatus ¶
type MessageStatus struct { SentTimestamp *metav1.Time `json:"sentTimestamp,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }
func (*MessageStatus) DeepCopy ¶
func (in *MessageStatus) DeepCopy() *MessageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageStatus.
func (*MessageStatus) DeepCopyInto ¶
func (in *MessageStatus) DeepCopyInto(out *MessageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessagingService ¶
type MessagingService struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MessagingServiceSpec `json:"spec,omitempty"` }
Notifier defines a Notifier database.
func (MessagingService) CustomResourceDefinition ¶
func (p MessagingService) CustomResourceDefinition() *crd_api.CustomResourceDefinition
func (*MessagingService) DeepCopy ¶
func (in *MessagingService) DeepCopy() *MessagingService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingService.
func (*MessagingService) DeepCopyInto ¶
func (in *MessagingService) DeepCopyInto(out *MessagingService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessagingService) DeepCopyObject ¶
func (in *MessagingService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (MessagingService) IsValid ¶
func (p MessagingService) IsValid() error
type MessagingServiceList ¶
type MessagingServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MessagingService TPR objects Items []MessagingService `json:"items,omitempty"` }
func (*MessagingServiceList) DeepCopy ¶
func (in *MessagingServiceList) DeepCopy() *MessagingServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingServiceList.
func (*MessagingServiceList) DeepCopyInto ¶
func (in *MessagingServiceList) DeepCopyInto(out *MessagingServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessagingServiceList) DeepCopyObject ¶
func (in *MessagingServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessagingServiceSpec ¶
type MessagingServiceSpec struct { // Number of instances to deploy for a Notifier database. Replicas *int32 `json:"replicas,omitempty"` // To whom notification will be sent To []string `json:"to,omitempty"` // How this notification will be sent Drive string `json:"drive,omitempty"` // Secret name to which credential data is provided to send notification CredentialSecretName string `json:"credentialSecretName,omitempty"` }
func (*MessagingServiceSpec) DeepCopy ¶
func (in *MessagingServiceSpec) DeepCopy() *MessagingServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingServiceSpec.
func (*MessagingServiceSpec) DeepCopyInto ¶
func (in *MessagingServiceSpec) DeepCopyInto(out *MessagingServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.