Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app.dac.nokia.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.dac.nokia.com
Index ¶
Constants ¶
const ( AppStatusNotSet = "UNSET" AppStatusNotRunning = "NOT_RUNNING" AppStatusRunning = "RUNNING" AppStatusFrozen = "FROZEN" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.dac.nokia.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 AppPodFixIp ¶
type AppPodFixIp struct { Etcd string `json:"etcd"` EtcdUi string `json:"etcd-ui"` Webvisualizer string `json:"webvisualizer"` PySafetyIngestion string `json:"pythonsafetygearingestion"` }
func (*AppPodFixIp) DeepCopy ¶
func (in *AppPodFixIp) DeepCopy() *AppPodFixIp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppPodFixIp.
func (*AppPodFixIp) DeepCopyInto ¶
func (in *AppPodFixIp) DeepCopyInto(out *AppPodFixIp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppReporteData ¶
type AppReporteData struct { //The structure of this type is up the application. AppFw will convert the whole representation to JSON. MetricsClusterIp string `json:"metricsClusterIp,omitempty"` //Ip addresses of the services that received IP address from the private network PrivateNetworkIpAddress map[string]string `json:"privateNetworkIpAddresses,omitempty"` }
func (*AppReporteData) DeepCopy ¶
func (in *AppReporteData) DeepCopy() *AppReporteData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppReporteData.
func (*AppReporteData) DeepCopyInto ¶
func (in *AppReporteData) DeepCopyInto(out *AppReporteData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Eii ¶
type Eii struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EiiSpec `json:"spec,omitempty"` Status EiiStatus `json:"status,omitempty"` }
Eii is the Schema for the eiis API +kubebuilder:subresource:status +kubebuilder:resource:path=eiis,scope=Namespaced +k8s:openapi-gen=true
func (*Eii) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eii.
func (*Eii) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Eii) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EiiList ¶
type EiiList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Eii `json:"items"` }
EiiList contains a list of Eii
func (*EiiList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EiiList.
func (*EiiList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EiiList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EiiSpec ¶
type EiiSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make generate" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Ports Ports `json:"ports"` GlobalConfig GlobalConfig `json:"globalConfig"` MetricsDomainName string `json:"metricsDomainName,omitempty"` PrivateNetworkAccess *PrivateNetworkAccess `json:"privateNetworkAccess,omitempty"` }
EiiSpec defines the desired state of Eii
func (*EiiSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EiiSpec.
func (*EiiSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EiiStatus ¶
type EiiStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make generate" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html PrevSpec *EiiSpec `json:"prevSpec,omitempty"` AppStatus AppStatus `json:"appStatus,omitempty"` AppReportedData AppReporteData `json:"appReportedData,omitempty"` AppliedResources []k8sdynamic.ResourceDescriptor `json:"appliedResources,omitempty"` }
EiiStatus defines the observed state of Eii
func (*EiiStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EiiStatus.
func (*EiiStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalConfig ¶
type GlobalConfig struct { // common for eii-provision and eii-deploy helm charts values.yaml Namespace string `json:"namespace,omitempty"` DockerRegistry string `json:"dockerRegistry,omitempty"` DockerUsername string `json:"dockerUsername,omitempty"` DockerPassword string `json:"dockerPassword,omitempty"` DevMode string `json:"devMode,omitempty"` // specific for eii-deploy helm chart values.yaml EtcdRootPasswd string `json:"etcdRootPasswd,omitempty"` // specific for eii-deploy helm chart values.yaml ProfilingMode string `json:"profilingMode,omitempty"` }
func (*GlobalConfig) DeepCopy ¶
func (in *GlobalConfig) DeepCopy() *GlobalConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalConfig.
func (*GlobalConfig) DeepCopyInto ¶
func (in *GlobalConfig) DeepCopyInto(out *GlobalConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶
type Network struct { ApnUUID string `json:"apnUUID,omitempty"` NetworkID string `json:"networkId,omitempty"` AdditionalRoutes []string `json:"additionalRoutes,omitempty"` }
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ports ¶
type Ports struct { EtcdIntClientPort int `json:"etcdIntClientPort,omitempty"` EtcdIntPeerPort int `json:"etcdIntPeerPort,omitempty"` EtcdUIIntPort int `json:"etcdUIIntPort,omitempty"` WebVisIntHttpPort int `json:"webVisIntHttpPort,omitempty"` WebVisIntHttpsPort int `json:"webVisIntHttpsPort,omitempty"` WebVisIPCTransport bool `json:"webVisIPCTransport,omitempty"` SafetyGearIngestionPubPort int `json:"safetyGearIngestionPubPort,omitempty"` SafetyGearIngestionServPort int `json:"safetyGearIngestionServPort,omitempty"` SafetyGearIngestionIPCTransport bool `json:"safetyGearIngestionIPCTransport,omitempty"` SafetyGearAnalyticsPubPort int `json:"safetyGearAnalyticsPubPort,omitempty"` SafetyGearAnalyticsIPCTransport bool `json:"safetyGearAnalyticsIPCTransport,omitempty"` }
func (*Ports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (*Ports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNetworkAccess ¶
type PrivateNetworkAccess struct { ApnUUID string `json:"apnUUID,omitempty"` Networks []Network `json:"networks,omitempty"` CustomerNetwork string `json:"customerNetwork"` AdditionalRoutes []string `json:"additionalRoutes,omitempty"` NetworkInterfaceName string `json:"networkInterfaceName,omitempty"` AppPodFixIp *AppPodFixIp `json:"appPodFixIp,omitempty"` }
func (*PrivateNetworkAccess) DeepCopy ¶
func (in *PrivateNetworkAccess) DeepCopy() *PrivateNetworkAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNetworkAccess.
func (*PrivateNetworkAccess) DeepCopyInto ¶
func (in *PrivateNetworkAccess) DeepCopyInto(out *PrivateNetworkAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.