loginbuilder

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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(ctx context.Context, loginset *slinkyv1beta1.LoginSet) (*corev1.Secret, error)

Jump to

Keyboard shortcuts

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