v1alpha1

package
v1.0.0 Latest Latest
Warning

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

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

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

Constants

This section is empty.

Variables

View Source
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
)
View Source
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

func (in *Mesh) DeepCopy() *Mesh

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

func (*Mesh) DeepCopyInto

func (in *Mesh) DeepCopyInto(out *Mesh)

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

func (*Mesh) DeepCopyObject

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

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

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

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

func (in *MeshList) DeepCopy() *MeshList

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

func (*MeshList) DeepCopyInto

func (in *MeshList) DeepCopyInto(out *MeshList)

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

func (*MeshList) DeepCopyObject

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

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

func (in *MeshPeer) DeepCopy() *MeshPeer

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

func (*MeshPeer) DeepCopyInto

func (in *MeshPeer) DeepCopyInto(out *MeshPeer)

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

func (in *MeshSpec) DeepCopy() *MeshSpec

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

func (*MeshSpec) DeepCopyInto

func (in *MeshSpec) DeepCopyInto(out *MeshSpec)

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

type Peer struct {
	Name    string `json:"name,omitempty"`
	Cluster string `json:"cluster,omitempty"`
}

Peer defines mesh peer

func (*Peer) DeepCopy

func (in *Peer) DeepCopy() *Peer

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

func (*Peer) DeepCopyInto

func (in *Peer) DeepCopyInto(out *Peer)

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.

type TrustType

type TrustType string
const (
	TrustTypeLimited  TrustType = "Limited"  // limited trust gated at gateways, used by OSSM
	TrustTypeComplete TrustType = "Complete" // complete trust by shared CA, used by community istio
)

Jump to

Keyboard shortcuts

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