v1alpha1

package
v0.0.0-...-ae55994 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=analytics.arangodb.com

Index

Constants

View Source
const (
	LicenseValidCondition         api.ConditionType = "LicenseValid"
	DeploymentFoundCondition      api.ConditionType = "DeploymentFound"
	ReadyCondition                api.ConditionType = "Ready"
	SpecValidCondition            api.ConditionType = "SpecValid"
	StatefulSetReadyCondition     api.ConditionType = "StatefulSetReady"
	TLSEnabledCondition           api.ConditionType = "TLSEnabled"
	MetadataServiceValidCondition api.ConditionType = "MetadataServiceValid"
)
View Source
const (
	GraphAnalyticsEngineSpecDeploymentApi = "api"

	GraphAnalyticsEngineDeploymentComponentDefaultPort = 8502
)
View Source
const (
	ArangoAnalyticsVersion = "v1alpha1"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme

	SchemeGroupVersion = schema.GroupVersion{Group: analytics.ArangoAnalyticsGroupName, Version: ArangoAnalyticsVersion}
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource gets an ArangoCluster GroupResource for a specified resource

Types

type GraphAnalyticsEngine

type GraphAnalyticsEngine struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   GraphAnalyticsEngineSpec   `json:"spec"`
	Status GraphAnalyticsEngineStatus `json:"status"`
}

GraphAnalyticsEngine contains definition and status of the Arango Analytics GraphAnalyticsEngine.

func (*GraphAnalyticsEngine) AsOwner

AsOwner creates an OwnerReference for the given Extension

func (*GraphAnalyticsEngine) DeepCopy

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

func (*GraphAnalyticsEngine) DeepCopyInto

func (in *GraphAnalyticsEngine) DeepCopyInto(out *GraphAnalyticsEngine)

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

func (*GraphAnalyticsEngine) DeepCopyObject

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

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

func (*GraphAnalyticsEngine) GetStatus

func (*GraphAnalyticsEngine) SetStatus

func (g *GraphAnalyticsEngine) SetStatus(status GraphAnalyticsEngineStatus)

type GraphAnalyticsEngineList

type GraphAnalyticsEngineList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []GraphAnalyticsEngine `json:"items"`
}

GraphAnalyticsEngineList is a list of Arango Analytics GraphAnalyticsEngine.

func (*GraphAnalyticsEngineList) DeepCopy

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

func (*GraphAnalyticsEngineList) DeepCopyInto

func (in *GraphAnalyticsEngineList) DeepCopyInto(out *GraphAnalyticsEngineList)

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

func (*GraphAnalyticsEngineList) DeepCopyObject

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

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

type GraphAnalyticsEngineSpec

type GraphAnalyticsEngineSpec struct {
	// DeploymentName define deployment name used in the object. Immutable
	DeploymentName *string `json:"deploymentName,omitempty"`

	// Deployment specifies how the GAE will be deployed into cluster
	Deployment *GraphAnalyticsEngineSpecDeployment `json:"deployment,omitempty"`

	// IntegrationSidecar define the integration sidecar spec
	IntegrationSidecar *schedulerApi.IntegrationSidecar `json:"integrationSidecar,omitempty"`
}

func (*GraphAnalyticsEngineSpec) DeepCopy

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

func (*GraphAnalyticsEngineSpec) DeepCopyInto

func (in *GraphAnalyticsEngineSpec) DeepCopyInto(out *GraphAnalyticsEngineSpec)

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

func (*GraphAnalyticsEngineSpec) GetDeployment

func (*GraphAnalyticsEngineSpec) GetIntegrationSidecar

func (a *GraphAnalyticsEngineSpec) GetIntegrationSidecar() *schedulerApi.IntegrationSidecar

func (*GraphAnalyticsEngineSpec) Validate

func (g *GraphAnalyticsEngineSpec) Validate() error

type GraphAnalyticsEngineSpecDeployment

type GraphAnalyticsEngineSpecDeployment struct {
	// Service defines how components will be exposed
	Service *GraphAnalyticsEngineSpecDeploymentService `json:"service,omitempty"`

	// Pod defines base template for pods
	*schedulerPodApi.Pod

	// Container Keeps the information about Container configuration
	*schedulerContainerApi.Container `json:",inline"`

	// TLS defined TLS Settings
	TLS *sharedApi.TLS `json:"tls,omitempty"`

	// Port defines on which port the container will be listening for connections
	Port *int32 `json:"port,omitempty"`
}

func (*GraphAnalyticsEngineSpecDeployment) DeepCopy

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

func (*GraphAnalyticsEngineSpecDeployment) DeepCopyInto

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

func (*GraphAnalyticsEngineSpecDeployment) GetContainer

func (*GraphAnalyticsEngineSpecDeployment) GetPodTemplate

func (*GraphAnalyticsEngineSpecDeployment) GetPort

func (*GraphAnalyticsEngineSpecDeployment) GetService

func (*GraphAnalyticsEngineSpecDeployment) GetTLS

func (*GraphAnalyticsEngineSpecDeployment) Validate

type GraphAnalyticsEngineSpecDeploymentService

type GraphAnalyticsEngineSpecDeploymentService struct {
	// Type determines how the Service is exposed
	// +doc/enum: ClusterIP|service will only be accessible inside the cluster, via the cluster IP
	// +doc/enum: NodePort|service will be exposed on one port of every node, in addition to 'ClusterIP' type
	// +doc/enum: LoadBalancer|service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type
	// +doc/enum: ExternalName|service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved
	// +doc/enum: None|service is not created
	// +doc/default: ClusterIP
	// +doc/link: Kubernetes Documentation|https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
	Type *core.ServiceType `json:"type,omitempty"`
}

func (*GraphAnalyticsEngineSpecDeploymentService) DeepCopy

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

func (*GraphAnalyticsEngineSpecDeploymentService) DeepCopyInto

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

func (*GraphAnalyticsEngineSpecDeploymentService) GetType

func (*GraphAnalyticsEngineSpecDeploymentService) Validate

type GraphAnalyticsEngineStatus

type GraphAnalyticsEngineStatus struct {
	// Conditions specific to the entire extension
	// +doc/type: api.Conditions
	Conditions api.ConditionList `json:"conditions,omitempty"`

	// ArangoDB keeps the information about local arangodb reference
	ArangoDB *GraphAnalyticsEngineStatusArangoDBRef `json:"arangoDB,omitempty"`

	// Reconciliation keeps the information about reconciliation process. For internal use.
	Reconciliation *GraphAnalyticsEngineStatusReconciliation `json:"reconciliation,omitempty"`
}

func (*GraphAnalyticsEngineStatus) DeepCopy

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

func (*GraphAnalyticsEngineStatus) DeepCopyInto

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

type GraphAnalyticsEngineStatusArangoDBRef

type GraphAnalyticsEngineStatusArangoDBRef struct {
	// Secret keeps the information about ArangoDB deployment
	Secret *sharedApi.Object `json:"secret,omitempty"`
	// TLS keeps information about TLS Secret rendered from ArangoDB deployment
	TLS *sharedApi.Object `json:"tls,omitempty"`
	// Deployment keeps the ArangoDeployment reference
	Deployment *sharedApi.Object `json:"deployment,omitempty"`
}

func (*GraphAnalyticsEngineStatusArangoDBRef) DeepCopy

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

func (*GraphAnalyticsEngineStatusArangoDBRef) DeepCopyInto

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

type GraphAnalyticsEngineStatusReconciliation

type GraphAnalyticsEngineStatusReconciliation struct {
	StatefulSet *sharedApi.Object `json:"statefulSet,omitempty"`
	Service     *sharedApi.Object `json:"service,omitempty"`
}

func (*GraphAnalyticsEngineStatusReconciliation) DeepCopy

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

func (*GraphAnalyticsEngineStatusReconciliation) DeepCopyInto

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

func (*GraphAnalyticsEngineStatusReconciliation) GetService

func (*GraphAnalyticsEngineStatusReconciliation) GetStatefulSet

Jump to

Keyboard shortcuts

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