Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.platform-mesh.io
Index ¶
- Variables
- type ComponentConfig
- type DefaultAPIBindingConfiguration
- type ExposureConfig
- type InitializerConnection
- type KCPAPIVersionKindRef
- type Kcp
- type KcpWorkspace
- type OCMConfig
- type PlatformMesh
- type PlatformMeshList
- type PlatformMeshSpec
- type PlatformMeshStatus
- type ProviderConnection
- type ReferencePathElement
- type RepoConfig
- type SecretReference
- type WebhookConfiguration
Constants ¶
This section is empty.
Variables ¶
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=true
Create bool `json:"create,omitempty"`
// +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 ¶
func (in *DefaultAPIBindingConfiguration) DeepCopy() *DefaultAPIBindingConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultAPIBindingConfiguration.
func (*DefaultAPIBindingConfiguration) DeepCopyInto ¶
func (in *DefaultAPIBindingConfiguration) DeepCopyInto(out *DefaultAPIBindingConfiguration)
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 InitializerConnection ¶
type InitializerConnection struct {
WorkspaceTypeName string `json:"workspaceTypeName"`
Path string `json:"path"`
Secret string `json:"secret,omitempty"`
}
func (*InitializerConnection) DeepCopy ¶
func (in *InitializerConnection) DeepCopy() *InitializerConnection
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 ¶
func (in *KCPAPIVersionKindRef) DeepCopy() *KCPAPIVersionKindRef
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"`
InitializerConnections []InitializerConnection `json:"initializerConnections,omitempty"`
ExtraInitializerConnections []InitializerConnection `json:"extraInitializerConnections,omitempty"`
ExtraDefaultAPIBindings []DefaultAPIBindingConfiguration `json:"extraDefaultAPIBindings,omitempty"`
}
func (*Kcp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kcp.
func (*Kcp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KcpWorkspace ¶
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCMConfig.
func (*OCMConfig) DeepCopyInto ¶ added in v0.2.3
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"`
ChartVersion string `json:"chartVersion,omitempty"`
ComponentVersion string `json:"componentVersion,omitempty"`
Values apiextensionsv1.JSON `json:"values,omitempty"`
OCM *OCMConfig `json:"ocm,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"`
Path string `json:"path,omitempty"`
RawPath string `json:"rawPath,omitempty"`
Secret string `json:"secret,omitempty"`
External bool `json:"external,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
func (in *ReferencePathElement) DeepCopy() *ReferencePathElement
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=true
Create bool `json:"create,omitempty"`
// +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 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 WebhookConfiguration ¶
type WebhookConfiguration struct {
SecretRef SecretReference `json:"secretRef,omitempty"`
SecretData string `json:"secretData,omitempty"`
WebhookRef KCPAPIVersionKindRef `json:"webhookRef"`
}
func (*WebhookConfiguration) DeepCopy ¶
func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration
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.