Documentation ¶
Index ¶
- Constants
- func NewExposeController(cfg *rest.Config) (*exposeController, error)
- func NewIntegrationJobReconciler(cli client.Client, scheme *runtime.Scheme, log logr.Logger) *integrationJobReconciler
- type ApprovalReconciler
- type ConfigReconciler
- type CustomRunReconciler
- type ExposeController
- type IntegrationConfigReconciler
- type IntegrationJobReconciler
- type KindHandler
Constants ¶
const (
// APIGroup is a group of api
APIGroup = "cicdapi.tmax.io"
)
Variables ¶
This section is empty.
Functions ¶
func NewExposeController ¶ added in v0.4.0
NewExposeController creates a new ExposeController
Types ¶
type ApprovalReconciler ¶
ApprovalReconciler reconciles a Approval object
func (*ApprovalReconciler) SetupWithManager ¶
func (r *ApprovalReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets ApprovalReconciler to the manager
type ConfigReconciler ¶
type ConfigReconciler struct { Log logr.Logger Handlers map[string]configs.Handler // contains filtered or unexported fields }
ConfigReconciler reconciles a Approval object
func (*ConfigReconciler) Add ¶ added in v0.3.0
func (r *ConfigReconciler) Add(name string, handler configs.Handler)
Add adds config map handler
func (*ConfigReconciler) Reconcile ¶
func (r *ConfigReconciler) Reconcile(cm *corev1.ConfigMap) error
Reconcile reconciles ConfigMap
func (*ConfigReconciler) Start ¶
func (r *ConfigReconciler) Start()
Start starts the config map reconciler
type CustomRunReconciler ¶
type CustomRunReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme KindHandlerMap map[string]KindHandler HandlerChildren map[string][]runtime.Object }
CustomRunReconciler reconciles a Run object, which refers to approval/email/...
func (*CustomRunReconciler) AddKindHandler ¶
func (r *CustomRunReconciler) AddKindHandler(kind string, handler KindHandler, children ...runtime.Object)
AddKindHandler registers custom task handlers
func (*CustomRunReconciler) SetupWithManager ¶
func (r *CustomRunReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets CustomRunReconciler to the manager
type ExposeController ¶ added in v0.4.0
type ExposeController interface {
Start()
}
ExposeController controls webhook exposure configuration, using ingress and service
type IntegrationConfigReconciler ¶
IntegrationConfigReconciler reconciles a IntegrationConfig object
func (*IntegrationConfigReconciler) SetupWithManager ¶
func (r *IntegrationConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets IntegrationConfigReconciler to the manager
type IntegrationJobReconciler ¶
IntegrationJobReconciler is an interface for integrationJobReconciler
type KindHandler ¶
type KindHandler interface {
Handle(run *tektonv1alpha1.Run) (ctrl.Result, error)
}
KindHandler is an interface of custom task handlers