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 HostRecord ¶ added in v1.16.16
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.
Click to show internal directories.
Click to hide internal directories.