ModulePlugin [moduleplugins.cluster.alauda.io/v1alpha1]

描述
ModuleConfig is the Schema for the moduleconfigs API
类型
object

规格

属性类型描述
apiVersionstring

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

kindstring

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

metadataObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

specobject

ModuleConfigSpec defines the desired state of ModuleConfig

statusobject

ModulePluginStatus defines the observed state of ModulePlugin

.spec

描述
ModuleConfigSpec defines the desired state of ModuleConfig
类型
object
必填
deleteabledescriptionlogoname
属性类型描述
affinityobject

Affinity is the affinity of the plugin.

appReleasesarray

AppReleases is the app releases of the module.

cfgFilenamestring

CfgFilename is the plugin config filename in chart.

configobject

Config is the config of the module.

crossClusterDependenciesarray

CrossClusterDependencies indicates the cross-cluster dependencies of this module. Deprecated

deleteBlockDescriptionstring

DeleteBlockDescription is the delete block description of the module.

deleteBlockDescriptionEnstring

DeleteBlockDescriptionEn is the delete block description of the module in English.

deleteRiskDescriptionstring

DeleteRiskDescription is the delete risk description of the module.

deleteRiskDescriptionEnstring

DeleteRiskDescriptionEn is the delete risk description of the module in English.

deleteableboolean

Deleteable indicates whether the module can be deleted.

dependenciesarray

Dependencies is the dependencies of the module.

deployDescriptorsarray

DeployDescriptors is the descriptors of the module for deployment.

descriptionobject

Description is the description of the module.

editDescriptorsarray

EditDescriptors is the descriptors of the module for edit.

entrypointTemplatestring

EntrypointTemplate is the entrypoint template of the module.

labelClusterstring

LabelCluster is the flag of whether label cluster resource.

logostring

Logo is the logo of the module.

mainChartstring

MainChart is the main chart of the module.

mustUpgradeboolean

MustUpgrade is the flag of whether the module must upgrade.

namestring

Name is the name of the module.

pluginDependenciesobject

PluginDependencies define the plugins dependent relationship

resourcesBlockRemovearray

ResourcesBlockRemove stands for the resources reference with can block remove this plugin, all of theses resources must be deleted before you can remove this plugin.

skipPlatformConfigboolean

SkipPlatformConfig stands for skip reference the platform values when renderering the values for AppRelease.

supportedUpgradeVersionsstring

SupportedUpgradeVersions is the supported old versions of the module for upgrade.

targetClusterVersionsarray

TargetClusterVersions is the target clusters of the module.

transitTimeoutinteger

TransitTimeout is the timeout duration for upgrade.

uiContextobject

UIContext is the additional attributes for module config.

upgradeBeforearray

UpgradeBefore stands for need upgrade before these mouldes

upgradeDescriptorsarray

UpgradeDescriptors is the descriptors of the module for upgrade.

upgradeRiskDescriptionstring

UpgradeRiskDescription is the upgrade risk description of the module.

upgradeRiskDescriptionEnstring

UpgradeRiskDescriptionEn is the upgrade risk description of the module in English.

upgradeRiskLevelstring

UpgradeRiskLevel is the upgrade risk level of the module.

valuesTemplatesobject

ValuesTemplates is the values templates of the module.

versionstring

Version is the version of the module.

.spec.affinity

描述
Affinity is the affinity of the plugin.
类型
object
属性类型描述
clusterAffinityobject

ClusterAffinity defines the cluster affinity

clusterAntiAffinityobject

ClusterAntiAffinity defines the cluster anti-affinity

pluginAntiAffinityarray

PluginAntiAffinity defines the plugin anti-affinity

.spec.affinity.clusterAffinity

描述
ClusterAffinity defines the cluster affinity
类型
object
属性类型描述
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.spec.affinity.clusterAffinity.matchExpressions

描述
MatchExpressions is the list of match expressions
类型
array

.spec.affinity.clusterAffinity.matchExpressions[]

描述
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.

.spec.affinity.clusterAffinity.matchExpressions[].values

描述
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
类型
array

.spec.affinity.clusterAffinity.matchExpressions[].values[]

类型
string

.spec.affinity.clusterAffinity.matchLabels

描述
MatchLabels is the cluster selector
类型
object

.spec.affinity.clusterAntiAffinity

描述
ClusterAntiAffinity defines the cluster anti-affinity
类型
object
属性类型描述
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.spec.affinity.clusterAntiAffinity.matchExpressions

描述
MatchExpressions is the list of match expressions
类型
array

.spec.affinity.clusterAntiAffinity.matchExpressions[]

描述
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.

.spec.affinity.clusterAntiAffinity.matchExpressions[].values

描述
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
类型
array

.spec.affinity.clusterAntiAffinity.matchExpressions[].values[]

类型
string

.spec.affinity.clusterAntiAffinity.matchLabels

描述
MatchLabels is the cluster selector
类型
object

.spec.affinity.pluginAntiAffinity

描述
PluginAntiAffinity defines the plugin anti-affinity
类型
array

.spec.affinity.pluginAntiAffinity[]

类型
string

.spec.appReleases

描述
AppReleases is the app releases of the module.
类型
array

.spec.appReleases[]

描述
AppRelease is the release of an application
类型
object
必填
chartVersionsname
属性类型描述
chartVersionsarray

ChartVersions stands for the app's chart versions

installConditionstring

InstallCondition is the condition of installing

namestring

Name stands for the release name

namespacestring

Namespace stands for the release namespace

.spec.appReleases[].chartVersions

描述
ChartVersions stands for the app's chart versions
类型
array

.spec.appReleases[].chartVersions[]

描述
ChartVersion is the version of the chart
类型
object
必填
namereleaseNameversion
属性类型描述
namestring

Name stands for the chart's name

releaseNamestring

ReleaseName stands for the release name

versionstring

Version stands for the chart's version

.spec.config

描述
Config is the config of the module.
类型
object

.spec.crossClusterDependencies

描述
CrossClusterDependencies indicates the cross-cluster dependencies of this module. Deprecated
类型
array

.spec.crossClusterDependencies[]

类型
string

.spec.dependencies

描述
Dependencies is the dependencies of the module.
类型
array

.spec.dependencies[]

描述
ModuleDependency defines the module dependency
类型
object
必填
moduleName
属性类型描述
instanceNamestring

InstanceName stands for the dependent module's ModuleInfo CR's name

moduleNamestring

ModuleName stands for the dependent module's name

versionsMatcharray

VersionMatch stands for the version requirements for the dependent module, any match will be acceptable.

.spec.dependencies[].versionsMatch

描述
VersionMatch stands for the version requirements for the dependent module, any match will be acceptable.
类型
array

.spec.dependencies[].versionsMatch[]

类型
string

.spec.deployDescriptors

描述
DeployDescriptors is the descriptors of the module for deployment.
类型
array

.spec.deployDescriptors[]

描述
Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
类型
object
必填
pathx-descriptors
属性类型描述
descriptionstring

Description is the description of the descriptor

displayNamestring

DisplayName is the display name of the descriptor

pathstring

Path is the path of the descriptor

x-descriptorsarray

X-Descriptors is the list of descriptors

.spec.deployDescriptors[].x-descriptors

描述
X-Descriptors is the list of descriptors
类型
array

.spec.deployDescriptors[].x-descriptors[]

类型
string

.spec.description

描述
Description is the description of the module.
类型
object
属性类型描述
enstring

En is the English description

zhstring

Zh is the Chinese description

.spec.editDescriptors

描述
EditDescriptors is the descriptors of the module for edit.
类型
array

.spec.editDescriptors[]

描述
Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
类型
object
必填
pathx-descriptors
属性类型描述
descriptionstring

Description is the description of the descriptor

displayNamestring

DisplayName is the display name of the descriptor

pathstring

Path is the path of the descriptor

x-descriptorsarray

X-Descriptors is the list of descriptors

.spec.editDescriptors[].x-descriptors

描述
X-Descriptors is the list of descriptors
类型
array

.spec.editDescriptors[].x-descriptors[]

类型
string

.spec.pluginDependencies

描述
PluginDependencies define the plugins dependent relationship
类型
object
属性类型描述
crossClusterobject

.spec.pluginDependencies.crossCluster

类型
object
属性类型描述
oneOfarray

.spec.pluginDependencies.crossCluster.oneOf

类型
array

.spec.pluginDependencies.crossCluster.oneOf[]

类型
object
必填
clusterNamepluginName
属性类型描述
clusterNamestring
pluginNamestring

.spec.resourcesBlockRemove

描述
ResourcesBlockRemove stands for the resources reference with can block remove this plugin, all of theses resources must be deleted before you can remove this plugin.
类型
array

.spec.resourcesBlockRemove[]

描述
ResourceReference defines the resource reference
类型
object
属性类型描述
apiVersionstring

API version of the referent.

kindstring

Kind of the referent.

namestring

Name of the referent.

namespacestring

Namespace of the referent.

.spec.targetClusterVersions

描述
TargetClusterVersions is the target clusters of the module.
类型
array

.spec.targetClusterVersions[]

类型
string

.spec.uiContext

描述
UIContext is the additional attributes for module config.
类型
object
属性类型描述
sizeSettingsobject

SizeSettings defines a list of size config

.spec.uiContext.sizeSettings

描述
SizeSettings defines a list of size config
类型
object
属性类型描述
defaultstring

Default is name for default size

quotaTipobject

QuotaTip is quota tip

sizesarray

Sizes defines a list of size config

.spec.uiContext.sizeSettings.quotaTip

描述
QuotaTip is quota tip
类型
object
属性类型描述
enstring

En is the English text

zhstring

Zh is the Chinese text

.spec.uiContext.sizeSettings.sizes

描述
Sizes defines a list of size config
类型
array

.spec.uiContext.sizeSettings.sizes[]

描述
SizeConfig defines a list of components config
类型
object
必填
componentsdescriptionnamesize
属性类型描述
componentsobject

Components defines a list of component config

descriptionobject

Description defines description for this size config

nameobject

Name defines name for this size config

sizestring

Size is name for this config

.spec.uiContext.sizeSettings.sizes[].components

描述
Components defines a list of component config
类型
object

.spec.uiContext.sizeSettings.sizes[].description

描述
Description defines description for this size config
类型
object
属性类型描述
enstring

En is the English text

zhstring

Zh is the Chinese text

.spec.uiContext.sizeSettings.sizes[].name

描述
Name defines name for this size config
类型
object
属性类型描述
enstring

En is the English text

zhstring

Zh is the Chinese text

.spec.upgradeBefore

描述
UpgradeBefore stands for need upgrade before these mouldes
类型
array

.spec.upgradeBefore[]

描述
ModuleRef defines the reference for the module
类型
object
必填
moduleName
属性类型描述
moduleNamestring

ModuleName stands for the dependent module's name

.spec.upgradeDescriptors

描述
UpgradeDescriptors is the descriptors of the module for upgrade.
类型
array

.spec.upgradeDescriptors[]

描述
Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
类型
object
必填
pathx-descriptors
属性类型描述
descriptionstring

Description is the description of the descriptor

displayNamestring

DisplayName is the display name of the descriptor

pathstring

Path is the path of the descriptor

x-descriptorsarray

X-Descriptors is the list of descriptors

.spec.upgradeDescriptors[].x-descriptors

描述
X-Descriptors is the list of descriptors
类型
array

.spec.upgradeDescriptors[].x-descriptors[]

类型
string

.spec.valuesTemplates

描述
ValuesTemplates is the values templates of the module.
类型
object

.status

描述
ModulePluginStatus defines the observed state of ModulePlugin
类型
object
属性类型描述
conditionsarray

conditions is the conditions on this plugin

installedarray

installed are the installed instances of this plugin

latestVersionstring

latestVersion is the latest version of the ModuleConfig

moduleConfigsarray

moduleConfigs is the module config versions of the ModulePlugin

specHashstring

SpecHash is the hash of the spec

targetClusterVersionsobject

targetClusterVersions is the target cluster versions of the ModuleConfig

.status.conditions

描述
conditions is the conditions on this plugin
类型
array

.status.conditions[]

描述
Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields }
类型
object
必填
lastTransitionTimemessagereasonstatustype
属性类型描述
lastTransitionTimestring

lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

messagestring

message is a human readable message indicating details about the transition. This may be an empty string.

observedGenerationinteger

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.

reasonstring

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

statusstring

status of the condition, one of True, False, Unknown.

typestring

type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

.status.installed

描述
installed are the installed instances of this plugin
类型
array

.status.installed[]

描述
InstalledPlugin defines the installed plugin's info
类型
object
必填
clusternamephaseversion
属性类型描述
clusterstring
namestring
phasestring
versionstring

.status.moduleConfigs

描述
moduleConfigs is the module config versions of the ModulePlugin
类型
array

.status.moduleConfigs[]

描述
ModuleConfigStatus defines the module config of the plugin
类型
object
必填
namereadyForDeploytargetClusterVersionsversion
属性类型描述
affinityobject

Affinity is the affinity of the plugin

namestring

Name is the name of the module config

readyForDeployboolean

ReadyForDeploy indicates whether the module is ready for deployment.

targetClusterVersionsarray

TargetClusterVersions is the target cluster versions of the module config

versionstring

Version is the version of the module config

.status.moduleConfigs[].affinity

描述
Affinity is the affinity of the plugin
类型
object
属性类型描述
clusterAffinityobject

ClusterAffinity defines the cluster affinity

clusterAntiAffinityobject

ClusterAntiAffinity defines the cluster anti-affinity

pluginAntiAffinityarray

PluginAntiAffinity defines the plugin anti-affinity

.status.moduleConfigs[].affinity.clusterAffinity

描述
ClusterAffinity defines the cluster affinity
类型
object
属性类型描述
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions

描述
MatchExpressions is the list of match expressions
类型
array

.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[]

描述
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.

.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[].values

描述
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
类型
array

.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[].values[]

类型
string

.status.moduleConfigs[].affinity.clusterAffinity.matchLabels

描述
MatchLabels is the cluster selector
类型
object

.status.moduleConfigs[].affinity.clusterAntiAffinity

描述
ClusterAntiAffinity defines the cluster anti-affinity
类型
object
属性类型描述
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions

描述
MatchExpressions is the list of match expressions
类型
array

.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[]

描述
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.

.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[].values

描述
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
类型
array

.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[].values[]

类型
string

.status.moduleConfigs[].affinity.clusterAntiAffinity.matchLabels

描述
MatchLabels is the cluster selector
类型
object

.status.moduleConfigs[].affinity.pluginAntiAffinity

描述
PluginAntiAffinity defines the plugin anti-affinity
类型
array

.status.moduleConfigs[].affinity.pluginAntiAffinity[]

类型
string

.status.moduleConfigs[].targetClusterVersions

描述
TargetClusterVersions is the target cluster versions of the module config
类型
array

.status.moduleConfigs[].targetClusterVersions[]

类型
string

.status.targetClusterVersions

描述
targetClusterVersions is the target cluster versions of the ModuleConfig
类型
object

API 端点

可用的 API 端点如下:

  • /apis/cluster.alauda.io/v1alpha1/moduleplugins
    • DELETE: delete collection of ModulePlugin
    • GET: list objects of kind ModulePlugin
    • POST: create a new ModulePlugin
  • /apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}
    • DELETE: delete the specified ModulePlugin
    • GET: read the specified ModulePlugin
    • PATCH: partially update the specified ModulePlugin
    • PUT: replace the specified ModulePlugin
  • /apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/status
    • GET: read status of the specified ModulePlugin
    • PATCH: partially update status of the specified ModulePlugin
    • PUT: replace status of the specified ModulePlugin

/apis/cluster.alauda.io/v1alpha1/moduleplugins

HTTP 方法
DELETE
描述
delete collection of ModulePlugin
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind ModulePlugin
HTTP 响应
HTTP 状态码响应体
200 - OKModulePluginList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new ModulePlugin
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodyModulePlugin schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
201 - CreatedModulePlugin schema
202 - AcceptedModulePlugin schema
401 - UnauthorizedEmpty

/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}

HTTP 方法
DELETE
描述
delete the specified ModulePlugin
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
read the specified ModulePlugin
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified ModulePlugin
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified ModulePlugin
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodyModulePlugin schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
201 - CreatedModulePlugin schema
401 - UnauthorizedEmpty

/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/status

HTTP 方法
GET
描述
read status of the specified ModulePlugin
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update status of the specified ModulePlugin
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace status of the specified ModulePlugin
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodyModulePlugin schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKModulePlugin schema
201 - CreatedModulePlugin schema
401 - UnauthorizedEmpty