Documentation ¶
Index ¶
- type Client
- func (g *Client) Clone() error
- func (g *Client) Commit(msg string, files ...File) (bool, error)
- func (g *Client) GetURL() string
- func (g *Client) Init(deploykey []byte) error
- func (g *Client) Push() error
- func (g *Client) Read(path string) ([]byte, error)
- func (g *Client) ReadFolder(path string) (map[string][]byte, error)
- func (g *Client) ReadYamlIntoStruct(path string, struc interface{}) error
- func (g *Client) UpdateRemote(msg string, files ...File) error
- func (g *Client) UpdateRemoteUntilItWorks(msg string, path string, overwrite func([]byte) ([]byte, error), force bool) ([]byte, error)
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.9.20
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ReadFolder ¶ added in v0.9.20
func (*Client) ReadYamlIntoStruct ¶ added in v0.9.20
func (*Client) UpdateRemote ¶ added in v0.9.20
Click to show internal directories.
Click to hide internal directories.