Documentation ¶
Index ¶
- func MarshalYAML(sth interface{}) []byte
- func PackageEquals(this, that Package) bool
- type Allowed
- type CurrentNodeAgents
- type DesiredNodeAgents
- type Firewall
- type NodeAgentCurrent
- type NodeAgentSpec
- type NodeAgentsCurrentKind
- type NodeAgentsDesiredKind
- type NodeAgentsSpec
- type Package
- type Ports
- type Software
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalYAML ¶
func MarshalYAML(sth interface{}) []byte
func PackageEquals ¶ added in v0.22.0
Types ¶
type CurrentNodeAgents ¶ added in v0.23.0
type CurrentNodeAgents struct { // NA is exported for yaml (de)serialization and not intended to be accessed by any other code outside this package NA map[string]*NodeAgentCurrent `yaml:",inline"` // contains filtered or unexported fields }
func (*CurrentNodeAgents) Get ¶ added in v0.23.0
func (n *CurrentNodeAgents) Get(id string) (*NodeAgentCurrent, bool)
func (*CurrentNodeAgents) Set ¶ added in v0.23.0
func (n *CurrentNodeAgents) Set(id string, na *NodeAgentCurrent)
type DesiredNodeAgents ¶ added in v0.23.0
type DesiredNodeAgents struct { // NA is exported for yaml (de)serialization and not intended to be accessed by any other code outside this package NA map[string]*NodeAgentSpec `yaml:",inline"` // contains filtered or unexported fields }
func (*DesiredNodeAgents) Delete ¶ added in v0.23.0
func (n *DesiredNodeAgents) Delete(id string)
func (*DesiredNodeAgents) Get ¶ added in v0.23.0
func (n *DesiredNodeAgents) Get(id string) (*NodeAgentSpec, bool)
type Firewall ¶
type Firewall struct { FW map[string]*Allowed `yaml:",inline"` // contains filtered or unexported fields }
func ToFirewall ¶ added in v0.23.0
func (Firewall) IsContainedIn ¶
type NodeAgentCurrent ¶
type NodeAgentSpec ¶
type NodeAgentsCurrentKind ¶
type NodeAgentsCurrentKind struct { Kind string Version string Current CurrentNodeAgents }
type NodeAgentsDesiredKind ¶
type NodeAgentsDesiredKind struct { Kind string Version string Spec NodeAgentsSpec `yaml:",omitempty"` }
type NodeAgentsSpec ¶
type NodeAgentsSpec struct { Commit string NodeAgents DesiredNodeAgents }
type Package ¶
type Software ¶
type Software struct { Swap Package `yaml:",omitempty"` Kubelet Package `yaml:",omitempty"` Kubeadm Package `yaml:",omitempty"` Kubectl Package `yaml:",omitempty"` Containerruntime Package `yaml:",omitempty"` KeepaliveD Package `yaml:",omitempty"` Nginx Package `yaml:",omitempty"` SSHD Package `yaml:",omitempty"` Hostname Package `yaml:",omitempty"` Sysctl Package `yaml:",omitempty"` Health Package `yaml:",omitempty"` }
Click to show internal directories.
Click to hide internal directories.