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 Images ¶ added in v0.3.2
type Images struct {
Proxy string `json:"proxy,omitempty"`
Catalog string `json:"catalog,omitempty"`
Control string `json:"control,omitempty"`
ControlAPI string `json:"control_api,omitempty"`
Dashboard string `json:"dashboard,omitempty"`
JWTSecurity string `json:"jwt_security,omitempty"`
Redis string `json:"redis,omitempty"`
Prometheus string `json:"prometheus,omitempty"`
}
func (*Images) DeepCopy ¶ added in v0.3.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
func (*Images) DeepCopyInto ¶ added in v0.3.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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";"latest"
// +kubebuilder:default="latest"
ReleaseVersion string `json:"release_version"`
// A list of OCI image strings and their respective pull secret names.
// These are treated as overrides to the specified "release_version".
// +optional
Images Images `json:"images,omitempty"`
// A list of pull secrets to try for fetching core services.
// +optional
ImagePullSecrets []string `json:"image_pull_secrets,omitempty"`
// 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.