Documentation ¶
Overview ¶
Package rackshop includes the struct and functions to manage rackshops used in the rackshopstore
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RackShop ¶
type RackShop struct { Name string Address string User string Password string ShopwareDir string Container string }
RackShop struct that holds the information for a Shop that will be stored in the ShopStore
func UnmarshalRackShop ¶
UnmarshalRackShop will unmarshal a yaml file at a specified path. Returns a RackShop struct if the operation was successful
func (RackShop) GetRemoteConfig ¶
func (r RackShop) GetRemoteConfig() *ssh.ClientConfig
GetRemoteConfig will return a remote config, with that a ssh connection to the shop should be possible
func (RackShop) MarshalRackShop ¶
MarshalRackShop will marshal the current RackShop struct and return yaml data.
Click to show internal directories.
Click to hide internal directories.