File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11# Git Repositories
22
3- The ` GitReposiory ` API defines a source for artifacts coming from Git. The
3+ The ` GitRepository ` API defines a source for artifacts coming from Git. The
44resource exposes the latest synchronized state from Git as an artifact in
55an archive.
66
@@ -9,7 +9,8 @@ an archive.
99Git repository:
1010
1111``` go
12- // GitRepositorySpec defines the desired state of a Git repository.
12+ // GitRepositorySpec gives the specification for fetching a Git repository as
13+ // a source.
1314type GitRepositorySpec struct {
1415 // The repository URL, can be a HTTP or SSH address.
1516 // +kubebuilder:validation:Pattern="^(http|https|ssh)://"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ exposes the latest pulled chart for the defined version as an artifact.
99Helm chart:
1010
1111``` go
12- // HelmChart defines the desired state of a Helm chart.
12+ // HelmChartSpec defines the desired state of a Helm chart source .
1313type HelmChartSpec struct {
1414 // The name of the Helm chart, as made available by the referenced
1515 // Helm repository.
@@ -36,7 +36,7 @@ type HelmChartSpec struct {
3636
3737``` go
3838// HelmChartStatus defines the observed state of the HelmChart.
39- type HelmRepositoryStatus struct {
39+ type HelmChartStatus struct {
4040 // +optional
4141 Conditions []SourceCondition ` json:"conditions,omitempty"`
4242
@@ -56,10 +56,11 @@ type HelmRepositoryStatus struct {
5656const (
5757 // ChartPullFailedReason represents the fact that the pull of the
5858 // given Helm chart failed.
59- ChartPullFailedReason string = " ChartPullFailed"
59+ ChartPullFailedReason string = " ChartPullFailed"
60+
6061 // ChartPullSucceededReason represents the fact that the pull of
6162 // the given Helm chart succeeded.
62- ChartPullSucceedReason string = " ChartPullSucceeded"
63+ ChartPullSucceededReason string = " ChartPullSucceeded"
6364)
6465```
6566
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ an artifact.
99Helm repository:
1010
1111``` go
12- // HelmRepository defines the reference to a Helm repository.
12+ // HelmRepositorySpec defines the reference to a Helm repository.
1313type HelmRepositorySpec struct {
1414 // The Helm repository URL, a valid URL contains at least a
1515 // protocol and host.
You can’t perform that action at this time.
0 commit comments