types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonsetParams

type DaemonsetParams struct {
	Name               string
	Namespace          string
	Labels             map[string]string
	Annotations        map[string]string
	Replicas           int
	ContainerName      string
	Args               []string
	Command            []string
	Image              string
	ImagePullSecrets   []string
	ImagePullPolicy    string
	Volumes            []corev1.Volume
	VolumeMounts       []corev1.VolumeMount
	Env                []corev1.EnvVar
	Resources          corev1.ResourceRequirements
	NodeSelector       map[string]string
	Tolerations        []corev1.Toleration
	Affinity           *corev1.PodAffinity
	LivenessProbe      *corev1.Probe
	ReadinessProbe     *corev1.Probe
	StartupProbe       *corev1.Probe
	ServiceAccountName string
	NIMCachePVC        string
}

DaemonsetParams holds the parameters for rendering a Daemonset template

type DeploymentParams

type DeploymentParams struct {
	Name               string
	Namespace          string
	Labels             map[string]string
	Annotations        map[string]string
	SelectorLabels     map[string]string
	Replicas           int
	ContainerName      string
	Args               []string
	Command            []string
	Image              string
	ImagePullSecrets   []string
	ImagePullPolicy    string
	Volumes            []corev1.Volume
	VolumeMounts       []corev1.VolumeMount
	Env                []corev1.EnvVar
	Resources          *corev1.ResourceRequirements
	NodeSelector       map[string]string
	Tolerations        []corev1.Toleration
	Affinity           *corev1.PodAffinity
	LivenessProbe      *corev1.Probe
	ReadinessProbe     *corev1.Probe
	StartupProbe       *corev1.Probe
	ServiceAccountName string
	NIMCachePVC        string
	UserID             *int64
	GroupID            *int64
}

DeploymentParams holds the parameters for rendering a Deployment template

type HPAParams

type HPAParams struct {
	Enabled     bool
	Name        string
	Namespace   string
	Labels      map[string]string
	Annotations map[string]string
	HPASpec     autoscalingv2.HorizontalPodAutoscalerSpec
}

HPAParams holds the parameters for rendering a HorizontalPodAutoscaler template

type IngressHost

type IngressHost struct {
	Host  string
	Paths []IngressPath
}

IngressHost defines attributes for ingress host

type IngressParams

type IngressParams struct {
	Enabled     bool
	Name        string
	Namespace   string
	Labels      map[string]string
	Annotations map[string]string
	Spec        networkingv1.IngressSpec
}

IngressParams holds the parameters for rendering an Ingress template

type IngressPath

type IngressPath struct {
	Path        string
	PathType    networkingv1.PathType
	ServiceType string
}

IngressPath defines attributes for ingress paths

type RoleBindingParams

type RoleBindingParams struct {
	Name               string
	Namespace          string
	RoleName           string
	ServiceAccountName string
}

RoleBindingParams holds the parameters for rendering a RoleBinding template

type RoleParams

type RoleParams struct {
	Name      string
	Namespace string
	Rules     []rbacv1.PolicyRule
}

RoleParams holds the parameters for rendering a Role template

type SCCParams

type SCCParams struct {
	Name               string
	ServiceAccountName string
}

SCCParams holds the parameters for rendering a SecurityContextConstraints template

type ServiceAccountParams

type ServiceAccountParams struct {
	Name        string
	Namespace   string
	Labels      map[string]string
	Annotations map[string]string
}

ServiceAccountParams holds the parameters for rendering a ServiceAccount template

type ServiceMonitorParams

type ServiceMonitorParams struct {
	Enabled       bool
	Name          string
	Namespace     string
	Labels        map[string]string
	Annotations   map[string]string
	MatchLabels   map[string]string
	Port          int32
	Path          string
	Interval      int32
	ScrapeTimeout int32
	SMSpec        monitoringv1.ServiceMonitorSpec
}

ServiceMonitorParams holds the parameters for rendering a ServiceMonitor template

type ServiceParams

type ServiceParams struct {
	Name           string
	Namespace      string
	Port           int32
	TargetPort     int32
	PortName       string
	Protocol       string
	Type           string
	Labels         map[string]string
	Annotations    map[string]string
	SelectorLabels map[string]string
}

ServiceParams holds the parameters for rendering a Service template

type StatefulSetParams

type StatefulSetParams struct {
	Name               string
	Namespace          string
	Labels             map[string]string
	Annotations        map[string]string
	SelectorLabels     map[string]string
	Replicas           int
	ContainerName      string
	ServiceName        string
	Image              string
	ImagePullSecrets   []string
	ImagePullPolicy    string
	Args               []string
	Command            []string
	Volumes            []corev1.Volume
	VolumeMounts       []corev1.VolumeMount
	Env                []corev1.EnvVar
	Resources          *corev1.ResourceRequirements
	NodeSelector       map[string]string
	Tolerations        []corev1.Toleration
	Affinity           *corev1.PodAffinity
	ServiceAccountName string
	LivenessProbe      *corev1.Probe
	ReadinessProbe     *corev1.Probe
	StartupProbe       *corev1.Probe
	NIMCachePVC        string
}

StatefulSetParams holds the parameters for rendering a StatefulSet template

Jump to

Keyboard shortcuts

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