Documentation ¶
Index ¶
- func Marshal(content map[string]interface{}) ([]byte, error)
- type Allowed
- type Arguments
- type Assembler
- type CurrentNodeAgentKind
- type Firewall
- type IterationDone
- type Iterator
- type NodeAgentCurrent
- type NodeAgentKind
- type NodeAgentSpec
- type NodeAgentUpdater
- type Package
- type Secrets
- type Software
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assembler ¶
type Assembler interface { BuildContext() ([]string, func(map[string]interface{})) Build(spec map[string]interface{}, nodagentUpdater NodeAgentUpdater, secrets *Secrets, dependantConfig interface{}) (string, string, interface{}, map[string]Assembler, error) Ensure(ctx context.Context, secrets *Secrets, ensuredDependencies map[string]interface{}) (interface{}, error) }
type CurrentNodeAgentKind ¶
type CurrentNodeAgentKind struct { Version string State *NodeAgentCurrent }
type IterationDone ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func (*Iterator) Initialize ¶
func (*Iterator) Run ¶
func (i *Iterator) Run(iterations chan<- *IterationDone)
type NodeAgentCurrent ¶
type NodeAgentCurrent struct { NodeIsReady bool `mapstructure:"ready" yaml:"ready"` Software Software Open Firewall Version string // contains filtered or unexported fields }
func (*NodeAgentCurrent) AllowChanges ¶
func (n *NodeAgentCurrent) AllowChanges()
func (*NodeAgentCurrent) DesireFirewall ¶
func (n *NodeAgentCurrent) DesireFirewall(fw Firewall)
func (*NodeAgentCurrent) DesireSoftware ¶
func (n *NodeAgentCurrent) DesireSoftware(sw *Software)
type NodeAgentKind ¶
type NodeAgentKind struct { Kind string Version string Spec interface{} Current *CurrentNodeAgentKind `yaml:",omitempty"` }
type NodeAgentSpec ¶
type NodeAgentUpdater ¶
type NodeAgentUpdater func(path []string) *NodeAgentCurrent
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"` Hostname Package `yaml:",omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.