v1

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 14 Imported by: 11

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=notify.tkestack.io

Index

Constants

View Source
const GroupName = "notify.tkestack.io"

GroupName is the group name use in this package.

View Source
const Version = "v1"

Version is the version name use in this package.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeBuilder collects functions that add things to a scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AddFieldLabelConversionsForChannel

func AddFieldLabelConversionsForChannel(scheme *runtime.Scheme) error

AddFieldLabelConversionsForChannel adds a conversion function to convert field selectors of Channel from the given version to internal version representation.

func AddFieldLabelConversionsForMessage

func AddFieldLabelConversionsForMessage(scheme *runtime.Scheme) error

AddFieldLabelConversionsForMessage adds a conversion function to convert field selectors of Message from the given version to internal version representation.

func AddFieldLabelConversionsForMessageRequest

func AddFieldLabelConversionsForMessageRequest(scheme *runtime.Scheme) error

AddFieldLabelConversionsForMessageRequest adds a conversion function to convert field selectors of MessageRequest from the given version to internal version representation.

func AddFieldLabelConversionsForReceiver

func AddFieldLabelConversionsForReceiver(scheme *runtime.Scheme) error

AddFieldLabelConversionsForReceiver adds a conversion function to convert field selectors of Receiver from the given version to internal version representation.

func AddFieldLabelConversionsForReceiverGroup

func AddFieldLabelConversionsForReceiverGroup(scheme *runtime.Scheme) error

AddFieldLabelConversionsForReceiverGroup adds a conversion function to convert field selectors of ReceiverGroup from the given version to internal version representation.

func AddFieldLabelConversionsForTemplate

func AddFieldLabelConversionsForTemplate(scheme *runtime.Scheme) error

AddFieldLabelConversionsForTemplate adds a conversion function to convert field selectors of Template from the given version to internal version representation.

func Convert_notify_ChannelList_To_v1_ChannelList

func Convert_notify_ChannelList_To_v1_ChannelList(in *notify.ChannelList, out *ChannelList, s conversion.Scope) error

Convert_notify_ChannelList_To_v1_ChannelList is an autogenerated conversion function.

func Convert_notify_ChannelSMTP_To_v1_ChannelSMTP

func Convert_notify_ChannelSMTP_To_v1_ChannelSMTP(in *notify.ChannelSMTP, out *ChannelSMTP, s conversion.Scope) error

Convert_notify_ChannelSMTP_To_v1_ChannelSMTP is an autogenerated conversion function.

func Convert_notify_ChannelSpec_To_v1_ChannelSpec

func Convert_notify_ChannelSpec_To_v1_ChannelSpec(in *notify.ChannelSpec, out *ChannelSpec, s conversion.Scope) error

Convert_notify_ChannelSpec_To_v1_ChannelSpec is an autogenerated conversion function.

func Convert_notify_ChannelStatus_To_v1_ChannelStatus

func Convert_notify_ChannelStatus_To_v1_ChannelStatus(in *notify.ChannelStatus, out *ChannelStatus, s conversion.Scope) error

Convert_notify_ChannelStatus_To_v1_ChannelStatus is an autogenerated conversion function.

func Convert_notify_ChannelTencentCloudSMS_To_v1_ChannelTencentCloudSMS

func Convert_notify_ChannelTencentCloudSMS_To_v1_ChannelTencentCloudSMS(in *notify.ChannelTencentCloudSMS, out *ChannelTencentCloudSMS, s conversion.Scope) error

Convert_notify_ChannelTencentCloudSMS_To_v1_ChannelTencentCloudSMS is an autogenerated conversion function.

func Convert_notify_ChannelWebhook_To_v1_ChannelWebhook

func Convert_notify_ChannelWebhook_To_v1_ChannelWebhook(in *notify.ChannelWebhook, out *ChannelWebhook, s conversion.Scope) error

Convert_notify_ChannelWebhook_To_v1_ChannelWebhook is an autogenerated conversion function.

func Convert_notify_ChannelWechat_To_v1_ChannelWechat

func Convert_notify_ChannelWechat_To_v1_ChannelWechat(in *notify.ChannelWechat, out *ChannelWechat, s conversion.Scope) error

Convert_notify_ChannelWechat_To_v1_ChannelWechat is an autogenerated conversion function.

func Convert_notify_Channel_To_v1_Channel

func Convert_notify_Channel_To_v1_Channel(in *notify.Channel, out *Channel, s conversion.Scope) error

Convert_notify_Channel_To_v1_Channel is an autogenerated conversion function.

func Convert_notify_ConfigMapList_To_v1_ConfigMapList

func Convert_notify_ConfigMapList_To_v1_ConfigMapList(in *notify.ConfigMapList, out *ConfigMapList, s conversion.Scope) error

Convert_notify_ConfigMapList_To_v1_ConfigMapList is an autogenerated conversion function.

func Convert_notify_ConfigMap_To_v1_ConfigMap

func Convert_notify_ConfigMap_To_v1_ConfigMap(in *notify.ConfigMap, out *ConfigMap, s conversion.Scope) error

Convert_notify_ConfigMap_To_v1_ConfigMap is an autogenerated conversion function.

func Convert_notify_MessageList_To_v1_MessageList

func Convert_notify_MessageList_To_v1_MessageList(in *notify.MessageList, out *MessageList, s conversion.Scope) error

Convert_notify_MessageList_To_v1_MessageList is an autogenerated conversion function.

func Convert_notify_MessageRequestList_To_v1_MessageRequestList

func Convert_notify_MessageRequestList_To_v1_MessageRequestList(in *notify.MessageRequestList, out *MessageRequestList, s conversion.Scope) error

Convert_notify_MessageRequestList_To_v1_MessageRequestList is an autogenerated conversion function.

func Convert_notify_MessageRequestSpec_To_v1_MessageRequestSpec

func Convert_notify_MessageRequestSpec_To_v1_MessageRequestSpec(in *notify.MessageRequestSpec, out *MessageRequestSpec, s conversion.Scope) error

Convert_notify_MessageRequestSpec_To_v1_MessageRequestSpec is an autogenerated conversion function.

func Convert_notify_MessageRequestStatus_To_v1_MessageRequestStatus

func Convert_notify_MessageRequestStatus_To_v1_MessageRequestStatus(in *notify.MessageRequestStatus, out *MessageRequestStatus, s conversion.Scope) error

Convert_notify_MessageRequestStatus_To_v1_MessageRequestStatus is an autogenerated conversion function.

func Convert_notify_MessageRequest_To_v1_MessageRequest

func Convert_notify_MessageRequest_To_v1_MessageRequest(in *notify.MessageRequest, out *MessageRequest, s conversion.Scope) error

Convert_notify_MessageRequest_To_v1_MessageRequest is an autogenerated conversion function.

func Convert_notify_MessageSpec_To_v1_MessageSpec

func Convert_notify_MessageSpec_To_v1_MessageSpec(in *notify.MessageSpec, out *MessageSpec, s conversion.Scope) error

Convert_notify_MessageSpec_To_v1_MessageSpec is an autogenerated conversion function.

func Convert_notify_MessageStatus_To_v1_MessageStatus

func Convert_notify_MessageStatus_To_v1_MessageStatus(in *notify.MessageStatus, out *MessageStatus, s conversion.Scope) error

Convert_notify_MessageStatus_To_v1_MessageStatus is an autogenerated conversion function.

func Convert_notify_Message_To_v1_Message

func Convert_notify_Message_To_v1_Message(in *notify.Message, out *Message, s conversion.Scope) error

Convert_notify_Message_To_v1_Message is an autogenerated conversion function.

func Convert_notify_ReceiverGroupList_To_v1_ReceiverGroupList

func Convert_notify_ReceiverGroupList_To_v1_ReceiverGroupList(in *notify.ReceiverGroupList, out *ReceiverGroupList, s conversion.Scope) error

Convert_notify_ReceiverGroupList_To_v1_ReceiverGroupList is an autogenerated conversion function.

func Convert_notify_ReceiverGroupSpec_To_v1_ReceiverGroupSpec

func Convert_notify_ReceiverGroupSpec_To_v1_ReceiverGroupSpec(in *notify.ReceiverGroupSpec, out *ReceiverGroupSpec, s conversion.Scope) error

Convert_notify_ReceiverGroupSpec_To_v1_ReceiverGroupSpec is an autogenerated conversion function.

func Convert_notify_ReceiverGroup_To_v1_ReceiverGroup

func Convert_notify_ReceiverGroup_To_v1_ReceiverGroup(in *notify.ReceiverGroup, out *ReceiverGroup, s conversion.Scope) error

Convert_notify_ReceiverGroup_To_v1_ReceiverGroup is an autogenerated conversion function.

func Convert_notify_ReceiverList_To_v1_ReceiverList

func Convert_notify_ReceiverList_To_v1_ReceiverList(in *notify.ReceiverList, out *ReceiverList, s conversion.Scope) error

Convert_notify_ReceiverList_To_v1_ReceiverList is an autogenerated conversion function.

func Convert_notify_ReceiverSpec_To_v1_ReceiverSpec

func Convert_notify_ReceiverSpec_To_v1_ReceiverSpec(in *notify.ReceiverSpec, out *ReceiverSpec, s conversion.Scope) error

Convert_notify_ReceiverSpec_To_v1_ReceiverSpec is an autogenerated conversion function.

func Convert_notify_Receiver_To_v1_Receiver

func Convert_notify_Receiver_To_v1_Receiver(in *notify.Receiver, out *Receiver, s conversion.Scope) error

Convert_notify_Receiver_To_v1_Receiver is an autogenerated conversion function.

func Convert_notify_TemplateList_To_v1_TemplateList

func Convert_notify_TemplateList_To_v1_TemplateList(in *notify.TemplateList, out *TemplateList, s conversion.Scope) error

Convert_notify_TemplateList_To_v1_TemplateList is an autogenerated conversion function.

func Convert_notify_TemplateSpec_To_v1_TemplateSpec

func Convert_notify_TemplateSpec_To_v1_TemplateSpec(in *notify.TemplateSpec, out *TemplateSpec, s conversion.Scope) error

Convert_notify_TemplateSpec_To_v1_TemplateSpec is an autogenerated conversion function.

func Convert_notify_TemplateTencentCloudSMS_To_v1_TemplateTencentCloudSMS

func Convert_notify_TemplateTencentCloudSMS_To_v1_TemplateTencentCloudSMS(in *notify.TemplateTencentCloudSMS, out *TemplateTencentCloudSMS, s conversion.Scope) error

Convert_notify_TemplateTencentCloudSMS_To_v1_TemplateTencentCloudSMS is an autogenerated conversion function.

func Convert_notify_TemplateText_To_v1_TemplateText

func Convert_notify_TemplateText_To_v1_TemplateText(in *notify.TemplateText, out *TemplateText, s conversion.Scope) error

Convert_notify_TemplateText_To_v1_TemplateText is an autogenerated conversion function.

func Convert_notify_TemplateWechat_To_v1_TemplateWechat

func Convert_notify_TemplateWechat_To_v1_TemplateWechat(in *notify.TemplateWechat, out *TemplateWechat, s conversion.Scope) error

Convert_notify_TemplateWechat_To_v1_TemplateWechat is an autogenerated conversion function.

func Convert_notify_Template_To_v1_Template

func Convert_notify_Template_To_v1_Template(in *notify.Template, out *Template, s conversion.Scope) error

Convert_notify_Template_To_v1_Template is an autogenerated conversion function.

func Convert_v1_ChannelList_To_notify_ChannelList

func Convert_v1_ChannelList_To_notify_ChannelList(in *ChannelList, out *notify.ChannelList, s conversion.Scope) error

Convert_v1_ChannelList_To_notify_ChannelList is an autogenerated conversion function.

func Convert_v1_ChannelSMTP_To_notify_ChannelSMTP

func Convert_v1_ChannelSMTP_To_notify_ChannelSMTP(in *ChannelSMTP, out *notify.ChannelSMTP, s conversion.Scope) error

Convert_v1_ChannelSMTP_To_notify_ChannelSMTP is an autogenerated conversion function.

func Convert_v1_ChannelSpec_To_notify_ChannelSpec

func Convert_v1_ChannelSpec_To_notify_ChannelSpec(in *ChannelSpec, out *notify.ChannelSpec, s conversion.Scope) error

Convert_v1_ChannelSpec_To_notify_ChannelSpec is an autogenerated conversion function.

func Convert_v1_ChannelStatus_To_notify_ChannelStatus

func Convert_v1_ChannelStatus_To_notify_ChannelStatus(in *ChannelStatus, out *notify.ChannelStatus, s conversion.Scope) error

Convert_v1_ChannelStatus_To_notify_ChannelStatus is an autogenerated conversion function.

func Convert_v1_ChannelTencentCloudSMS_To_notify_ChannelTencentCloudSMS

func Convert_v1_ChannelTencentCloudSMS_To_notify_ChannelTencentCloudSMS(in *ChannelTencentCloudSMS, out *notify.ChannelTencentCloudSMS, s conversion.Scope) error

Convert_v1_ChannelTencentCloudSMS_To_notify_ChannelTencentCloudSMS is an autogenerated conversion function.

func Convert_v1_ChannelWebhook_To_notify_ChannelWebhook

func Convert_v1_ChannelWebhook_To_notify_ChannelWebhook(in *ChannelWebhook, out *notify.ChannelWebhook, s conversion.Scope) error

Convert_v1_ChannelWebhook_To_notify_ChannelWebhook is an autogenerated conversion function.

func Convert_v1_ChannelWechat_To_notify_ChannelWechat

func Convert_v1_ChannelWechat_To_notify_ChannelWechat(in *ChannelWechat, out *notify.ChannelWechat, s conversion.Scope) error

Convert_v1_ChannelWechat_To_notify_ChannelWechat is an autogenerated conversion function.

func Convert_v1_Channel_To_notify_Channel

func Convert_v1_Channel_To_notify_Channel(in *Channel, out *notify.Channel, s conversion.Scope) error

Convert_v1_Channel_To_notify_Channel is an autogenerated conversion function.

func Convert_v1_ConfigMapList_To_notify_ConfigMapList

func Convert_v1_ConfigMapList_To_notify_ConfigMapList(in *ConfigMapList, out *notify.ConfigMapList, s conversion.Scope) error

Convert_v1_ConfigMapList_To_notify_ConfigMapList is an autogenerated conversion function.

func Convert_v1_ConfigMap_To_notify_ConfigMap

func Convert_v1_ConfigMap_To_notify_ConfigMap(in *ConfigMap, out *notify.ConfigMap, s conversion.Scope) error

Convert_v1_ConfigMap_To_notify_ConfigMap is an autogenerated conversion function.

func Convert_v1_MessageList_To_notify_MessageList

func Convert_v1_MessageList_To_notify_MessageList(in *MessageList, out *notify.MessageList, s conversion.Scope) error

Convert_v1_MessageList_To_notify_MessageList is an autogenerated conversion function.

func Convert_v1_MessageRequestList_To_notify_MessageRequestList

func Convert_v1_MessageRequestList_To_notify_MessageRequestList(in *MessageRequestList, out *notify.MessageRequestList, s conversion.Scope) error

Convert_v1_MessageRequestList_To_notify_MessageRequestList is an autogenerated conversion function.

func Convert_v1_MessageRequestSpec_To_notify_MessageRequestSpec

func Convert_v1_MessageRequestSpec_To_notify_MessageRequestSpec(in *MessageRequestSpec, out *notify.MessageRequestSpec, s conversion.Scope) error

Convert_v1_MessageRequestSpec_To_notify_MessageRequestSpec is an autogenerated conversion function.

func Convert_v1_MessageRequestStatus_To_notify_MessageRequestStatus

func Convert_v1_MessageRequestStatus_To_notify_MessageRequestStatus(in *MessageRequestStatus, out *notify.MessageRequestStatus, s conversion.Scope) error

Convert_v1_MessageRequestStatus_To_notify_MessageRequestStatus is an autogenerated conversion function.

func Convert_v1_MessageRequest_To_notify_MessageRequest

func Convert_v1_MessageRequest_To_notify_MessageRequest(in *MessageRequest, out *notify.MessageRequest, s conversion.Scope) error

Convert_v1_MessageRequest_To_notify_MessageRequest is an autogenerated conversion function.

func Convert_v1_MessageSpec_To_notify_MessageSpec

func Convert_v1_MessageSpec_To_notify_MessageSpec(in *MessageSpec, out *notify.MessageSpec, s conversion.Scope) error

Convert_v1_MessageSpec_To_notify_MessageSpec is an autogenerated conversion function.

func Convert_v1_MessageStatus_To_notify_MessageStatus

func Convert_v1_MessageStatus_To_notify_MessageStatus(in *MessageStatus, out *notify.MessageStatus, s conversion.Scope) error

Convert_v1_MessageStatus_To_notify_MessageStatus is an autogenerated conversion function.

func Convert_v1_Message_To_notify_Message

func Convert_v1_Message_To_notify_Message(in *Message, out *notify.Message, s conversion.Scope) error

Convert_v1_Message_To_notify_Message is an autogenerated conversion function.

func Convert_v1_ReceiverGroupList_To_notify_ReceiverGroupList

func Convert_v1_ReceiverGroupList_To_notify_ReceiverGroupList(in *ReceiverGroupList, out *notify.ReceiverGroupList, s conversion.Scope) error

Convert_v1_ReceiverGroupList_To_notify_ReceiverGroupList is an autogenerated conversion function.

func Convert_v1_ReceiverGroupSpec_To_notify_ReceiverGroupSpec

func Convert_v1_ReceiverGroupSpec_To_notify_ReceiverGroupSpec(in *ReceiverGroupSpec, out *notify.ReceiverGroupSpec, s conversion.Scope) error

Convert_v1_ReceiverGroupSpec_To_notify_ReceiverGroupSpec is an autogenerated conversion function.

func Convert_v1_ReceiverGroup_To_notify_ReceiverGroup

func Convert_v1_ReceiverGroup_To_notify_ReceiverGroup(in *ReceiverGroup, out *notify.ReceiverGroup, s conversion.Scope) error

Convert_v1_ReceiverGroup_To_notify_ReceiverGroup is an autogenerated conversion function.

func Convert_v1_ReceiverList_To_notify_ReceiverList

func Convert_v1_ReceiverList_To_notify_ReceiverList(in *ReceiverList, out *notify.ReceiverList, s conversion.Scope) error

Convert_v1_ReceiverList_To_notify_ReceiverList is an autogenerated conversion function.

func Convert_v1_ReceiverSpec_To_notify_ReceiverSpec

func Convert_v1_ReceiverSpec_To_notify_ReceiverSpec(in *ReceiverSpec, out *notify.ReceiverSpec, s conversion.Scope) error

Convert_v1_ReceiverSpec_To_notify_ReceiverSpec is an autogenerated conversion function.

func Convert_v1_Receiver_To_notify_Receiver

func Convert_v1_Receiver_To_notify_Receiver(in *Receiver, out *notify.Receiver, s conversion.Scope) error

Convert_v1_Receiver_To_notify_Receiver is an autogenerated conversion function.

func Convert_v1_TemplateList_To_notify_TemplateList

func Convert_v1_TemplateList_To_notify_TemplateList(in *TemplateList, out *notify.TemplateList, s conversion.Scope) error

Convert_v1_TemplateList_To_notify_TemplateList is an autogenerated conversion function.

func Convert_v1_TemplateSpec_To_notify_TemplateSpec

func Convert_v1_TemplateSpec_To_notify_TemplateSpec(in *TemplateSpec, out *notify.TemplateSpec, s conversion.Scope) error

Convert_v1_TemplateSpec_To_notify_TemplateSpec is an autogenerated conversion function.

func Convert_v1_TemplateTencentCloudSMS_To_notify_TemplateTencentCloudSMS

func Convert_v1_TemplateTencentCloudSMS_To_notify_TemplateTencentCloudSMS(in *TemplateTencentCloudSMS, out *notify.TemplateTencentCloudSMS, s conversion.Scope) error

Convert_v1_TemplateTencentCloudSMS_To_notify_TemplateTencentCloudSMS is an autogenerated conversion function.

func Convert_v1_TemplateText_To_notify_TemplateText

func Convert_v1_TemplateText_To_notify_TemplateText(in *TemplateText, out *notify.TemplateText, s conversion.Scope) error

Convert_v1_TemplateText_To_notify_TemplateText is an autogenerated conversion function.

func Convert_v1_TemplateWechat_To_notify_TemplateWechat

func Convert_v1_TemplateWechat_To_notify_TemplateWechat(in *TemplateWechat, out *notify.TemplateWechat, s conversion.Scope) error

Convert_v1_TemplateWechat_To_notify_TemplateWechat is an autogenerated conversion function.

func Convert_v1_Template_To_notify_Template

func Convert_v1_Template_To_notify_Template(in *Template, out *notify.Template, s conversion.Scope) error

Convert_v1_Template_To_notify_Template is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a LocalGroup qualified GroupResource

func SetDefaults_ChannelStatus

func SetDefaults_ChannelStatus(obj *ChannelStatus)

func SetDefaults_ConfigMap

func SetDefaults_ConfigMap(obj *ConfigMap)

func SetDefaults_MessageRequestSpec

func SetDefaults_MessageRequestSpec(obj *MessageRequestSpec)

func SetDefaults_MessageRequestStatus

func SetDefaults_MessageRequestStatus(obj *MessageRequestStatus)

func SetDefaults_MessageStatus

func SetDefaults_MessageStatus(obj *MessageStatus)

func SetDefaults_ReceiverGroupSpec

func SetDefaults_ReceiverGroupSpec(obj *ReceiverGroupSpec)

func SetDefaults_ReceiverSpec

func SetDefaults_ReceiverSpec(obj *ReceiverSpec)

func SetDefaults_TemplateSpec

func SetDefaults_TemplateSpec(obj *TemplateSpec)

func SetObjectDefaults_Channel

func SetObjectDefaults_Channel(in *Channel)

func SetObjectDefaults_ChannelList

func SetObjectDefaults_ChannelList(in *ChannelList)

func SetObjectDefaults_ConfigMap

func SetObjectDefaults_ConfigMap(in *ConfigMap)

func SetObjectDefaults_ConfigMapList

func SetObjectDefaults_ConfigMapList(in *ConfigMapList)

func SetObjectDefaults_Message

func SetObjectDefaults_Message(in *Message)

func SetObjectDefaults_MessageList

func SetObjectDefaults_MessageList(in *MessageList)

func SetObjectDefaults_MessageRequest

func SetObjectDefaults_MessageRequest(in *MessageRequest)

func SetObjectDefaults_MessageRequestList

func SetObjectDefaults_MessageRequestList(in *MessageRequestList)

func SetObjectDefaults_Receiver

func SetObjectDefaults_Receiver(in *Receiver)

func SetObjectDefaults_ReceiverGroup

func SetObjectDefaults_ReceiverGroup(in *ReceiverGroup)

func SetObjectDefaults_ReceiverGroupList

func SetObjectDefaults_ReceiverGroupList(in *ReceiverGroupList)

func SetObjectDefaults_ReceiverList

func SetObjectDefaults_ReceiverList(in *ReceiverList)

func SetObjectDefaults_Template

func SetObjectDefaults_Template(in *Template)

func SetObjectDefaults_TemplateList

func SetObjectDefaults_TemplateList(in *TemplateList)

Types

type Channel

type Channel struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec defines the desired channel.
	// +optional
	Spec ChannelSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status ChannelStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Channel represents a message transmission channel in TKE.

func (*Channel) DeepCopy

func (in *Channel) DeepCopy() *Channel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Channel.

func (*Channel) DeepCopyInto

func (in *Channel) DeepCopyInto(out *Channel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Channel) DeepCopyObject

func (in *Channel) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Channel) Descriptor

func (*Channel) Descriptor() ([]byte, []int)

func (*Channel) Marshal

func (m *Channel) Marshal() (dAtA []byte, err error)

func (*Channel) MarshalTo

func (m *Channel) MarshalTo(dAtA []byte) (int, error)

func (*Channel) MarshalToSizedBuffer

func (m *Channel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) Size

func (m *Channel) Size() (n int)

func (*Channel) String

func (this *Channel) String() string

func (Channel) SwaggerDoc

func (Channel) SwaggerDoc() map[string]string

func (*Channel) Unmarshal

func (m *Channel) Unmarshal(dAtA []byte) error

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge

func (m *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

func (m *Channel) XXX_Unmarshal(b []byte) error

type ChannelList

type ChannelList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of channels.
	Items []Channel `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ChannelList is the whole list of all channels which owned by a tenant.

func (*ChannelList) DeepCopy

func (in *ChannelList) DeepCopy() *ChannelList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelList.

func (*ChannelList) DeepCopyInto

func (in *ChannelList) DeepCopyInto(out *ChannelList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelList) DeepCopyObject

func (in *ChannelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ChannelList) Descriptor

func (*ChannelList) Descriptor() ([]byte, []int)

func (*ChannelList) Marshal

func (m *ChannelList) Marshal() (dAtA []byte, err error)

func (*ChannelList) MarshalTo

func (m *ChannelList) MarshalTo(dAtA []byte) (int, error)

func (*ChannelList) MarshalToSizedBuffer

func (m *ChannelList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelList) ProtoMessage

func (*ChannelList) ProtoMessage()

func (*ChannelList) Reset

func (m *ChannelList) Reset()

func (*ChannelList) Size

func (m *ChannelList) Size() (n int)

func (*ChannelList) String

func (this *ChannelList) String() string

func (ChannelList) SwaggerDoc

func (ChannelList) SwaggerDoc() map[string]string

func (*ChannelList) Unmarshal

func (m *ChannelList) Unmarshal(dAtA []byte) error

func (*ChannelList) XXX_DiscardUnknown

func (m *ChannelList) XXX_DiscardUnknown()

func (*ChannelList) XXX_Marshal

func (m *ChannelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelList) XXX_Merge

func (m *ChannelList) XXX_Merge(src proto.Message)

func (*ChannelList) XXX_Size

func (m *ChannelList) XXX_Size() int

func (*ChannelList) XXX_Unmarshal

func (m *ChannelList) XXX_Unmarshal(b []byte) error

type ChannelPhase

type ChannelPhase string

ChannelPhase defines the phase of channel constructor.

const (
	// ChannelActived is the normal running phase.
	ChannelActived ChannelPhase = "Actived"
	// ChannelTerminating means the channel is undergoing graceful termination.
	ChannelTerminating ChannelPhase = "Terminating"
)

type ChannelSMTP

type ChannelSMTP struct {
	SMTPHost string `json:"smtpHost" protobuf:"bytes,1,opt,name=smtpHost"`
	SMTPPort int32  `json:"smtpPort" protobuf:"varint,2,opt,name=smtpPort"`
	TLS      bool   `json:"tls" protobuf:"bytes,3,opt,name=tls"`
	Email    string `json:"email" protobuf:"bytes,4,opt,name=email"`
	Password string `json:"password" protobuf:"bytes,5,opt,name=password"`
}

ChannelSMTP indicates a channel configuration for sending email notifications using the SMTP server.

func (*ChannelSMTP) DeepCopy

func (in *ChannelSMTP) DeepCopy() *ChannelSMTP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSMTP.

func (*ChannelSMTP) DeepCopyInto

func (in *ChannelSMTP) DeepCopyInto(out *ChannelSMTP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelSMTP) Descriptor

func (*ChannelSMTP) Descriptor() ([]byte, []int)

func (*ChannelSMTP) Marshal

func (m *ChannelSMTP) Marshal() (dAtA []byte, err error)

func (*ChannelSMTP) MarshalTo

func (m *ChannelSMTP) MarshalTo(dAtA []byte) (int, error)

func (*ChannelSMTP) MarshalToSizedBuffer

func (m *ChannelSMTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelSMTP) ProtoMessage

func (*ChannelSMTP) ProtoMessage()

func (*ChannelSMTP) Reset

func (m *ChannelSMTP) Reset()

func (*ChannelSMTP) Size

func (m *ChannelSMTP) Size() (n int)

func (*ChannelSMTP) String

func (this *ChannelSMTP) String() string

func (ChannelSMTP) SwaggerDoc

func (ChannelSMTP) SwaggerDoc() map[string]string

func (*ChannelSMTP) Unmarshal

func (m *ChannelSMTP) Unmarshal(dAtA []byte) error

func (*ChannelSMTP) XXX_DiscardUnknown

func (m *ChannelSMTP) XXX_DiscardUnknown()

func (*ChannelSMTP) XXX_Marshal

func (m *ChannelSMTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelSMTP) XXX_Merge

func (m *ChannelSMTP) XXX_Merge(src proto.Message)

func (*ChannelSMTP) XXX_Size

func (m *ChannelSMTP) XXX_Size() int

func (*ChannelSMTP) XXX_Unmarshal

func (m *ChannelSMTP) XXX_Unmarshal(b []byte) error

type ChannelSpec

type ChannelSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// +optional
	Finalizers  []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"`
	TenantID    string          `json:"tenantID" protobuf:"bytes,2,opt,name=tenantID"`
	DisplayName string          `json:"displayName" protobuf:"bytes,3,opt,name=displayName"`
	// +optional
	TencentCloudSMS *ChannelTencentCloudSMS `json:"tencentCloudSMS,omitempty" protobuf:"bytes,4,opt,name=tencentCloudSMS"`
	// +optional
	Wechat *ChannelWechat `json:"wechat,omitempty" protobuf:"bytes,5,opt,name=wechat"`
	// +optional
	SMTP *ChannelSMTP `json:"smtp,omitempty" protobuf:"bytes,6,opt,name=smtp"`
	// +optional
	Webhook *ChannelWebhook `json:"webhook,omitempty" protobuf:"bytes,7,opt,name=webhook"`
}

ChannelSpec is a description of a channel.

func (*ChannelSpec) DeepCopy

func (in *ChannelSpec) DeepCopy() *ChannelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSpec.

func (*ChannelSpec) DeepCopyInto

func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelSpec) Descriptor

func (*ChannelSpec) Descriptor() ([]byte, []int)

func (*ChannelSpec) Marshal

func (m *ChannelSpec) Marshal() (dAtA []byte, err error)

func (*ChannelSpec) MarshalTo

func (m *ChannelSpec) MarshalTo(dAtA []byte) (int, error)

func (*ChannelSpec) MarshalToSizedBuffer

func (m *ChannelSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelSpec) ProtoMessage

func (*ChannelSpec) ProtoMessage()

func (*ChannelSpec) Reset

func (m *ChannelSpec) Reset()

func (*ChannelSpec) Size

func (m *ChannelSpec) Size() (n int)

func (*ChannelSpec) String

func (this *ChannelSpec) String() string

func (ChannelSpec) SwaggerDoc

func (ChannelSpec) SwaggerDoc() map[string]string

func (*ChannelSpec) Unmarshal

func (m *ChannelSpec) Unmarshal(dAtA []byte) error

func (*ChannelSpec) XXX_DiscardUnknown

func (m *ChannelSpec) XXX_DiscardUnknown()

func (*ChannelSpec) XXX_Marshal

func (m *ChannelSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelSpec) XXX_Merge

func (m *ChannelSpec) XXX_Merge(src proto.Message)

func (*ChannelSpec) XXX_Size

func (m *ChannelSpec) XXX_Size() int

func (*ChannelSpec) XXX_Unmarshal

func (m *ChannelSpec) XXX_Unmarshal(b []byte) error

type ChannelStatus

type ChannelStatus struct {
	// +optional
	Phase ChannelPhase `json:"phase,omitempty" protobuf:"bytes,3,opt,name=phase,casttype=ChannelPhase"`
}

ChannelStatus represents information about the status of a cluster.

func (*ChannelStatus) DeepCopy

func (in *ChannelStatus) DeepCopy() *ChannelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelStatus.

func (*ChannelStatus) DeepCopyInto

func (in *ChannelStatus) DeepCopyInto(out *ChannelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelStatus) Descriptor

func (*ChannelStatus) Descriptor() ([]byte, []int)

func (*ChannelStatus) Marshal

func (m *ChannelStatus) Marshal() (dAtA []byte, err error)

func (*ChannelStatus) MarshalTo

func (m *ChannelStatus) MarshalTo(dAtA []byte) (int, error)

func (*ChannelStatus) MarshalToSizedBuffer

func (m *ChannelStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelStatus) ProtoMessage

func (*ChannelStatus) ProtoMessage()

func (*ChannelStatus) Reset

func (m *ChannelStatus) Reset()

func (*ChannelStatus) Size

func (m *ChannelStatus) Size() (n int)

func (*ChannelStatus) String

func (this *ChannelStatus) String() string

func (ChannelStatus) SwaggerDoc

func (ChannelStatus) SwaggerDoc() map[string]string

func (*ChannelStatus) Unmarshal

func (m *ChannelStatus) Unmarshal(dAtA []byte) error

func (*ChannelStatus) XXX_DiscardUnknown

func (m *ChannelStatus) XXX_DiscardUnknown()

func (*ChannelStatus) XXX_Marshal

func (m *ChannelStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelStatus) XXX_Merge

func (m *ChannelStatus) XXX_Merge(src proto.Message)

func (*ChannelStatus) XXX_Size

func (m *ChannelStatus) XXX_Size() int

func (*ChannelStatus) XXX_Unmarshal

func (m *ChannelStatus) XXX_Unmarshal(b []byte) error

type ChannelTencentCloudSMS

type ChannelTencentCloudSMS struct {
	AppKey   string `json:"appKey" protobuf:"bytes,1,opt,name=appKey"`
	SdkAppID string `json:"sdkAppID" protobuf:"bytes,2,opt,name=sdkAppID"`
	// +optional
	Extend string `json:"extend,omitempty" protobuf:"bytes,3,opt,name=extend"`
}

ChannelTencentCloudSMS indicates the channel configuration for sending messages using Tencent Cloud SMS Gateway. See: https://cloud.tencent.com/document/product/382/5976

func (*ChannelTencentCloudSMS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelTencentCloudSMS.

func (*ChannelTencentCloudSMS) DeepCopyInto

func (in *ChannelTencentCloudSMS) DeepCopyInto(out *ChannelTencentCloudSMS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelTencentCloudSMS) Descriptor

func (*ChannelTencentCloudSMS) Descriptor() ([]byte, []int)

func (*ChannelTencentCloudSMS) Marshal

func (m *ChannelTencentCloudSMS) Marshal() (dAtA []byte, err error)

func (*ChannelTencentCloudSMS) MarshalTo

func (m *ChannelTencentCloudSMS) MarshalTo(dAtA []byte) (int, error)

func (*ChannelTencentCloudSMS) MarshalToSizedBuffer

func (m *ChannelTencentCloudSMS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelTencentCloudSMS) ProtoMessage

func (*ChannelTencentCloudSMS) ProtoMessage()

func (*ChannelTencentCloudSMS) Reset

func (m *ChannelTencentCloudSMS) Reset()

func (*ChannelTencentCloudSMS) Size

func (m *ChannelTencentCloudSMS) Size() (n int)

func (*ChannelTencentCloudSMS) String

func (this *ChannelTencentCloudSMS) String() string

func (ChannelTencentCloudSMS) SwaggerDoc

func (ChannelTencentCloudSMS) SwaggerDoc() map[string]string

func (*ChannelTencentCloudSMS) Unmarshal

func (m *ChannelTencentCloudSMS) Unmarshal(dAtA []byte) error

func (*ChannelTencentCloudSMS) XXX_DiscardUnknown

func (m *ChannelTencentCloudSMS) XXX_DiscardUnknown()

func (*ChannelTencentCloudSMS) XXX_Marshal

func (m *ChannelTencentCloudSMS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelTencentCloudSMS) XXX_Merge

func (m *ChannelTencentCloudSMS) XXX_Merge(src proto.Message)

func (*ChannelTencentCloudSMS) XXX_Size

func (m *ChannelTencentCloudSMS) XXX_Size() int

func (*ChannelTencentCloudSMS) XXX_Unmarshal

func (m *ChannelTencentCloudSMS) XXX_Unmarshal(b []byte) error

type ChannelWebhook

type ChannelWebhook struct {
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// +optional
	Headers map[string]string `json:"headers" protobuf:"bytes,2,opt,name=headers"`
}

ChannelWebhook indicates a channel configuration for sending notifications to the webhook server.

func (*ChannelWebhook) DeepCopy

func (in *ChannelWebhook) DeepCopy() *ChannelWebhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebhook.

func (*ChannelWebhook) DeepCopyInto

func (in *ChannelWebhook) DeepCopyInto(out *ChannelWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelWebhook) Descriptor

func (*ChannelWebhook) Descriptor() ([]byte, []int)

func (*ChannelWebhook) Marshal

func (m *ChannelWebhook) Marshal() (dAtA []byte, err error)

func (*ChannelWebhook) MarshalTo

func (m *ChannelWebhook) MarshalTo(dAtA []byte) (int, error)

func (*ChannelWebhook) MarshalToSizedBuffer

func (m *ChannelWebhook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelWebhook) ProtoMessage

func (*ChannelWebhook) ProtoMessage()

func (*ChannelWebhook) Reset

func (m *ChannelWebhook) Reset()

func (*ChannelWebhook) Size

func (m *ChannelWebhook) Size() (n int)

func (*ChannelWebhook) String

func (this *ChannelWebhook) String() string

func (ChannelWebhook) SwaggerDoc

func (ChannelWebhook) SwaggerDoc() map[string]string

func (*ChannelWebhook) Unmarshal

func (m *ChannelWebhook) Unmarshal(dAtA []byte) error

func (*ChannelWebhook) XXX_DiscardUnknown

func (m *ChannelWebhook) XXX_DiscardUnknown()

func (*ChannelWebhook) XXX_Marshal

func (m *ChannelWebhook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelWebhook) XXX_Merge

func (m *ChannelWebhook) XXX_Merge(src proto.Message)

func (*ChannelWebhook) XXX_Size

func (m *ChannelWebhook) XXX_Size() int

func (*ChannelWebhook) XXX_Unmarshal

func (m *ChannelWebhook) XXX_Unmarshal(b []byte) error

type ChannelWechat

type ChannelWechat struct {
	// AppID indicates the unique credentials of the third-party user.
	// See https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183
	AppID     string `json:"appID" protobuf:"bytes,1,opt,name=appID"`
	AppSecret string `json:"appSecret" protobuf:"bytes,2,opt,name=appSecret"`
}

ChannelWechat indicates a channel configuration for sending template notifications using WeChat.

func (*ChannelWechat) DeepCopy

func (in *ChannelWechat) DeepCopy() *ChannelWechat

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWechat.

func (*ChannelWechat) DeepCopyInto

func (in *ChannelWechat) DeepCopyInto(out *ChannelWechat)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChannelWechat) Descriptor

func (*ChannelWechat) Descriptor() ([]byte, []int)

func (*ChannelWechat) Marshal

func (m *ChannelWechat) Marshal() (dAtA []byte, err error)

func (*ChannelWechat) MarshalTo

func (m *ChannelWechat) MarshalTo(dAtA []byte) (int, error)

func (*ChannelWechat) MarshalToSizedBuffer

func (m *ChannelWechat) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelWechat) ProtoMessage

func (*ChannelWechat) ProtoMessage()

func (*ChannelWechat) Reset

func (m *ChannelWechat) Reset()

func (*ChannelWechat) Size

func (m *ChannelWechat) Size() (n int)

func (*ChannelWechat) String

func (this *ChannelWechat) String() string

func (ChannelWechat) SwaggerDoc

func (ChannelWechat) SwaggerDoc() map[string]string

func (*ChannelWechat) Unmarshal

func (m *ChannelWechat) Unmarshal(dAtA []byte) error

func (*ChannelWechat) XXX_DiscardUnknown

func (m *ChannelWechat) XXX_DiscardUnknown()

func (*ChannelWechat) XXX_Marshal

func (m *ChannelWechat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelWechat) XXX_Merge

func (m *ChannelWechat) XXX_Merge(src proto.Message)

func (*ChannelWechat) XXX_Size

func (m *ChannelWechat) XXX_Size() int

func (*ChannelWechat) XXX_Unmarshal

func (m *ChannelWechat) XXX_Unmarshal(b []byte) error

type ConfigMap

type ConfigMap struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`

	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// +optional
	BinaryData map[string][]byte `json:"binaryData,omitempty" protobuf:"bytes,3,rep,name=binaryData"`
}

ConfigMap holds configuration data for tke to consume.

func (*ConfigMap) DeepCopy

func (in *ConfigMap) DeepCopy() *ConfigMap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.

func (*ConfigMap) DeepCopyInto

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMap) DeepCopyObject

func (in *ConfigMap) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConfigMap) Descriptor

func (*ConfigMap) Descriptor() ([]byte, []int)

func (*ConfigMap) Marshal

func (m *ConfigMap) Marshal() (dAtA []byte, err error)

func (*ConfigMap) MarshalTo

func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMap) MarshalToSizedBuffer

func (m *ConfigMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset

func (m *ConfigMap) Reset()

func (*ConfigMap) Size

func (m *ConfigMap) Size() (n int)

func (*ConfigMap) String

func (this *ConfigMap) String() string

func (ConfigMap) SwaggerDoc

func (ConfigMap) SwaggerDoc() map[string]string

func (*ConfigMap) Unmarshal

func (m *ConfigMap) Unmarshal(dAtA []byte) error

func (*ConfigMap) XXX_DiscardUnknown

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigMapList

type ConfigMapList struct {
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ConfigMaps.
	Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ConfigMapList is a resource containing a list of ConfigMap objects.

func (*ConfigMapList) DeepCopy

func (in *ConfigMapList) DeepCopy() *ConfigMapList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.

func (*ConfigMapList) DeepCopyInto

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMapList) DeepCopyObject

func (in *ConfigMapList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConfigMapList) Descriptor

func (*ConfigMapList) Descriptor() ([]byte, []int)

func (*ConfigMapList) Marshal

func (m *ConfigMapList) Marshal() (dAtA []byte, err error)

func (*ConfigMapList) MarshalTo

func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapList) MarshalToSizedBuffer

func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapList) ProtoMessage

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) Reset

func (m *ConfigMapList) Reset()

func (*ConfigMapList) Size

func (m *ConfigMapList) Size() (n int)

func (*ConfigMapList) String

func (this *ConfigMapList) String() string

func (ConfigMapList) SwaggerDoc

func (ConfigMapList) SwaggerDoc() map[string]string

func (*ConfigMapList) Unmarshal

func (m *ConfigMapList) Unmarshal(dAtA []byte) error

func (*ConfigMapList) XXX_DiscardUnknown

func (m *ConfigMapList) XXX_DiscardUnknown()

func (*ConfigMapList) XXX_Marshal

func (m *ConfigMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapList) XXX_Merge

func (m *ConfigMapList) XXX_Merge(src proto.Message)

func (*ConfigMapList) XXX_Size

func (m *ConfigMapList) XXX_Size() int

func (*ConfigMapList) XXX_Unmarshal

func (m *ConfigMapList) XXX_Unmarshal(b []byte) error

type FinalizerName

type FinalizerName string

FinalizerName is the name identifying a finalizer during channel lifecycle.

const (
	// ChannelFinalize is an internal finalizer values to Channel.
	ChannelFinalize FinalizerName = "channel"
)

type Message

type Message struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec defines the desired message.
	// +optional
	Spec MessageSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status MessageStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Message indicates a message in the notification system.

func (*Message) DeepCopy

func (in *Message) DeepCopy() *Message

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Message.

func (*Message) DeepCopyInto

func (in *Message) DeepCopyInto(out *Message)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Message) DeepCopyObject

func (in *Message) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Message) Descriptor

func (*Message) Descriptor() ([]byte, []int)

func (*Message) Marshal

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) MarshalToSizedBuffer

func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

func (m *Message) Size() (n int)

func (*Message) String

func (this *Message) String() string

func (Message) SwaggerDoc

func (Message) SwaggerDoc() map[string]string

func (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) error

type MessageList

type MessageList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of messages.
	Items []Message `json:"items" protobuf:"bytes,2,rep,name=items"`
}

MessageList is the whole list of all message which owned by a tenant.

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.

func (*MessageList) Descriptor

func (*MessageList) Descriptor() ([]byte, []int)

func (*MessageList) Marshal

func (m *MessageList) Marshal() (dAtA []byte, err error)

func (*MessageList) MarshalTo

func (m *MessageList) MarshalTo(dAtA []byte) (int, error)

func (*MessageList) MarshalToSizedBuffer

func (m *MessageList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageList) ProtoMessage

func (*MessageList) ProtoMessage()

func (*MessageList) Reset

func (m *MessageList) Reset()

func (*MessageList) Size

func (m *MessageList) Size() (n int)

func (*MessageList) String

func (this *MessageList) String() string

func (MessageList) SwaggerDoc

func (MessageList) SwaggerDoc() map[string]string

func (*MessageList) Unmarshal

func (m *MessageList) Unmarshal(dAtA []byte) error

func (*MessageList) XXX_DiscardUnknown

func (m *MessageList) XXX_DiscardUnknown()

func (*MessageList) XXX_Marshal

func (m *MessageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageList) XXX_Merge

func (m *MessageList) XXX_Merge(src proto.Message)

func (*MessageList) XXX_Size

func (m *MessageList) XXX_Size() int

func (*MessageList) XXX_Unmarshal

func (m *MessageList) XXX_Unmarshal(b []byte) error

type MessagePhase

type MessagePhase string

MessagePhase indicates the status of message.

const (
	// MessageUnread indicates that the message has not been read by the receiver.
	MessageUnread MessagePhase = "Unread"
	// MessageRead indicates that the recipient has read the message.
	MessageRead MessagePhase = "Read"
)

These are valid status of message.

type MessageRequest

type MessageRequest struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec defines the desired message.
	// +optional
	Spec MessageRequestSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status MessageRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

MessageRequest represents a message sending request, which may include multiple recipients and multiple receiving groups.

func (*MessageRequest) DeepCopy

func (in *MessageRequest) DeepCopy() *MessageRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageRequest.

func (*MessageRequest) DeepCopyInto

func (in *MessageRequest) DeepCopyInto(out *MessageRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MessageRequest) DeepCopyObject

func (in *MessageRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MessageRequest) Descriptor

func (*MessageRequest) Descriptor() ([]byte, []int)

func (*MessageRequest) Marshal

func (m *MessageRequest) Marshal() (dAtA []byte, err error)

func (*MessageRequest) MarshalTo

func (m *MessageRequest) MarshalTo(dAtA []byte) (int, error)

func (*MessageRequest) MarshalToSizedBuffer

func (m *MessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageRequest) ProtoMessage

func (*MessageRequest) ProtoMessage()

func (*MessageRequest) Reset

func (m *MessageRequest) Reset()

func (*MessageRequest) Size

func (m *MessageRequest) Size() (n int)

func (*MessageRequest) String

func (this *MessageRequest) String() string

func (MessageRequest) SwaggerDoc

func (MessageRequest) SwaggerDoc() map[string]string

func (*MessageRequest) Unmarshal

func (m *MessageRequest) Unmarshal(dAtA []byte) error

func (*MessageRequest) XXX_DiscardUnknown

func (m *MessageRequest) XXX_DiscardUnknown()

func (*MessageRequest) XXX_Marshal

func (m *MessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageRequest) XXX_Merge

func (m *MessageRequest) XXX_Merge(src proto.Message)

func (*MessageRequest) XXX_Size

func (m *MessageRequest) XXX_Size() int

func (*MessageRequest) XXX_Unmarshal

func (m *MessageRequest) XXX_Unmarshal(b []byte) error

type MessageRequestList

type MessageRequestList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of message requests.
	Items []MessageRequest `json:"items" protobuf:"bytes,2,rep,name=items"`
}

MessageRequestList is the whole list of all message which owned by a tenant.

func (*MessageRequestList) DeepCopy

func (in *MessageRequestList) DeepCopy() *MessageRequestList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageRequestList.

func (*MessageRequestList) DeepCopyInto

func (in *MessageRequestList) DeepCopyInto(out *MessageRequestList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MessageRequestList) DeepCopyObject

func (in *MessageRequestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MessageRequestList) Descriptor

func (*MessageRequestList) Descriptor() ([]byte, []int)

func (*MessageRequestList) Marshal

func (m *MessageRequestList) Marshal() (dAtA []byte, err error)

func (*MessageRequestList) MarshalTo

func (m *MessageRequestList) MarshalTo(dAtA []byte) (int, error)

func (*MessageRequestList) MarshalToSizedBuffer

func (m *MessageRequestList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageRequestList) ProtoMessage

func (*MessageRequestList) ProtoMessage()

func (*MessageRequestList) Reset

func (m *MessageRequestList) Reset()

func (*MessageRequestList) Size

func (m *MessageRequestList) Size() (n int)

func (*MessageRequestList) String

func (this *MessageRequestList) String() string

func (MessageRequestList) SwaggerDoc

func (MessageRequestList) SwaggerDoc() map[string]string

func (*MessageRequestList) Unmarshal

func (m *MessageRequestList) Unmarshal(dAtA []byte) error

func (*MessageRequestList) XXX_DiscardUnknown

func (m *MessageRequestList) XXX_DiscardUnknown()

func (*MessageRequestList) XXX_Marshal

func (m *MessageRequestList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageRequestList) XXX_Merge

func (m *MessageRequestList) XXX_Merge(src proto.Message)

func (*MessageRequestList) XXX_Size

func (m *MessageRequestList) XXX_Size() int

func (*MessageRequestList) XXX_Unmarshal

func (m *MessageRequestList) XXX_Unmarshal(b []byte) error

type MessageRequestPhase

type MessageRequestPhase string

MessageRequestPhase indicates the status of message request.

const (
	// MessageRequestPending indicates that the message request has been declared, when the message
	// has not actually been sent.
	MessageRequestPending MessageRequestPhase = "Pending"
	// MessageRequestSending indicated the message is sending.
	MessageRequestSending MessageRequestPhase = "Sending"
	// MessageRequestSent indicates the message has been sent.
	MessageRequestSent MessageRequestPhase = "Sent"
	// MessageRequestFailed indicates that the message failed to be sent.
	MessageRequestFailed MessageRequestPhase = "Failed"
	// MessageRequestPartialFailure indicates that the partial failure to sent.
	MessageRequestPartialFailure MessageRequestPhase = "PartialFailure"
)

These are valid status of message request.

type MessageRequestSpec

type MessageRequestSpec struct {
	TenantID     string `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	TemplateName string `json:"templateName" protobuf:"bytes,2,opt,name=templateName"`
	// +optional
	Receivers []string `json:"receivers,omitempty" protobuf:"bytes,3,opt,name=receivers"`
	// +optional
	ReceiverGroups []string `json:"receiverGroups,omitempty" protobuf:"bytes,4,opt,name=receiverGroups"`
	// +optional
	Variables map[string]string `json:"variables,omitempty" protobuf:"bytes,5,rep,name=variables"`
}

MessageRequestSpec is a description of a message request.

func (*MessageRequestSpec) DeepCopy

func (in *MessageRequestSpec) DeepCopy() *MessageRequestSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageRequestSpec.

func (*MessageRequestSpec) DeepCopyInto

func (in *MessageRequestSpec) DeepCopyInto(out *MessageRequestSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MessageRequestSpec) Descriptor

func (*MessageRequestSpec) Descriptor() ([]byte, []int)

func (*MessageRequestSpec) Marshal

func (m *MessageRequestSpec) Marshal() (dAtA []byte, err error)

func (*MessageRequestSpec) MarshalTo

func (m *MessageRequestSpec) MarshalTo(dAtA []byte) (int, error)

func (*MessageRequestSpec) MarshalToSizedBuffer

func (m *MessageRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageRequestSpec) ProtoMessage

func (*MessageRequestSpec) ProtoMessage()

func (*MessageRequestSpec) Reset

func (m *MessageRequestSpec) Reset()

func (*MessageRequestSpec) Size

func (m *MessageRequestSpec) Size() (n int)

func (*MessageRequestSpec) String

func (this *MessageRequestSpec) String() string

func (MessageRequestSpec) SwaggerDoc

func (MessageRequestSpec) SwaggerDoc() map[string]string

func (*MessageRequestSpec) Unmarshal

func (m *MessageRequestSpec) Unmarshal(dAtA []byte) error

func (*MessageRequestSpec) XXX_DiscardUnknown

func (m *MessageRequestSpec) XXX_DiscardUnknown()

func (*MessageRequestSpec) XXX_Marshal

func (m *MessageRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageRequestSpec) XXX_Merge

func (m *MessageRequestSpec) XXX_Merge(src proto.Message)

func (*MessageRequestSpec) XXX_Size

func (m *MessageRequestSpec) XXX_Size() int

func (*MessageRequestSpec) XXX_Unmarshal

func (m *MessageRequestSpec) XXX_Unmarshal(b []byte) error

type MessageRequestStatus

type MessageRequestStatus struct {
	// +optional
	Phase MessageRequestPhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=MessagePhase"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,2,opt,name=lastTransitionTime"`
	// A human readable message indicating details about the transition.
	// +optional
	Errors map[string]string `json:"errors,omitempty" protobuf:"bytes,3,rep,name=errors"`

	//alert's status in notification sending from alertmanager
	AlertStatus string `json:"alertStatus,omitempty" protobuf:"bytes,4,opts,name=alertStatus"`
}

MessageRequestStatus represents information about the status of a message request.

func (*MessageRequestStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageRequestStatus.

func (*MessageRequestStatus) DeepCopyInto

func (in *MessageRequestStatus) DeepCopyInto(out *MessageRequestStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MessageRequestStatus) Descriptor

func (*MessageRequestStatus) Descriptor() ([]byte, []int)

func (*MessageRequestStatus) Marshal

func (m *MessageRequestStatus) Marshal() (dAtA []byte, err error)

func (*MessageRequestStatus) MarshalTo

func (m *MessageRequestStatus) MarshalTo(dAtA []byte) (int, error)

func (*MessageRequestStatus) MarshalToSizedBuffer

func (m *MessageRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageRequestStatus) ProtoMessage

func (*MessageRequestStatus) ProtoMessage()

func (*MessageRequestStatus) Reset

func (m *MessageRequestStatus) Reset()

func (*MessageRequestStatus) Size

func (m *MessageRequestStatus) Size() (n int)

func (*MessageRequestStatus) String

func (this *MessageRequestStatus) String() string

func (MessageRequestStatus) SwaggerDoc

func (MessageRequestStatus) SwaggerDoc() map[string]string

func (*MessageRequestStatus) Unmarshal

func (m *MessageRequestStatus) Unmarshal(dAtA []byte) error

func (*MessageRequestStatus) XXX_DiscardUnknown

func (m *MessageRequestStatus) XXX_DiscardUnknown()

func (*MessageRequestStatus) XXX_Marshal

func (m *MessageRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageRequestStatus) XXX_Merge

func (m *MessageRequestStatus) XXX_Merge(src proto.Message)

func (*MessageRequestStatus) XXX_Size

func (m *MessageRequestStatus) XXX_Size() int

func (*MessageRequestStatus) XXX_Unmarshal

func (m *MessageRequestStatus) XXX_Unmarshal(b []byte) error

type MessageSpec

type MessageSpec struct {
	TenantID        string          `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	ReceiverName    string          `json:"receiverName" protobuf:"bytes,2,opt,name=receiverName"`
	ReceiverChannel ReceiverChannel `json:"receiverChannel" protobuf:"bytes,3,opt,name=receiverChannel,casttype=ReceiverChannel"`
	Identity        string          `json:"identity" protobuf:"bytes,4,opt,name=identity"`
	// +optional
	Username string `json:"username,omitempty" protobuf:"bytes,5,opt,name=username"`
	// +optional
	Header string `json:"header,omitempty" protobuf:"bytes,6,opt,name=header"`
	// +optional
	Body string `json:"body,omitempty" protobuf:"bytes,7,opt,name=body"`
	// +optional
	ChannelMessageID string `json:"channelMessageID,omitempty" protobuf:"bytes,8,opt,name=channelMessageID"`
	// +optional
	AlarmPolicyName string `json:"alarmPolicyName,omitempty" protobuf:"bytes,9,opt,name=alarmPolicyName"`
	// +optional
	AlarmPolicyType string `json:"alarmPolicyType,omitempty" protobuf:"bytes,10,opt,name=alarmPolicyType"`
	// +optional
	ReceiverChannelName string `json:"receiverChannelName,omitempty" protobuf:"bytes,11,opt,name=receiverChannelName"`
	// +optional
	ClusterID string `json:"clusterID,omitempty" protobuf:"bytes,12,opt,name=clusterID"`
}

MessageSpec is a description of a message.

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.

func (*MessageSpec) Descriptor

func (*MessageSpec) Descriptor() ([]byte, []int)

func (*MessageSpec) Marshal

func (m *MessageSpec) Marshal() (dAtA []byte, err error)

func (*MessageSpec) MarshalTo

func (m *MessageSpec) MarshalTo(dAtA []byte) (int, error)

func (*MessageSpec) MarshalToSizedBuffer

func (m *MessageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageSpec) ProtoMessage

func (*MessageSpec) ProtoMessage()

func (*MessageSpec) Reset

func (m *MessageSpec) Reset()

func (*MessageSpec) Size

func (m *MessageSpec) Size() (n int)

func (*MessageSpec) String

func (this *MessageSpec) String() string

func (MessageSpec) SwaggerDoc

func (MessageSpec) SwaggerDoc() map[string]string

func (*MessageSpec) Unmarshal

func (m *MessageSpec) Unmarshal(dAtA []byte) error

func (*MessageSpec) XXX_DiscardUnknown

func (m *MessageSpec) XXX_DiscardUnknown()

func (*MessageSpec) XXX_Marshal

func (m *MessageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageSpec) XXX_Merge

func (m *MessageSpec) XXX_Merge(src proto.Message)

func (*MessageSpec) XXX_Size

func (m *MessageSpec) XXX_Size() int

func (*MessageSpec) XXX_Unmarshal

func (m *MessageSpec) XXX_Unmarshal(b []byte) error

type MessageStatus

type MessageStatus struct {
	// +optional
	Phase MessagePhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=MessagePhase"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,2,opt,name=lastTransitionTime"`

	// alert's status in notification sending from alertmanager
	AlertStatus string `json:"alertStatus,omitempty" protobuf:"bytes,3,opts,name=alertStatus"`
}

MessageStatus represents information about the status of a message.

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.

func (*MessageStatus) Descriptor

func (*MessageStatus) Descriptor() ([]byte, []int)

func (*MessageStatus) Marshal

func (m *MessageStatus) Marshal() (dAtA []byte, err error)

func (*MessageStatus) MarshalTo

func (m *MessageStatus) MarshalTo(dAtA []byte) (int, error)

func (*MessageStatus) MarshalToSizedBuffer

func (m *MessageStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageStatus) ProtoMessage

func (*MessageStatus) ProtoMessage()

func (*MessageStatus) Reset

func (m *MessageStatus) Reset()

func (*MessageStatus) Size

func (m *MessageStatus) Size() (n int)

func (*MessageStatus) String

func (this *MessageStatus) String() string

func (MessageStatus) SwaggerDoc

func (MessageStatus) SwaggerDoc() map[string]string

func (*MessageStatus) Unmarshal

func (m *MessageStatus) Unmarshal(dAtA []byte) error

func (*MessageStatus) XXX_DiscardUnknown

func (m *MessageStatus) XXX_DiscardUnknown()

func (*MessageStatus) XXX_Marshal

func (m *MessageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageStatus) XXX_Merge

func (m *MessageStatus) XXX_Merge(src proto.Message)

func (*MessageStatus) XXX_Size

func (m *MessageStatus) XXX_Size() int

func (*MessageStatus) XXX_Unmarshal

func (m *MessageStatus) XXX_Unmarshal(b []byte) error

type Receiver

type Receiver struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec defines the desired receiver.
	// +optional
	Spec ReceiverSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Receiver indicates a message notification recipient, usually representing a user in the user system or a webhook service address.

func (*Receiver) DeepCopy

func (in *Receiver) DeepCopy() *Receiver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Receiver.

func (*Receiver) DeepCopyInto

func (in *Receiver) DeepCopyInto(out *Receiver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Receiver) DeepCopyObject

func (in *Receiver) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Receiver) Descriptor

func (*Receiver) Descriptor() ([]byte, []int)

func (*Receiver) Marshal

func (m *Receiver) Marshal() (dAtA []byte, err error)

func (*Receiver) MarshalTo

func (m *Receiver) MarshalTo(dAtA []byte) (int, error)

func (*Receiver) MarshalToSizedBuffer

func (m *Receiver) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Receiver) ProtoMessage

func (*Receiver) ProtoMessage()

func (*Receiver) Reset

func (m *Receiver) Reset()

func (*Receiver) Size

func (m *Receiver) Size() (n int)

func (*Receiver) String

func (this *Receiver) String() string

func (Receiver) SwaggerDoc

func (Receiver) SwaggerDoc() map[string]string

func (*Receiver) Unmarshal

func (m *Receiver) Unmarshal(dAtA []byte) error

func (*Receiver) XXX_DiscardUnknown

func (m *Receiver) XXX_DiscardUnknown()

func (*Receiver) XXX_Marshal

func (m *Receiver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Receiver) XXX_Merge

func (m *Receiver) XXX_Merge(src proto.Message)

func (*Receiver) XXX_Size

func (m *Receiver) XXX_Size() int

func (*Receiver) XXX_Unmarshal

func (m *Receiver) XXX_Unmarshal(b []byte) error

type ReceiverChannel

type ReceiverChannel string

ReceiverChannel is the name identifying various channel in a receiver.

const (
	// ReceiverChannelMobile represents the mobile of receiver.
	ReceiverChannelMobile ReceiverChannel = "mobile"
	// ReceiverChannelEmail represents the email address of receiver.
	ReceiverChannelEmail ReceiverChannel = "email"
	// ReceiverChannelWechatOpenID represents the openid for wechat of receiver.
	ReceiverChannelWechatOpenID ReceiverChannel = "wechat_openid"
	// ReceiverChannelWebhook only indicates channel type webhook
	ReceiverChannelWebhook ReceiverChannel = "webhook"
)

type ReceiverGroup

type ReceiverGroup struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec defines the desired receiver group.
	// +optional
	Spec ReceiverGroupSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

ReceiverGroup indicates multiple message recipients.

func (*ReceiverGroup) DeepCopy

func (in *ReceiverGroup) DeepCopy() *ReceiverGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReceiverGroup.

func (*ReceiverGroup) DeepCopyInto

func (in *ReceiverGroup) DeepCopyInto(out *ReceiverGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReceiverGroup) DeepCopyObject

func (in *ReceiverGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ReceiverGroup) Descriptor

func (*ReceiverGroup) Descriptor() ([]byte, []int)

func (*ReceiverGroup) Marshal

func (m *ReceiverGroup) Marshal() (dAtA []byte, err error)

func (*ReceiverGroup) MarshalTo

func (m *ReceiverGroup) MarshalTo(dAtA []byte) (int, error)

func (*ReceiverGroup) MarshalToSizedBuffer

func (m *ReceiverGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReceiverGroup) ProtoMessage

func (*ReceiverGroup) ProtoMessage()

func (*ReceiverGroup) Reset

func (m *ReceiverGroup) Reset()

func (*ReceiverGroup) Size

func (m *ReceiverGroup) Size() (n int)

func (*ReceiverGroup) String

func (this *ReceiverGroup) String() string

func (ReceiverGroup) SwaggerDoc

func (ReceiverGroup) SwaggerDoc() map[string]string

func (*ReceiverGroup) Unmarshal

func (m *ReceiverGroup) Unmarshal(dAtA []byte) error

func (*ReceiverGroup) XXX_DiscardUnknown

func (m *ReceiverGroup) XXX_DiscardUnknown()

func (*ReceiverGroup) XXX_Marshal

func (m *ReceiverGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiverGroup) XXX_Merge

func (m *ReceiverGroup) XXX_Merge(src proto.Message)

func (*ReceiverGroup) XXX_Size

func (m *ReceiverGroup) XXX_Size() int

func (*ReceiverGroup) XXX_Unmarshal

func (m *ReceiverGroup) XXX_Unmarshal(b []byte) error

type ReceiverGroupList

type ReceiverGroupList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of receiver groups.
	Items []ReceiverGroup `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ReceiverGroupList is the whole list of all receiver which owned by a tenant.

func (*ReceiverGroupList) DeepCopy

func (in *ReceiverGroupList) DeepCopy() *ReceiverGroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReceiverGroupList.

func (*ReceiverGroupList) DeepCopyInto

func (in *ReceiverGroupList) DeepCopyInto(out *ReceiverGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReceiverGroupList) DeepCopyObject

func (in *ReceiverGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ReceiverGroupList) Descriptor

func (*ReceiverGroupList) Descriptor() ([]byte, []int)

func (*ReceiverGroupList) Marshal

func (m *ReceiverGroupList) Marshal() (dAtA []byte, err error)

func (*ReceiverGroupList) MarshalTo

func (m *ReceiverGroupList) MarshalTo(dAtA []byte) (int, error)

func (*ReceiverGroupList) MarshalToSizedBuffer

func (m *ReceiverGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReceiverGroupList) ProtoMessage

func (*ReceiverGroupList) ProtoMessage()

func (*ReceiverGroupList) Reset

func (m *ReceiverGroupList) Reset()

func (*ReceiverGroupList) Size

func (m *ReceiverGroupList) Size() (n int)

func (*ReceiverGroupList) String

func (this *ReceiverGroupList) String() string

func (ReceiverGroupList) SwaggerDoc

func (ReceiverGroupList) SwaggerDoc() map[string]string

func (*ReceiverGroupList) Unmarshal

func (m *ReceiverGroupList) Unmarshal(dAtA []byte) error

func (*ReceiverGroupList) XXX_DiscardUnknown

func (m *ReceiverGroupList) XXX_DiscardUnknown()

func (*ReceiverGroupList) XXX_Marshal

func (m *ReceiverGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiverGroupList) XXX_Merge

func (m *ReceiverGroupList) XXX_Merge(src proto.Message)

func (*ReceiverGroupList) XXX_Size

func (m *ReceiverGroupList) XXX_Size() int

func (*ReceiverGroupList) XXX_Unmarshal

func (m *ReceiverGroupList) XXX_Unmarshal(b []byte) error

type ReceiverGroupSpec

type ReceiverGroupSpec struct {
	TenantID    string `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	DisplayName string `json:"displayName" protobuf:"bytes,2,opt,name=displayName"`
	// +optional
	Receivers []string `json:"receivers,omitempty" protobuf:"bytes,3,opt,name=receivers"`
}

ReceiverGroupSpec is a description of a receiver group.

func (*ReceiverGroupSpec) DeepCopy

func (in *ReceiverGroupSpec) DeepCopy() *ReceiverGroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReceiverGroupSpec.

func (*ReceiverGroupSpec) DeepCopyInto

func (in *ReceiverGroupSpec) DeepCopyInto(out *ReceiverGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReceiverGroupSpec) Descriptor

func (*ReceiverGroupSpec) Descriptor() ([]byte, []int)

func (*ReceiverGroupSpec) Marshal

func (m *ReceiverGroupSpec) Marshal() (dAtA []byte, err error)

func (*ReceiverGroupSpec) MarshalTo

func (m *ReceiverGroupSpec) MarshalTo(dAtA []byte) (int, error)

func (*ReceiverGroupSpec) MarshalToSizedBuffer

func (m *ReceiverGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReceiverGroupSpec) ProtoMessage

func (*ReceiverGroupSpec) ProtoMessage()

func (*ReceiverGroupSpec) Reset

func (m *ReceiverGroupSpec) Reset()

func (*ReceiverGroupSpec) Size

func (m *ReceiverGroupSpec) Size() (n int)

func (*ReceiverGroupSpec) String

func (this *ReceiverGroupSpec) String() string

func (ReceiverGroupSpec) SwaggerDoc

func (ReceiverGroupSpec) SwaggerDoc() map[string]string

func (*ReceiverGroupSpec) Unmarshal

func (m *ReceiverGroupSpec) Unmarshal(dAtA []byte) error

func (*ReceiverGroupSpec) XXX_DiscardUnknown

func (m *ReceiverGroupSpec) XXX_DiscardUnknown()

func (*ReceiverGroupSpec) XXX_Marshal

func (m *ReceiverGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiverGroupSpec) XXX_Merge

func (m *ReceiverGroupSpec) XXX_Merge(src proto.Message)

func (*ReceiverGroupSpec) XXX_Size

func (m *ReceiverGroupSpec) XXX_Size() int

func (*ReceiverGroupSpec) XXX_Unmarshal

func (m *ReceiverGroupSpec) XXX_Unmarshal(b []byte) error

type ReceiverList

type ReceiverList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of receivers.
	Items []Receiver `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ReceiverList is the whole list of all receiver which owned by a tenant.

func (*ReceiverList) DeepCopy

func (in *ReceiverList) DeepCopy() *ReceiverList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReceiverList.

func (*ReceiverList) DeepCopyInto

func (in *ReceiverList) DeepCopyInto(out *ReceiverList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReceiverList) DeepCopyObject

func (in *ReceiverList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ReceiverList) Descriptor

func (*ReceiverList) Descriptor() ([]byte, []int)

func (*ReceiverList) Marshal

func (m *ReceiverList) Marshal() (dAtA []byte, err error)

func (*ReceiverList) MarshalTo

func (m *ReceiverList) MarshalTo(dAtA []byte) (int, error)

func (*ReceiverList) MarshalToSizedBuffer

func (m *ReceiverList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReceiverList) ProtoMessage

func (*ReceiverList) ProtoMessage()

func (*ReceiverList) Reset

func (m *ReceiverList) Reset()

func (*ReceiverList) Size

func (m *ReceiverList) Size() (n int)

func (*ReceiverList) String

func (this *ReceiverList) String() string

func (ReceiverList) SwaggerDoc

func (ReceiverList) SwaggerDoc() map[string]string

func (*ReceiverList) Unmarshal

func (m *ReceiverList) Unmarshal(dAtA []byte) error

func (*ReceiverList) XXX_DiscardUnknown

func (m *ReceiverList) XXX_DiscardUnknown()

func (*ReceiverList) XXX_Marshal

func (m *ReceiverList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiverList) XXX_Merge

func (m *ReceiverList) XXX_Merge(src proto.Message)

func (*ReceiverList) XXX_Size

func (m *ReceiverList) XXX_Size() int

func (*ReceiverList) XXX_Unmarshal

func (m *ReceiverList) XXX_Unmarshal(b []byte) error

type ReceiverSpec

type ReceiverSpec struct {
	TenantID    string `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	DisplayName string `json:"displayName" protobuf:"bytes,2,opt,name=displayName"`
	// +optional
	Username string `json:"username,omitempty" protobuf:"bytes,3,opt,name=username"`
	// Identities represents the characteristics of the message recipient.
	// The hash table key represents the message delivery channel id, and the value represents
	// the user identification number in the channel.
	// For example, if it is a short message sending channel, then the value is the user's
	// mobile phone number; if it is a mail sending channel, then the value is the user's
	// email address.
	// +optional
	Identities map[ReceiverChannel]string `json:"identities,omitempty" protobuf:"bytes,4,rep,name=identities"`
}

ReceiverSpec is a description of a receiver.

func (*ReceiverSpec) DeepCopy

func (in *ReceiverSpec) DeepCopy() *ReceiverSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReceiverSpec.

func (*ReceiverSpec) DeepCopyInto

func (in *ReceiverSpec) DeepCopyInto(out *ReceiverSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReceiverSpec) Descriptor

func (*ReceiverSpec) Descriptor() ([]byte, []int)

func (*ReceiverSpec) Marshal

func (m *ReceiverSpec) Marshal() (dAtA []byte, err error)

func (*ReceiverSpec) MarshalTo

func (m *ReceiverSpec) MarshalTo(dAtA []byte) (int, error)

func (*ReceiverSpec) MarshalToSizedBuffer

func (m *ReceiverSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReceiverSpec) ProtoMessage

func (*ReceiverSpec) ProtoMessage()

func (*ReceiverSpec) Reset

func (m *ReceiverSpec) Reset()

func (*ReceiverSpec) Size

func (m *ReceiverSpec) Size() (n int)

func (*ReceiverSpec) String

func (this *ReceiverSpec) String() string

func (ReceiverSpec) SwaggerDoc

func (ReceiverSpec) SwaggerDoc() map[string]string

func (*ReceiverSpec) Unmarshal

func (m *ReceiverSpec) Unmarshal(dAtA []byte) error

func (*ReceiverSpec) XXX_DiscardUnknown

func (m *ReceiverSpec) XXX_DiscardUnknown()

func (*ReceiverSpec) XXX_Marshal

func (m *ReceiverSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiverSpec) XXX_Merge

func (m *ReceiverSpec) XXX_Merge(src proto.Message)

func (*ReceiverSpec) XXX_Size

func (m *ReceiverSpec) XXX_Size() int

func (*ReceiverSpec) XXX_Unmarshal

func (m *ReceiverSpec) XXX_Unmarshal(b []byte) error

type Template

type Template struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec defines the desired template.
	// +optional
	Spec TemplateSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Template indicates the template used to send notifications under this channel.

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Template) DeepCopyObject

func (in *Template) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Template) Descriptor

func (*Template) Descriptor() ([]byte, []int)

func (*Template) Marshal

func (m *Template) Marshal() (dAtA []byte, err error)

func (*Template) MarshalTo

func (m *Template) MarshalTo(dAtA []byte) (int, error)

func (*Template) MarshalToSizedBuffer

func (m *Template) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) Reset

func (m *Template) Reset()

func (*Template) Size

func (m *Template) Size() (n int)

func (*Template) String

func (this *Template) String() string

func (Template) SwaggerDoc

func (Template) SwaggerDoc() map[string]string

func (*Template) Unmarshal

func (m *Template) Unmarshal(dAtA []byte) error

func (*Template) XXX_DiscardUnknown

func (m *Template) XXX_DiscardUnknown()

func (*Template) XXX_Marshal

func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Template) XXX_Merge

func (m *Template) XXX_Merge(src proto.Message)

func (*Template) XXX_Size

func (m *Template) XXX_Size() int

func (*Template) XXX_Unmarshal

func (m *Template) XXX_Unmarshal(b []byte) error

type TemplateList

type TemplateList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of templates.
	Items []Template `json:"items" protobuf:"bytes,2,rep,name=items"`
}

TemplateList is the whole list of all template which owned by a channel.

func (*TemplateList) DeepCopy

func (in *TemplateList) DeepCopy() *TemplateList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateList.

func (*TemplateList) DeepCopyInto

func (in *TemplateList) DeepCopyInto(out *TemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TemplateList) DeepCopyObject

func (in *TemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*TemplateList) Descriptor

func (*TemplateList) Descriptor() ([]byte, []int)

func (*TemplateList) Marshal

func (m *TemplateList) Marshal() (dAtA []byte, err error)

func (*TemplateList) MarshalTo

func (m *TemplateList) MarshalTo(dAtA []byte) (int, error)

func (*TemplateList) MarshalToSizedBuffer

func (m *TemplateList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TemplateList) ProtoMessage

func (*TemplateList) ProtoMessage()

func (*TemplateList) Reset

func (m *TemplateList) Reset()

func (*TemplateList) Size

func (m *TemplateList) Size() (n int)

func (*TemplateList) String

func (this *TemplateList) String() string

func (TemplateList) SwaggerDoc

func (TemplateList) SwaggerDoc() map[string]string

func (*TemplateList) Unmarshal

func (m *TemplateList) Unmarshal(dAtA []byte) error

func (*TemplateList) XXX_DiscardUnknown

func (m *TemplateList) XXX_DiscardUnknown()

func (*TemplateList) XXX_Marshal

func (m *TemplateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemplateList) XXX_Merge

func (m *TemplateList) XXX_Merge(src proto.Message)

func (*TemplateList) XXX_Size

func (m *TemplateList) XXX_Size() int

func (*TemplateList) XXX_Unmarshal

func (m *TemplateList) XXX_Unmarshal(b []byte) error

type TemplateSpec

type TemplateSpec struct {
	TenantID    string `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	DisplayName string `json:"displayName" protobuf:"bytes,2,opt,name=displayName"`
	// +optional
	Keys []string `json:"keys,omitempty" protobuf:"bytes,3,opt,name=keys"`
	// +optional
	TencentCloudSMS *TemplateTencentCloudSMS `json:"tencentCloudSMS,omitempty" protobuf:"bytes,4,opt,name=tencentCloudSMS"`
	// +optional
	Wechat *TemplateWechat `json:"wechat,omitempty" protobuf:"bytes,5,opt,name=wechat"`
	// +optional
	Text *TemplateText `json:"text,omitempty" protobuf:"bytes,6,opt,name=text"`
}

TemplateSpec is a description of a template.

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TemplateSpec) Descriptor

func (*TemplateSpec) Descriptor() ([]byte, []int)

func (*TemplateSpec) Marshal

func (m *TemplateSpec) Marshal() (dAtA []byte, err error)

func (*TemplateSpec) MarshalTo

func (m *TemplateSpec) MarshalTo(dAtA []byte) (int, error)

func (*TemplateSpec) MarshalToSizedBuffer

func (m *TemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TemplateSpec) ProtoMessage

func (*TemplateSpec) ProtoMessage()

func (*TemplateSpec) Reset

func (m *TemplateSpec) Reset()

func (*TemplateSpec) Size

func (m *TemplateSpec) Size() (n int)

func (*TemplateSpec) String

func (this *TemplateSpec) String() string

func (TemplateSpec) SwaggerDoc

func (TemplateSpec) SwaggerDoc() map[string]string

func (*TemplateSpec) Unmarshal

func (m *TemplateSpec) Unmarshal(dAtA []byte) error

func (*TemplateSpec) XXX_DiscardUnknown

func (m *TemplateSpec) XXX_DiscardUnknown()

func (*TemplateSpec) XXX_Marshal

func (m *TemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemplateSpec) XXX_Merge

func (m *TemplateSpec) XXX_Merge(src proto.Message)

func (*TemplateSpec) XXX_Size

func (m *TemplateSpec) XXX_Size() int

func (*TemplateSpec) XXX_Unmarshal

func (m *TemplateSpec) XXX_Unmarshal(b []byte) error

type TemplateTencentCloudSMS

type TemplateTencentCloudSMS struct {
	TemplateID string `json:"templateID" protobuf:"bytes,1,opt,name=templateID"`
	// +optional
	Sign string `json:"sign" protobuf:"bytes,2,opt,name=sign"`
	// +optional
	Body string `json:"body,omitempty" protobuf:"bytes,3,opt,name=body"`
}

TemplateTencentCloudSMS indicates the template used when sending text messages using Tencent Cloud SMS Gateway. The template must be approved.

func (*TemplateTencentCloudSMS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateTencentCloudSMS.

func (*TemplateTencentCloudSMS) DeepCopyInto

func (in *TemplateTencentCloudSMS) DeepCopyInto(out *TemplateTencentCloudSMS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TemplateTencentCloudSMS) Descriptor

func (*TemplateTencentCloudSMS) Descriptor() ([]byte, []int)

func (*TemplateTencentCloudSMS) Marshal

func (m *TemplateTencentCloudSMS) Marshal() (dAtA []byte, err error)

func (*TemplateTencentCloudSMS) MarshalTo

func (m *TemplateTencentCloudSMS) MarshalTo(dAtA []byte) (int, error)

func (*TemplateTencentCloudSMS) MarshalToSizedBuffer

func (m *TemplateTencentCloudSMS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TemplateTencentCloudSMS) ProtoMessage

func (*TemplateTencentCloudSMS) ProtoMessage()

func (*TemplateTencentCloudSMS) Reset

func (m *TemplateTencentCloudSMS) Reset()

func (*TemplateTencentCloudSMS) Size

func (m *TemplateTencentCloudSMS) Size() (n int)

func (*TemplateTencentCloudSMS) String

func (this *TemplateTencentCloudSMS) String() string

func (TemplateTencentCloudSMS) SwaggerDoc

func (TemplateTencentCloudSMS) SwaggerDoc() map[string]string

func (*TemplateTencentCloudSMS) Unmarshal

func (m *TemplateTencentCloudSMS) Unmarshal(dAtA []byte) error

func (*TemplateTencentCloudSMS) XXX_DiscardUnknown

func (m *TemplateTencentCloudSMS) XXX_DiscardUnknown()

func (*TemplateTencentCloudSMS) XXX_Marshal

func (m *TemplateTencentCloudSMS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemplateTencentCloudSMS) XXX_Merge

func (m *TemplateTencentCloudSMS) XXX_Merge(src proto.Message)

func (*TemplateTencentCloudSMS) XXX_Size

func (m *TemplateTencentCloudSMS) XXX_Size() int

func (*TemplateTencentCloudSMS) XXX_Unmarshal

func (m *TemplateTencentCloudSMS) XXX_Unmarshal(b []byte) error

type TemplateText

type TemplateText struct {
	Body string `json:"body" protobuf:"bytes,1,opt,name=body"`
	// +optional
	Header string `json:"header,omitempty" protobuf:"bytes,2,opt,name=header"`
}

TemplateText indicates the template used to send notifications using other non-templated channels.

func (*TemplateText) DeepCopy

func (in *TemplateText) DeepCopy() *TemplateText

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateText.

func (*TemplateText) DeepCopyInto

func (in *TemplateText) DeepCopyInto(out *TemplateText)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TemplateText) Descriptor

func (*TemplateText) Descriptor() ([]byte, []int)

func (*TemplateText) Marshal

func (m *TemplateText) Marshal() (dAtA []byte, err error)

func (*TemplateText) MarshalTo

func (m *TemplateText) MarshalTo(dAtA []byte) (int, error)

func (*TemplateText) MarshalToSizedBuffer

func (m *TemplateText) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TemplateText) ProtoMessage

func (*TemplateText) ProtoMessage()

func (*TemplateText) Reset

func (m *TemplateText) Reset()

func (*TemplateText) Size

func (m *TemplateText) Size() (n int)

func (*TemplateText) String

func (this *TemplateText) String() string

func (TemplateText) SwaggerDoc

func (TemplateText) SwaggerDoc() map[string]string

func (*TemplateText) Unmarshal

func (m *TemplateText) Unmarshal(dAtA []byte) error

func (*TemplateText) XXX_DiscardUnknown

func (m *TemplateText) XXX_DiscardUnknown()

func (*TemplateText) XXX_Marshal

func (m *TemplateText) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemplateText) XXX_Merge

func (m *TemplateText) XXX_Merge(src proto.Message)

func (*TemplateText) XXX_Size

func (m *TemplateText) XXX_Size() int

func (*TemplateText) XXX_Unmarshal

func (m *TemplateText) XXX_Unmarshal(b []byte) error

type TemplateWechat

type TemplateWechat struct {
	// TemplateID indicates the template id of the template message notification.
	// See https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183
	TemplateID string `json:"templateID" protobuf:"bytes,1,opt,name=templateID"`
	// URL indicates the web address of the user who clicked the notification in WeChat.
	// +optional
	URL string `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"`
	// MiniProgramAppID indicates the unique identification number of the WeChat applet
	// that the user clicked on the notification in WeChat.
	// +optional
	MiniProgramAppID string `json:"miniProgramAppID,omitempty" protobuf:"bytes,3,opt,name=miniProgramAppID"`
	// +optional
	MiniProgramPagePath string `json:"miniProgramPagePath,omitempty" protobuf:"bytes,4,opt,name=miniProgramPagePath"`
	// +optional
	Body string `json:"body,omitempty" protobuf:"bytes,5,opt,name=body"`
}

TemplateWechat indicates the template when sending a text message using the WeChat public account. The template must be approved and registered.

func (*TemplateWechat) DeepCopy

func (in *TemplateWechat) DeepCopy() *TemplateWechat

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateWechat.

func (*TemplateWechat) DeepCopyInto

func (in *TemplateWechat) DeepCopyInto(out *TemplateWechat)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TemplateWechat) Descriptor

func (*TemplateWechat) Descriptor() ([]byte, []int)

func (*TemplateWechat) Marshal

func (m *TemplateWechat) Marshal() (dAtA []byte, err error)

func (*TemplateWechat) MarshalTo

func (m *TemplateWechat) MarshalTo(dAtA []byte) (int, error)

func (*TemplateWechat) MarshalToSizedBuffer

func (m *TemplateWechat) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TemplateWechat) ProtoMessage

func (*TemplateWechat) ProtoMessage()

func (*TemplateWechat) Reset

func (m *TemplateWechat) Reset()

func (*TemplateWechat) Size

func (m *TemplateWechat) Size() (n int)

func (*TemplateWechat) String

func (this *TemplateWechat) String() string

func (TemplateWechat) SwaggerDoc

func (TemplateWechat) SwaggerDoc() map[string]string

func (*TemplateWechat) Unmarshal

func (m *TemplateWechat) Unmarshal(dAtA []byte) error

func (*TemplateWechat) XXX_DiscardUnknown

func (m *TemplateWechat) XXX_DiscardUnknown()

func (*TemplateWechat) XXX_Marshal

func (m *TemplateWechat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemplateWechat) XXX_Merge

func (m *TemplateWechat) XXX_Merge(src proto.Message)

func (*TemplateWechat) XXX_Size

func (m *TemplateWechat) XXX_Size() int

func (*TemplateWechat) XXX_Unmarshal

func (m *TemplateWechat) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL