bss

package
v1.36.9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 7 Imported by: 1 module, 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

This section is empty.

Variables

View Source
var KubernetesNCNRunCMD = [...]string{
	"/srv/cray/scripts/metal/net-init.sh",
	"/srv/cray/scripts/common/update_ca_certs.py",
	"/srv/cray/scripts/metal/install.sh",
	"/srv/cray/scripts/common/kubernetes-cloudinit.sh",
	"/srv/cray/scripts/common/join-spire-on-storage.sh",
	"touch /etc/cloud/cloud-init.disabled",
}

KubernetesNCNRunCMD - The run-cmd for Kubernetes nodes.

View Source
var StorageNCNRunCMD = [...]string{
	"/srv/cray/scripts/metal/net-init.sh",
	"/srv/cray/scripts/common/update_ca_certs.py",
	"/srv/cray/scripts/metal/install.sh",
	"/srv/cray/scripts/common/pre-load-images.sh",
	"/srv/cray/scripts/common/ceph-enable-services.sh",
	"touch /etc/cloud/cloud-init.disabled",
}

StorageNCNRunCMD - The run-cmd for storage nodes.

Functions

This section is empty.

Types

type CloudInitIPAM

type CloudInitIPAM map[string]IPAMNetwork

CloudInitIPAM - Typdef for IPAM map.

type HostRecord added in v1.16.16

type HostRecord struct {
	IP      string   `json:"ip"`
	Aliases []string `json:"aliases"`
}

HostRecord - Structure that describes an element of host_records portion of cloud-init

type HostRecords added in v1.16.16

type HostRecords []HostRecord

HostRecords - Structure that describes the host_records portion of cloud-init

type IPAMNetwork

type IPAMNetwork struct {
	Gateway      string `json:"gateway" mapstructure:"gateway"`
	CIDR         string `json:"ip" mapstructure:"ip"`
	ParentDevice string `json:"parent_device" mapstructure:"parent_device"`
	VlanID       int16  `json:"vlanid" mapstructure:"vlanid"`
}

IPAMNetwork - Structure that describes the IPAM portion of cloud-init.

type UtilsClient

type UtilsClient struct {
	// contains filtered or unexported fields
}

UtilsClient - Structure for BSS client.

func NewBSSClient

func NewBSSClient(baseURL string, httpClient *http.Client, token string) *UtilsClient

NewBSSClient - Creates a new BSS client.

func (*UtilsClient) GetBSSBootparametersForXname

func (utilsClient *UtilsClient) GetBSSBootparametersForXname(xname string) (*bssTypes.BootParams, error)

GetBSSBootparametersForXname - Gets the BSS boot parameters for a given xname.

func (*UtilsClient) UploadEntryToBSS

func (utilsClient *UtilsClient) UploadEntryToBSS(bssEntry bssTypes.BootParams, method string) (string, error)

UploadEntryToBSS - Uploads an entry to BSS.

type WriteFile

type WriteFile struct {
	Content     string `json:"content"`
	Owner       string `json:"owner"`
	Path        string `json:"path"`
	Permissions string `json:"permissions"`
}

WriteFile - Structure that describes the write-files portion of cloud-init.

Jump to

Keyboard shortcuts

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