diff --git a/docs/api/v1/source.md b/docs/api/v1/source.md index 820e956a..1893dfdf 100644 --- a/docs/api/v1/source.md +++ b/docs/api/v1/source.md @@ -83,7 +83,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -102,7 +102,7 @@ and ‘known_hosts’ fields.

interval
- + Kubernetes meta/v1.Duration @@ -115,7 +115,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -361,7 +361,7 @@ Artifact (sub-)contents must be included, and where they should be placed.

repository
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -519,7 +519,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -538,7 +538,7 @@ and ‘known_hosts’ fields.

interval
- + Kubernetes meta/v1.Duration @@ -551,7 +551,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -683,7 +683,7 @@ object.

conditions
- + []Kubernetes meta/v1.Condition @@ -767,7 +767,7 @@ produce the current Artifact.

ReconcileRequestStatus
- + github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus @@ -815,7 +815,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference diff --git a/docs/api/v1beta2/source.md b/docs/api/v1beta2/source.md index cadc8649..35701f25 100644 --- a/docs/api/v1beta2/source.md +++ b/docs/api/v1beta2/source.md @@ -140,7 +140,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -155,7 +155,7 @@ for the Bucket.

interval
- + Kubernetes meta/v1.Duration @@ -168,7 +168,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -209,7 +209,7 @@ Bucket.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -312,7 +312,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -331,7 +331,7 @@ and ‘known_hosts’ fields.

interval
- + Kubernetes meta/v1.Duration @@ -344,7 +344,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -457,7 +457,7 @@ should be included in the Artifact produced for this GitRepository.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -587,7 +587,7 @@ LocalHelmChartSourceReference interval
- + Kubernetes meta/v1.Duration @@ -659,7 +659,7 @@ source.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -781,7 +781,7 @@ host.

secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -817,7 +817,7 @@ in credentials getting stolen in a MITM-attack.

interval
- + Kubernetes meta/v1.Duration @@ -830,7 +830,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -859,7 +859,7 @@ HelmRepository.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -1033,7 +1033,7 @@ When not specified, defaults to ‘generic’.

secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -1079,7 +1079,7 @@ the image pull if the service account has attached pull secrets. For more inform certSecretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -1103,7 +1103,7 @@ you are using a self-signed server certificate.

interval
- + Kubernetes meta/v1.Duration @@ -1116,7 +1116,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -1386,7 +1386,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -1401,7 +1401,7 @@ for the Bucket.

interval
- + Kubernetes meta/v1.Duration @@ -1414,7 +1414,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -1455,7 +1455,7 @@ Bucket.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -1504,7 +1504,7 @@ int64 conditions
- + []Kubernetes meta/v1.Condition @@ -1532,7 +1532,9 @@ BucketStatus.Artifact data is recommended.

artifact
+ github.com/fluxcd/source-controller/api/v1.Artifact + @@ -1557,7 +1559,7 @@ the source artifact.

ReconcileRequestStatus
- + github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus @@ -1595,7 +1597,7 @@ Artifact (sub-)contents must be included, and where they should be placed.

repository
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -1753,7 +1755,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -1772,7 +1774,7 @@ and ‘known_hosts’ fields.

interval
- + Kubernetes meta/v1.Duration @@ -1785,7 +1787,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -1898,7 +1900,7 @@ should be included in the Artifact produced for this GitRepository.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -1948,7 +1950,7 @@ object.

conditions
- + []Kubernetes meta/v1.Condition @@ -1976,7 +1978,9 @@ GitRepositoryStatus.Artifact data is recommended.

artifact
+ github.com/fluxcd/source-controller/api/v1.Artifact + @@ -1988,7 +1992,9 @@ github.com/fluxcd/source-controller/api/v1.Artifact includedArtifacts
+ []github.com/fluxcd/source-controller/api/v1.Artifact + @@ -2064,7 +2070,7 @@ to produce the current Artifact.

ReconcileRequestStatus
- + github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus @@ -2112,7 +2118,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -2185,7 +2191,7 @@ LocalHelmChartSourceReference interval
- + Kubernetes meta/v1.Duration @@ -2257,7 +2263,7 @@ source.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -2351,7 +2357,7 @@ resolved chart reference.

conditions
- + []Kubernetes meta/v1.Condition @@ -2379,7 +2385,9 @@ BucketStatus.Artifact data is recommended.

artifact
+ github.com/fluxcd/source-controller/api/v1.Artifact + @@ -2391,7 +2399,7 @@ github.com/fluxcd/source-controller/api/v1.Artifact ReconcileRequestStatus
- + github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus @@ -2440,7 +2448,7 @@ host.

secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -2476,7 +2484,7 @@ in credentials getting stolen in a MITM-attack.

interval
- + Kubernetes meta/v1.Duration @@ -2489,7 +2497,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -2518,7 +2526,7 @@ HelmRepository.

accessFrom
- + github.com/fluxcd/pkg/apis/acl.AccessFrom @@ -2595,7 +2603,7 @@ object.

conditions
- + []Kubernetes meta/v1.Condition @@ -2623,7 +2631,9 @@ HelmRepositoryStatus.Artifact data is recommended.

artifact
+ github.com/fluxcd/source-controller/api/v1.Artifact + @@ -2635,7 +2645,7 @@ github.com/fluxcd/source-controller/api/v1.Artifact ReconcileRequestStatus
- + github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus @@ -2893,7 +2903,7 @@ When not specified, defaults to ‘generic’.

secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -2939,7 +2949,7 @@ the image pull if the service account has attached pull secrets. For more inform certSecretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference @@ -2963,7 +2973,7 @@ you are using a self-signed server certificate.

interval
- + Kubernetes meta/v1.Duration @@ -2976,7 +2986,7 @@ Kubernetes meta/v1.Duration timeout
- + Kubernetes meta/v1.Duration @@ -3061,7 +3071,7 @@ int64 conditions
- + []Kubernetes meta/v1.Condition @@ -3087,7 +3097,9 @@ string artifact
+ github.com/fluxcd/source-controller/api/v1.Artifact + @@ -3148,7 +3160,7 @@ the source artifact.

ReconcileRequestStatus
- + github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus @@ -3196,7 +3208,7 @@ string secretRef
- + github.com/fluxcd/pkg/apis/meta.LocalObjectReference diff --git a/hack/api-docs/config.json b/hack/api-docs/config.json index 26c4082f..ea8b2b9a 100644 --- a/hack/api-docs/config.json +++ b/hack/api-docs/config.json @@ -9,11 +9,11 @@ "externalPackages": [ { "typeMatchPrefix": "^k8s\\.io/apimachinery/pkg/apis/meta/v1\\.Duration$", - "docsURLTemplate": "https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration" + "docsURLTemplate": "https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration" }, { "typeMatchPrefix": "^k8s\\.io/apimachinery/pkg/apis/meta/v1\\.Condition$", - "docsURLTemplate": "https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Condition" + "docsURLTemplate": "https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Condition" }, { "typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/", @@ -21,11 +21,15 @@ }, { "typeMatchPrefix": "^github.com/fluxcd/pkg/apis/meta", - "docsURLTemplate": "https://godoc.org/github.com/fluxcd/pkg/apis/meta#{{ .TypeIdentifier }}" + "docsURLTemplate": "https://pkg.go.dev/github.com/fluxcd/pkg/apis/meta#{{ .TypeIdentifier }}" }, { "typeMatchPrefix": "^github.com/fluxcd/pkg/apis/acl", - "docsURLTemplate": "https://godoc.org/github.com/fluxcd/pkg/apis/acl#{{ .TypeIdentifier }}" + "docsURLTemplate": "https://pkg.go.dev/github.com/fluxcd/pkg/apis/acl#{{ .TypeIdentifier }}" + }, + { + "typeMatchPrefix": "^github.com/fluxcd/source-controller/api/v1", + "docsURLTemplate": "https://pkg.go.dev/github.com/fluxcd/source-controller/api/v1#{{ .TypeIdentifier }}" } ], "typeDisplayNamePrefixOverrides": {