Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLabels ¶
func AddLabels(us *unstructured.Unstructured, labelsToAdd map[string]string) *unstructured.Unstructured
AddLabels adds autogenerated Tekton labels to created resources.
func Create ¶
func Create(logger *zap.SugaredLogger, rt json.RawMessage, triggerName, eventID, elName, elNamespace string, c discoveryclient.ServerResourcesInterface, dc dynamic.Interface) error
Create uses the kubeClient to create the resource defined in the TriggerResourceTemplate and returns any errors with this process
func FindAPIResource ¶
func FindAPIResource(apiVersion, kind string, c discoveryclient.ServerResourcesInterface) (*metav1.APIResource, error)
FindAPIResource returns the APIResource definition using the discovery client c.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.