v1alpha1

package
v0.0.0-...-d880fa5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   AtlasMapSpec   `json:"spec,omitempty"`
	Status AtlasMapStatus `json:"status,omitempty"`
}

AtlasMap is the Schema for the atlasmaps API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas,selectorpath=.status.labelSelector +kubebuilder:printcolumn:name="URL",description=AtlasMap URL,type=string,JSONPath=`.status.URL` +kubebuilder:printcolumn:name="Image",description=AtlasMap image,type=string,JSONPath=`.status.image` +kubebuilder:printcolumn:name="Phase",description=AtlasMap phase,type=string,JSONPath=`.status.phase`

func (*AtlasMap) DeepCopy

func (in *AtlasMap) DeepCopy() *AtlasMap

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

func (*AtlasMap) DeepCopyInto

func (in *AtlasMap) DeepCopyInto(out *AtlasMap)

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

func (*AtlasMap) DeepCopyObject

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

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

type AtlasMapList

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

AtlasMapList contains a list of AtlasMap

func (*AtlasMapList) DeepCopy

func (in *AtlasMapList) DeepCopy() *AtlasMapList

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

func (*AtlasMapList) DeepCopyInto

func (in *AtlasMapList) DeepCopyInto(out *AtlasMapList)

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

func (*AtlasMapList) DeepCopyObject

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

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

type AtlasMapPhase

type AtlasMapPhase string

AtlasMapPhase --

const (
	// AtlasMapPhasePhaseUndeployed --
	AtlasMapPhasePhaseUndeployed AtlasMapPhase = "Undeployed"
	// AtlasMapPhasePhaseDeploying --
	AtlasMapPhasePhaseDeploying AtlasMapPhase = "Deploying"
	// AtlasMapPhasePhaseDeployed --
	AtlasMapPhasePhaseDeployed AtlasMapPhase = "Deployed"
)

type AtlasMapSpec

type AtlasMapSpec struct {
	// Replicas determines the desired number of running AtlasMap pods
	Replicas int32 `json:"replicas,omitempty"`
	// RouteHostName sets the host name to use on the Ingress or OpenShift Route
	RouteHostName string `json:"routeHostName,omitempty"`
	// Version sets the version of the container image used for AtlasMap
	Version string `json:"version,omitempty"`
	// The amount of CPU to request
	// +kubebuilder:validation:Pattern=[0-9]+m?$
	RequestCPU string `json:"requestCPU,omitempty"`
	// The amount of memory to request
	// +kubebuilder:validation:Pattern=[0-9]+([kKmMgGtTpPeE]i?)?$
	RequestMemory string `json:"requestMemory,omitempty"`
	// The amount of CPU to limit
	// +kubebuilder:validation:Pattern=[0-9]+m?$
	LimitCPU string `json:"limitCPU,omitempty"`
	// The amount of memory to request
	// +kubebuilder:validation:Pattern=[0-9]+([kKmMgGtTpPeE]i?)?$
	LimitMemory string `json:"limitMemory,omitempty"`
}

AtlasMapSpec defines the desired state of AtlasMap +k8s:openapi-gen=true

func (*AtlasMapSpec) DeepCopy

func (in *AtlasMapSpec) DeepCopy() *AtlasMapSpec

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

func (*AtlasMapSpec) DeepCopyInto

func (in *AtlasMapSpec) DeepCopyInto(out *AtlasMapSpec)

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

type AtlasMapStatus

type AtlasMapStatus struct {
	// The URL where AtlasMap can be accessed
	URL string `json:"URL,omitempty"`
	// The container image that AtlasMap is using
	Image string `json:"image,omitempty"`
	// The current phase that the AtlasMap resource is in
	Phase AtlasMapPhase `json:"phase,omitempty"`
}

AtlasMapStatus defines the observed state of AtlasMap +k8s:openapi-gen=true

func (*AtlasMapStatus) DeepCopy

func (in *AtlasMapStatus) DeepCopy() *AtlasMapStatus

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

func (*AtlasMapStatus) DeepCopyInto

func (in *AtlasMapStatus) DeepCopyInto(out *AtlasMapStatus)

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