system

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	Filesystem filesystem
	Init       initsystem
	Hostname   hostname
}

System represents the system we are configuring and should be created with the interfaces to interact with it

func (System) Configure

func (s System) Configure(n *node.Node, cluster *eks.Cluster) error

Configure configures the system to connect to the EKS cluster given the node and cluster metadata provided as arguments

type Systemd

type Systemd struct {
	Conn dbusConn
}

Systemd allows you to interact with the systemd init system.

func (*Systemd) ContainerRuntime added in v0.0.15

func (s *Systemd) ContainerRuntime() (string, error)

func (*Systemd) EnsureRunning

func (s *Systemd) EnsureRunning(name string) error

EnsureRunning makes sure that the service is running with the latest config.

func (*Systemd) SetHostname

func (s *Systemd) SetHostname(hostname string) error

SetHostname sets the hostname.

Jump to

Keyboard shortcuts

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