Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
Constants ¶
const GroupName = "example.rancher.io"
GroupName is the group name used in this package.
const MessageResourcePlural = "messages"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is the group version used to register these objects.
Functions ¶
func GetGeneratedDeepCopyFuncs
deprecated
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
Types ¶
type Message ¶
type Message struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec MessageSpec `json:"spec"` Status MessageStatus `json:"status,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Message) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Message.
func (*Message) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Message) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessageList ¶
type MessageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Message `json:"items"` }
func (*MessageList) DeepCopy ¶
func (in *MessageList) DeepCopy() *MessageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageList.
func (*MessageList) DeepCopyInto ¶
func (in *MessageList) DeepCopyInto(out *MessageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessageList) DeepCopyObject ¶
func (in *MessageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessageSpec ¶
func (*MessageSpec) DeepCopy ¶
func (in *MessageSpec) DeepCopy() *MessageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageSpec.
func (*MessageSpec) DeepCopyInto ¶
func (in *MessageSpec) DeepCopyInto(out *MessageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageState ¶
type MessageState string
const ( MessageStateCreated MessageState = "Created" MessageStateBroadcasted MessageState = "Broadcasted" )
type MessageStatus ¶
type MessageStatus struct {
State MessageState `json:"state,omitempty"`
}
func (*MessageStatus) DeepCopy ¶
func (in *MessageStatus) DeepCopy() *MessageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageStatus.
func (*MessageStatus) DeepCopyInto ¶
func (in *MessageStatus) DeepCopyInto(out *MessageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.