You are viewing documentation for Flux version: 2.1
Version 2.1 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
Source API reference v1beta2
Packages:
source.toolkit.fluxcd.io/v1beta2
Package v1beta2 contains API Schema definitions for the source v1beta2 API group
Resource Types:Bucket
Bucket is the Schema for the buckets API.
Field | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||||
kind string | Bucket | ||||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||||
spec BucketSpec |
| ||||||||||||||||||||||
status BucketStatus |
GitRepository
GitRepository is the Schema for the gitrepositories API.
Field | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||||||
kind string | GitRepository | ||||||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||||||
spec GitRepositorySpec |
| ||||||||||||||||||||||||
status GitRepositoryStatus |
HelmChart
HelmChart is the Schema for the helmcharts API.
Field | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||
kind string | HelmChart | ||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||
spec HelmChartSpec |
| ||||||||||||||||||||
status HelmChartStatus |
HelmRepository
HelmRepository is the Schema for the helmrepositories API.
Field | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||
kind string | HelmRepository | ||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||
spec HelmRepositorySpec |
| ||||||||||||||||||||
status HelmRepositoryStatus |
OCIRepository
OCIRepository is the Schema for the ocirepositories API
Field | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string | source.toolkit.fluxcd.io/v1beta2 | ||||||||||||||||||||||||||
kind string | OCIRepository | ||||||||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||||||||
spec OCIRepositorySpec |
| ||||||||||||||||||||||||||
status OCIRepositoryStatus |
Artifact
Artifact represents the output of a Source reconciliation.
Deprecated: use Artifact from api/v1 instead. This type will be removed in a future release.
Field | Description |
---|---|
path string | Path is the relative file path of the Artifact. It can be used to locate the file in the root of the Artifact storage on the local file system of the controller managing the Source. |
url string | URL is the HTTP address of the Artifact as exposed by the controller managing the Source. It can be used to retrieve the Artifact for consumption, e.g. by another controller applying the Artifact contents. |
revision string | (Optional) Revision is a human-readable identifier traceable in the origin source system. It can be a Git commit SHA, Git tag, a Helm chart version, etc. |
checksum string | (Optional) Checksum is the SHA256 checksum of the Artifact file. Deprecated: use Artifact.Digest instead. |
digest string | (Optional) Digest is the digest of the file in the form of ‘ |
lastUpdateTime Kubernetes meta/v1.Time | LastUpdateTime is the timestamp corresponding to the last update of the Artifact. |
size int64 | (Optional) Size is the number of bytes in the file. |
metadata map[string]string | (Optional) Metadata holds upstream information such as OCI annotations. |
BucketSpec
(Appears on: Bucket)
BucketSpec specifies the required configuration to produce an Artifact for an object storage bucket.
Field | Description |
---|---|
provider string | (Optional) Provider of the object storage bucket. Defaults to ‘generic’, which expects an S3 (API) compatible object storage. |
bucketName string | BucketName is the name of the object storage bucket. |
endpoint string | Endpoint is the object storage address the BucketName is located at. |
insecure bool | (Optional) Insecure allows connecting to a non-TLS HTTP Endpoint. |
region string | (Optional) Region of the Endpoint where the BucketName is located in. |
secretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials for the Bucket. |
interval Kubernetes meta/v1.Duration | Interval at which the Bucket Endpoint is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
timeout Kubernetes meta/v1.Duration | (Optional) Timeout for fetch operations, defaults to 60s. |
ignore string | (Optional) Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same as .gitignore). If not provided, a default will be used, consult the documentation for your version to find out what those are. |
suspend bool | (Optional) Suspend tells the controller to suspend the reconciliation of this Bucket. |
accessFrom github.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
BucketStatus
(Appears on: Bucket)
BucketStatus records the observed state of a Bucket.
Field | Description |
---|---|
observedGeneration int64 | (Optional) ObservedGeneration is the last observed generation of the Bucket object. |
conditions []Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the Bucket. |
url string | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise BucketStatus.Artifact data is recommended. |
artifact github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the last successful Bucket reconciliation. |
observedIgnore string | (Optional) ObservedIgnore is the observed exclusion patterns used for constructing the source artifact. |
ReconcileRequestStatus github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
GitRepositoryInclude
(Appears on: GitRepositorySpec, GitRepositoryStatus)
GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents must be included, and where they should be placed.
Field | Description |
---|---|
repository github.com/fluxcd/pkg/apis/meta.LocalObjectReference | GitRepositoryRef specifies the GitRepository which Artifact contents must be included. |
fromPath string | (Optional) FromPath specifies the path to copy contents from, defaults to the root of the Artifact. |
toPath string | (Optional) ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef. |
GitRepositoryRef
(Appears on: GitRepositorySpec)
GitRepositoryRef specifies the Git reference to resolve and checkout.
Field | Description |
---|---|
branch string | (Optional) Branch to check out, defaults to ‘master’ if no other field is defined. |
tag string | (Optional) Tag to check out, takes precedence over Branch. |
semver string | (Optional) SemVer tag expression to check out, takes precedence over Tag. |
name string | (Optional) Name of the reference to check out; takes precedence over Branch, Tag and SemVer. It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description Examples: “refs/heads/main”, “refs/tags/v0.1.0”, “refs/pull/420/head”, “refs/merge-requests/1/head” |
commit string | (Optional) Commit SHA to check out, takes precedence over all reference fields. This can be combined with Branch to shallow clone the branch, in which the commit is expected to exist. |
GitRepositorySpec
(Appears on: GitRepository)
GitRepositorySpec specifies the required configuration to produce an Artifact for a Git repository.
Field | Description |
---|---|
url string | URL specifies the Git repository URL, it can be an HTTP/S or SSH address. |
secretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials for the GitRepository. For HTTPS repositories the Secret must contain ‘username’ and ‘password’ fields for basic auth or ‘bearerToken’ field for token auth. For SSH repositories the Secret must contain ‘identity’ and ‘known_hosts’ fields. |
interval Kubernetes meta/v1.Duration | Interval at which to check the GitRepository for updates. |
timeout Kubernetes meta/v1.Duration | (Optional) Timeout for Git operations like cloning, defaults to 60s. |
ref GitRepositoryRef | (Optional) Reference specifies the Git reference to resolve and monitor for changes, defaults to the ‘master’ branch. |
verify GitRepositoryVerification | (Optional) Verification specifies the configuration to verify the Git commit signature(s). |
ignore string | (Optional) Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same as .gitignore). If not provided, a default will be used, consult the documentation for your version to find out what those are. |
suspend bool | (Optional) Suspend tells the controller to suspend the reconciliation of this GitRepository. |
gitImplementation string | (Optional) GitImplementation specifies which Git client library implementation to use. Defaults to ‘go-git’, valid values are (‘go-git’, ‘libgit2’). Deprecated: gitImplementation is deprecated now that ‘go-git’ is the only supported implementation. |
recurseSubmodules bool | (Optional) RecurseSubmodules enables the initialization of all submodules within the GitRepository as cloned from the URL, using their default settings. |
include []GitRepositoryInclude | Include specifies a list of GitRepository resources which Artifacts should be included in the Artifact produced for this GitRepository. |
accessFrom github.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
GitRepositoryStatus
(Appears on: GitRepository)
GitRepositoryStatus records the observed state of a Git repository.
Field | Description |
---|---|
observedGeneration int64 | (Optional) ObservedGeneration is the last observed generation of the GitRepository object. |
conditions []Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the GitRepository. |
url string | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise GitRepositoryStatus.Artifact data is recommended. |
artifact github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the last successful GitRepository reconciliation. |
includedArtifacts []github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) IncludedArtifacts contains a list of the last successfully included Artifacts as instructed by GitRepositorySpec.Include. |
contentConfigChecksum string | (Optional) ContentConfigChecksum is a checksum of all the configurations related to
the content of the source artifact:
- .spec.ignore
- .spec.recurseSubmodules
- .spec.included and the checksum of the included artifacts
observed in .status.observedGeneration version of the object. This can
be used to determine if the content of the included repository has
changed.
It has the format of Deprecated: Replaced with explicit fields for observed artifact content config in the status. |
observedIgnore string | (Optional) ObservedIgnore is the observed exclusion patterns used for constructing the source artifact. |
observedRecurseSubmodules bool | (Optional) ObservedRecurseSubmodules is the observed resource submodules configuration used to produce the current Artifact. |
observedInclude []GitRepositoryInclude | (Optional) ObservedInclude is the observed list of GitRepository resources used to to produce the current Artifact. |
ReconcileRequestStatus github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
GitRepositoryVerification
(Appears on: GitRepositorySpec)
GitRepositoryVerification specifies the Git commit signature verification strategy.
Field | Description |
---|---|
mode string | Mode specifies what Git object should be verified, currently (‘head’). |
secretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | SecretRef specifies the Secret containing the public keys of trusted Git authors. |
HelmChartSpec
(Appears on: HelmChart)
HelmChartSpec specifies the desired state of a Helm chart.
Field | Description |
---|---|
chart string | Chart is the name or path the Helm chart is available at in the SourceRef. |
version string | (Optional) Version is the chart version semver expression, ignored for charts from GitRepository and Bucket sources. Defaults to latest when omitted. |
sourceRef LocalHelmChartSourceReference | SourceRef is the reference to the Source the chart is available at. |
interval Kubernetes meta/v1.Duration | Interval at which the HelmChart SourceRef is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
reconcileStrategy string | (Optional) ReconcileStrategy determines what enables the creation of a new artifact. Valid values are (‘ChartVersion’, ‘Revision’). See the documentation of the values for an explanation on their behavior. Defaults to ChartVersion when omitted. |
valuesFiles []string | (Optional) ValuesFiles is an alternative list of values files to use as the chart values (values.yaml is not included by default), expected to be a relative path in the SourceRef. Values files are merged in the order of this list with the last file overriding the first. Ignored when omitted. |
valuesFile string | (Optional) ValuesFile is an alternative values file to use as the default chart values, expected to be a relative path in the SourceRef. Deprecated in favor of ValuesFiles, for backwards compatibility the file specified here is merged before the ValuesFiles items. Ignored when omitted. |
suspend bool | (Optional) Suspend tells the controller to suspend the reconciliation of this source. |
accessFrom github.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
verify OCIRepositoryVerification | (Optional) Verify contains the secret name containing the trusted public keys used to verify the signature and specifies which provider to use to check whether OCI image is authentic. This field is only supported when using HelmRepository source with spec.type ‘oci’. Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified. |
HelmChartStatus
(Appears on: HelmChart)
HelmChartStatus records the observed state of the HelmChart.
Field | Description |
---|---|
observedGeneration int64 | (Optional) ObservedGeneration is the last observed generation of the HelmChart object. |
observedSourceArtifactRevision string | (Optional) ObservedSourceArtifactRevision is the last observed Artifact.Revision of the HelmChartSpec.SourceRef. |
observedChartName string | (Optional) ObservedChartName is the last observed chart name as specified by the resolved chart reference. |
conditions []Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the HelmChart. |
url string | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise BucketStatus.Artifact data is recommended. |
artifact github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the output of the last successful reconciliation. |
ReconcileRequestStatus github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
HelmRepositorySpec
(Appears on: HelmRepository)
HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm repository index YAML.
Field | Description |
---|---|
url string | URL of the Helm repository, a valid URL contains at least a protocol and host. |
secretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Secret containing authentication credentials
for the HelmRepository.
For HTTP/S basic auth the secret must contain ‘username’ and ‘password’
fields.
Support for TLS auth using the ‘certFile’ and ‘keyFile’, and/or ‘caFile’
keys is deprecated. Please use |
certSecretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) CertSecretRef can be given the name of a Secret containing either or both of
and whichever are supplied, will be used for connecting to the
registry. The client cert and key are useful if you are
authenticating with a certificate; the CA cert is useful if
you are using a self-signed server certificate. The Secret must
be of type It takes precedence over the values specified in the Secret referred
to by |
passCredentials bool | (Optional) PassCredentials allows the credentials from the SecretRef to be passed on to a host that does not match the host as defined in URL. This may be required if the host of the advertised chart URLs in the index differ from the defined URL. Enabling this should be done with caution, as it can potentially result in credentials getting stolen in a MITM-attack. |
interval Kubernetes meta/v1.Duration | Interval at which the HelmRepository URL is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
timeout Kubernetes meta/v1.Duration | (Optional) Timeout is used for the index fetch operation for an HTTPS helm repository, and for remote OCI Repository operations like pulling for an OCI helm repository. Its default value is 60s. |
suspend bool | (Optional) Suspend tells the controller to suspend the reconciliation of this HelmRepository. |
accessFrom github.com/fluxcd/pkg/apis/acl.AccessFrom | (Optional) AccessFrom specifies an Access Control List for allowing cross-namespace references to this object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 |
type string | (Optional) Type of the HelmRepository. When this field is set to “oci”, the URL field value must be prefixed with “oci://”. |
provider string | (Optional) Provider used for authentication, can be ‘aws’, ‘azure’, ‘gcp’ or ‘generic’. This field is optional, and only taken into account if the .spec.type field is set to ‘oci’. When not specified, defaults to ‘generic’. |
HelmRepositoryStatus
(Appears on: HelmRepository)
HelmRepositoryStatus records the observed state of the HelmRepository.
Field | Description |
---|---|
observedGeneration int64 | (Optional) ObservedGeneration is the last observed generation of the HelmRepository object. |
conditions []Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the HelmRepository. |
url string | (Optional) URL is the dynamic fetch link for the latest Artifact. It is provided on a “best effort” basis, and using the precise HelmRepositoryStatus.Artifact data is recommended. |
artifact github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the last successful HelmRepository reconciliation. |
ReconcileRequestStatus github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
LocalHelmChartSourceReference
(Appears on: HelmChartSpec)
LocalHelmChartSourceReference contains enough information to let you locate the typed referenced object at namespace level.
Field | Description |
---|---|
apiVersion string | (Optional) APIVersion of the referent. |
kind string | Kind of the referent, valid values are (‘HelmRepository’, ‘GitRepository’, ‘Bucket’). |
name string | Name of the referent. |
OCILayerSelector
(Appears on: OCIRepositorySpec, OCIRepositoryStatus)
OCILayerSelector specifies which layer should be extracted from an OCI Artifact
Field | Description |
---|---|
mediaType string | (Optional) MediaType specifies the OCI media type of the layer which should be extracted from the OCI Artifact. The first layer matching this type is selected. |
operation string | (Optional) Operation specifies how the selected layer should be processed. By default, the layer compressed content is extracted to storage. When the operation is set to ‘copy’, the layer compressed content is persisted to storage as it is. |
OCIRepositoryRef
(Appears on: OCIRepositorySpec)
OCIRepositoryRef defines the image reference for the OCIRepository’s URL
Field | Description |
---|---|
digest string | (Optional) Digest is the image digest to pull, takes precedence over SemVer.
The value should be in the format ‘sha256: |
semver string | (Optional) SemVer is the range of tags to pull selecting the latest within the range, takes precedence over Tag. |
tag string | (Optional) Tag is the image tag to pull, defaults to latest. |
OCIRepositorySpec
(Appears on: OCIRepository)
OCIRepositorySpec defines the desired state of OCIRepository
Field | Description |
---|---|
url string | URL is a reference to an OCI artifact repository hosted on a remote container registry. |
ref OCIRepositoryRef | (Optional) The OCI reference to pull and monitor for changes, defaults to the latest tag. |
layerSelector OCILayerSelector | (Optional) LayerSelector specifies which layer should be extracted from the OCI artifact. When not specified, the first layer found in the artifact is selected. |
provider string | (Optional) The provider used for authentication, can be ‘aws’, ‘azure’, ‘gcp’ or ‘generic’. When not specified, defaults to ‘generic’. |
secretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef contains the secret name containing the registry login credentials to resolve image metadata. The secret must be of type kubernetes.io/dockerconfigjson. |
verify OCIRepositoryVerification | (Optional) Verify contains the secret name containing the trusted public keys used to verify the signature and specifies which provider to use to check whether OCI image is authentic. |
serviceAccountName string | (Optional) ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate the image pull if the service account has attached pull secrets. For more information: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account |
certSecretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) CertSecretRef can be given the name of a Secret containing either or both of
and whichever are supplied, will be used for connecting to the
registry. The client cert and key are useful if you are
authenticating with a certificate; the CA cert is useful if
you are using a self-signed server certificate. The Secret must
be of type Note: Support for the |
interval Kubernetes meta/v1.Duration | Interval at which the OCIRepository URL is checked for updates. This interval is approximate and may be subject to jitter to ensure efficient use of resources. |
timeout Kubernetes meta/v1.Duration | (Optional) The timeout for remote OCI Repository operations like pulling, defaults to 60s. |
ignore string | (Optional) Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same as .gitignore). If not provided, a default will be used, consult the documentation for your version to find out what those are. |
insecure bool | (Optional) Insecure allows connecting to a non-TLS HTTP container registry. |
suspend bool | (Optional) This flag tells the controller to suspend the reconciliation of this source. |
OCIRepositoryStatus
(Appears on: OCIRepository)
OCIRepositoryStatus defines the observed state of OCIRepository
Field | Description |
---|---|
observedGeneration int64 | (Optional) ObservedGeneration is the last observed generation. |
conditions []Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the OCIRepository. |
url string | (Optional) URL is the download link for the artifact output of the last OCI Repository sync. |
artifact github.com/fluxcd/source-controller/api/v1.Artifact | (Optional) Artifact represents the output of the last successful OCI Repository sync. |
contentConfigChecksum string | (Optional) ContentConfigChecksum is a checksum of all the configurations related to
the content of the source artifact:
- .spec.ignore
- .spec.layerSelector
observed in .status.observedGeneration version of the object. This can
be used to determine if the content configuration has changed and the
artifact needs to be rebuilt.
It has the format of Deprecated: Replaced with explicit fields for observed artifact content config in the status. |
observedIgnore string | (Optional) ObservedIgnore is the observed exclusion patterns used for constructing the source artifact. |
observedLayerSelector OCILayerSelector | (Optional) ObservedLayerSelector is the observed layer selector used for constructing the source artifact. |
ReconcileRequestStatus github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
OCIRepositoryVerification
(Appears on: HelmChartSpec, OCIRepositorySpec)
OCIRepositoryVerification verifies the authenticity of an OCI Artifact
Field | Description |
---|---|
provider string | Provider specifies the technology used to sign the OCI Artifact. |
secretRef github.com/fluxcd/pkg/apis/meta.LocalObjectReference | (Optional) SecretRef specifies the Kubernetes Secret containing the trusted public keys. |
Source
Source interface must be supported by all API types. Source is the interface that provides generic access to the Artifact and interval. It must be supported by all kinds of the source.toolkit.fluxcd.io API group.
Deprecated: use the Source interface from api/v1 instead. This type will be removed in a future release.
This page was automatically generated with gen-crd-api-reference-docs