Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommitChanges ¶
func NewGitServer ¶
func NewGitServer(cfg GitopsConfig, stepName string, deployments appsCli.DeploymentInterface, services coreclient.ServiceInterface, useProxy, istioEnabled bool) executor.Step
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewGitClient ¶
func (Client) ReplaceInRemoteFile ¶
func (Client) TryCloning ¶
type GitServer ¶
type GitServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(c utils.Container, name string, image string, port int32, deployments appsclient.DeploymentInterface, services coreclient.ServiceInterface, istioEnabled bool) *GitServer
func (*GitServer) LogResource ¶
type GitopsConfig ¶
type GitopsConfig struct { FnName string RepoName string GitServerImage string GitServerServiceName string GitServerServicePort int32 GitServerRepoName string Toolbox utils.Container }
func NewGitopsConfig ¶
func NewGitopsConfig(fnName, gitServerImage, gitServerRepoName string, toolbox utils.Container) (GitopsConfig, error)
func (*GitopsConfig) GetGitServerInClusterURL ¶
func (c *GitopsConfig) GetGitServerInClusterURL() string
func (*GitopsConfig) GetGitServerURL ¶
func (c *GitopsConfig) GetGitServerURL(useProxy bool) string
Click to show internal directories.
Click to hide internal directories.