package
0.6.4
Repository: https://github.com/tmax-cloud/cicd-operator.git
Documentation: pkg.go.dev

# Functions

ConvertToTektonParams convert ParameterValue array to tekton Param array.
ConvertToTektonParamSpecs converts ParameterDefine array to tekton ParamSpec array.
GetSecretName returns the name of related secret.
GetServiceAccountName returns the name of the related ServiceAccount.

# Constants

Approval API kinds.
Approval API kinds.
Condition keys for Approval.
Condition keys for Approval.
ApprovalKind is a kind string.
Results.
Results.
Results.
Results.
Job's commit state.
Job's commit state.
Job's commit state.
Job's commit state.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Approval custom tasks.
Email custom tasks.
Email custom tasks.
Email custom tasks.
Email custom tasks.
Email custom tasks.
Email custom tasks.
API group and version for the custom tasks.
Approval custom tasks.
Email custom tasks.
Slack custom tasks.
WebHook custom tasks.
Slack custom tasks.
Slack custom tasks.
Slack custom tasks.
Slack custom tasks.
API group and version for the custom tasks.
WebHook custom tasks.
WebHook custom tasks.
WebHook custom tasks.
WebHook custom tasks.
Default hosts for remote git servers.
Default hosts for remote git servers.
Default hosts for remote git servers.
Default hosts for remote git servers.
Default hosts for remote git servers.
Default hosts for remote git servers.
Git Types.
Git Types.
Git Types.
Git Types.
IntegrationConfig's API kinds.
IntegrationConfig's API kinds.
IntegrationConfig's API kinds.
Condition keys for IntegrationConfig.
IntegrationConfigConditionReasonNoGitToken is a Reason key.
Condition keys for IntegrationConfig.
IntegrationConfigKind is kind string.
IntegrationJob's states.
IntegrationJob's states.
IntegrationJob's states.
IntegrationJob's states.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
JobLabelPrefix is a prefix of every labels.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
JobTypePeriodic is a periodic type.
JobTypePostSubmit is a post-submit type (push or tag-push).
JobTypePreSubmit is a pre-submit type (pull-request or merge-request).
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.
Labels for IntegrationJobs or PipelineRuns.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
CustomTaskAPIVersion is.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

AddTektonTaskParam represents additional Tekton task parameters.
Approval is the Schema for the approvals API +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.result",description="Current status of Approval" +kubebuilder:printcolumn:name="Created",type="date",JSONPath=".metadata.creationTimestamp",description="Created time" +kubebuilder:printcolumn:name="Decided",type="date",JSONPath=".status.decisionTime",description="Decided time".
ApprovalAPIReqBody is a body struct for Approval's api request +kubebuilder:object:generate=false.
ApprovalList contains a list of Approval.
ApprovalSpec defines the desired state of Approval.
ApprovalStatus defines the observed state of Approval.
ApprovalUser is a user.
GitConfig is a git repository where the IntegrationConfig to be configured.
GitToken is a token for accessing the remote git server.
GitTokenFrom refers to the secret for the access token.
IntegrationConfig is the Schema for the integrationconfigs API +kubebuilder:resource:shortName="ic" +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="ready")].status` +kubebuilder:printcolumn:name="WebhookRegistered",type=string,JSONPath=`.status.conditions[?(@.type=="webhook-registered")].status` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Creation time".
IntegrationConfigAPIReqRunPostBody is a body struct for IntegrationConfig's api request +kubebuilder:object:generate=false.
IntegrationConfigAPIReqRunPreBody is a body struct for IntegrationConfig's api request +kubebuilder:object:generate=false.
IntegrationConfigAPIReqWebhookURL is a body struct for IntegrationConfig's api request +kubebuilder:object:generate=false.
IntegrationConfigJobs categorizes jobs into three types (pre-submit, post-submit and periodic jobs).
IntegrationConfigList contains a list of IntegrationConfig.
IntegrationConfigSpec defines the desired state of IntegrationConfig.
IntegrationConfigStatus defines the observed state of IntegrationConfig.
IntegrationJob is the Schema for the integrationjobs API +kubebuilder:resource:shortName="ij" +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="Current status of IntegrationJob" +kubebuilder:printcolumn:name="StartTime",type="date",JSONPath=".status.startTime",description="Start time" +kubebuilder:printcolumn:name="CompletionTime",type="date",JSONPath=".status.completionTime",description="Completion time" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Creation time".
IntegrationJobConfigRef refers to the IntegrationConfig.
IntegrationJobList contains a list of IntegrationJob.
IntegrationJobManageSpec contains spec for ij managing.
IntegrationJobRefs describes the git event.
IntegrationJobRefsBase refers to the base commit.
IntegrationJobRefsPull refers to the pull request.
IntegrationJobRefsPullAuthor is an author of the pull request.
IntegrationJobSender is a git user who triggered the IntegrationJob.
IntegrationJobSpec defines the desired state of IntegrationJob.
IntegrationJobStatus defines the observed state of IntegrationJob.
Job is a specification of the job to be executed for specific events Same level of task of tekton.
JobApproval describes who can approve it.
JobStatus is a current status for each job.
JobTaskRef refers to the tekton task, both local and in catalog.
JobWhen describes when the Job should be executed All fields should be regular expressions.
MergeConfig is a config struct of the merge automation feature.
MergeQuery defines conditions for a open PR to be merged.
NotiEmail sends email to receivers.
Notification specifies notification.
NotificationMethods specifies notification methods.
NotiSlack sends slack to the webhook.
NotiWebhook sends reqeust to the webhook.
ParameterConfig for parameters.
ParameterDefine defines a parameter's name, description & default values.
ParameterValue defines values of parameter.
Periodic runs on a time-basis, unrelated to git changes.
TektonTask refers to an existing tekton task, rather than using job's script or command.
TektonTaskDef represents a definition for a Tekton task.
TLSConfig is parameters for tls connection.

# Type aliases

ApprovalResult is a result of the Approval.
CommitStatusState is a state of git commit status.
GitRef is a git reference type.
GitType is a type of remote git server.
IntegrationJobState is a state of the IntegrationJob.
Jobs is an array of Job.
JobType is a type of Job.
Periodics is an array of PeriodicJob.