Skip to search

WatchOperation

ops.crossplane.io / v1alpha1

apiVersion: ops.crossplane.io/v1alpha1 kind: WatchOperation metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
WatchOperationSpec specifies the desired state of a WatchOperation.
concurrencyPolicy string
ConcurrencyPolicy specifies how to treat concurrent executions of an operation.
enum: Allow, Forbid, Replace
failedHistoryLimit integer
FailedHistoryLimit is the number of failed Operations to retain.
format: int32
operationTemplate object required
OperationTemplate is the template for the Operation to be created.
metadata object
Standard object metadata.
spec object required
Spec is the specification of the Operation to be created.
mode string required
Mode controls what type or "mode" of operation will be used. "Pipeline" indicates that an Operation specifies a pipeline of functions, each of which is responsible for implementing its logic.
enum: Pipeline
pipeline []object required
Pipeline is a list of operation function steps that will be used when this operation runs.
minItems: 1
maxItems: 99
credentials []object
Credentials are optional credentials that the operation function needs.
name string required
Name of this set of credentials.
secretRef object
A SecretRef is a reference to a secret containing credentials that should be supplied to the function.
name string required
Name of the secret.
namespace string required
Namespace of the secret.
source string required
Source of the function credentials.
enum: None, Secret
functionRef object required
FunctionRef is a reference to the function this step should execute.
name string required
Name of the referenced function.
input object
Input is an optional, arbitrary Kubernetes resource (i.e. a resource with an apiVersion and kind) that will be passed to the unction as the 'input' of its RunFunctionRequest.
requirements object
Requirements are resource requirements that will be satisfied before this pipeline step is called for the first time. This allows pre-populating required resources without requiring a function to request them first.
requiredResources []object
RequiredResources that will be fetched before this pipeline step is called for the first time.
apiVersion string required
APIVersion of resources to select.
kind string required
Kind of resources to select.
matchLabels object
MatchLabels matches resources by label selector. Only one of Name or MatchLabels may be specified.
name string
Name matches a single resource by name. Only one of Name or MatchLabels may be specified.
namespace string
Namespace to search for resources. Optional for cluster-scoped resources.
requirementName string required
RequirementName uniquely identifies this group of resources. This name will be used as the key in RunFunctionRequest.required_resources.
requiredSchemas []object
RequiredSchemas that will be fetched before this pipeline step is called for the first time.
apiVersion string required
APIVersion of the resource kind whose schema is required, e.g. "example.org/v1".
kind string required
Kind of resource whose schema is required, e.g. "MyResource".
requirementName string required
RequirementName uniquely identifies this schema. This name will be used as the key in RunFunctionRequest.required_schemas.
step string required
Step name. Must be unique within its Pipeline.
retryLimit integer
RetryLimit configures how many times the operation may fail. When the failure limit is exceeded, the operation will not be retried.
format: int64
successfulHistoryLimit integer
SuccessfulHistoryLimit is the number of successful Operations to retain.
format: int32
watch object required
Watch specifies the resource to watch.
apiVersion string required
APIVersion of the resource to watch.
kind string required
Kind of the resource to watch.
matchLabels object
MatchLabels selects resources by label. If empty, all resources of the specified kind are watched.
namespace string
Namespace selects resources in a specific namespace. If empty, all namespaces are watched. Only applicable for namespaced resources.
status object
WatchOperationStatus represents the observed state of a WatchOperation.
conditions []object
Conditions of the resource.
lastTransitionTime string required
LastTransitionTime is the last time this condition transitioned from one status to another.
format: date-time
message string
A Message containing details about this condition's last transition from one status to another, if any.
observedGeneration integer
ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
reason string required
A Reason for this condition's last transition from one status to another.
status string required
Status of this condition; is it currently True, False, or Unknown?
type string required
Type of this condition. At most one of each condition type may apply to a resource at any point in time.
lastScheduleTime string
LastScheduleTime is the last time the WatchOperation created an Operation.
format: date-time
lastSuccessfulTime string
LastSuccessfulTime is the last time the WatchOperation successfully completed an Operation.
format: date-time
runningOperationRefs []object
RunningOperationRefs is a list of currently running Operations.
name string required
Name of the active operation.
watchingResources integer
WatchingResources is the number of resources this WatchOperation is currently watching.
format: int64

No matches. Try .spec.concurrencyPolicy for an exact path