package
1.10.0
Repository: https://github.com/karmada-io/api.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

GroupName specifies the group name used to register the objects.
InterpreterOperationAggregateStatus indicates that karmada want to figure out how to aggregate status to resource template.
InterpreterOperationAll indicates math all InterpreterOperation.
InterpreterOperationInterpretDependency indicates that karmada want to figure out the dependencies of a specific object.
InterpreterOperationInterpretHealth indicates that karmada want to figure out the health status of a specific object.
InterpreterOperationInterpretReplica indicates that karmada want to figure out the replica declaration of a specific object.
InterpreterOperationInterpretStatus indicates that karmada want to figure out how to get the status.
InterpreterOperationPrune indicates that karmada want to figure out how to package resource template to Work.
InterpreterOperationRetain indicates that karmada request webhook to retain the desired resource template.
InterpreterOperationReviseReplica indicates that karmada request webhook to modify the replica.
PatchTypeJSONPatch represents the JSONType.
ResourceKindResourceInterpreterCustomization is kind name of ResourceInterpreterCustomization.
ResourceKindResourceInterpreterWebhookConfiguration is kind name of ResourceInterpreterWebhookConfiguration.
ResourceNamespaceScopedResourceInterpreterCustomization indicates if ResourceInterpreterCustomization is NamespaceScoped.
ResourceNamespaceScopedResourceInterpreterWebhookConfiguration indicates if ResourceInterpreterWebhookConfiguration is NamespaceScoped.
ResourcePluralResourceInterpreterCustomization is plural name of ResourceInterpreterCustomization.
ResourcePluralResourceInterpreterWebhookConfiguration is plural name of ResourceInterpreterWebhookConfiguration.
ResourceSingularResourceInterpreterCustomization is singular name of ResourceInterpreterCustomization.
ResourceSingularResourceInterpreterWebhookConfiguration is singular name of ResourceInterpreterWebhookConfiguration.

# Variables

Depreciated: use Install instead.
GroupVersion specifies the group and the version used to register the objects.
No description provided by the author
localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

# Structs

CustomizationRules describes the interpretation rules.
CustomizationTarget represents the resource type that the customization applies to.
DependencyInterpretation holds the rules for interpreting the dependent resources of a specific resources.
DependentObjectReference contains enough information to locate the referenced object inside current cluster.
HealthInterpretation holds the rules for interpreting the health state of a specific resource.
LocalValueRetention holds the scripts for retention.
ReplicaResourceRequirement holds the scripts for getting the desired replicas as well as the resource requirement of each replica.
ReplicaRevision holds the scripts for revising the desired replicas.
RequestStatus holds the status of a request.
ResourceInterpreterContext describes an interpreter context request and response.
ResourceInterpreterCustomization describes the configuration of a specific resource for Karmada to get the structure.
ResourceInterpreterCustomizationList contains a list of ResourceInterpreterCustomization.
ResourceInterpreterCustomizationSpec describes the configuration in detail.
ResourceInterpreterRequest describes the interpreter.Attributes for the interpreter request.
ResourceInterpreterResponse describes an interpreter response.
ResourceInterpreterWebhook describes the webhook as well as the resources and operations it applies to.
ResourceInterpreterWebhookConfiguration describes the configuration of webhooks which take the responsibility to tell karmada the details of the resource object, especially for custom resources.
ResourceInterpreterWebhookConfigurationList contains a list of ResourceInterpreterWebhookConfiguration.
Rule is a tuple of APIGroups, APIVersion, and Kinds.
RuleWithOperations is a tuple of Operations and Resources.
StatusAggregation holds the scripts for aggregating several decentralized statuses.
StatusReflection holds the scripts for getting the status.

# Type aliases

InterpreterOperation specifies an operation for a request.
PatchType is the type of patch being used to represent the mutated object.