Versions in this module Expand all Collapse all v1 v1.14.0 Nov 4, 2024 Changes in this version + const PluginName + func ExecuteCommand(ctx context.Context, in string, opts ...pluginx.ExecuteCommandMutation) (string, error) + func NewExecutor(cache *bigcache.BigCache, ver string) executor.Executor + type Author struct + ID string + IsBot bool + Login string + Name string + type Config struct + GitHub struct{ ... } + Logger config.Logger + TmpDir pluginx.TmpDir + type DiffCommand struct + Artifact ... + GitHub ... + type Executor struct + func (d *Executor) Execute(ctx context.Context, in executor.ExecuteInput) (executor.ExecuteOutput, error) + func (d *Executor) Help(context.Context) (api.Message, error) + func (d *Executor) Metadata(context.Context) (api.MetadataOutput, error) + type GitHubCmdService struct + func NewGitHubCmdService(log logrus.FieldLogger) *GitHubCmdService + func (k *GitHubCmdService) Run(ctx context.Context, diffCmd *GitHubCommand, cfg Config, ...) (executor.ExecuteOutput, error) + func (k *GitHubCmdService) ShouldHandle(command string) (*GitHubCommand, bool) + type GitHubCommand struct + Command []string + type GlobalCommandFlags struct + CacheDir string + DisableCompression bool + InsecureSkipTLSVerify bool + KubeAPIBurst int + KubeAPIQPS float32 + Namespace string + Timeout time.Duration + Token string + Verbose bool + func (g GlobalCommandFlags) ToString() string + type KustomizationCommandAliases struct + Ks *KustomizationDiffCommand + Kustomization *KustomizationDiffCommand + func (u KustomizationCommandAliases) Get() *KustomizationDiffCommand + type KustomizationDiffCommand struct + AppName string + func (k KustomizationDiffCommand) ToCmdString() string + type KustomizationDiffCommandFlags struct + GitHubRef string + IgnorePaths []string + KustomizationFile string + Path string + ProgressBar bool + func (k KustomizationDiffCommandFlags) ToString() string + type KustomizeDiffCmdService struct + func NewKustomizeDiffCmdService(cache *bigcache.BigCache, log logrus.FieldLogger) *KustomizeDiffCmdService + func (k *KustomizeDiffCmdService) Run(ctx context.Context, diffCmd *DiffCommand, kubeConfigPath string, ...) (executor.ExecuteOutput, error) + func (k *KustomizeDiffCmdService) ShouldHandle(command string) (*DiffCommand, bool) + type PRDetails struct + Author Author + State string + URL string