Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the opg.ewbi v1beta1 API group. +kubebuilder:object:generate=true +groupName=opg.ewbi.nby.one
Index ¶
- Constants
- Variables
- type AppMetaData
- type Application
- type ApplicationInstance
- type ApplicationInstanceList
- type ApplicationInstancePhase
- type ApplicationInstanceSpec
- type ApplicationInstanceState
- type ApplicationInstanceStatus
- type ApplicationList
- type ApplicationPhase
- type ApplicationSpec
- type ApplicationState
- type ApplicationStatus
- type Artefact
- type ArtefactList
- type ArtefactPhase
- type ArtefactSpec
- type ArtefactStatus
- type AvailabilityZone
- type AvailabilityZoneList
- type AvailabilityZonePhase
- type AvailabilityZoneSpec
- type AvailabilityZoneStatus
- type CommandLine
- type ComponentSpec
- type ComponentSpecRef
- type ComputeResourceProfile
- type ExposedInterface
- type Federation
- type FederationCredentials
- type FederationList
- type FederationPhase
- type FederationRelation
- type FederationSpec
- type FederationState
- type FederationStatus
- type File
- type FileList
- type FilePhase
- type FileSpec
- type FileStatus
- type GeoLocation
- type Image
- type MobileNetworkCodes
- type OS
- type Origin
- type Partner
- type QoSProfile
- type Repo
- type Zone
- type ZoneDetails
- type ZoneIdentifier
Constants ¶
const ( // ReadyCondition indicates whether the ApplicationInstance is ready for use. ApplicationInstanceConditionReady = "Ready" // ReconcilingCondition indicates whether the ApplicationInstance is being reconciled. ApplicationInstanceConditionReconciling = "Reconciling" // StalledCondition indicates whether the ApplicationInstance reconciliation is blocked due to errors. ApplicationInstanceConditionStalled = "Stalled" )
const ( // Reasons for ConditionReady ApplicationInstanceReasonResourcesAllocated = "ResourcesAllocated" // if its not ready, then is synching // Reasons for ConditionReconciling ApplicationInstanceReasonSyncInProgress = "SyncInProgress" // In progress ApplicationInstanceReasonSyncCompleted = "SyncCompleted" // completed // Reasons for ConditionStalled ApplicationInstanceReasonInvalidOperation = "InvalidOperation" // Invalid Data provided, such as invalid type ApplicationInstanceReasonResourcesExhausted = "ResourcesUnavailable" // Requested resources not available. )
const ( FederationContextIdLabel = "opg.ewbi.nby.one/federation-context-id" FederationRelationLabel = "opg.ewbi.nby.one/federation-relation" FederationGuestUrlLabel = "opg.ewbi.nby.one/federation-guest-url" ExternalIdLabel = "opg.ewbi.nby.one/id" )
labels
const (
AppFinalizer = "app.opg.ewbi.finalizer.nby.one"
)
finalizers
const (
ApplicationInstanceFinalizer = "applicationinstance.opg.ewbi.finalizer.nby.one"
)
finalizers
const (
ArtefactFinalizer = "artefact.opg.ewbi.finalizer.nby.one"
)
finalizers
const (
FederationFinalizer = "federation.opg.ewbi.finalizer.nby.one"
)
finalizers
const (
FederationStatusContextIDField = ".status.federationContextId"
)
fields
const (
FileFinalizer = "file.opg.ewbi.finalizer.nby.one"
)
finalizers
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "opg.ewbi.nby.one", Version: "v1beta1"} // 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 AppMetaData ¶
type AppMetaData struct {
AccessToken string `json:"accessToken,omitempty"`
Name string `json:"name,omitempty"`
MobilitySupport bool `json:"mobilitySupport,omitempty"`
Version string `json:"version,omitempty"`
}
func (*AppMetaData) DeepCopy ¶
func (in *AppMetaData) DeepCopy() *AppMetaData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppMetaData.
func (*AppMetaData) DeepCopyInto ¶
func (in *AppMetaData) DeepCopyInto(out *AppMetaData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Application ¶
type Application struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ApplicationSpec `json:"spec,omitempty"`
Status ApplicationStatus `json:"status,omitempty"`
}
Application is the Schema for the applications API.
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationInstance ¶
type ApplicationInstance struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ApplicationInstanceSpec `json:"spec,omitempty"`
Status ApplicationInstanceStatus `json:"status,omitempty"`
}
ApplicationInstance is the Schema for the applicationinstances API.
func (*ApplicationInstance) DeepCopy ¶
func (in *ApplicationInstance) DeepCopy() *ApplicationInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInstance.
func (*ApplicationInstance) DeepCopyInto ¶
func (in *ApplicationInstance) DeepCopyInto(out *ApplicationInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationInstance) DeepCopyObject ¶
func (in *ApplicationInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationInstanceList ¶
type ApplicationInstanceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ApplicationInstance `json:"items"`
}
ApplicationInstanceList contains a list of ApplicationInstance.
func (*ApplicationInstanceList) DeepCopy ¶
func (in *ApplicationInstanceList) DeepCopy() *ApplicationInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInstanceList.
func (*ApplicationInstanceList) DeepCopyInto ¶
func (in *ApplicationInstanceList) DeepCopyInto(out *ApplicationInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationInstanceList) DeepCopyObject ¶
func (in *ApplicationInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationInstancePhase ¶
type ApplicationInstancePhase string
const ( ApplicationInstancePhaseReconciling ApplicationInstancePhase = "Reconciling" ApplicationInstancePhaseReady ApplicationInstancePhase = "Ready" ApplicationInstancePhaseError ApplicationInstancePhase = "Error" ApplicationInstancePhaseUnknown ApplicationInstancePhase = "Unknown" )
type ApplicationInstanceSpec ¶
type ApplicationInstanceSpec struct {
// AppProviderID identifies the provider of the application
// e.g. "provider-id-67890"
AppProviderId string `json:"appProviderId,omitempty"`
// AppId references the AppId resource this applicationInstance instantiates
AppId string `json:"appId,omitempty"`
// AppVersion references the AppId's version this applicationInstance instantiates
AppVersion string `json:"appVersion,omitempty"`
ZoneInfo Zone `json:"zoneInfo,omitempty"`
// If defined, Link where the guest orchestrator expects to receive the callBacks with
// ApplicationInstance status updates
CallbBackLink string `json:"callBackLink,omitempty"`
}
ApplicationInstanceSpec defines the desired state of ApplicationInstance.
func (*ApplicationInstanceSpec) DeepCopy ¶
func (in *ApplicationInstanceSpec) DeepCopy() *ApplicationInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInstanceSpec.
func (*ApplicationInstanceSpec) DeepCopyInto ¶
func (in *ApplicationInstanceSpec) DeepCopyInto(out *ApplicationInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationInstanceState ¶
type ApplicationInstanceState string
const ( ApplicationInstanceStatePending ApplicationInstanceState = "Pending" ApplicationInstanceStateReady ApplicationInstanceState = "Ready" ApplicationInstanceStateFailed ApplicationInstanceState = "Failed" ApplicationInstanceStateTerminating ApplicationInstanceState = "Terminating" )
type ApplicationInstanceStatus ¶
type ApplicationInstanceStatus struct {
State ApplicationInstanceState `json:"state,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
Phase ApplicationInstancePhase `json:"phase,omitempty"`
ErrorMsg string `json:"errorMsg,omitempty"`
}
ApplicationInstanceStatus defines the observed state of ApplicationInstance.
func (*ApplicationInstanceStatus) DeepCopy ¶
func (in *ApplicationInstanceStatus) DeepCopy() *ApplicationInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInstanceStatus.
func (*ApplicationInstanceStatus) DeepCopyInto ¶
func (in *ApplicationInstanceStatus) DeepCopyInto(out *ApplicationInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationList ¶
type ApplicationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Application `json:"items"`
}
ApplicationList contains a list of Application.
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationPhase ¶
type ApplicationPhase string
const ( ApplicationPhaseReconciling ApplicationPhase = "Pending" ApplicationPhaseReady ApplicationPhase = "Ready" ApplicationPhaseError ApplicationPhase = "Error" ApplicationPhaseUnknown ApplicationPhase = "Unknown" )
type ApplicationSpec ¶
type ApplicationSpec struct {
// AppProviderID identifies the provider of the application
// e.g. "provider-id-67890"
AppProviderId string `json:"appProviderId,omitempty"`
ComponentSpecs []ComponentSpecRef `json:"componentSpecs,omitempty"`
MetaData AppMetaData `json:"appMetaData,omitempty"`
QoSProfile QoSProfile `json:"qoSProfile,omitempty"`
StatusLink string `json:"statusLink,omitempty"`
}
ApplicationSpec defines the desired state of Application.
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationState ¶
type ApplicationState string
const ( ApplicationStatePending ApplicationState = "Pending" ApplicationStateOnboarded ApplicationState = "Onboarded" ApplicationStateDeboarding ApplicationState = "Deboarding" ApplicationStateFailed ApplicationState = "Failed" ApplicationStateRemoved ApplicationState = "Removed" )
type ApplicationStatus ¶
type ApplicationStatus struct {
Phase ApplicationPhase `json:"phase,omitempty"`
State ApplicationState `json:"state,omitempty"`
}
ApplicationStatus defines the observed state of Application.
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Artefact ¶
type Artefact struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ArtefactSpec `json:"spec,omitempty"`
Status ArtefactStatus `json:"status,omitempty"`
}
Artefact is the Schema for the artefacts API.
func (*Artefact) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artefact.
func (*Artefact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Artefact) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArtefactList ¶
type ArtefactList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Artefact `json:"items"`
}
ArtefactList contains a list of Artefact.
func (*ArtefactList) DeepCopy ¶
func (in *ArtefactList) DeepCopy() *ArtefactList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtefactList.
func (*ArtefactList) DeepCopyInto ¶
func (in *ArtefactList) DeepCopyInto(out *ArtefactList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArtefactList) DeepCopyObject ¶
func (in *ArtefactList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArtefactPhase ¶
type ArtefactPhase string
const ( ArtefactPhaseReconciling ArtefactPhase = "Pending" ArtefactPhaseReady ArtefactPhase = "Ready" ArtefactPhaseError ArtefactPhase = "Error" ArtefactPhaseUnknown ArtefactPhase = "Unknown" )
type ArtefactSpec ¶
type ArtefactSpec struct {
// AppProviderID identifies the provider of the application
// e.g. "provider-id-67890"
AppProviderId string `json:"appProviderId,omitempty"`
// Name represents the artefacts's human-friendly identifier
// e.g. "artemis"
ArtefactName string `json:"artefactName,omitempty"`
// ArtefactVersion
// e.g. "14"
ArtefactVersion string `json:"artefactVersion,omitempty"`
DescriptorType string `json:"descriptorType,omitempty"`
VirtType string `json:"virtType,omitempty"`
ComponentSpec []ComponentSpec `json:"componentSpec,omitempty"`
}
ArtefactSpec defines the desired state of Artefact.
func (*ArtefactSpec) DeepCopy ¶
func (in *ArtefactSpec) DeepCopy() *ArtefactSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtefactSpec.
func (*ArtefactSpec) DeepCopyInto ¶
func (in *ArtefactSpec) DeepCopyInto(out *ArtefactSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArtefactStatus ¶
type ArtefactStatus struct {
Phase ArtefactPhase `json:"phase,omitempty"`
}
ArtefactStatus defines the observed state of Artefact.
func (*ArtefactStatus) DeepCopy ¶
func (in *ArtefactStatus) DeepCopy() *ArtefactStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtefactStatus.
func (*ArtefactStatus) DeepCopyInto ¶
func (in *ArtefactStatus) DeepCopyInto(out *ArtefactStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailabilityZone ¶
type AvailabilityZone struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AvailabilityZoneSpec `json:"spec,omitempty"`
Status AvailabilityZoneStatus `json:"status,omitempty"`
}
AvailabilityZone is the Schema for the availabilityzones API.
func (*AvailabilityZone) DeepCopy ¶
func (in *AvailabilityZone) DeepCopy() *AvailabilityZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityZone.
func (*AvailabilityZone) DeepCopyInto ¶
func (in *AvailabilityZone) DeepCopyInto(out *AvailabilityZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AvailabilityZone) DeepCopyObject ¶
func (in *AvailabilityZone) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AvailabilityZoneList ¶
type AvailabilityZoneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AvailabilityZone `json:"items"`
}
AvailabilityZoneList contains a list of AvailabilityZone.
func (*AvailabilityZoneList) DeepCopy ¶
func (in *AvailabilityZoneList) DeepCopy() *AvailabilityZoneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityZoneList.
func (*AvailabilityZoneList) DeepCopyInto ¶
func (in *AvailabilityZoneList) DeepCopyInto(out *AvailabilityZoneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AvailabilityZoneList) DeepCopyObject ¶
func (in *AvailabilityZoneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AvailabilityZonePhase ¶
type AvailabilityZonePhase string
const ( AvailabilityZonePhaseReconciling AvailabilityZonePhase = "Pending" AvailabilityZonePhaseReady AvailabilityZonePhase = "Ready" AvailabilityZonePhaseError AvailabilityZonePhase = "Error" AvailabilityZonePhaseUnknown AvailabilityZonePhase = "Unknown" )
type AvailabilityZoneSpec ¶
type AvailabilityZoneSpec struct {
// GeographyDetails Details about cities or state covered by the edge.
// Details about the type of locality for eg rural, urban, industrial etc.
// This information is defined in human readable form.
GeographyDetails string `json:"geographyDetails,omitempty"`
// Geolocation Latitude,Longitude as decimal fraction up to 4 digit precision
Geolocation GeoLocation `json:"geolocation,omitempty"`
// ZoneId Human readable name of the zone.
ZoneId ZoneIdentifier `json:"zoneId,omitempty"`
}
AvailabilityZoneSpec defines the desired state of AvailabilityZone.
func (*AvailabilityZoneSpec) DeepCopy ¶
func (in *AvailabilityZoneSpec) DeepCopy() *AvailabilityZoneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityZoneSpec.
func (*AvailabilityZoneSpec) DeepCopyInto ¶
func (in *AvailabilityZoneSpec) DeepCopyInto(out *AvailabilityZoneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailabilityZoneStatus ¶
type AvailabilityZoneStatus struct {
Phase AvailabilityZonePhase `json:"phase,omitempty"`
// To be considered, for now these are just placeholder samples
FlavoursSupported []string `json:"flavoursSupported,omitempty"`
// To be considered, for now these are just placeholder samples
ReservedComputeResources string `json:"reservedComputeResources,omitempty"`
// To be considered, for now these are just placeholder samples
ComputeResourceQuotaLimits string `json:"computeResourceQuotaLimits,omitempty"`
// To be considered, for now these are just placeholder samples
Latency string `json:"latency,omitempty"`
}
AvailabilityZoneStatus defines the observed state of AvailabilityZone.
func (*AvailabilityZoneStatus) DeepCopy ¶
func (in *AvailabilityZoneStatus) DeepCopy() *AvailabilityZoneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityZoneStatus.
func (*AvailabilityZoneStatus) DeepCopyInto ¶
func (in *AvailabilityZoneStatus) DeepCopyInto(out *AvailabilityZoneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandLine ¶
type CommandLine struct {
Command []string `json:"command,omitempty"`
Args []string `json:"args,omitempty"`
}
func (*CommandLine) DeepCopy ¶
func (in *CommandLine) DeepCopy() *CommandLine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandLine.
func (*CommandLine) DeepCopyInto ¶
func (in *CommandLine) DeepCopyInto(out *CommandLine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentSpec ¶
type ComponentSpec struct {
// The component's name
Name string `json:"name,omitempty"`
CommandLineParams CommandLine `json:"commandLineParams,omitempty"`
Images []string `json:"images,omitempty"`
NumOfInstances int64 `json:"numOfInstances,omitempty"`
RestartPolicy string `json:"restartPolicy,omitempty"`
ComputeResourceProfile ComputeResourceProfile `json:"computeResourceProfile,omitempty"`
ExposedInterfaces []ExposedInterface `json:"exposedInterfaces,omitempty"`
}
func (*ComponentSpec) DeepCopy ¶
func (in *ComponentSpec) DeepCopy() *ComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
func (*ComponentSpec) DeepCopyInto ¶
func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentSpecRef ¶
type ComponentSpecRef struct {
ArtefactId string `json:"artefactId"`
}
func (*ComponentSpecRef) DeepCopy ¶
func (in *ComponentSpecRef) DeepCopy() *ComponentSpecRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpecRef.
func (*ComponentSpecRef) DeepCopyInto ¶
func (in *ComponentSpecRef) DeepCopyInto(out *ComponentSpecRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComputeResourceProfile ¶
type ComputeResourceProfile struct {
CPUArchType string `json:"cpuArchType,omitempty"`
CPUExclusivity bool `json:"cpuExclusivity,omitempty"`
Memory int64 `json:"memory,omitempty"`
NumCPU string `json:"numCPU,omitempty"`
}
func (*ComputeResourceProfile) DeepCopy ¶
func (in *ComputeResourceProfile) DeepCopy() *ComputeResourceProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeResourceProfile.
func (*ComputeResourceProfile) DeepCopyInto ¶
func (in *ComputeResourceProfile) DeepCopyInto(out *ComputeResourceProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExposedInterface ¶
type ExposedInterface struct {
Port int64 `json:"port,omitempty"`
Protocol string `json:"protocol,omitempty"`
InterfaceId string `json:"interfaceId,omitempty"`
VisibilityType string `json:"visibilityType,omitempty"`
}
func (*ExposedInterface) DeepCopy ¶
func (in *ExposedInterface) DeepCopy() *ExposedInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposedInterface.
func (*ExposedInterface) DeepCopyInto ¶
func (in *ExposedInterface) DeepCopyInto(out *ExposedInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Federation ¶
type Federation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FederationSpec `json:"spec,omitempty"`
Status FederationStatus `json:"status,omitempty"`
}
Federation is the Schema for the federations API.
func (*Federation) DeepCopy ¶
func (in *Federation) DeepCopy() *Federation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Federation.
func (*Federation) DeepCopyInto ¶
func (in *Federation) DeepCopyInto(out *Federation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Federation) DeepCopyObject ¶
func (in *Federation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FederationCredentials ¶
type FederationCredentials struct {
// ClientId, e.g. "50290107-5a90-4d77-a1b8-ec9d311ab2fd"
ClientId string `json:"clientId"`
// TokenUrl, e.g. http://ip:5555/cb
TokenUrl string `json:"tokenUrl,omitempty"`
}
func (*FederationCredentials) DeepCopy ¶
func (in *FederationCredentials) DeepCopy() *FederationCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederationCredentials.
func (*FederationCredentials) DeepCopyInto ¶
func (in *FederationCredentials) DeepCopyInto(out *FederationCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FederationList ¶
type FederationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Federation `json:"items"`
}
FederationList contains a list of Federation.
func (*FederationList) DeepCopy ¶
func (in *FederationList) DeepCopy() *FederationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederationList.
func (*FederationList) DeepCopyInto ¶
func (in *FederationList) DeepCopyInto(out *FederationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FederationList) DeepCopyObject ¶
func (in *FederationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FederationPhase ¶
type FederationPhase string
const ( FederationPhaseReconciling FederationPhase = "Pending" FederationPhaseReady FederationPhase = "Ready" FederationPhaseError FederationPhase = "Error" FederationPhaseUnknown FederationPhase = "Unknown" )
type FederationRelation ¶
type FederationRelation string
const ( FederationRelationGuest FederationRelation = "guest" FederationRelationHost FederationRelation = "host" )
type FederationSpec ¶
type FederationSpec struct {
// Initial Date and time, time zone info of the federation initiated by the Originating OP
// e.g. "2025-01-10T09:50:32.571Z"
InitialDate metav1.Time `json:"initialDate,omitempty"`
OriginOP Origin `json:"originOP,omitempty"`
Partner Partner `json:"partner,omitempty"`
// OfferedAvailabilityZones, list of AvailabilityZones the hostOP offers to the guestOP
// as part of this Federation
OfferedAvailabilityZones []string `json:"offeredAvailabilityZones,omitempty"`
// AcceptedAvailabilityZones, subset the GuestOP accepts of the AvailabilityZones
// the OP offered for this Federation
AcceptedAvailabilityZones []string `json:"acceptedAvailabilityZones,omitempty"`
// Federation GuestPartner creds for the client to register (temporary, to be replaced by e.g. keycloack)
GuestPartnerCredentials FederationCredentials `json:"guestPartnerCredentials,omitempty"`
}
FederationSpec defines the desired state of Federation.
func (*FederationSpec) DeepCopy ¶
func (in *FederationSpec) DeepCopy() *FederationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederationSpec.
func (*FederationSpec) DeepCopyInto ¶
func (in *FederationSpec) DeepCopyInto(out *FederationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FederationState ¶
type FederationState string
const ( FederationStateFailed FederationState = "Failed" FederationStateTemporaryFailure FederationState = "TemporaryFailure" FederationStateAvailable FederationState = "Available" FederationStateLocked FederationState = "Locked" FederationStateNotAvailable FederationState = "NotAvailable" )
type FederationStatus ¶
type FederationStatus struct {
FederationContextId string `json:"federationContextId,omitempty"`
State FederationState `json:"state,omitempty"`
Phase FederationPhase `json:"phase,omitempty"`
// OfferedAvailabilityZones, GuestOP offered AvailabilityZones
// for this Federation
OfferedAvailabilityZones []ZoneDetails `json:"offeredAvailabilityZones,omitempty"`
}
FederationStatus defines the observed state of Federation.
func (*FederationStatus) DeepCopy ¶
func (in *FederationStatus) DeepCopy() *FederationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederationStatus.
func (*FederationStatus) DeepCopyInto ¶
func (in *FederationStatus) DeepCopyInto(out *FederationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type File ¶
type File struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FileSpec `json:"spec,omitempty"`
Status FileStatus `json:"status,omitempty"`
}
File is the Schema for the files API.
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*File) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FileList ¶
type FileList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []File `json:"items"`
}
FileList contains a list of File.
func (*FileList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileList.
func (*FileList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FileList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FileSpec ¶
type FileSpec struct {
// AppProviderID identifies the provider of the application
// e.g. "provider-id-67890"
AppProviderId string `json:"appProviderId,omitempty"`
// FileName represents the file's human-friendly identifier
// e.g. "example-image.qcow2"
FileName string `json:"fileName,omitempty"`
// FileVersion
// e.g. "1.0.0"
FileVersion string `json:"fileVersion,omitempty"`
// FileType defines the file's type
// e.g. "QCOW2"
FileType string `json:"fileType,omitempty"`
Repo Repo `json:"repoLocation,omitempty"`
Image Image `json:"image,omitempty"`
}
FileSpec defines the desired state of File.
func (*FileSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.
func (*FileSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileStatus ¶
type FileStatus struct {
Phase FilePhase `json:"phase,omitempty"`
}
FileStatus defines the observed state of File.
func (*FileStatus) DeepCopy ¶
func (in *FileStatus) DeepCopy() *FileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileStatus.
func (*FileStatus) DeepCopyInto ¶
func (in *FileStatus) DeepCopyInto(out *FileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeoLocation ¶
type GeoLocation string
GeoLocation Latitude,Longitude as decimal fraction up to 4 digit precision
type Image ¶
type Image struct {
// the File's Image instructionSet Architecture
InstructionSetArchitecture string `json:"instructionSetArchitecture,omitempty"`
// OS the expected Host Operative System the Image requires
OS OS `json:"os,omitempty"`
}
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MobileNetworkCodes ¶
type MobileNetworkCodes struct {
// MCC, e.g. "329"
MCC string `json:"mcc,omitempty"`
// MNC, list of MNCs
MNC []string `json:"mncs,omitempty"`
}
func (*MobileNetworkCodes) DeepCopy ¶
func (in *MobileNetworkCodes) DeepCopy() *MobileNetworkCodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MobileNetworkCodes.
func (*MobileNetworkCodes) DeepCopyInto ¶
func (in *MobileNetworkCodes) DeepCopyInto(out *MobileNetworkCodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OS ¶
type OS struct {
// The OS's required architecture
// e.g. "x86_64"
Architecture string `json:"architecture,omitempty"`
// The OS's distribution
// e.g. "Ubuntu"
Distribution string `json:"distribution,omitempty"`
// The OS's license
// e.g. "OS_LICENSE_TYPE_FREE"
License string `json:"license,omitempty"`
// The OS's Version
// e.g. "OS_VERSION_UBUNTU_2204_LTS"
Version string `json:"version,omitempty"`
}
func (*OS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OS.
func (*OS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Origin ¶
type Origin struct {
// CountryCode as in "JN"
CountryCode string `json:"countryCode,omitempty"`
// FixedNetworkCodes, no examples were provided, for now we just know they will be a list of strings
FixedNetworkCodes []string `json:"fixedNetworkCodes,omitempty"`
// MobileNetworkCodes, notice these aren't a list, but its internal field `mnc` is
MobileNetworkCodes MobileNetworkCodes `json:"mobileNetworkCodes,omitempty"`
}
func (*Origin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Origin.
func (*Origin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Partner ¶
type Partner struct {
// CallbackCredentials Authentication credentials for callbacks.
// Callbacks use the same security scheme, flows, and scopes as the forward path.
CallbackCredentials FederationCredentials `json:"callbackCredentials,omitempty"`
StatusLink string `json:"statusLink"`
}
func (*Partner) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partner.
func (*Partner) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QoSProfile ¶
type QoSProfile struct {
Provisioning bool `json:"provisioning,omitempty"`
LatencyConstraints string `json:"latencyConstraints,omitempty"`
MultiUserClients string `json:"multiUserClients,omitempty"`
UsersPerAppInst int64 `json:"usersPerAppInst,omitempty"`
}
func (*QoSProfile) DeepCopy ¶
func (in *QoSProfile) DeepCopy() *QoSProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSProfile.
func (*QoSProfile) DeepCopyInto ¶
func (in *QoSProfile) DeepCopyInto(out *QoSProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repo ¶
type Repo struct {
// Repo's type e.g. public,private
Type string `json:"type,omitempty"`
// Repo's URL
URL string `json:"url,omitempty"`
// Password field required to access private repos
Password string `json:"password,omitempty"`
// Repo's Access token, the spec doesn't clarify
// if it should either Password or Token
Token string `json:"token,omitempty"`
UserName string `json:"username,omitempty"`
}
func (*Repo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repo.
func (*Repo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Zone ¶
type Zone struct {
ZoneId string `json:"zoneId,omitempty"`
FlavourId string `json:"flavourId,omitempty"`
ResourceConsumption string `json:"resourceConsumption,omitempty"`
ResPool string `json:"resPool,omitempty"`
}
func (*Zone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone.
func (*Zone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZoneDetails ¶
type ZoneDetails struct {
// GeographyDetails Details about cities or state covered by the edge. Details about the type
// of locality for eg rural, urban, industrial etc. This information is defined in human readable form.
GeographyDetails string `json:"geographyDetails"`
// Geolocation Latitude,Longitude as decimal fraction up to 4 digit precision
Geolocation string `json:"geolocation"`
// ZoneId Human readable name of the zone.
ZoneId string `json:"zoneId"`
}
func (*ZoneDetails) DeepCopy ¶
func (in *ZoneDetails) DeepCopy() *ZoneDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneDetails.
func (*ZoneDetails) DeepCopyInto ¶
func (in *ZoneDetails) DeepCopyInto(out *ZoneDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.