machines

package
v0.0.0-...-57c84ca Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// maxPods 110 is kubelet default value
	DefaultKubeletMaxPods = 110
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CalicoNodeAgentConfig

type CalicoNodeAgentConfig struct {
	IPPools           CalicoNodeIPPools `json:"ipPools"`
	ProxyARPInterface string            `json:"proxyARPInterface"`
}

type CalicoNodeIPPool

type CalicoNodeIPPool struct {
	CIDR string `json:"cidr"`
}

type CalicoNodeIPPools

type CalicoNodeIPPools []CalicoNodeIPPool

type IYunionVMDriver

type IYunionVMDriver interface {
	RegisterHypervisor(IYunionVmHypervisor)
	GetHypervisor(hypervisor string) (IYunionVmHypervisor, error)
}

func GetYunionVMDriver

func GetYunionVMDriver() IYunionVMDriver

type IYunionVmHypervisor

type IYunionVmHypervisor interface {
	GetHypervisor() api.ProviderType
	FindSystemDiskImage(s *mcclient.ClientSession, zoneId string) (jsonutils.JSONObject, error)
	PostPrepareServerResource(ctx context.Context, s *mcclient.ClientSession, m *models.SMachine, srv *ocapi.ServerDetails) error
}

type ServerCreateInput

type ServerCreateInput struct {
	ocapi.ServerCreateInput
	SrcIpCheck  bool `json:"src_ip_check"`
	SrcMacCheck bool `json:"src_mac_check"`
}

type ServerLoginInfo

type ServerLoginInfo struct {
	*onecloudcli.ServerLoginInfo
	Hostname   string
	Ip         string
	PrivateKey string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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