docs snapshot for crossplane version `master`

This commit is contained in:
Crossplane 2020-01-17 23:24:23 +00:00
parent 46ba571dec
commit 2662437688
1 changed files with 131 additions and 0 deletions

View File

@ -6,6 +6,7 @@ This API group contains the following Crossplane resources:
* [ClusterStackInstall](#ClusterStackInstall)
* [Stack](#Stack)
* [StackConfiguration](#StackConfiguration)
* [StackInstall](#StackInstall)
## ClusterStackInstall
@ -38,6 +39,21 @@ Name | Type | Description
## StackConfiguration
StackConfiguration is the Schema for the stackconfigurations API
Name | Type | Description
-----|------|------------
`apiVersion` | string | `stacks.crossplane.io/v1alpha1`
`kind` | string | `StackConfiguration`
`metadata` | [meta/v1.ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#objectmeta-v1-meta) | Kubernetes object metadata.
`spec` | [StackConfigurationSpec](#StackConfigurationSpec) | StackConfigurationSpec defines the desired state of StackConfiguration
`status` | [StackConfigurationStatus](#StackConfigurationStatus) | StackConfigurationStatus defines the observed state of StackConfiguration
## StackInstall
A StackInstall requests a stack be installed to Crossplane.
@ -147,6 +163,32 @@ Name | Type | Description
## GVK
GVK should be in domain format, so Kind.group/version Alias of string.
## HookConfiguration
HookConfiguration is the configuration for an individual hook which will be executed in response to an event.
Name | Type | Description
-----|------|------------
`engine` | [ResourceEngineConfiguration](#ResourceEngineConfiguration) | ResourceEngineConfiguration represents a configuration for a resource engine, such as helm2 or kustomize.
`directory` | string |
## HookConfigurations
HookConfigurations is a list of hook configurations. Alias of []github.com/crossplaneio/crossplane/apis/stacks/v1alpha1.HookConfiguration.
Appears in:
* [StackConfigurationBehavior](#StackConfigurationBehavior)
## IconSpec
IconSpec defines the icon for a stack
@ -178,6 +220,95 @@ Name | Type | Description
## ResourceEngineConfiguration
ResourceEngineConfiguration represents a configuration for a resource engine, such as helm2 or kustomize.
Appears in:
* [HookConfiguration](#HookConfiguration)
* [StackConfigurationBehavior](#StackConfigurationBehavior)
* [StackConfigurationBehaviors](#StackConfigurationBehaviors)
Name | Type | Description
-----|------|------------
`type` | string |
## StackConfigurationBehavior
StackConfigurationBehavior specifies an individual behavior, by listing resources which should be processed.
Appears in:
* [StackConfigurationBehaviors](#StackConfigurationBehaviors)
Name | Type | Description
-----|------|------------
`hooks` | [map[string]github.com/crossplaneio/crossplane/apis/stacks/v1alpha1.HookConfigurations](#HookConfigurations) | The key for Hooks is an event name which represents the lifecycle event that the controller should respond to. There are certain events that are recognized. Currently, only "reoncile" is recognized.
`engine` | [ResourceEngineConfiguration](#ResourceEngineConfiguration) | ResourceEngineConfiguration represents a configuration for a resource engine, such as helm2 or kustomize.
## StackConfigurationBehaviors
StackConfigurationBehaviors specifies behaviors for the stack
Appears in:
* [StackConfigurationSpec](#StackConfigurationSpec)
Name | Type | Description
-----|------|------------
`crds` | [map[github.com/crossplaneio/crossplane/apis/stacks/v1alpha1.GVK]github.com/crossplaneio/crossplane/apis/stacks/v1alpha1.StackConfigurationBehavior](#StackConfigurationBehavior) |
`engine` | [ResourceEngineConfiguration](#ResourceEngineConfiguration) | ResourceEngineConfiguration represents a configuration for a resource engine, such as helm2 or kustomize.
`source` | [StackConfigurationSource](#StackConfigurationSource) | Theoretically, source and engine could be specified at a per-crd level or per-hook level as well.
## StackConfigurationSource
StackConfigurationSource is the stack image which this stack configuration is from. In the future, other source types may be supported, such as a URL.
Appears in:
* [StackConfigurationBehaviors](#StackConfigurationBehaviors)
Name | Type | Description
-----|------|------------
`image` | string | a container image id
## StackConfigurationSpec
StackConfigurationSpec defines the desired state of StackConfiguration
Appears in:
* [StackConfiguration](#StackConfiguration)
Name | Type | Description
-----|------|------------
`behaviors` | [StackConfigurationBehaviors](#StackConfigurationBehaviors) | Important: Run "make" to regenerate code after modifying this file
## StackConfigurationStatus
StackConfigurationStatus defines the observed state of StackConfiguration
Appears in:
* [StackConfiguration](#StackConfiguration)
## StackInstallSpec
StackInstallSpec specifies details about a request to install a stack to Crossplane.