loginbuilder

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoginPort = 22

	SackdVolume = "sackd-dir"
	SackdDir    = "/run/slurm"

	SackdSocket     = "sack.socket"
	SackdSocketPath = SackdDir + "/" + SackdSocket

	SshConfigVolume    = "ssh-config"
	SshdConfigFile     = "sshd_config"
	SshdConfigFilePath = SshDir + "/" + SshdConfigFile

	SshDir = "/etc/ssh"

	SshHostKeysVolume = "ssh-host-keys"

	SshHostRsaKeyFile        = "ssh_host_rsa_key"
	SshHostRsaKeyFilePath    = SshDir + "/" + SshHostRsaKeyFile
	SshHostRsaPubKeyFile     = SshHostRsaKeyFile + ".pub"
	SshHostRsaKeyPubFilePath = SshDir + "/" + SshHostRsaPubKeyFile

	SshHostEd25519KeyFile        = "ssh_host_ed25519_key"
	SshHostEd25519KeyFilePath    = SshDir + "/" + SshHostEd25519KeyFile
	SshHostEd25519PubKeyFile     = SshHostEd25519KeyFile + ".pub"
	SshHostEd25519PubKeyFilePath = SshDir + "/" + SshHostEd25519PubKeyFile

	SshHostEcdsaKeyFile        = "ssh_host_ecdsa_key"
	SshHostEcdsaKeyFilePath    = SshDir + "/" + SshHostEcdsaKeyFile
	SshHostEcdsaPubKeyFile     = SshHostEcdsaKeyFile + ".pub"
	SshHostEcdsaPubKeyFilePath = SshDir + "/" + SshHostEcdsaPubKeyFile

	SssdConfVolume   = "sssd-conf"
	SssdConfFile     = "sssd.conf"
	SssdConfDir      = "/etc/sssd"
	SssdConfFilePath = SssdConfDir + "/" + SssdConfFile
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginBuilder

type LoginBuilder struct {
	CommonBuilder common.CommonBuilder
	// contains filtered or unexported fields
}

func New

func New(c client.Client) *LoginBuilder

func (*LoginBuilder) BuildLogin

func (b *LoginBuilder) BuildLogin(loginset *slinkyv1beta1.LoginSet) (*appsv1.Deployment, error)

func (*LoginBuilder) BuildLoginService

func (b *LoginBuilder) BuildLoginService(loginset *slinkyv1beta1.LoginSet) (*corev1.Service, error)

func (*LoginBuilder) BuildLoginSshConfig

func (b *LoginBuilder) BuildLoginSshConfig(loginset *slinkyv1beta1.LoginSet) (*corev1.ConfigMap, error)

func (*LoginBuilder) BuildLoginSshHostKeys

func (b *LoginBuilder) BuildLoginSshHostKeys(loginset *slinkyv1beta1.LoginSet) (*corev1.Secret, error)

Jump to

Keyboard shortcuts

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