Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the mesh v1alpha1 API group +kubebuilder:object:generate=true +groupName=mesh.open-cluster-management.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type Mesh
- type MeshControlPlane
- type MeshDeployment
- type MeshDeploymentList
- type MeshDeploymentSpec
- type MeshDeploymentStatus
- type MeshFederation
- type MeshFederationList
- type MeshFederationSpec
- type MeshFederationStatus
- type MeshList
- type MeshPeer
- type MeshProvider
- type MeshSpec
- type MeshStatus
- type Peer
- type TrustConfig
- type TrustType
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "mesh.open-cluster-management.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 )
var SchemeGroupVersion = GroupVersion
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Mesh ¶
type Mesh struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MeshSpec `json:"spec,omitempty"` Status MeshStatus `json:"status,omitempty"` }
Mesh is the Schema for the meshes API
func (*Mesh) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mesh.
func (*Mesh) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Mesh) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshControlPlane ¶
type MeshControlPlane struct { Namespace string `json:"namespace,omitempty"` Version string `json:"version,omitempty"` Profiles []string `json:"profiles,omitempty"` Components []string `json:"components,omitempty"` Peers []Peer `json:"peers,omitempty"` }
MeshControlPlane defines the mesh control plane
func (*MeshControlPlane) DeepCopy ¶
func (in *MeshControlPlane) DeepCopy() *MeshControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshControlPlane.
func (*MeshControlPlane) DeepCopyInto ¶
func (in *MeshControlPlane) DeepCopyInto(out *MeshControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshDeployment ¶
type MeshDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MeshDeploymentSpec `json:"spec,omitempty"` Status MeshDeploymentStatus `json:"status,omitempty"` }
MeshDeployment is the Schema for the meshdeployments API
func (*MeshDeployment) DeepCopy ¶
func (in *MeshDeployment) DeepCopy() *MeshDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshDeployment.
func (*MeshDeployment) DeepCopyInto ¶
func (in *MeshDeployment) DeepCopyInto(out *MeshDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshDeployment) DeepCopyObject ¶
func (in *MeshDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshDeploymentList ¶
type MeshDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MeshDeployment `json:"items"` }
MeshDeploymentList contains a list of MeshDeployment
func (*MeshDeploymentList) DeepCopy ¶
func (in *MeshDeploymentList) DeepCopy() *MeshDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshDeploymentList.
func (*MeshDeploymentList) DeepCopyInto ¶
func (in *MeshDeploymentList) DeepCopyInto(out *MeshDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshDeploymentList) DeepCopyObject ¶
func (in *MeshDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshDeploymentSpec ¶
type MeshDeploymentSpec struct { MeshProvider MeshProvider `json:"meshProvider,omitempty"` Clusters []string `json:"clusters,omitempty"` ControlPlane *MeshControlPlane `json:"controlPlane,omitempty"` MeshMemberRoll []string `json:"meshMemberRoll,omitempty"` }
MeshDeploymentSpec defines the desired state of MeshDeployment
func (*MeshDeploymentSpec) DeepCopy ¶
func (in *MeshDeploymentSpec) DeepCopy() *MeshDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshDeploymentSpec.
func (*MeshDeploymentSpec) DeepCopyInto ¶
func (in *MeshDeploymentSpec) DeepCopyInto(out *MeshDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshDeploymentStatus ¶
type MeshDeploymentStatus struct { }
MeshDeploymentStatus defines the observed state of MeshDeployment
func (*MeshDeploymentStatus) DeepCopy ¶
func (in *MeshDeploymentStatus) DeepCopy() *MeshDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshDeploymentStatus.
func (*MeshDeploymentStatus) DeepCopyInto ¶
func (in *MeshDeploymentStatus) DeepCopyInto(out *MeshDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshFederation ¶
type MeshFederation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MeshFederationSpec `json:"spec,omitempty"` Status MeshFederationStatus `json:"status,omitempty"` }
MeshFederation is the Schema for the meshfederations API
func (*MeshFederation) DeepCopy ¶
func (in *MeshFederation) DeepCopy() *MeshFederation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshFederation.
func (*MeshFederation) DeepCopyInto ¶
func (in *MeshFederation) DeepCopyInto(out *MeshFederation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshFederation) DeepCopyObject ¶
func (in *MeshFederation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshFederationList ¶
type MeshFederationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MeshFederation `json:"items"` }
MeshFederationList contains a list of MeshFederation
func (*MeshFederationList) DeepCopy ¶
func (in *MeshFederationList) DeepCopy() *MeshFederationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshFederationList.
func (*MeshFederationList) DeepCopyInto ¶
func (in *MeshFederationList) DeepCopyInto(out *MeshFederationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshFederationList) DeepCopyObject ¶
func (in *MeshFederationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshFederationSpec ¶
type MeshFederationSpec struct { MeshPeers []MeshPeer `json:"meshPeers,omitempty"` TrustConfig *TrustConfig `json:"trustConfig,omitempty"` }
MeshFederationSpec defines the desired state of MeshFederation of a central view
func (*MeshFederationSpec) DeepCopy ¶
func (in *MeshFederationSpec) DeepCopy() *MeshFederationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshFederationSpec.
func (*MeshFederationSpec) DeepCopyInto ¶
func (in *MeshFederationSpec) DeepCopyInto(out *MeshFederationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshFederationStatus ¶
type MeshFederationStatus struct { }
MeshFederationStatus defines the observed state of MeshFederation
func (*MeshFederationStatus) DeepCopy ¶
func (in *MeshFederationStatus) DeepCopy() *MeshFederationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshFederationStatus.
func (*MeshFederationStatus) DeepCopyInto ¶
func (in *MeshFederationStatus) DeepCopyInto(out *MeshFederationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshList ¶
type MeshList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Mesh `json:"items"` }
MeshList contains a list of Mesh
func (*MeshList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshList.
func (*MeshList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshPeer ¶
type MeshPeer struct {
Peers []Peer `json:"peers,omitempty"`
}
MeshPeer defines mesh peers
func (*MeshPeer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshPeer.
func (*MeshPeer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshProvider ¶
type MeshProvider string
const ( MeshProviderOpenshift MeshProvider = "Openshift Service Mesh" MeshProviderCommunityIstio MeshProvider = "Community Istio" )
type MeshSpec ¶
type MeshSpec struct { MeshProvider MeshProvider `json:"meshProvider,omitempty"` Cluster string `json:"cluster,omitempty"` ControlPlane *MeshControlPlane `json:"controlPlane,omitempty"` MeshMemberRoll []string `json:"meshMemberRoll,omitempty"` TrustDomain string `json:"trustDomain,omitempty"` }
MeshSpec defines the desired state of physical service mesh in a managed cluster
func (*MeshSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshSpec.
func (*MeshSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeshStatus ¶
type MeshStatus struct {
Readiness maistrav2.ReadinessStatus `json:"readiness"`
}
MeshStatus defines the observed state of Mesh
func (*MeshStatus) DeepCopy ¶
func (in *MeshStatus) DeepCopy() *MeshStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshStatus.
func (*MeshStatus) DeepCopyInto ¶
func (in *MeshStatus) DeepCopyInto(out *MeshStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Peer ¶
Peer defines mesh peer
func (*Peer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
func (*Peer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrustConfig ¶
type TrustConfig struct {
TrustType TrustType `json:"trustType,omitempty"`
}
TrustConfig defines the trust configuratin for mesh peers
func (*TrustConfig) DeepCopy ¶
func (in *TrustConfig) DeepCopy() *TrustConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustConfig.
func (*TrustConfig) DeepCopyInto ¶
func (in *TrustConfig) DeepCopyInto(out *TrustConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.