Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the fdo v1alpha1 API group +kubebuilder:object:generate=true +groupName=fdo.redhat.com
Index ¶
- Variables
- type Command
- type DIUN
- type DiskEncryptionClevis
- type FDOManufacturingServer
- func (in *FDOManufacturingServer) DeepCopy() *FDOManufacturingServer
- func (in *FDOManufacturingServer) DeepCopyInto(out *FDOManufacturingServer)
- func (in *FDOManufacturingServer) DeepCopyObject() runtime.Object
- func (m *FDOManufacturingServer) GetConditions() []metav1.Condition
- func (m *FDOManufacturingServer) SetConditions(conditions []metav1.Condition)
- type FDOManufacturingServerList
- type FDOManufacturingServerSpec
- type FDOManufacturingServerStatus
- type FDOOnboardingServer
- func (in *FDOOnboardingServer) DeepCopy() *FDOOnboardingServer
- func (in *FDOOnboardingServer) DeepCopyInto(out *FDOOnboardingServer)
- func (in *FDOOnboardingServer) DeepCopyObject() runtime.Object
- func (m *FDOOnboardingServer) GetConditions() []metav1.Condition
- func (m *FDOOnboardingServer) SetConditions(conditions []metav1.Condition)
- type FDOOnboardingServerList
- type FDOOnboardingServerSpec
- type FDOOnboardingServerStatus
- type FDORendezvousServer
- func (in *FDORendezvousServer) DeepCopy() *FDORendezvousServer
- func (in *FDORendezvousServer) DeepCopyInto(out *FDORendezvousServer)
- func (in *FDORendezvousServer) DeepCopyObject() runtime.Object
- func (m *FDORendezvousServer) GetConditions() []metav1.Condition
- func (m *FDORendezvousServer) SetConditions(conditions []metav1.Condition)
- type FDORendezvousServerList
- type FDORendezvousServerSpec
- type FDORendezvousServerStatus
- type InitialUser
- type KeyStorageType
- type Protocols
- type RendezvousServer
- type ServiceInfo
- type ServiceInfoDiskEncryptionClevisBinding
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "fdo.redhat.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Command string `json:"command"` Args []string `json:"args"` MayFail bool `json:"mayFail,omitempty"` ReturnStdOut bool `json:"returnStdOut,omitempty"` ReturnStdErr bool `json:"returnStdErr,omitempty"` }
func (*Command) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Command.
func (*Command) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DIUN ¶
type DIUN struct { // +kubebuilder:validation:Enum=SECP256R1;SECP384R1 KeyType string `json:"keyType"` // +kubebuilder:validation:MinItems=1 AllowedKeyStorageTypes []KeyStorageType `json:"allowedKeyStorageTypes"` }
func (*DIUN) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DIUN.
func (*DIUN) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskEncryptionClevis ¶
type DiskEncryptionClevis struct { DiskLabel string `json:"diskLabel"` Binding *ServiceInfoDiskEncryptionClevisBinding `json:"binding"` ReEncrypt bool `json:"reencrypt"` }
func (*DiskEncryptionClevis) DeepCopy ¶
func (in *DiskEncryptionClevis) DeepCopy() *DiskEncryptionClevis
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskEncryptionClevis.
func (*DiskEncryptionClevis) DeepCopyInto ¶
func (in *DiskEncryptionClevis) DeepCopyInto(out *DiskEncryptionClevis)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FDOManufacturingServer ¶
type FDOManufacturingServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FDOManufacturingServerSpec `json:"spec,omitempty"` Status FDOManufacturingServerStatus `json:"status,omitempty"` }
FDOManufacturingServer is the Schema for the fdomanufacturingservers API
func (*FDOManufacturingServer) DeepCopy ¶
func (in *FDOManufacturingServer) DeepCopy() *FDOManufacturingServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOManufacturingServer.
func (*FDOManufacturingServer) DeepCopyInto ¶
func (in *FDOManufacturingServer) DeepCopyInto(out *FDOManufacturingServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FDOManufacturingServer) DeepCopyObject ¶
func (in *FDOManufacturingServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FDOManufacturingServer) GetConditions ¶
func (m *FDOManufacturingServer) GetConditions() []metav1.Condition
func (*FDOManufacturingServer) SetConditions ¶
func (m *FDOManufacturingServer) SetConditions(conditions []metav1.Condition)
type FDOManufacturingServerList ¶
type FDOManufacturingServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FDOManufacturingServer `json:"items"` }
FDOManufacturingServerList contains a list of FDOManufacturingServer
func (*FDOManufacturingServerList) DeepCopy ¶
func (in *FDOManufacturingServerList) DeepCopy() *FDOManufacturingServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOManufacturingServerList.
func (*FDOManufacturingServerList) DeepCopyInto ¶
func (in *FDOManufacturingServerList) DeepCopyInto(out *FDOManufacturingServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FDOManufacturingServerList) DeepCopyObject ¶
func (in *FDOManufacturingServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FDOManufacturingServerSpec ¶
type FDOManufacturingServerSpec struct { // Container image // +kubebuilder:default="quay.io/fido-fdo/manufacturing-server:0.4" Image string `json:"image,omitempty"` // Log level: TRACE, DEBUG, INFO(default), WARN, ERROR or OFF // +kubebuilder:validation:Enum=TRACE;DEBUG;INFO;WARN;ERROR;OFF LogLevel string `json:"logLevel,omitempty"` // List of rendezvous servers // +listType=atomic RendezvousServers []RendezvousServer `json:"rendezvousServers"` Protocols *Protocols `json:"protocols"` }
FDOManufacturingServerSpec defines the desired state of FDOManufacturingServer
func (*FDOManufacturingServerSpec) DeepCopy ¶
func (in *FDOManufacturingServerSpec) DeepCopy() *FDOManufacturingServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOManufacturingServerSpec.
func (*FDOManufacturingServerSpec) DeepCopyInto ¶
func (in *FDOManufacturingServerSpec) DeepCopyInto(out *FDOManufacturingServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FDOManufacturingServerStatus ¶
type FDOManufacturingServerStatus struct { // Pods lists all pods running the rendezvous server Pods []string `json:"pods,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
FDOManufacturingServerStatus defines the observed state of FDOManufacturingServer
func (*FDOManufacturingServerStatus) DeepCopy ¶
func (in *FDOManufacturingServerStatus) DeepCopy() *FDOManufacturingServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOManufacturingServerStatus.
func (*FDOManufacturingServerStatus) DeepCopyInto ¶
func (in *FDOManufacturingServerStatus) DeepCopyInto(out *FDOManufacturingServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FDOOnboardingServer ¶
type FDOOnboardingServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FDOOnboardingServerSpec `json:"spec,omitempty"` Status FDOOnboardingServerStatus `json:"status,omitempty"` }
FDOOnboardingServer is the Schema for the fdoonboardingservers API
func (*FDOOnboardingServer) DeepCopy ¶
func (in *FDOOnboardingServer) DeepCopy() *FDOOnboardingServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOOnboardingServer.
func (*FDOOnboardingServer) DeepCopyInto ¶
func (in *FDOOnboardingServer) DeepCopyInto(out *FDOOnboardingServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FDOOnboardingServer) DeepCopyObject ¶
func (in *FDOOnboardingServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FDOOnboardingServer) GetConditions ¶
func (m *FDOOnboardingServer) GetConditions() []metav1.Condition
func (*FDOOnboardingServer) SetConditions ¶
func (m *FDOOnboardingServer) SetConditions(conditions []metav1.Condition)
type FDOOnboardingServerList ¶
type FDOOnboardingServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FDOOnboardingServer `json:"items"` }
FDOOnboardingServerList contains a list of FDOOnboardingServer
func (*FDOOnboardingServerList) DeepCopy ¶
func (in *FDOOnboardingServerList) DeepCopy() *FDOOnboardingServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOOnboardingServerList.
func (*FDOOnboardingServerList) DeepCopyInto ¶
func (in *FDOOnboardingServerList) DeepCopyInto(out *FDOOnboardingServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FDOOnboardingServerList) DeepCopyObject ¶
func (in *FDOOnboardingServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FDOOnboardingServerSpec ¶
type FDOOnboardingServerSpec struct { // Owner-onboarding server container image // +kubebuilder:default="quay.io/fido-fdo/owner-onboarding-server:0.4" OwnerOnboardingImage string `json:"ownerOnboardingImage,omitempty"` // ServiceInfo API server container image // +kubebuilder:default="quay.io/fido-fdo/serviceinfo-api-server:0.4" ServiceInfoImage string `json:"serviceInfoImage,omitempty"` // Service info device onboarding sequence ServiceInfo *ServiceInfo `json:"serviceInfo,omitempty"` }
FDOOnboardingServerSpec defines the desired state of FDOOnboardingServer
func (*FDOOnboardingServerSpec) DeepCopy ¶
func (in *FDOOnboardingServerSpec) DeepCopy() *FDOOnboardingServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOOnboardingServerSpec.
func (*FDOOnboardingServerSpec) DeepCopyInto ¶
func (in *FDOOnboardingServerSpec) DeepCopyInto(out *FDOOnboardingServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FDOOnboardingServerStatus ¶
type FDOOnboardingServerStatus struct { // Pods lists all pods running the onboarding server Pods []string `json:"pods,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
FDOOnboardingServerStatus defines the observed state of FDOOnboardingServer
func (*FDOOnboardingServerStatus) DeepCopy ¶
func (in *FDOOnboardingServerStatus) DeepCopy() *FDOOnboardingServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDOOnboardingServerStatus.
func (*FDOOnboardingServerStatus) DeepCopyInto ¶
func (in *FDOOnboardingServerStatus) DeepCopyInto(out *FDOOnboardingServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FDORendezvousServer ¶
type FDORendezvousServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FDORendezvousServerSpec `json:"spec,omitempty"` Status FDORendezvousServerStatus `json:"status,omitempty"` }
FDORendezvousServer is the Schema for the fdorendezvousservers API
func (*FDORendezvousServer) DeepCopy ¶
func (in *FDORendezvousServer) DeepCopy() *FDORendezvousServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDORendezvousServer.
func (*FDORendezvousServer) DeepCopyInto ¶
func (in *FDORendezvousServer) DeepCopyInto(out *FDORendezvousServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FDORendezvousServer) DeepCopyObject ¶
func (in *FDORendezvousServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FDORendezvousServer) GetConditions ¶
func (m *FDORendezvousServer) GetConditions() []metav1.Condition
func (*FDORendezvousServer) SetConditions ¶
func (m *FDORendezvousServer) SetConditions(conditions []metav1.Condition)
type FDORendezvousServerList ¶
type FDORendezvousServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FDORendezvousServer `json:"items"` }
FDORendezvousServerList contains a list of FDORendezvousServer
func (*FDORendezvousServerList) DeepCopy ¶
func (in *FDORendezvousServerList) DeepCopy() *FDORendezvousServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDORendezvousServerList.
func (*FDORendezvousServerList) DeepCopyInto ¶
func (in *FDORendezvousServerList) DeepCopyInto(out *FDORendezvousServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FDORendezvousServerList) DeepCopyObject ¶
func (in *FDORendezvousServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FDORendezvousServerSpec ¶
type FDORendezvousServerSpec struct { // Rendezvous server container image // +kubebuilder:default="quay.io/fido-fdo/rendezvous-server:0.4" Image string `json:"image,omitempty"` }
FDORendezvousServerSpec defines the desired state of FDORendezvousServer
func (*FDORendezvousServerSpec) DeepCopy ¶
func (in *FDORendezvousServerSpec) DeepCopy() *FDORendezvousServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDORendezvousServerSpec.
func (*FDORendezvousServerSpec) DeepCopyInto ¶
func (in *FDORendezvousServerSpec) DeepCopyInto(out *FDORendezvousServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FDORendezvousServerStatus ¶
type FDORendezvousServerStatus struct { // Pods lists all pods running the rendezvous server Pods []string `json:"pods,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
FDORendezvousServerStatus defines the observed state of FDORendezvousServer
func (*FDORendezvousServerStatus) DeepCopy ¶
func (in *FDORendezvousServerStatus) DeepCopy() *FDORendezvousServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDORendezvousServerStatus.
func (*FDORendezvousServerStatus) DeepCopyInto ¶
func (in *FDORendezvousServerStatus) DeepCopyInto(out *FDORendezvousServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitialUser ¶
type InitialUser struct { Username string `json:"username"` Password string `json:"password,omitempty"` SSHKeys []string `json:"sshKeys,omitempty"` }
func (*InitialUser) DeepCopy ¶
func (in *InitialUser) DeepCopy() *InitialUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialUser.
func (*InitialUser) DeepCopyInto ¶
func (in *InitialUser) DeepCopyInto(out *InitialUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Protocols ¶
func (*Protocols) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Protocols.
func (*Protocols) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RendezvousServer ¶
type RendezvousServer struct { // Hostname of a rendezvous server, must select either a hostname or an IP address DNS string `json:"dns,omitempty"` // IP address of a rendezvous server, must select either an IP address or a hostname IPAddress string `json:"ipAddress,omitempty"` // Rendezvous port for device connections DevicePort uint16 `json:"devicePort,omitempty"` // Rendezvous port for owner connections OwnerPort uint16 `json:"ownerPort,omitempty"` // Rendezvous transport protocol - tcp, tls (default), http, coap, https or coaps // +kubebuilder:validation:Enum=tcp;tls;http;coap;https;coaps Protocol string `json:"protocol,omitempty"` }
RendezvousServer defines an entry of rendezvous server configuration
func (*RendezvousServer) DeepCopy ¶
func (in *RendezvousServer) DeepCopy() *RendezvousServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RendezvousServer.
func (*RendezvousServer) DeepCopyInto ¶
func (in *RendezvousServer) DeepCopyInto(out *RendezvousServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInfo ¶
type ServiceInfo struct { InitialUser *InitialUser `json:"initialUser,omitempty"` Commands []Command `json:"commands,omitempty"` DiskEncryptionClevises []DiskEncryptionClevis `json:"diskencryptionClevis,omitempty"` }
ServiceInfo defines a custom device onboarding sequence run through service info API
func (*ServiceInfo) DeepCopy ¶
func (in *ServiceInfo) DeepCopy() *ServiceInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInfo.
func (*ServiceInfo) DeepCopyInto ¶
func (in *ServiceInfo) DeepCopyInto(out *ServiceInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInfoDiskEncryptionClevisBinding ¶
type ServiceInfoDiskEncryptionClevisBinding struct { Pin string `json:"pin,omitempty"` Config string `json:"config,omitempty"` }
func (*ServiceInfoDiskEncryptionClevisBinding) DeepCopy ¶
func (in *ServiceInfoDiskEncryptionClevisBinding) DeepCopy() *ServiceInfoDiskEncryptionClevisBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInfoDiskEncryptionClevisBinding.
func (*ServiceInfoDiskEncryptionClevisBinding) DeepCopyInto ¶
func (in *ServiceInfoDiskEncryptionClevisBinding) DeepCopyInto(out *ServiceInfoDiskEncryptionClevisBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.