Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the crds v1 API group +kubebuilder:object:generate=true +groupName=crds.kloudlite.io
Index ¶
- Variables
- func IsBlueprintNamespace(ctx context.Context, k8sClient client.Client, ns string) bool
- func ParseVolumes(containers []AppContainer) (volumes []corev1.Volume, volumeMounts [][]corev1.VolumeMount)
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (acc *Account) EnsureGVK()
- func (acc *Account) GetEnsuredAnnotations() map[string]string
- func (acc *Account) GetEnsuredLabels() map[string]string
- func (acc *Account) GetStatus() *rApi.Status
- type AccountList
- type AccountSpec
- type App
- func (in *App) DeepCopy() *App
- func (in *App) DeepCopyInto(out *App)
- func (in *App) DeepCopyObject() runtime.Object
- func (app *App) EnsureGVK()
- func (app *App) GetEnsuredAnnotations() map[string]string
- func (app *App) GetEnsuredLabels() map[string]string
- func (app *App) GetStatus() *rApi.Status
- func (app *App) LogRef() string
- type AppContainer
- type AppList
- type AppSpec
- type AppSvc
- type BasicAuth
- type Bool
- type ClusterManagedService
- func (in *ClusterManagedService) DeepCopy() *ClusterManagedService
- func (in *ClusterManagedService) DeepCopyInto(out *ClusterManagedService)
- func (in *ClusterManagedService) DeepCopyObject() runtime.Object
- func (m *ClusterManagedService) EnsureGVK()
- func (m *ClusterManagedService) GetEnsuredAnnotations() map[string]string
- func (m *ClusterManagedService) GetEnsuredLabels() map[string]string
- func (m *ClusterManagedService) GetStatus() *rApi.Status
- type ClusterManagedServiceList
- type ClusterManagedServiceSpec
- type Condition
- type ConfigOrSecret
- type ContainerEnv
- type ContainerResource
- type ContainerVolume
- type ContainerVolumeItem
- type Cors
- type EnvFrom
- type Environment
- func (in *Environment) DeepCopy() *Environment
- func (in *Environment) DeepCopyInto(out *Environment)
- func (in *Environment) DeepCopyObject() runtime.Object
- func (e *Environment) EnsureGVK()
- func (e *Environment) GetEnsuredAnnotations() map[string]string
- func (e *Environment) GetEnsuredLabels() map[string]string
- func (e *Environment) GetIngressClassName() string
- func (e *Environment) GetStatus() *rApi.Status
- type EnvironmentList
- type EnvironmentRouting
- type EnvironmentRoutingMode
- type EnvironmentSpec
- type HPA
- type HelmChart
- func (in *HelmChart) DeepCopy() *HelmChart
- func (in *HelmChart) DeepCopyInto(out *HelmChart)
- func (in *HelmChart) DeepCopyObject() runtime.Object
- func (p *HelmChart) EnsureGVK()
- func (p *HelmChart) GetEnsuredAnnotations() map[string]string
- func (p *HelmChart) GetEnsuredLabels() map[string]string
- func (p *HelmChart) GetStatus() *rApi.Status
- type HelmChartList
- type HelmChartSpec
- type HelmChartStatus
- type HttpGetProbe
- type Https
- type Intercept
- type JobVars
- type JsonPatch
- type ManagedResource
- func (in *ManagedResource) DeepCopy() *ManagedResource
- func (in *ManagedResource) DeepCopyInto(out *ManagedResource)
- func (in *ManagedResource) DeepCopyObject() runtime.Object
- func (m *ManagedResource) EnsureGVK()
- func (m *ManagedResource) GetEnsuredAnnotations() map[string]string
- func (m *ManagedResource) GetEnsuredLabels() map[string]string
- func (m *ManagedResource) GetStatus() *rApi.Status
- func (m *ManagedResource) NameRef() string
- func (m *ManagedResource) OwnedByMsvc(svc *ManagedService) bool
- type ManagedResourceList
- type ManagedResourceSpec
- type ManagedService
- func (in *ManagedService) DeepCopy() *ManagedService
- func (in *ManagedService) DeepCopyInto(out *ManagedService)
- func (in *ManagedService) DeepCopyObject() runtime.Object
- func (m *ManagedService) EnsureGVK()
- func (m *ManagedService) GetEnsuredAnnotations() map[string]string
- func (m *ManagedService) GetEnsuredLabels() map[string]string
- func (m *ManagedService) GetStatus() *rApi.Status
- type ManagedServiceList
- type ManagedServiceSpec
- type MresResourceTemplate
- type MsvcNamedRef
- type Operations
- type Output
- type Probe
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (p *Project) EnsureGVK()
- func (p *Project) GetEnsuredAnnotations() map[string]string
- func (p *Project) GetEnsuredLabels() map[string]string
- func (p *Project) GetStatus() *rApi.Status
- type ProjectList
- type ProjectManagedService
- func (in *ProjectManagedService) DeepCopy() *ProjectManagedService
- func (in *ProjectManagedService) DeepCopyInto(out *ProjectManagedService)
- func (in *ProjectManagedService) DeepCopyObject() runtime.Object
- func (m *ProjectManagedService) EnsureGVK()
- func (m *ProjectManagedService) GetEnsuredAnnotations() map[string]string
- func (m *ProjectManagedService) GetEnsuredLabels() map[string]string
- func (m *ProjectManagedService) GetStatus() *rApi.Status
- type ProjectManagedServiceList
- type ProjectManagedServiceSpec
- type ProjectSpec
- type RateLimit
- type Route
- type Router
- func (in *Router) DeepCopy() *Router
- func (in *Router) DeepCopyInto(out *Router)
- func (in *Router) DeepCopyObject() runtime.Object
- func (r *Router) EnsureGVK()
- func (m *Router) GetEnsuredAnnotations() map[string]string
- func (r *Router) GetEnsuredLabels() map[string]string
- func (r *Router) GetStatus() *rApi.Status
- type RouterList
- type RouterSpec
- type ServiceTemplate
- type ShellProbe
- type TcpProbe
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "crds.kloudlite.io", Version: "v1"} // 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 ¶
func IsBlueprintNamespace ¶
func ParseVolumes ¶
func ParseVolumes(containers []AppContainer) (volumes []corev1.Volume, volumeMounts [][]corev1.VolumeMount)
Types ¶
type Account ¶
type Account struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AccountSpec `json:"spec"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
Account is the Schema for the accounts API
func (*Account) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Account) GetEnsuredAnnotations ¶
func (*Account) GetEnsuredLabels ¶
type AccountList ¶
type AccountList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Account `json:"items"`
}
AccountList contains a list of Account
func (*AccountList) DeepCopy ¶
func (in *AccountList) DeepCopy() *AccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList.
func (*AccountList) DeepCopyInto ¶
func (in *AccountList) DeepCopyInto(out *AccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountList) DeepCopyObject ¶
func (in *AccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountSpec ¶
type AccountSpec struct {
TargetNamespace *string `json:"targetNamespace,omitempty"`
}
func (*AccountSpec) DeepCopy ¶
func (in *AccountSpec) DeepCopy() *AccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec.
func (*AccountSpec) DeepCopyInto ¶
func (in *AccountSpec) DeepCopyInto(out *AccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type App ¶
type App struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AppSpec `json:"spec"`
// +kubebuilder:default=true
Enabled *bool `json:"enabled,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
App is the Schema for the apps API
func (*App) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*App) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*App) GetEnsuredAnnotations ¶
func (*App) GetEnsuredLabels ¶
type AppContainer ¶
type AppContainer struct {
Name string `json:"name"`
Image string `json:"image"`
// +kubebuilder:default=IfNotPresent
ImagePullPolicy string `json:"imagePullPolicy,omitempty"`
Command []string `json:"command,omitempty"`
Args []string `json:"args,omitempty"`
ResourceCpu ContainerResource `json:"resourceCpu,omitempty"`
ResourceMemory ContainerResource `json:"resourceMemory,omitempty"`
Env []ContainerEnv `json:"env,omitempty"`
EnvFrom []EnvFrom `json:"envFrom,omitempty"`
Volumes []ContainerVolume `json:"volumes,omitempty"`
LivenessProbe *Probe `json:"livenessProbe,omitempty"`
ReadinessProbe *Probe `json:"readinessProbe,omitempty"`
}
func (*AppContainer) DeepCopy ¶
func (in *AppContainer) DeepCopy() *AppContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppContainer.
func (*AppContainer) DeepCopyInto ¶
func (in *AppContainer) DeepCopyInto(out *AppContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AppContainer) ToYAML ¶
func (ac AppContainer) ToYAML() []byte
type AppList ¶
type AppList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []App `json:"items"`
}
AppList contains a list of App
func (*AppList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.
func (*AppList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppSpec ¶
type AppSpec struct {
DisplayName string `json:"displayName,omitempty"`
Region string `json:"region,omitempty"`
Intercept *Intercept `json:"intercept,omitempty"`
Freeze bool `json:"freeze,omitempty"`
// +kubebuilder:validation:Optional
// +kubebuilder:default=kloudlite-svc-account
ServiceAccount string `json:"serviceAccount,omitempty"`
// +kubebuilder:default=1
Replicas int `json:"replicas,omitempty"`
Services []AppSvc `json:"services,omitempty"`
Containers []AppContainer `json:"containers"`
Hpa *HPA `json:"hpa,omitempty"`
// +kubebuilder:validation:Optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}
AppSpec defines the desired state of App
func (*AppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
func (*AppSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppSvc ¶
type AppSvc struct {
Port uint16 `json:"port"`
TargetPort uint16 `json:"targetPort,omitempty"`
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
}
func (*AppSvc) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSvc.
func (*AppSvc) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BasicAuth ¶
type BasicAuth struct {
Enabled bool `json:"enabled"`
Username string `json:"username,omitempty"`
SecretName string `json:"secretName,omitempty"`
}
func (*BasicAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.
func (*BasicAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterManagedService ¶
type ClusterManagedService struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterManagedServiceSpec `json:"spec,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
ClusterManagedService is the Schema for the clustermanagedservices API
func (*ClusterManagedService) DeepCopy ¶
func (in *ClusterManagedService) DeepCopy() *ClusterManagedService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterManagedService.
func (*ClusterManagedService) DeepCopyInto ¶
func (in *ClusterManagedService) DeepCopyInto(out *ClusterManagedService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterManagedService) DeepCopyObject ¶
func (in *ClusterManagedService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterManagedService) EnsureGVK ¶
func (m *ClusterManagedService) EnsureGVK()
func (*ClusterManagedService) GetEnsuredAnnotations ¶
func (m *ClusterManagedService) GetEnsuredAnnotations() map[string]string
func (*ClusterManagedService) GetEnsuredLabels ¶
func (m *ClusterManagedService) GetEnsuredLabels() map[string]string
func (*ClusterManagedService) GetStatus ¶
func (m *ClusterManagedService) GetStatus() *rApi.Status
type ClusterManagedServiceList ¶
type ClusterManagedServiceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterManagedService `json:"items"`
}
ClusterManagedServiceList contains a list of ClusterManagedService
func (*ClusterManagedServiceList) DeepCopy ¶
func (in *ClusterManagedServiceList) DeepCopy() *ClusterManagedServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterManagedServiceList.
func (*ClusterManagedServiceList) DeepCopyInto ¶
func (in *ClusterManagedServiceList) DeepCopyInto(out *ClusterManagedServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterManagedServiceList) DeepCopyObject ¶
func (in *ClusterManagedServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterManagedServiceSpec ¶
type ClusterManagedServiceSpec struct {
TargetNamespace string `json:"targetNamespace"`
MSVCSpec ManagedServiceSpec `json:"msvcSpec"`
}
ClusterManagedServiceSpec defines the desired state of ClusterManagedService
func (*ClusterManagedServiceSpec) DeepCopy ¶
func (in *ClusterManagedServiceSpec) DeepCopy() *ClusterManagedServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterManagedServiceSpec.
func (*ClusterManagedServiceSpec) DeepCopyInto ¶
func (in *ClusterManagedServiceSpec) DeepCopyInto(out *ClusterManagedServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct {
Type string
Status string // "True", "False", "Unknown"
ObservedGeneration int64
Reason string
Message string
}
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigOrSecret ¶
type ConfigOrSecret string
+kubebuilder:validation:Enum=config;secret
const ( SecretType ConfigOrSecret = "secret" ConfigType ConfigOrSecret = "config" )
type ContainerEnv ¶
type ContainerEnv struct {
Key string `json:"key"`
Value string `json:"value,omitempty"`
Type ConfigOrSecret `json:"type,omitempty"`
RefName string `json:"refName,omitempty"`
RefKey string `json:"refKey,omitempty"`
Optional *bool `json:"optional,omitempty"`
}
func (*ContainerEnv) DeepCopy ¶
func (in *ContainerEnv) DeepCopy() *ContainerEnv
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerEnv.
func (*ContainerEnv) DeepCopyInto ¶
func (in *ContainerEnv) DeepCopyInto(out *ContainerEnv)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerResource ¶
type ContainerResource struct {
Min string `json:"min,omitempty"`
Max string `json:"max,omitempty"`
}
func (*ContainerResource) DeepCopy ¶
func (in *ContainerResource) DeepCopy() *ContainerResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerResource.
func (*ContainerResource) DeepCopyInto ¶
func (in *ContainerResource) DeepCopyInto(out *ContainerResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerVolume ¶
type ContainerVolume struct {
MountPath string `json:"mountPath"`
Type ConfigOrSecret `json:"type"`
RefName string `json:"refName"`
Items []ContainerVolumeItem `json:"items,omitempty"`
}
func (*ContainerVolume) DeepCopy ¶
func (in *ContainerVolume) DeepCopy() *ContainerVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerVolume.
func (*ContainerVolume) DeepCopyInto ¶
func (in *ContainerVolume) DeepCopyInto(out *ContainerVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerVolumeItem ¶
type ContainerVolumeItem struct {
Key string `json:"key"`
FileName string `json:"fileName,omitempty"`
}
func (*ContainerVolumeItem) DeepCopy ¶
func (in *ContainerVolumeItem) DeepCopy() *ContainerVolumeItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerVolumeItem.
func (*ContainerVolumeItem) DeepCopyInto ¶
func (in *ContainerVolumeItem) DeepCopyInto(out *ContainerVolumeItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cors ¶
type Cors struct {
// +kubebuilder:default=false
Enabled bool `json:"enabled,omitempty"`
Origins []string `json:"origins,omitempty"`
AllowCredentials bool `json:"allowCredentials,omitempty"`
}
func (*Cors) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cors.
func (*Cors) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvFrom ¶
type EnvFrom struct {
Type ConfigOrSecret `json:"type"`
RefName string `json:"refName"`
}
func (*EnvFrom) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFrom.
func (*EnvFrom) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EnvironmentSpec `json:"spec,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
Environment is the Schema for the environments API
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Environment) EnsureGVK ¶
func (e *Environment) EnsureGVK()
func (*Environment) GetEnsuredAnnotations ¶
func (e *Environment) GetEnsuredAnnotations() map[string]string
func (*Environment) GetEnsuredLabels ¶
func (e *Environment) GetEnsuredLabels() map[string]string
func (*Environment) GetIngressClassName ¶
func (e *Environment) GetIngressClassName() string
func (*Environment) GetStatus ¶
func (e *Environment) GetStatus() *rApi.Status
type EnvironmentList ¶
type EnvironmentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Environment `json:"items"`
}
EnvironmentList contains a list of Environment
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentRouting ¶
type EnvironmentRouting struct {
Mode EnvironmentRoutingMode `json:"mode,omitempty"`
PublicIngressClass string `json:"publicIngressClass,omitempty" graphql:"noinput"`
PrivateIngressClass string `json:"privateIngressClass,omitempty" graphql:"noinput"`
}
func (*EnvironmentRouting) DeepCopy ¶
func (in *EnvironmentRouting) DeepCopy() *EnvironmentRouting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRouting.
func (*EnvironmentRouting) DeepCopyInto ¶
func (in *EnvironmentRouting) DeepCopyInto(out *EnvironmentRouting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentRoutingMode ¶
type EnvironmentRoutingMode string
const ( EnvironmentRoutingModePublic EnvironmentRoutingMode = "public" EnvironmentRoutingModePrivate EnvironmentRoutingMode = "private" )
type EnvironmentSpec ¶
type EnvironmentSpec struct {
ProjectName string `json:"projectName"`
TargetNamespace string `json:"targetNamespace,omitempty"`
Routing *EnvironmentRouting `json:"routing,omitempty"`
}
EnvironmentSpec defines the desired state of Environment
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HPA ¶
type HPA struct {
Enabled bool `json:"enabled,omitempty"`
// +kubebuilder:default=1
MinReplicas int `json:"minReplicas,omitempty"`
// +kubebuilder:default=5
MaxReplicas int `json:"maxReplicas,omitempty"`
// +kubebuilder:default=90
ThresholdCpu int `json:"thresholdCpu,omitempty"`
// +kubebuilder:default=75
ThresholdMemory int `json:"thresholdMemory,omitempty"`
}
func (*HPA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPA.
func (*HPA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmChart ¶
type HelmChart struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec HelmChartSpec `json:"spec,omitempty"`
Status HelmChartStatus `json:"status,omitempty" graphql:"noinput"`
}
HelmChart is the Schema for the helmcharts API
func (*HelmChart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChart.
func (*HelmChart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChart) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HelmChart) GetEnsuredAnnotations ¶
func (*HelmChart) GetEnsuredLabels ¶
type HelmChartList ¶
type HelmChartList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []HelmChart `json:"items"`
}
HelmChartList contains a list of HelmChart
func (*HelmChartList) DeepCopy ¶
func (in *HelmChartList) DeepCopy() *HelmChartList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartList.
func (*HelmChartList) DeepCopyInto ¶
func (in *HelmChartList) DeepCopyInto(out *HelmChartList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartList) DeepCopyObject ¶
func (in *HelmChartList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmChartSpec ¶
type HelmChartSpec struct {
ChartRepoURL string `json:"chartRepoURL"`
// find chartVersion by running command `helm search repo <chartName> --versions` 2nd column is the chartVersion
ChartVersion string `json:"chartVersion"`
ChartName string `json:"chartName"`
ReleaseName string `json:"releaseName,omitempty" graphql:"noinput"`
JobVars JobVars `json:"jobVars,omitempty"`
PreInstall string `json:"preInstall,omitempty"`
PostInstall string `json:"postInstall,omitempty"`
PreUninstall string `json:"preUninstall,omitempty"`
PostUninstall string `json:"postUninstall,omitempty"`
Values map[string]apiextensionsv1.JSON `json:"values"`
}
HelmChartSpec defines the desired state of HelmChart
func (*HelmChartSpec) DeepCopy ¶
func (in *HelmChartSpec) DeepCopy() *HelmChartSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartSpec.
func (*HelmChartSpec) DeepCopyInto ¶
func (in *HelmChartSpec) DeepCopyInto(out *HelmChartSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmChartStatus ¶
type HelmChartStatus struct {
rApi.Status `json:",inline"`
ReleaseNotes string `json:"releaseNotes"`
ReleaseStatus string `json:"releaseStatus"`
}
HelmChartStatus defines the observed state of HelmChart
func (*HelmChartStatus) DeepCopy ¶
func (in *HelmChartStatus) DeepCopy() *HelmChartStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartStatus.
func (*HelmChartStatus) DeepCopyInto ¶
func (in *HelmChartStatus) DeepCopyInto(out *HelmChartStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpGetProbe ¶
type HttpGetProbe struct {
Path string `json:"path"`
Port uint `json:"port"`
HttpHeaders map[string]string `json:"httpHeaders,omitempty"`
}
func (*HttpGetProbe) DeepCopy ¶
func (in *HttpGetProbe) DeepCopy() *HttpGetProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpGetProbe.
func (*HttpGetProbe) DeepCopyInto ¶
func (in *HttpGetProbe) DeepCopyInto(out *HttpGetProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Https ¶
type Https struct {
// +kubebuilder:default=true
Enabled bool `json:"enabled"`
ForceRedirect bool `json:"forceRedirect,omitempty"`
ClusterIssuer string `json:"clusterIssuer,omitempty"`
}
func (*Https) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Https.
func (*Https) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Intercept ¶
type Intercept struct {
Enabled bool `json:"enabled"`
// +kubebuilder:validation:MinLength=1
ToDevice string `json:"toDevice"`
}
func (*Intercept) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Intercept.
func (*Intercept) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobVars ¶
type JobVars struct {
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// +kubebuilder:default=1
BackOffLimit *int32 `json:"backOffLimit,omitempty"`
}
func (*JobVars) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobVars.
func (*JobVars) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JsonPatch ¶
type JsonPatch struct {
Applied bool `json:"applied,omitempty"`
Patches []jsonPatch.PatchOperation `json:"patches,omitempty"`
}
func (*JsonPatch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonPatch.
func (*JsonPatch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedResource ¶
type ManagedResource struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ManagedResourceSpec `json:"spec"`
// +kubebuilder:default=true
Enabled *bool `json:"enabled,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
ManagedResource is the Schema for the managedresources API
func (*ManagedResource) DeepCopy ¶
func (in *ManagedResource) DeepCopy() *ManagedResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResource.
func (*ManagedResource) DeepCopyInto ¶
func (in *ManagedResource) DeepCopyInto(out *ManagedResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedResource) DeepCopyObject ¶
func (in *ManagedResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagedResource) EnsureGVK ¶
func (m *ManagedResource) EnsureGVK()
func (*ManagedResource) GetEnsuredAnnotations ¶
func (m *ManagedResource) GetEnsuredAnnotations() map[string]string
func (*ManagedResource) GetEnsuredLabels ¶
func (m *ManagedResource) GetEnsuredLabels() map[string]string
func (*ManagedResource) GetStatus ¶
func (m *ManagedResource) GetStatus() *rApi.Status
func (*ManagedResource) NameRef ¶
func (m *ManagedResource) NameRef() string
func (*ManagedResource) OwnedByMsvc ¶
func (m *ManagedResource) OwnedByMsvc(svc *ManagedService) bool
type ManagedResourceList ¶
type ManagedResourceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ManagedResource `json:"items"`
}
ManagedResourceList contains a list of ManagedResource
func (*ManagedResourceList) DeepCopy ¶
func (in *ManagedResourceList) DeepCopy() *ManagedResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceList.
func (*ManagedResourceList) DeepCopyInto ¶
func (in *ManagedResourceList) DeepCopyInto(out *ManagedResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedResourceList) DeepCopyObject ¶
func (in *ManagedResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedResourceSpec ¶
type ManagedResourceSpec struct {
ResourceName string `json:"resourceName,omitempty"`
ResourceTemplate MresResourceTemplate `json:"resourceTemplate"`
}
ManagedResourceSpec defines the desired state of ManagedResource
func (*ManagedResourceSpec) DeepCopy ¶
func (in *ManagedResourceSpec) DeepCopy() *ManagedResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceSpec.
func (*ManagedResourceSpec) DeepCopyInto ¶
func (in *ManagedResourceSpec) DeepCopyInto(out *ManagedResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedService ¶
type ManagedService struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ManagedServiceSpec `json:"spec"`
// +kubebuilder:default=true
Enabled *bool `json:"enabled,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
ManagedService is the Schema for the managedservices API
func (*ManagedService) DeepCopy ¶
func (in *ManagedService) DeepCopy() *ManagedService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedService.
func (*ManagedService) DeepCopyInto ¶
func (in *ManagedService) DeepCopyInto(out *ManagedService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedService) DeepCopyObject ¶
func (in *ManagedService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagedService) EnsureGVK ¶
func (m *ManagedService) EnsureGVK()
func (*ManagedService) GetEnsuredAnnotations ¶
func (m *ManagedService) GetEnsuredAnnotations() map[string]string
func (*ManagedService) GetEnsuredLabels ¶
func (m *ManagedService) GetEnsuredLabels() map[string]string
func (*ManagedService) GetStatus ¶
func (m *ManagedService) GetStatus() *rApi.Status
type ManagedServiceList ¶
type ManagedServiceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ManagedService `json:"items"`
}
ManagedServiceList contains a list of ManagedService
func (*ManagedServiceList) DeepCopy ¶
func (in *ManagedServiceList) DeepCopy() *ManagedServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedServiceList.
func (*ManagedServiceList) DeepCopyInto ¶
func (in *ManagedServiceList) DeepCopyInto(out *ManagedServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedServiceList) DeepCopyObject ¶
func (in *ManagedServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedServiceSpec ¶
type ManagedServiceSpec struct {
ServiceTemplate ServiceTemplate `json:"serviceTemplate"`
}
ManagedServiceSpec defines the desired state of ManagedService
func (*ManagedServiceSpec) DeepCopy ¶
func (in *ManagedServiceSpec) DeepCopy() *ManagedServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedServiceSpec.
func (*ManagedServiceSpec) DeepCopyInto ¶
func (in *ManagedServiceSpec) DeepCopyInto(out *ManagedServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MresResourceTemplate ¶
type MresResourceTemplate struct {
metav1.TypeMeta `json:",inline" graphql:"children-required"`
MsvcRef MsvcNamedRef `json:"msvcRef"`
Spec map[string]apiextensionsv1.JSON `json:"spec"`
}
func (*MresResourceTemplate) DeepCopy ¶
func (in *MresResourceTemplate) DeepCopy() *MresResourceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MresResourceTemplate.
func (*MresResourceTemplate) DeepCopyInto ¶
func (in *MresResourceTemplate) DeepCopyInto(out *MresResourceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MsvcNamedRef ¶
type MsvcNamedRef struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Name string `json:"name"`
Namespace string `json:"namespace"`
}
func (*MsvcNamedRef) DeepCopy ¶
func (in *MsvcNamedRef) DeepCopy() *MsvcNamedRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MsvcNamedRef.
func (*MsvcNamedRef) DeepCopyInto ¶
func (in *MsvcNamedRef) DeepCopyInto(out *MsvcNamedRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Operations ¶
func (*Operations) DeepCopy ¶
func (in *Operations) DeepCopy() *Operations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operations.
func (*Operations) DeepCopyInto ¶
func (in *Operations) DeepCopyInto(out *Operations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Output ¶
func (*Output) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Output.
func (*Output) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Probe ¶
type Probe struct {
// +kubebuilder:validation:Enum=shell;httpGet;tcp
Type string `json:"type"`
// +kubebuilder:validation:Optional
Shell *ShellProbe `json:"shell,omitempty"`
// +kubebuilder:validation:Optional
HttpGet *HttpGetProbe `json:"httpGet,omitempty"`
// +kubebuilder:validation:Optional
Tcp *TcpProbe `json:"tcp,omitempty"`
FailureThreshold uint `json:"failureThreshold,omitempty"`
InitialDelay uint `json:"initialDelay,omitempty"`
Interval uint `json:"interval,omitempty"`
}
func (*Probe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
func (*Probe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Project ¶
type Project struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ProjectSpec `json:"spec"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
Project is the Schema for the projects API
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) GetEnsuredAnnotations ¶
func (*Project) GetEnsuredLabels ¶
type ProjectList ¶
type ProjectList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Project `json:"items"`
}
ProjectList contains a list of Project
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectManagedService ¶
type ProjectManagedService struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ProjectManagedServiceSpec `json:"spec,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
ProjectManagedService is the Schema for the projectmanagedservices API
func (*ProjectManagedService) DeepCopy ¶
func (in *ProjectManagedService) DeepCopy() *ProjectManagedService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectManagedService.
func (*ProjectManagedService) DeepCopyInto ¶
func (in *ProjectManagedService) DeepCopyInto(out *ProjectManagedService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectManagedService) DeepCopyObject ¶
func (in *ProjectManagedService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectManagedService) EnsureGVK ¶
func (m *ProjectManagedService) EnsureGVK()
func (*ProjectManagedService) GetEnsuredAnnotations ¶
func (m *ProjectManagedService) GetEnsuredAnnotations() map[string]string
func (*ProjectManagedService) GetEnsuredLabels ¶
func (m *ProjectManagedService) GetEnsuredLabels() map[string]string
func (*ProjectManagedService) GetStatus ¶
func (m *ProjectManagedService) GetStatus() *rApi.Status
type ProjectManagedServiceList ¶
type ProjectManagedServiceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ProjectManagedService `json:"items"`
}
ProjectManagedServiceList contains a list of ProjectManagedService
func (*ProjectManagedServiceList) DeepCopy ¶
func (in *ProjectManagedServiceList) DeepCopy() *ProjectManagedServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectManagedServiceList.
func (*ProjectManagedServiceList) DeepCopyInto ¶
func (in *ProjectManagedServiceList) DeepCopyInto(out *ProjectManagedServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectManagedServiceList) DeepCopyObject ¶
func (in *ProjectManagedServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectManagedServiceSpec ¶
type ProjectManagedServiceSpec struct {
TargetNamespace string `json:"targetNamespace"`
MSVCSpec ManagedServiceSpec `json:"msvcSpec"`
}
ProjectManagedServiceSpec defines the desired state of ProjectManagedService
func (*ProjectManagedServiceSpec) DeepCopy ¶
func (in *ProjectManagedServiceSpec) DeepCopy() *ProjectManagedServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectManagedServiceSpec.
func (*ProjectManagedServiceSpec) DeepCopyInto ¶
func (in *ProjectManagedServiceSpec) DeepCopyInto(out *ProjectManagedServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectSpec ¶
type ProjectSpec struct {
TargetNamespace string `json:"targetNamespace"`
}
ProjectSpec defines the desired state of Project
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimit ¶
type RateLimit struct {
Enabled bool `json:"enabled,omitempty"`
Rps int `json:"rps,omitempty"`
Rpm int `json:"rpm,omitempty"`
Connections int `json:"connections,omitempty"`
}
func (*RateLimit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.
func (*RateLimit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct {
App string `json:"app,omitempty"`
Lambda string `json:"lambda,omitempty"`
Path string `json:"path"`
Port uint16 `json:"port"`
// +kubebuilder:default=false
Rewrite bool `json:"rewrite,omitempty"`
}
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Router ¶
type Router struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RouterSpec `json:"spec"`
// +kubebuilder:default=true
Enabled bool `json:"enabled,omitempty"`
Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}
Router is the Schema for the routers API
func (*Router) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.
func (*Router) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Router) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Router) GetEnsuredAnnotations ¶
func (*Router) GetEnsuredLabels ¶
type RouterList ¶
type RouterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Router `json:"items"`
}
RouterList contains a list of Router
func (*RouterList) DeepCopy ¶
func (in *RouterList) DeepCopy() *RouterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterList.
func (*RouterList) DeepCopyInto ¶
func (in *RouterList) DeepCopyInto(out *RouterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouterList) DeepCopyObject ¶
func (in *RouterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouterSpec ¶
type RouterSpec struct {
IngressClass string `json:"ingressClass,omitempty"`
BackendProtocol *string `json:"backendProtocol,omitempty"`
Https *Https `json:"https,omitempty"`
RateLimit *RateLimit `json:"rateLimit,omitempty"`
MaxBodySizeInMB *int `json:"maxBodySizeInMB,omitempty"`
Domains []string `json:"domains"`
Routes []Route `json:"routes,omitempty"`
BasicAuth *BasicAuth `json:"basicAuth,omitempty"`
Cors *Cors `json:"cors,omitempty"`
}
RouterSpec defines the desired state of Router
func (*RouterSpec) DeepCopy ¶
func (in *RouterSpec) DeepCopy() *RouterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterSpec.
func (*RouterSpec) DeepCopyInto ¶
func (in *RouterSpec) DeepCopyInto(out *RouterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplate ¶
type ServiceTemplate struct {
Kind string `json:"kind"`
APIVersion string `json:"apiVersion"`
Spec map[string]apiextensionsv1.JSON `json:"spec"`
}
func (*ServiceTemplate) DeepCopy ¶
func (in *ServiceTemplate) DeepCopy() *ServiceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplate.
func (*ServiceTemplate) DeepCopyInto ¶
func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplate) GroupVersionKind ¶
func (s *ServiceTemplate) GroupVersionKind() schema.GroupVersionKind
type ShellProbe ¶
type ShellProbe struct {
Command []string `json:"command,omitempty"`
}
func (*ShellProbe) DeepCopy ¶
func (in *ShellProbe) DeepCopy() *ShellProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShellProbe.
func (*ShellProbe) DeepCopyInto ¶
func (in *ShellProbe) DeepCopyInto(out *ShellProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcpProbe ¶
type TcpProbe struct {
Port uint16 `json:"port"`
}
func (*TcpProbe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcpProbe.
func (*TcpProbe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.