Documentation ¶
Overview ¶
Package repository contains the repository service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service holds a collection of interfaces. The interfaces are broken down like this to group functions together.
func NewService ¶
func NewService(sshClient ssh.Interface, scope scope.KKInstanceScope, instanceScope *scope.InstanceScope) *Service
NewService returns a new service given the remote instance kubekey build-in repository client.
func (*Service) UpdateAndInstall ¶
UpdateAndInstall updates the linux package manager and installs some tools. Ex: apt-get update && apt-get install -y socat conntrack ipset ebtables chrony ipvsadm yum clean all && yum makecache && yum install -y openssl socat conntrack ipset ebtables chrony ipvsadm
Click to show internal directories.
Click to hide internal directories.