Versions in this module Expand all Collapse all v0 v0.0.1 Jun 3, 2022 Changes in this version + func Execute() + type AnsibleTarget struct + Schedule string + Skew *int + SshDirectory string + TargetPath string + type CleanTarget struct + All bool + Schedule string + Skew *int + Volumes bool + type ConfigFileTarget struct + ConfigUrl string + Schedule string + Skew *int + type FetchitConfig struct + PAT string + Targets []*Target + func NewFetchitConfig() *FetchitConfig + func (fc *FetchitConfig) Apply(ctx context.Context, mo *SingleMethodObj, currentState plumbing.Hash, ...) error + func (fc *FetchitConfig) GetCurrent(target *Target, method string) (plumbing.Hash, error) + func (fc *FetchitConfig) GetLatest(target *Target) (plumbing.Hash, error) + func (fc *FetchitConfig) UpdateCurrent(ctx context.Context, target *Target, method string, newCurrent plumbing.Hash) error + func (hc *FetchitConfig) CheckForConfigUpdates(envURL string, existsAlready bool, initial bool) bool + func (hc *FetchitConfig) EngineMethod(ctx context.Context, mo *SingleMethodObj, path string, change *object.Change) error + func (hc *FetchitConfig) GetTargets() + func (hc *FetchitConfig) InitConfig(initial bool) + func (hc *FetchitConfig) Restart() + func (hc *FetchitConfig) RunTargets() + type FileTransferTarget struct + DestinationDirectory string + Schedule string + Skew *int + TargetPath string + type KubeTarget struct + Schedule string + Skew *int + TargetPath string + type Methods struct + Ansible *AnsibleTarget + Clean *CleanTarget + ConfigTarget *ConfigFileTarget + FileTransfer *FileTransferTarget + Kube *KubeTarget + Raw *RawTarget + Systemd *SystemdTarget + type RawPod struct + CapAdd []string + CapDrop []string + Env map[string]string + Image string + Mounts []mount + Name string + Ports []port + Volumes []namedVolume + type RawTarget struct + PullImage bool + Schedule string + Skew *int + TargetPath string + type SingleMethodObj struct + Conn context.Context + Method string + Target *Target + type SystemdTarget struct + AutoUpdateAll bool + Enable bool + Restart bool + Root bool + Schedule string + Skew *int + TargetPath string + type Target struct + Branch string + Methods Methods + Name string + Url string