ConnectorClass [connectors.alauda.io/v1alpha1]
- Description
- ConnectorClass is the Schema for the connectorclasses API
- Type
object
Specification
.spec
- Description
- Spec defines the desired state of ConnectorClass
- Type
object
.spec.address
- Description
- Address indicates address param constraints for this ConnectorClass of connectors we only support string param type
- Type
object- Required
name
.spec.address.enum
- Description
- Enum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
- Type
array
.spec.address.enum[]
- Type
string
.spec.address.properties
- Description
- Properties is the JSON Schema properties to support key-value pairs parameter.
- Type
object
.spec.api
- Description
- API defines connectorclass plugin api address and openapi specification `api.ref` can be address of plugin api, it should be a kubernetes svc `api.uri` can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref. `api.CACerts` and `api.audience` is not implemented now
- Type
object
.spec.api.permissions
- Description
- Permissions defines the request matching rules for different operations on the connectorclass api
- Type
object
.spec.api.ref
- Description
- Ref points to an Addressable.
- Type
object- Required
kindname
.spec.auth
- Description
- Auth indicates authentication constraints for this ConnectorClass of connectors
- Type
object
.spec.auth.types
- Description
- Types represent the authentication types supported by connectors of the current connectorclass type When the array length is greater than 1, it means supporting multiple types, and the Connector can choose any one when using.
- Type
array
.spec.auth.types[]
- Description
- ConnectorClassAuthType represent the authentication types supported by connectors of the current connectorclass type
- Type
object- Required
name
.spec.auth.types[].generator
- Description
- Generator specifies how to generate authentication data dynamically. Can be used to implement custom authentication logic.
- Type
object
.spec.auth.types[].params
- Description
- Params declares the data fields included in this authentication type. For known types, the definition of included params is optional. If not defined, the conventional params will be used.
- Type
array
.spec.auth.types[].params[]
- Description
- ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
- Type
object- Required
name
.spec.auth.types[].params[].enum
- Description
- Enum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
- Type
array
.spec.auth.types[].params[].enum[]
- Type
string
.spec.auth.types[].params[].properties
- Description
- Properties is the JSON Schema properties to support key-value pairs parameter.
- Type
object
.spec.authProbes
- Description
- AuthProbes defines authentication probe for this ConnectorClass of connectors
- Type
array
.spec.authProbes[]
- Description
- ConnectorClassAuthProbe represents network the detection configuration
- Type
object- Required
authName
.spec.authProbes[].params
- Description
- Params declares the data fields included in this probe it will use param value when probe
- Type
array
.spec.authProbes[].params[]
- Description
- ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
- Type
object- Required
name
.spec.authProbes[].params[].enum
- Description
- Enum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
- Type
array
.spec.authProbes[].params[].enum[]
- Type
string
.spec.authProbes[].params[].properties
- Description
- Properties is the JSON Schema properties to support key-value pairs parameter.
- Type
object
.spec.authProbes[].probe
- Description
- Probe represents current detection configuration
- Type
object
.spec.authProbes[].probe.api
- Description
- API defines a network detection probe that uses the ConnectorClass API. The API endpoint for the probe is resolved from the ConnectorClass's `spec.api` configuration. If `spec.api` is not configured or is invalid, no API detection will be performed. The `Path` field within `APIProbeAction` specifies a relative path that is appended to the host of URI resolved from `spec.api` (e.g., `spec.api.uri`).
- Type
object
.spec.authProbes[].probe.http
- Description
- Http represents the network detection using the http get method
- Type
object- Required
path
.spec.authProbes[].probe.http.httpHeaders
- Description
- Custom headers to set in the request. HTTP allows repeated headers.
- Type
array
.spec.authProbes[].probe.http.httpHeaders[]
- Description
- HTTPHeader describes a custom header to be used in HTTP probes
- Type
object- Required
namevalue
.spec.authProbes[].probe.http.response
- Description
- Response defines the expected response validation rules. If not specified, the probe is considered successful if the request completes without error and returns a 2xx status code.
- Type
object
.spec.configurations
- Description
- Configurations defines connectorclass configuration
- Type
array
.spec.configurations[]
- Description
- ConnectorClassConfiguration defines connectorclass configuration
- Type
object
.spec.configurations[].annotations
- Description
- Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
- Type
object
.spec.configurations[].data
- Description
- Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.
- Type
object
.spec.livenessProbe
- Description
- LivenessProbe defines liveness probe for this ConnectorClass of connectors
- Type
object
.spec.livenessProbe.api
- Description
- API defines a network detection probe that uses the ConnectorClass API. The API endpoint for the probe is resolved from the ConnectorClass's `spec.api` configuration. If `spec.api` is not configured or is invalid, no API detection will be performed. The `Path` field within `APIProbeAction` specifies a relative path that is appended to the host of URI resolved from `spec.api` (e.g., `spec.api.uri`).
- Type
object
.spec.livenessProbe.http
- Description
- Http represents the network detection using the http get method
- Type
object- Required
path
.spec.livenessProbe.http.httpHeaders
- Description
- Custom headers to set in the request. HTTP allows repeated headers.
- Type
array
.spec.livenessProbe.http.httpHeaders[]
- Description
- HTTPHeader describes a custom header to be used in HTTP probes
- Type
object- Required
namevalue
.spec.livenessProbe.http.response
- Description
- Response defines the expected response validation rules. If not specified, the probe is considered successful if the request completes without error and returns a 2xx status code.
- Type
object
.spec.params
- Description
- Params indicates param constraints for this ConnectorClass of connectors we only support string param type
- Type
array
.spec.params[]
- Description
- ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
- Type
object- Required
name
.spec.params[].enum
- Description
- Enum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
- Type
array
.spec.params[].enum[]
- Type
string
.spec.params[].properties
- Description
- Properties is the JSON Schema properties to support key-value pairs parameter.
- Type
object
.spec.proxy
- Description
- Proxy defines the proxy configuration for this ConnectorClass. Specifies how network traffic should be routed through a proxy server.
- Type
object
.spec.proxy.authExtractor
- Description
- AuthExtractor specifies the method used to extract authentication data from incoming requests. The AuthExtractor is responsible for extracting the token required to perform proxy permission validation.
- Type
object
.spec.proxy.ref
- Description
- Ref points to an Addressable.
- Type
object- Required
kindname
.status
- Description
- Status defines the actual state of ConnectorClass
- Type
object
.status.annotations
- Description
- Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
- Type
object
.status.api
- Description
- API represents status of connectorclass api it will resolved based on `spec.api` if `spec.api` is empty or invalid, it will not be set if current field is empty, the connectorclass cannot provides any api service.
- Type
object
.status.api.address
- Description
- Address is a single Addressable address.
- Type
object
.status.conditions
- Description
- Conditions the latest available observations of a resource's current state.
- Type
array
.status.conditions[]
- Description
- Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
- Type
object- Required
statustype
.status.proxy
- Description
- Proxy represents status of connectorclass proxy it will resolved based on `spec.proxy` if `spec.proxy` is empty or invalid, it will not be set if current field is empty, the connectorclass cannot provides any proxy service.
- Type
object
.status.proxy.httpAddress
- Description
- HttpAddress is a single Addressable address.
- Type
object
API Endpoints
The following API endpoints are available:
/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorclassesDELETE: delete collection of ConnectorClassGET: list objects of kind ConnectorClassPOST: create a new ConnectorClass
/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorclasses/{name}DELETE: delete the specified ConnectorClassGET: read the specified ConnectorClassPATCH: partially update the specified ConnectorClassPUT: replace the specified ConnectorClass
/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorclasses/{name}/statusGET: read status of the specified ConnectorClassPATCH: partially update status of the specified ConnectorClassPUT: replace status of the specified ConnectorClass
/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorclasses
- HTTP method
DELETE- Description
- delete collection of ConnectorClass
- HTTP responses
- HTTP method
GET- Description
- list objects of kind ConnectorClass
- HTTP responses
- HTTP method
POST- Description
- create a new ConnectorClass
- Query parameters
- Body parameters
- HTTP responses
/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorclasses/{name}
- HTTP method
DELETE- Description
- delete the specified ConnectorClass
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified ConnectorClass
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified ConnectorClass
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified ConnectorClass
- Query parameters
- Body parameters
- HTTP responses
/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorclasses/{name}/status
- HTTP method
GET- Description
- read status of the specified ConnectorClass
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified ConnectorClass
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified ConnectorClass
- Query parameters
- Body parameters
- HTTP responses