Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=greymatter.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "greymatter.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 Mesh ¶
type Mesh struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:Required
Spec MeshSpec `json:"spec,omitempty"`
Status MeshStatus `json:"status,omitempty"`
}
Mesh defines a Grey Matter mesh's desired state and describes its observed state.
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 MeshList ¶
type MeshList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Mesh `json:"items"`
}
MeshList contains a list of Mesh custom resources managed by the Grey Matter Operator.
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 MeshSpec ¶
type MeshSpec struct {
// The version of Grey Matter to install for this mesh.
// +kubebuilder:validation:Enum="1.6";"1.7"
// +kubebuilder:default="1.7"
ReleaseVersion string `json:"release_version"`
// Label this mesh as belonging to a particular zone.
// +kubebuilder:default=default-zone
Zone string `json:"zone"`
// Namespace where mesh core components and dependencies should be installed.
InstallNamespace string `json:"install_namespace"`
// Namespaces to include in the mesh network.
// +optional
WatchNamespaces []string `json:"watch_namespaces,omitempty"`
// Add user tokens to the JWT Security Service.
// +optional
UserTokens []UserToken `json:"user_tokens,omitempty"`
}
MeshSpec defines the desired state of a Grey Matter mesh.
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 {
}
MeshStatus describes the observed state of a Grey Matter 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.