v1alpha1

package
v0.0.0-...-e06b190 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

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

View Source
const (
	AppStatusNotSet     = "UNSET"
	AppStatusNotRunning = "NOT_RUNNING"
	AppStatusRunning    = "RUNNING"
	AppStatusFrozen     = "FROZEN"
)

Variables

View Source
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 AppStatus

type AppStatus string

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

func (in *Eii) DeepCopy() *Eii

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

func (*Eii) DeepCopyInto

func (in *Eii) DeepCopyInto(out *Eii)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Eii) DeepCopyObject

func (in *Eii) DeepCopyObject() runtime.Object

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

func (in *EiiList) DeepCopy() *EiiList

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

func (*EiiList) DeepCopyInto

func (in *EiiList) DeepCopyInto(out *EiiList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EiiList) DeepCopyObject

func (in *EiiList) DeepCopyObject() runtime.Object

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

func (in *EiiSpec) DeepCopy() *EiiSpec

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

func (*EiiSpec) DeepCopyInto

func (in *EiiSpec) DeepCopyInto(out *EiiSpec)

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

func (in *EiiStatus) DeepCopy() *EiiStatus

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

func (*EiiStatus) DeepCopyInto

func (in *EiiStatus) DeepCopyInto(out *EiiStatus)

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

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

func (in *Ports) DeepCopy() *Ports

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

func (*Ports) DeepCopyInto

func (in *Ports) DeepCopyInto(out *Ports)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL