Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=sys-drift.io
+k8s:deepcopy-gen=package +groupName=sys-drift.io
+k8s:deepcopy-gen=package +groupName=sys-drift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: sysdrift.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
var (
SysDriftResourceName = "sysdrifts"
)
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BinaryState ¶
type BinaryState files.BinaryState
BinaryState
func (*BinaryState) DeepCopy ¶
func (in *BinaryState) DeepCopy() *BinaryState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryState.
func (*BinaryState) DeepCopyInto ¶
func (in *BinaryState) DeepCopyInto(out *BinaryState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BinaryStateStore ¶
type BinaryStateStore files.BinaryStateStore
BinaryStateStore contains the previously recorded state and the current binary state.
func (*BinaryStateStore) DeepCopy ¶
func (in *BinaryStateStore) DeepCopy() *BinaryStateStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryStateStore.
func (*BinaryStateStore) DeepCopyInto ¶
func (in *BinaryStateStore) DeepCopyInto(out *BinaryStateStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPU ¶
type CPU struct {
Count int `json:"count"`
}
CPU
func (*CPU) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPU.
func (*CPU) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Module ¶
play with different ideas. Worst case is mirroring the type here as well as the kernel package.
Module represents the state of a kernel module.
func (*Module) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SysDrift ¶
type SysDrift struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SysDriftSpec `json:"spec"` }
SysDrift
func NewSysDrift ¶
func (*SysDrift) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysDrift.
func (*SysDrift) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SysDrift) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SysDriftList ¶
type SysDriftList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []SysDrift `json:"items"` }
SysDriftList is a list of SysDrift resources
func (*SysDriftList) DeepCopy ¶
func (in *SysDriftList) DeepCopy() *SysDriftList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysDriftList.
func (*SysDriftList) DeepCopyInto ¶
func (in *SysDriftList) DeepCopyInto(out *SysDriftList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SysDriftList) DeepCopyObject ¶
func (in *SysDriftList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SysDriftSpec ¶
type SysDriftSpec struct { Timestamp metav1.Time `json:"timestamp,omitempty"` UID string `json:"uid,omitempty"` Hostname string `json:"hostname,omitempty"` KernelVersion string `json:"kernel_version,omitempty"` Arch string `json:"arch,omitempty"` TZ string `json:"tz,omitempty"` NICs []string `json:"nics,omitempty"` Modules []Module `json:"modules,omitempty"` BinaryHashes *files.BinaryStateStore `json:"binary_hashes,omitempty"` CPU *CPU `json:"cpu,omitempty"` }
SysDriftSpec
func (*SysDriftSpec) DeepCopy ¶
func (in *SysDriftSpec) DeepCopy() *SysDriftSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysDriftSpec.
func (*SysDriftSpec) DeepCopyInto ¶
func (in *SysDriftSpec) DeepCopyInto(out *SysDriftSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.