v1alpha1

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

func (in *Images) DeepCopy() *Images

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

func (*Images) DeepCopyInto added in v0.3.2

func (in *Images) DeepCopyInto(out *Images)

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 greymatter mesh's desired state and describes its observed state.

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 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 greymatter Operator.

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 MeshSpec

type MeshSpec struct {
	// The version of greymatter to install for this mesh.
	// +kubebuilder:validation:Enum="1.6";"1.7";"latest"
	// +kubebuilder:default="latest"
	// +optional
	ReleaseVersion string `json:"release_version,omitempty"`

	// 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 greymatter mesh.

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 {
	SidecarList []string `json:"sidecar_list,omitempty"`
}

MeshStatus describes the observed state of a greymatter 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 UserToken

type UserToken struct {
	Label  string              `json:"label"`
	Values map[string][]string `json:"values"`
}

func (*UserToken) DeepCopy

func (in *UserToken) DeepCopy() *UserToken

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

func (*UserToken) DeepCopyInto

func (in *UserToken) DeepCopyInto(out *UserToken)

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

Jump to

Keyboard shortcuts

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