v1alpha1

package
v0.52.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.platform-mesh.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.platform-mesh.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ComponentConfig added in v0.2.3

type ComponentConfig struct {
	// +kubebuilder:default="platform-mesh"
	Name string `json:"name,omitempty"`
}

func (*ComponentConfig) DeepCopy added in v0.2.3

func (in *ComponentConfig) DeepCopy() *ComponentConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfig.

func (*ComponentConfig) DeepCopyInto added in v0.2.3

func (in *ComponentConfig) DeepCopyInto(out *ComponentConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultAPIBindingConfiguration

type DefaultAPIBindingConfiguration struct {
	WorkspaceTypePath string `json:"workspaceTypePath"`
	Export            string `json:"export"`
	Path              string `json:"path"`
}

func (*DefaultAPIBindingConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultAPIBindingConfiguration.

func (*DefaultAPIBindingConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExposureConfig

type ExposureConfig struct {
	BaseDomain string `json:"baseDomain,omitempty"`
	Port       int    `json:"port,omitempty"`
	Protocol   string `json:"protocol,omitempty"`
}

func (*ExposureConfig) DeepCopy

func (in *ExposureConfig) DeepCopy() *ExposureConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposureConfig.

func (*ExposureConfig) DeepCopyInto

func (in *ExposureConfig) DeepCopyInto(out *ExposureConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureToggle added in v0.14.0

type FeatureToggle struct {
	Name       string            `json:"name,omitempty"`
	Parameters map[string]string `json:"parameters,omitempty"`
}

func (*FeatureToggle) DeepCopy added in v0.14.0

func (in *FeatureToggle) DeepCopy() *FeatureToggle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureToggle.

func (*FeatureToggle) DeepCopyInto added in v0.14.0

func (in *FeatureToggle) DeepCopyInto(out *FeatureToggle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InitializerConnection

type InitializerConnection struct {
	WorkspaceTypeName string `json:"workspaceTypeName"`
	Path              string `json:"path"`
	Secret            string `json:"secret,omitempty"`
	Namespace         string `json:"namespace,omitempty"`
}

func (*InitializerConnection) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConnection.

func (*InitializerConnection) DeepCopyInto

func (in *InitializerConnection) DeepCopyInto(out *InitializerConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KCPAPIVersionKindRef

type KCPAPIVersionKindRef struct {
	ApiVersion string `json:"apiVersion"`
	Kind       string `json:"kind"`
	Name       string `json:"name"`
	Path       string `json:"path"`
}

func (*KCPAPIVersionKindRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KCPAPIVersionKindRef.

func (*KCPAPIVersionKindRef) DeepCopyInto

func (in *KCPAPIVersionKindRef) DeepCopyInto(out *KCPAPIVersionKindRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Kcp

type Kcp struct {
	ProviderConnections      []ProviderConnection             `json:"providerConnections,omitempty"`
	ExtraProviderConnections []ProviderConnection             `json:"extraProviderConnections,omitempty"`
	ExtraDefaultAPIBindings  []DefaultAPIBindingConfiguration `json:"extraDefaultAPIBindings,omitempty"`
	// ExtraWorkspaces allows declaring additional workspaces that the operator will create.
	// +optional
	ExtraWorkspaces []WorkspaceDeclaration `json:"extraWorkspaces,omitempty"`
}

func (*Kcp) DeepCopy

func (in *Kcp) DeepCopy() *Kcp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kcp.

func (*Kcp) DeepCopyInto

func (in *Kcp) DeepCopyInto(out *Kcp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KcpWorkspace

type KcpWorkspace struct {
	Name  string `json:"name"`
	Phase string `json:"phase"`
}

func (*KcpWorkspace) DeepCopy

func (in *KcpWorkspace) DeepCopy() *KcpWorkspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KcpWorkspace.

func (*KcpWorkspace) DeepCopyInto

func (in *KcpWorkspace) DeepCopyInto(out *KcpWorkspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OCMConfig added in v0.2.3

type OCMConfig struct {
	Repo          *RepoConfig            `json:"repo,omitempty"`
	Component     *ComponentConfig       `json:"component,omitempty"`
	ReferencePath []ReferencePathElement `json:"referencePath,omitempty"`
}

func (*OCMConfig) DeepCopy added in v0.2.3

func (in *OCMConfig) DeepCopy() *OCMConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCMConfig.

func (*OCMConfig) DeepCopyInto added in v0.2.3

func (in *OCMConfig) DeepCopyInto(out *OCMConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlatformMesh

type PlatformMesh struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PlatformMeshSpec   `json:"spec,omitempty"`
	Status PlatformMeshStatus `json:"status,omitempty"`
}

PlatformMesh is the Schema for the platform-mesh API

func (*PlatformMesh) DeepCopy

func (in *PlatformMesh) DeepCopy() *PlatformMesh

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformMesh.

func (*PlatformMesh) DeepCopyInto

func (in *PlatformMesh) DeepCopyInto(out *PlatformMesh)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlatformMesh) DeepCopyObject

func (in *PlatformMesh) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PlatformMesh) GetConditions

func (i *PlatformMesh) GetConditions() []metav1.Condition

func (*PlatformMesh) SetConditions

func (i *PlatformMesh) SetConditions(conditions []metav1.Condition)

type PlatformMeshList

type PlatformMeshList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PlatformMesh `json:"items"`
}

PlatformMeshList contains a list of PlatformMesh

func (*PlatformMeshList) DeepCopy

func (in *PlatformMeshList) DeepCopy() *PlatformMeshList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformMeshList.

func (*PlatformMeshList) DeepCopyInto

func (in *PlatformMeshList) DeepCopyInto(out *PlatformMeshList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlatformMeshList) DeepCopyObject

func (in *PlatformMeshList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlatformMeshSpec

type PlatformMeshSpec struct {
	Exposure       *ExposureConfig      `json:"exposure,omitempty"`
	Kcp            Kcp                  `json:"kcp,omitempty"`
	Values         apiextensionsv1.JSON `json:"values,omitempty"`
	OCM            *OCMConfig           `json:"ocm,omitempty"`
	FeatureToggles []FeatureToggle      `json:"featureToggles,omitempty"`
	InfraValues    apiextensionsv1.JSON `json:"infraValues,omitempty"`
	Wait           *WaitConfig          `json:"wait,omitempty"`
}

PlatformMeshSpec defines the desired state of PlatformMesh

func (*PlatformMeshSpec) DeepCopy

func (in *PlatformMeshSpec) DeepCopy() *PlatformMeshSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformMeshSpec.

func (*PlatformMeshSpec) DeepCopyInto

func (in *PlatformMeshSpec) DeepCopyInto(out *PlatformMeshSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlatformMeshStatus

type PlatformMeshStatus struct {
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	NextReconcileTime  metav1.Time        `json:"nextReconcileTime,omitempty"`
	KcpWorkspaces      []KcpWorkspace     `json:"kcpWorkspaces,omitempty"`
}

PlatformMeshStatus defines the observed state of PlatformMesh

func (*PlatformMeshStatus) DeepCopy

func (in *PlatformMeshStatus) DeepCopy() *PlatformMeshStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformMeshStatus.

func (*PlatformMeshStatus) DeepCopyInto

func (in *PlatformMeshStatus) DeepCopyInto(out *PlatformMeshStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderConnection

type ProviderConnection struct {
	EndpointSliceName *string `json:"endpointSliceName,omitempty"`
	Path              string  `json:"path,omitempty"`
	RawPath           *string `json:"rawPath,omitempty"`
	Secret            string  `json:"secret"`
	External          bool    `json:"external,omitempty"`
	Namespace         *string `json:"namespace,omitempty"`
}

func (*ProviderConnection) DeepCopy

func (in *ProviderConnection) DeepCopy() *ProviderConnection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConnection.

func (*ProviderConnection) DeepCopyInto

func (in *ProviderConnection) DeepCopyInto(out *ProviderConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReferencePathElement added in v0.2.6

type ReferencePathElement struct {
	Name string `json:"name"`
}

func (*ReferencePathElement) DeepCopy added in v0.2.6

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferencePathElement.

func (*ReferencePathElement) DeepCopyInto added in v0.2.6

func (in *ReferencePathElement) DeepCopyInto(out *ReferencePathElement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepoConfig added in v0.2.3

type RepoConfig struct {
	// +kubebuilder:default="platform-mesh"
	Name string `json:"name,omitempty"`
}

func (*RepoConfig) DeepCopy added in v0.2.3

func (in *RepoConfig) DeepCopy() *RepoConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoConfig.

func (*RepoConfig) DeepCopyInto added in v0.2.3

func (in *RepoConfig) DeepCopyInto(out *RepoConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceType added in v0.28.1

type ResourceType struct {
	metav1.APIVersions      `json:",inline"`
	metav1.GroupKind        `json:",inline"`
	Name                    string `json:"name,omitempty"`
	Namespace               string `json:"namespace,omitempty"`
	metav1.LabelSelector    `json:",inline,omitempty"`
	metav1.ConditionStatus  `json:"conditionStatus,omitempty"` // e.g., "True"
	metav1.RowConditionType `json:"conditionType,omitempty"`   // e.g., "Ready"
}

func (*ResourceType) DeepCopy added in v0.28.1

func (in *ResourceType) DeepCopy() *ResourceType

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceType.

func (*ResourceType) DeepCopyInto added in v0.28.1

func (in *ResourceType) DeepCopyInto(out *ResourceType)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretReference

type SecretReference struct {
	// name is unique within a namespace to reference a secret resource.
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// namespace defines the space within which the secret name must be unique.
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
}

func (*SecretReference) DeepCopy

func (in *SecretReference) DeepCopy() *SecretReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.

func (*SecretReference) DeepCopyInto

func (in *SecretReference) DeepCopyInto(out *SecretReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WaitConfig added in v0.28.1

type WaitConfig struct {
	ResourceTypes []ResourceType `json:"resourceTypes,omitempty"` // e.g., apps/v1/Deployment, core/v1/
}

func (*WaitConfig) DeepCopy added in v0.28.1

func (in *WaitConfig) DeepCopy() *WaitConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WaitConfig.

func (*WaitConfig) DeepCopyInto added in v0.28.1

func (in *WaitConfig) DeepCopyInto(out *WaitConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookConfiguration

type WebhookConfiguration struct {
	SecretRef  SecretReference      `json:"secretRef,omitempty"`
	SecretData string               `json:"secretData,omitempty"`
	WebhookRef KCPAPIVersionKindRef `json:"webhookRef"`
}

func (*WebhookConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration.

func (*WebhookConfiguration) DeepCopyInto

func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceDeclaration added in v0.9.1

type WorkspaceDeclaration struct {
	// Path is the full logical path of the workspace to be created (e.g., "root:orgs:my-workspace").
	Path string `json:"path"`
	// Type defines the WorkspaceType for the new workspace.
	Type WorkspaceTypeReference `json:"type"`
}

WorkspaceDeclaration defines a workspace to be created by the operator.

func (*WorkspaceDeclaration) DeepCopy added in v0.9.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceDeclaration.

func (*WorkspaceDeclaration) DeepCopyInto added in v0.9.1

func (in *WorkspaceDeclaration) DeepCopyInto(out *WorkspaceDeclaration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceTypeReference added in v0.9.1

type WorkspaceTypeReference struct {
	// Name is the name of the WorkspaceType.
	Name string `json:"name"`
	// Path is the logical cluster path where the WorkspaceType is defined.
	Path string `json:"path"`
}

WorkspaceTypeReference specifies the type of a workspace.

func (*WorkspaceTypeReference) DeepCopy added in v0.9.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTypeReference.

func (*WorkspaceTypeReference) DeepCopyInto added in v0.9.1

func (in *WorkspaceTypeReference) DeepCopyInto(out *WorkspaceTypeReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL