Documentation
¶
Overview ¶
Copyright © 2020 Intel Corporation SPDX-License-Identifier: BSD-3-Clause
Index ¶
Constants ¶
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: HAGroup, Version: HAVersion}
Create a Rest client with the new CRD Schema
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource. It is used by the generated code listers.
Types ¶
type Host ¶
type Host struct { Updated *time.Time `json:"updatedTime,omitempty"` Hostname string `json:"hostName"` Trusted bool `json:"trusted"` HvsTrustExpiry time.Time `json:"hvsTrustValidTo,omitempty"` SgxTrustExpiry time.Time `json:"sgxTrustValidTo,omitempty"` HvsSignedTrustReport string `json:"hvsSignedTrustReport,omitempty"` SgxSignedTrustReport string `json:"sgxSignedTrustReport,omitempty"` AssetTag map[string]string `json:"assetTags"` HardwareFeatures map[string]string `json:"hardwareFeatures"` SgxEnabled string `json:"sgxEnabled"` SGXSupported string `json:"sgxSupported"` TCBUpToDate string `json:"tcbUpToDate"` EPCSize string `json:"epcSize"` FLCEnabled string `json:"flcEnabled"` }
func (*Host) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostAttributesCrd ¶
type HostAttributesCrd struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata"` Spec Spec `json:"spec"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status
func (*HostAttributesCrd) DeepCopy ¶
func (in *HostAttributesCrd) DeepCopy() *HostAttributesCrd
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAttributesCrd.
func (*HostAttributesCrd) DeepCopyInto ¶
func (in *HostAttributesCrd) DeepCopyInto(out *HostAttributesCrd)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostAttributesCrd) DeepCopyObject ¶
func (in *HostAttributesCrd) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostAttributesCrdList ¶
type HostAttributesCrdList struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ListMeta `json:"metadata"` Items []HostAttributesCrd `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*HostAttributesCrdList) DeepCopy ¶
func (in *HostAttributesCrdList) DeepCopy() *HostAttributesCrdList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAttributesCrdList.
func (*HostAttributesCrdList) DeepCopyInto ¶
func (in *HostAttributesCrdList) DeepCopyInto(out *HostAttributesCrdList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostAttributesCrdList) DeepCopyObject ¶
func (in *HostAttributesCrdList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Spec ¶
type Spec struct {
HostList []Host `json:"hostList"`
}
func (*Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
func (*Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.