v1beta1

package
v4.1.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: BSD-3-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Copyright © 2020 Intel Corporation SPDX-License-Identifier: BSD-3-Clause

Index

Constants

View Source
const (
	HAPlural   string = "hostattributes"
	HASingular string = "hostattribute"
	HAKind     string = "HostAttributesCrd"
	HAGroup    string = "crd.isecl.intel.com"
	HAVersion  string = "v1beta1"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
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

func (in *Host) DeepCopy() *Host

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

func (*Host) DeepCopyInto

func (in *Host) DeepCopyInto(out *Host)

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

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

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

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