Documentation ¶
Index ¶
- type TestProviderImp
- func (v *TestProviderImp) CreateStatus(_ context.Context, _ versioned.Interface, _ *info.Event, _ *info.PacOpts, ...) error
- func (v *TestProviderImp) Detect(_ *http.Request, _ string, _ *zap.SugaredLogger) (bool, bool, *zap.SugaredLogger, string, error)
- func (v *TestProviderImp) GetCommitInfo(_ context.Context, _ *info.Event) error
- func (v *TestProviderImp) GetConfig() *info.ProviderConfig
- func (v *TestProviderImp) GetFileInsideRepo(_ context.Context, _ *info.Event, file, _ string) (string, error)
- func (v *TestProviderImp) GetFiles(_ context.Context, _ *info.Event) ([]string, error)
- func (v *TestProviderImp) GetTaskURI(_ context.Context, _ *params.Run, _ *info.Event, _ string) (bool, string, error)
- func (v *TestProviderImp) GetTektonDir(_ context.Context, _ *info.Event, _ string) (string, error)
- func (v *TestProviderImp) IsAllowed(_ context.Context, _ *info.Event) (bool, error)
- func (v *TestProviderImp) ParsePayload(_ context.Context, _ *params.Run, _ *http.Request, _ string) (*info.Event, error)
- func (v *TestProviderImp) SetClient(_ context.Context, _ *params.Run, _ *info.Event) error
- func (v *TestProviderImp) SetLogger(_ *zap.SugaredLogger)
- func (v *TestProviderImp) Validate(_ context.Context, _ *params.Run, _ *info.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestProviderImp ¶
type TestProviderImp struct { AllowIT bool Event *info.Event TektonDirTemplate string CreateStatusErorring bool FilesInsideRepo map[string]string WantProviderRemoteTask bool }
func (*TestProviderImp) CreateStatus ¶
func (*TestProviderImp) Detect ¶
func (v *TestProviderImp) Detect(_ *http.Request, _ string, _ *zap.SugaredLogger) (bool, bool, *zap.SugaredLogger, string, error)
func (*TestProviderImp) GetCommitInfo ¶
func (*TestProviderImp) GetConfig ¶
func (v *TestProviderImp) GetConfig() *info.ProviderConfig
func (*TestProviderImp) GetFileInsideRepo ¶
func (*TestProviderImp) GetTaskURI ¶ added in v0.13.0
func (*TestProviderImp) GetTektonDir ¶
func (*TestProviderImp) ParsePayload ¶
func (*TestProviderImp) SetLogger ¶
func (v *TestProviderImp) SetLogger(_ *zap.SugaredLogger)
Click to show internal directories.
Click to hide internal directories.