v1alpha1

package
v0.0.0-...-1bd7167 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group. +kubebuilder:object:generate=true +groupName=core.platformspec.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "core.platformspec.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 Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the clusters API.

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Cluster `json:"items"`
}

ClusterList contains a list of Cluster.

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterSpec

type ClusterSpec struct {

	// Specifies the cloud providers responsible for provisioning and managing the Kubernetes infrastructure. Each reference points to a Provider resource, defining details like account credentials and region.
	ProviderRefs []corev1.ObjectReference `json:"providerRefs"`

	// References an Environment resource, associating the cluster with its corresponding deployment stage (development, staging, production). This ensures that the cluster is configured with the appropriate settings for its intended purpose.
	EnvironmentRef corev1.ObjectReference `json:"environmentRef"`

	// Identifies the network or VPC to which this server will be connected.
	NetworkRefs []corev1.ObjectReference `json:"networkRefs,omitempty"`

	//  Links to a SoftwareGroup resource defining the base Kubernetes components and additional tools or software packages that will be included in the cluster.
	SoftwareGroupRefs []corev1.ObjectReference `json:"softwareGroupRefs,omitempty"`

	// Specifies the version to be deployed within cluster's engine, enabling you to manage different versions for various environments.
	Version string `json:"version"`

	// Indicates the geographical region where the cluster resources will be deployed.
	Region string `json:"region"`

	// Configuration parameters for the Provider provisioning or managing the Cluster.
	Config apiextensionsv1.JSON `json:"config,omitempty"`
}

ClusterSpec defines the desired state of Cluster.

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus struct {
}

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type Credential

type Credential struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CredentialSpec   `json:"spec,omitempty"`
	Status CredentialStatus `json:"status,omitempty"`
}

Credential is the Schema for the credentials API.

func (*Credential) DeepCopy

func (in *Credential) DeepCopy() *Credential

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

func (*Credential) DeepCopyInto

func (in *Credential) DeepCopyInto(out *Credential)

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

func (*Credential) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CredentialList

type CredentialList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Credential `json:"items"`
}

CredentialList contains a list of Credential.

func (*CredentialList) DeepCopy

func (in *CredentialList) DeepCopy() *CredentialList

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

func (*CredentialList) DeepCopyInto

func (in *CredentialList) DeepCopyInto(out *CredentialList)

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

func (*CredentialList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CredentialSpec

type CredentialSpec struct {

	// Specifies the type of credentials being managed. This defines the expected format and structure of the fields.
	Schema string `json:"schema,omitempty"`

	// Determines how the credential values are obtained.
	Source string `json:"source"`

	// Defines the specific credential attributes required by the specified schema. These fields can be simple string values, complex JSON objects, or other data types depending on the chosen schema. Ensure the field-value matches the format expected by the provider and its associated APIs.
	Fields apiextensionsv1.JSON `json:"fields"`
}

CredentialSpec defines the desired state of Credential.

func (*CredentialSpec) DeepCopy

func (in *CredentialSpec) DeepCopy() *CredentialSpec

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

func (*CredentialSpec) DeepCopyInto

func (in *CredentialSpec) DeepCopyInto(out *CredentialSpec)

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

type CredentialStatus

type CredentialStatus struct {
}

CredentialStatus defines the observed state of Credential.

func (*CredentialStatus) DeepCopy

func (in *CredentialStatus) DeepCopy() *CredentialStatus

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

func (*CredentialStatus) DeepCopyInto

func (in *CredentialStatus) DeepCopyInto(out *CredentialStatus)

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

type Environment

type Environment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EnvironmentSpec   `json:"spec,omitempty"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the environments API.

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EnvironmentList

type EnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Environment `json:"items"`
}

EnvironmentList contains a list of Environment.

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EnvironmentSpec

type EnvironmentSpec struct {

	// Provides a concise description of the environment's purpose and intended use.
	Description string `json:"description,omitempty"`

	// References specific Provider resources that define the cloud platforms or services used within this environment. This ensures that the correct configurations and credentials are applied based on the target environment.
	ProviderRefs []corev1.ObjectReference `json:"providerRefs"`
}

EnvironmentSpec defines the desired state of Environment.

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentStatus

type EnvironmentStatus struct {
}

EnvironmentStatus defines the observed state of Environment.

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type Image

type Image struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ImageSpec   `json:"spec,omitempty"`
	Status ImageStatus `json:"status,omitempty"`
}

Image is the Schema for the images API.

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (*Image) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ImageList

type ImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Image `json:"items"`
}

ImageList contains a list of Image.

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

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

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

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

func (*ImageList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ImageSpec

type ImageSpec struct {

	// Indicates the type of image being defined.
	// +kubebuilder:validation:Enum=machine;container
	Category string `json:"category"`

	// Contains configuration details specific to the image.
	Spec ImageSpecSpec `json:"spec"`
}

ImageSpec defines the desired state of Image.

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

type ImageSpecSpec

type ImageSpecSpec struct {
	// Indicates whether this image is the default choice for a given provider and environment combination. This helps simplify deployments by setting up common starting points.
	// +kubebuilder:default=false
	Default bool `json:"default,omitempty"`

	// References Provider resources specifying the cloud platform on which the image can be deployed (e.g., AWS, Azure).
	ProviderRefs []corev1.ObjectReference `json:"providerRefs"`

	// References Environment resources indicating the environments where this image is intended to be used. This ensures that the correct images are targeted for different deployment stages.
	EnvironmentRefs []corev1.ObjectReference `json:"environmentRefs"`

	// Represents the version of the image using semantic versioning (e.g., v1.28.13). This helps track and manage image updates effectively.
	Version string `json:"version"`

	Builder ImageSpecSpecBuilder `json:"builder,omitempty"`

	Reference ImageSpecSpecReference `json:"reference,omitempty"`
}

func (*ImageSpecSpec) DeepCopy

func (in *ImageSpecSpec) DeepCopy() *ImageSpecSpec

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

func (*ImageSpecSpec) DeepCopyInto

func (in *ImageSpecSpec) DeepCopyInto(out *ImageSpecSpec)

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

type ImageSpecSpecBuilder

type ImageSpecSpecBuilder struct {
	// Specifies the type of image builder to use for creating this image
	Driver string `json:"driver"`

	// Contains configuration parameters specific to the chosen builder driver
	Config apiextensionsv1.JSON `json:"config,omitempty"`
}

func (*ImageSpecSpecBuilder) DeepCopy

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

func (*ImageSpecSpecBuilder) DeepCopyInto

func (in *ImageSpecSpecBuilder) DeepCopyInto(out *ImageSpecSpecBuilder)

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

type ImageSpecSpecReference

type ImageSpecSpecReference struct {
	// Unique identifier of a pre-existing image (e.g., AMI ID for machine images). This field is used when you are referencing an image that already exists in your cloud provider's registry.
	Id string `json:"id"`

	// Specifies the region where the pre-existing image is located.
	Location string `json:"location,omitempty"`
}

func (*ImageSpecSpecReference) DeepCopy

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

func (*ImageSpecSpecReference) DeepCopyInto

func (in *ImageSpecSpecReference) DeepCopyInto(out *ImageSpecSpecReference)

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

type ImageStatus

type ImageStatus struct {
}

ImageStatus defines the observed state of Image.

func (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

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

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

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

type Network

type Network struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkSpec   `json:"spec,omitempty"`
	Status NetworkStatus `json:"status,omitempty"`
}

Network is the Schema for the networks API.

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

func (*Network) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetworkList

type NetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Network `json:"items"`
}

NetworkList contains a list of Network.

func (*NetworkList) DeepCopy

func (in *NetworkList) DeepCopy() *NetworkList

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

func (*NetworkList) DeepCopyInto

func (in *NetworkList) DeepCopyInto(out *NetworkList)

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

func (*NetworkList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetworkSpec

type NetworkSpec struct {

	// Specifies the category or model of the network being defined.
	// +kubebuilder:validation:Enum=vpc;vpn;overlay;underlay;subnet;service
	Type string `json:"type"`

	// References one or more Provider resources responsible for managing this network infrastructure. This allows you to associate specific cloud providers or networking tools with the network definition.
	ProviderRefs []corev1.ObjectReference `json:"providerRefs"`

	// Holds network-specific configurations based on the type.
	Config apiextensionsv1.JSON `json:"config,omitempty"`
}

NetworkSpec defines the desired state of Network.

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

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

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

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

type NetworkStatus

type NetworkStatus struct {
}

NetworkStatus defines the observed state of Network.

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

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

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

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

type Platform

type Platform struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PlatformSpec   `json:"spec,omitempty"`
	Status PlatformStatus `json:"status,omitempty"`
}

Platform is the Schema for the platforms API.

func (*Platform) DeepCopy

func (in *Platform) DeepCopy() *Platform

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

func (*Platform) DeepCopyInto

func (in *Platform) DeepCopyInto(out *Platform)

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

func (*Platform) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlatformList

type PlatformList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Platform `json:"items"`
}

PlatformList contains a list of Platform.

func (*PlatformList) DeepCopy

func (in *PlatformList) DeepCopy() *PlatformList

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

func (*PlatformList) DeepCopyInto

func (in *PlatformList) DeepCopyInto(out *PlatformList)

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

func (*PlatformList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlatformSpec

type PlatformSpec struct {

	// The organization responsible for managing this platform.
	Organization string `json:"organization"`

	// A brief description of the platform's purpose and functionalities.
	Description string `json:"description,omitempty"`

	// The name or team responsible for creating or maintaining this platform.
	Author string `json:"author,omitempty"`

	// A version of the platform, internal to the team defining and managing the platform.
	Version string `json:"version"`

	// An email address for contacting the platform's administrators, maintainers or support team.
	ContactEmail string `json:"contactEmail"`

	// Defines the DNS provider and domain used by your platform.
	Dns PlatformSpecDns `json:"dns"`

	// References to the various resources leveraged or managed by this platform:
	Resources PlatformSpecResources `json:"resources"`
}

PlatformSpec defines the desired state of Platform resource.

func (*PlatformSpec) DeepCopy

func (in *PlatformSpec) DeepCopy() *PlatformSpec

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

func (*PlatformSpec) DeepCopyInto

func (in *PlatformSpec) DeepCopyInto(out *PlatformSpec)

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

type PlatformSpecDns

type PlatformSpecDns struct {
	// Specifies the top-level domain name associated with this platform.
	Domain string `json:"domain"`

	// References a Provider resource defining the chosen DNS service (e.g., Route53).
	ProviderRef corev1.ObjectReference `json:"providerRef"`
}

PlatformSpecDns defines the DNS provider and domain used by your platform.

func (*PlatformSpecDns) DeepCopy

func (in *PlatformSpecDns) DeepCopy() *PlatformSpecDns

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

func (*PlatformSpecDns) DeepCopyInto

func (in *PlatformSpecDns) DeepCopyInto(out *PlatformSpecDns)

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

type PlatformSpecResources

type PlatformSpecResources struct {

	// Defines different deployment environments (e.g., development, staging, production) for your platform's services and applications.
	Environments []corev1.ObjectReference `json:"environments,omitempty"`

	// References Provider resources that define the specific cloud platforms or services used within your environment (e.g., AWS, Azure, GCP).
	Providers []corev1.ObjectReference `json:"providers,omitempty"`

	// References Network resources that define the network configurations used by your platform.
	Networks []corev1.ObjectReference `json:"networks,omitempty"`

	// Defines Kubernetes clusters managed by this platform (if applicable). Each cluster can have its own configuration and deployment parameters.
	Clusters []corev1.ObjectReference `json:"clusters,omitempty"`

	// Lists virtual machines or servers managed within your platform, specifying their configurations and roles.
	Servers []corev1.ObjectReference `json:"servers,omitempty"`

	// Defines container images used for deploying applications or components within your platform.
	Images []corev1.ObjectReference `json:"images,omitempty"`

	// Groups together related software packages or dependencies required by various services or applications within your platform.
	SoftwareGroups []corev1.ObjectReference `json:"softwareGroups,omitempty"`

	// References Credential resources containing the necessary credentials for accessing and interacting with different cloud providers and services.
	Credentials []corev1.ObjectReference `json:"credentials,omitempty"`
}

PlatformSpeceResources defines the resources required by the platform.

func (*PlatformSpecResources) DeepCopy

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

func (*PlatformSpecResources) DeepCopyInto

func (in *PlatformSpecResources) DeepCopyInto(out *PlatformSpecResources)

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

type PlatformStatus

type PlatformStatus struct {
}

PlatformStatus defines the observed state of Platform.

func (*PlatformStatus) DeepCopy

func (in *PlatformStatus) DeepCopy() *PlatformStatus

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

func (*PlatformStatus) DeepCopyInto

func (in *PlatformStatus) DeepCopyInto(out *PlatformStatus)

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

type Provider

type Provider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ProviderSpec   `json:"spec,omitempty"`
	Status ProviderStatus `json:"status,omitempty"`
}

Provider is the Schema for the providers API.

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProviderList

type ProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Provider `json:"items"`
}

ProviderList contains a list of Provider.

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProviderSpec

type ProviderSpec struct {

	// Categorizes the provider type, enabling filtering and organization.
	// +kubebuilder:validation:Enum=iaas;dns;identity;registry;backup;monitoring;secrets;observability;cicd;logging;automation;auditing;security;alerting;cluster;server;x-custom
	Category string `json:"category"`

	//  Specifies the specific implementation or technology used by a provider within its category. This allows you to distinguish between different ways of deploying or managing a particular type of service.
	Engine string `json:"engine"`

	// References a Credential resource containing credentials needed to interact with the provider.
	CredentialRef corev1.ObjectReference `json:"credentialRef,omitempty"`

	// Holds configuration parameters specific to the provider.
	Config apiextensionsv1.JSON `json:"config,omitempty"`
}

ProviderSpec defines the desired state of Provider.

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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

type ProviderStatus

type ProviderStatus struct {
}

ProviderStatus defines the observed state of Provider.

func (*ProviderStatus) DeepCopy

func (in *ProviderStatus) DeepCopy() *ProviderStatus

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

func (*ProviderStatus) DeepCopyInto

func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)

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

type Server

type Server struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ServerSpec   `json:"spec,omitempty"`
	Status ServerStatus `json:"status,omitempty"`
}

Server is the Schema for the servers API.

func (*Server) DeepCopy

func (in *Server) DeepCopy() *Server

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

func (*Server) DeepCopyInto

func (in *Server) DeepCopyInto(out *Server)

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

func (*Server) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServerList

type ServerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Server `json:"items"`
}

ServerList contains a list of Server.

func (*ServerList) DeepCopy

func (in *ServerList) DeepCopy() *ServerList

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

func (*ServerList) DeepCopyInto

func (in *ServerList) DeepCopyInto(out *ServerList)

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

func (*ServerList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServerSpec

type ServerSpec struct {

	// Specifies the cloud providers responsible for managing this server. Each reference points to a Provider resource, defining details like account credentials and region.
	ProviderRefs []corev1.ObjectReference `json:"providerRefs"`

	// References an Environment resource, associating the server with its corresponding deployment stage (development, staging, production). This ensures that the server is configured with the appropriate settings for its intended purpose.
	EnvironmentRef corev1.ObjectReference `json:"environmentRef"`

	// Indicates the geographical region where the server resources will be deployed.
	Region string `json:"region"`

	// Identifies the network or VPC to which this cluster will be connected.
	NetworkRefs []corev1.ObjectReference `json:"networkRefs,omitempty"`

	Config apiextensionsv1.JSON `json:"config,omitempty"`
}

ServerSpec defines the desired state of Server.

func (*ServerSpec) DeepCopy

func (in *ServerSpec) DeepCopy() *ServerSpec

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

func (*ServerSpec) DeepCopyInto

func (in *ServerSpec) DeepCopyInto(out *ServerSpec)

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

type ServerStatus

type ServerStatus struct {
}

ServerStatus defines the observed state of Server.

func (*ServerStatus) DeepCopy

func (in *ServerStatus) DeepCopy() *ServerStatus

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

func (*ServerStatus) DeepCopyInto

func (in *ServerStatus) DeepCopyInto(out *ServerStatus)

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

type SoftwareGroup

type SoftwareGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SoftwareGroupSpec   `json:"spec,omitempty"`
	Status SoftwareGroupStatus `json:"status,omitempty"`
}

SoftwareGroup is the Schema for the softwaregroups API.

func (*SoftwareGroup) DeepCopy

func (in *SoftwareGroup) DeepCopy() *SoftwareGroup

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

func (*SoftwareGroup) DeepCopyInto

func (in *SoftwareGroup) DeepCopyInto(out *SoftwareGroup)

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

func (*SoftwareGroup) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SoftwareGroupList

type SoftwareGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SoftwareGroup `json:"items"`
}

SoftwareGroupList contains a list of SoftwareGroup.

func (*SoftwareGroupList) DeepCopy

func (in *SoftwareGroupList) DeepCopy() *SoftwareGroupList

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

func (*SoftwareGroupList) DeepCopyInto

func (in *SoftwareGroupList) DeepCopyInto(out *SoftwareGroupList)

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

func (*SoftwareGroupList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SoftwareGroupSpec

type SoftwareGroupSpec struct {

	// A list of individual software components included in this group. Each package specifies its name, type, and configuration details:
	Packages []SoftwareGroupSpecPackage `json:"packages"`
}

SoftwareGroupSpec defines the desired state of SoftwareGroup.

func (*SoftwareGroupSpec) DeepCopy

func (in *SoftwareGroupSpec) DeepCopy() *SoftwareGroupSpec

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

func (*SoftwareGroupSpec) DeepCopyInto

func (in *SoftwareGroupSpec) DeepCopyInto(out *SoftwareGroupSpec)

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

type SoftwareGroupSpecPackage

type SoftwareGroupSpecPackage struct {
	// The unique name of the package or release within this software group.
	Name string `json:"name"`

	// Defines the format and deployment method for this package (e.g., helm, docker).
	Engine string `json:"engine"`

	// Provides configuration options specific to the package engine.
	Config apiextensionsv1.JSON `json:"config,omitempty"`
}

func (*SoftwareGroupSpecPackage) DeepCopy

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

func (*SoftwareGroupSpecPackage) DeepCopyInto

func (in *SoftwareGroupSpecPackage) DeepCopyInto(out *SoftwareGroupSpecPackage)

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

type SoftwareGroupStatus

type SoftwareGroupStatus struct {
}

SoftwareGroupStatus defines the observed state of SoftwareGroup.

func (*SoftwareGroupStatus) DeepCopy

func (in *SoftwareGroupStatus) DeepCopy() *SoftwareGroupStatus

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

func (*SoftwareGroupStatus) DeepCopyInto

func (in *SoftwareGroupStatus) DeepCopyInto(out *SoftwareGroupStatus)

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