Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapModel ¶
type ConfigMapModel struct { Name string Namespace string Service string TunnelID string Domain string }
func ConfigMap ¶
func ConfigMap(model ConfigMapModel) *ConfigMapModel
func (*ConfigMapModel) GetConfigMap ¶
func (cm *ConfigMapModel) GetConfigMap() (*corev1.ConfigMap, error)
type DeploymentModel ¶
type DeploymentModel struct { Name string Namespace string Replicas int32 TunnelID string Image string ImagePullPolicy corev1.PullPolicy Command []string Args []string Secret *corev1.Secret ConfigMap *corev1.ConfigMap }
func Deployment ¶
func Deployment(model DeploymentModel) *DeploymentModel
func (*DeploymentModel) GetDeployment ¶
func (d *DeploymentModel) GetDeployment() *appsv1.Deployment
type SecretModel ¶
type SecretModel struct { Name string Namespace string TunnelToken string AccountTag string TunnelSecret string TunnelID string }
func Secret ¶
func Secret(model SecretModel) *SecretModel
Click to show internal directories.
Click to hide internal directories.