Documentation
¶
Index ¶
- type Auth
- type FileKind
- type Gitops
- func (gitops *Gitops) Drift(client *client.Http, user *authentication.User, ...) (bool, error)
- func (gitops *Gitops) GetGroup() string
- func (gitops *Gitops) GetGroupIdentifier() string
- func (gitops *Gitops) GetName() string
- func (gitops *Gitops) GetStatus() *status.Status
- func (gitops *Gitops) Prepare(client *client.Http, user *authentication.User) error
- func (gitops *Gitops) ShouldSync() bool
- func (gitops *Gitops) Sync(logger *zap.Logger, client *client.Http, user *authentication.User, ...) ([]*common.Request, error)
- func (gitops *Gitops) ToJson() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { CertKeyRef v1.GitopsCertKeyRef HttpAuthRef v1.GitopsHttpauthRef }
type Gitops ¶
type Gitops struct { Git *internal.Git LogPath string DirectoryPath string PoolingInterval time.Duration LastPoll time.Time ForcePoll bool AutomaticSync bool DoSync bool Commit *object.Commit Status *status.Status Auth *Auth AuthResolved transport.AuthMethod `json:"-"` Context string Definition *v1.GitopsDefinition Definitions []common.Request Ghost bool }
func New ¶
func New(definition *v1.GitopsDefinition) *Gitops
func (*Gitops) GetGroupIdentifier ¶ added in v0.0.128
func (*Gitops) ShouldSync ¶ added in v0.1.26
Click to show internal directories.
Click to hide internal directories.