Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the telegram v1alpha1 API group +kubebuilder:object:generate=true +groupName=telegram.my.domain
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "telegram.my.domain", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BotMessage ¶
type BotMessage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BotMessageSpec `json:"spec,omitempty"` Status BotMessageStatus `json:"status,omitempty"` }
BotMessage is the Schema for the botmessages API
func (*BotMessage) DeepCopy ¶
func (in *BotMessage) DeepCopy() *BotMessage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BotMessage.
func (*BotMessage) DeepCopyInto ¶
func (in *BotMessage) DeepCopyInto(out *BotMessage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BotMessage) DeepCopyObject ¶
func (in *BotMessage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BotMessageConditionType ¶
type BotMessageConditionType string
var ( BotMessageSending BotMessageConditionType = "Sending" BotMessageSent BotMessageConditionType = "Sent" BotMessageError BotMessageConditionType = "Error" BotMessageNew BotMessageConditionType = "" )
type BotMessageList ¶
type BotMessageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BotMessage `json:"items"` }
BotMessageList contains a list of BotMessage
func (*BotMessageList) DeepCopy ¶
func (in *BotMessageList) DeepCopy() *BotMessageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BotMessageList.
func (*BotMessageList) DeepCopyInto ¶
func (in *BotMessageList) DeepCopyInto(out *BotMessageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BotMessageList) DeepCopyObject ¶
func (in *BotMessageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BotMessageSpec ¶
type BotMessageSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Text string `json:"text"` Image string `json:"image"` Secret v1.SecretReference `json:"secret"` }
BotMessageSpec defines the desired state of BotMessage
func (*BotMessageSpec) DeepCopy ¶
func (in *BotMessageSpec) DeepCopy() *BotMessageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BotMessageSpec.
func (*BotMessageSpec) DeepCopyInto ¶
func (in *BotMessageSpec) DeepCopyInto(out *BotMessageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BotMessageStatus ¶
type BotMessageStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Type BotMessageConditionType `json:"type"` Status metav1.ConditionStatus `json:"status"` Message string `json:"message"` Reason string `json:"reason"` }
BotMessageStatus defines the observed state of BotMessage
func (*BotMessageStatus) DeepCopy ¶
func (in *BotMessageStatus) DeepCopy() *BotMessageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BotMessageStatus.
func (*BotMessageStatus) DeepCopyInto ¶
func (in *BotMessageStatus) DeepCopyInto(out *BotMessageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.