v1

package
v0.0.0-...-038d694 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: sysdrift.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

View Source
var (
	SysDriftResourceName = "sysdrifts"
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

func (in *CPU) DeepCopy() *CPU

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

func (*CPU) DeepCopyInto

func (in *CPU) DeepCopyInto(out *CPU)

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

type Module

type Module kernel.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

func (in *Module) DeepCopy() *Module

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

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

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 NewSysDrift(namespace, name string, obj SysDrift) *SysDrift

func (*SysDrift) DeepCopy

func (in *SysDrift) DeepCopy() *SysDrift

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

func (*SysDrift) DeepCopyInto

func (in *SysDrift) DeepCopyInto(out *SysDrift)

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

func (*SysDrift) DeepCopyObject

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

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.

Jump to

Keyboard shortcuts

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