Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedKind = errors.New("unsupported kind")
ErrUnsupportedKind informed kind is not supported.
Functions ¶
Types ¶
type PipelineProbe ¶
type PipelineProbe struct {
// contains filtered or unexported fields
}
PipelineProbe runs a Pipeline until completion.
func NewPipelineProbe ¶
func NewPipelineProbe( cfg *config.Config, wbs []v1beta1.WorkspaceBinding, prs []v1beta1.Param, ) *PipelineProbe
NewPipelineProbe instantiates the PipelineProbe.
type Probe ¶
type Probe interface { // Run runs the resource until completion. Run(_ context.Context, _ string) (*Subject, error) }
Probe able to instantiate and run a Tekton resource, which will be subject to assertion later on.
type Subject ¶
type Subject struct { GVR schema.GroupVersionResource // kubernetes GVR Fullname types.NamespacedName // resource namespace and name }
Subject defines the coordinates of the Kubernetes (Tekton) resource to be "subject" of probing and assertion.
func NewSubject ¶
func NewSubject(gv schema.GroupVersionResource, fullname types.NamespacedName) *Subject
NewSubject instantiate the Subject.
type TaskProbe ¶
type TaskProbe struct {
// contains filtered or unexported fields
}
TaskProbe runs and follows a TaskRun instance.
func NewTaskProbe ¶
func NewTaskProbe( cfg *config.Config, wbs []v1beta1.WorkspaceBinding, prs []v1beta1.Param, ) *TaskProbe
NewTaskProbe instantiate a TaskProbe with requirements.
Click to show internal directories.
Click to hide internal directories.