Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=analytics.arangodb.com
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type GraphAnalyticsEngine
- func (g *GraphAnalyticsEngine) AsOwner() meta.OwnerReference
- func (in *GraphAnalyticsEngine) DeepCopy() *GraphAnalyticsEngine
- func (in *GraphAnalyticsEngine) DeepCopyInto(out *GraphAnalyticsEngine)
- func (in *GraphAnalyticsEngine) DeepCopyObject() runtime.Object
- func (g *GraphAnalyticsEngine) GetStatus() GraphAnalyticsEngineStatus
- func (g *GraphAnalyticsEngine) SetStatus(status GraphAnalyticsEngineStatus)
- type GraphAnalyticsEngineList
- type GraphAnalyticsEngineSpec
- func (in *GraphAnalyticsEngineSpec) DeepCopy() *GraphAnalyticsEngineSpec
- func (in *GraphAnalyticsEngineSpec) DeepCopyInto(out *GraphAnalyticsEngineSpec)
- func (a *GraphAnalyticsEngineSpec) GetDeployment() *GraphAnalyticsEngineSpecDeployment
- func (a *GraphAnalyticsEngineSpec) GetIntegrationSidecar() *schedulerIntegrationApi.Sidecar
- func (g *GraphAnalyticsEngineSpec) Validate() error
- type GraphAnalyticsEngineSpecDeployment
- func (in *GraphAnalyticsEngineSpecDeployment) DeepCopy() *GraphAnalyticsEngineSpecDeployment
- func (in *GraphAnalyticsEngineSpecDeployment) DeepCopyInto(out *GraphAnalyticsEngineSpecDeployment)
- func (s *GraphAnalyticsEngineSpecDeployment) GetContainer() *schedulerContainerApi.Container
- func (s *GraphAnalyticsEngineSpecDeployment) GetPodTemplate() *schedulerPodApi.Pod
- func (g *GraphAnalyticsEngineSpecDeployment) GetPort(def int32) int32
- func (g *GraphAnalyticsEngineSpecDeployment) GetService() *GraphAnalyticsEngineSpecDeploymentService
- func (g *GraphAnalyticsEngineSpecDeployment) GetTLS() *sharedApi.TLS
- func (g *GraphAnalyticsEngineSpecDeployment) Validate() error
- type GraphAnalyticsEngineSpecDeploymentService
- func (in *GraphAnalyticsEngineSpecDeploymentService) DeepCopy() *GraphAnalyticsEngineSpecDeploymentService
- func (in *GraphAnalyticsEngineSpecDeploymentService) DeepCopyInto(out *GraphAnalyticsEngineSpecDeploymentService)
- func (g *GraphAnalyticsEngineSpecDeploymentService) GetType() core.ServiceType
- func (g *GraphAnalyticsEngineSpecDeploymentService) Validate() error
- type GraphAnalyticsEngineStatus
- type GraphAnalyticsEngineStatusArangoDBRef
- type GraphAnalyticsEngineStatusReconciliation
- func (in *GraphAnalyticsEngineStatusReconciliation) DeepCopy() *GraphAnalyticsEngineStatusReconciliation
- func (in *GraphAnalyticsEngineStatusReconciliation) DeepCopyInto(out *GraphAnalyticsEngineStatusReconciliation)
- func (g *GraphAnalyticsEngineStatusReconciliation) GetService() *sharedApi.Object
- func (g *GraphAnalyticsEngineStatusReconciliation) GetStatefulSet() *sharedApi.Object
Constants ¶
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" )
const ( GraphAnalyticsEngineSpecDeploymentApi = "api" GraphAnalyticsEngineDeploymentComponentDefaultPort = 8502 )
const (
ArangoAnalyticsVersion = string(utilConstants.VersionV1Alpha1)
)
Variables ¶
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 ¶
func (g *GraphAnalyticsEngine) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given Extension
func (*GraphAnalyticsEngine) DeepCopy ¶
func (in *GraphAnalyticsEngine) DeepCopy() *GraphAnalyticsEngine
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 (g *GraphAnalyticsEngine) GetStatus() GraphAnalyticsEngineStatus
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 ¶
func (in *GraphAnalyticsEngineList) DeepCopy() *GraphAnalyticsEngineList
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 *schedulerIntegrationApi.Sidecar `json:"integrationSidecar,omitempty"`
}
func (*GraphAnalyticsEngineSpec) DeepCopy ¶
func (in *GraphAnalyticsEngineSpec) DeepCopy() *GraphAnalyticsEngineSpec
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 (a *GraphAnalyticsEngineSpec) GetDeployment() *GraphAnalyticsEngineSpecDeployment
func (*GraphAnalyticsEngineSpec) GetIntegrationSidecar ¶
func (a *GraphAnalyticsEngineSpec) GetIntegrationSidecar() *schedulerIntegrationApi.Sidecar
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 ¶
func (in *GraphAnalyticsEngineSpecDeployment) DeepCopy() *GraphAnalyticsEngineSpecDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphAnalyticsEngineSpecDeployment.
func (*GraphAnalyticsEngineSpecDeployment) DeepCopyInto ¶
func (in *GraphAnalyticsEngineSpecDeployment) DeepCopyInto(out *GraphAnalyticsEngineSpecDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GraphAnalyticsEngineSpecDeployment) GetContainer ¶
func (s *GraphAnalyticsEngineSpecDeployment) GetContainer() *schedulerContainerApi.Container
func (*GraphAnalyticsEngineSpecDeployment) GetPodTemplate ¶
func (s *GraphAnalyticsEngineSpecDeployment) GetPodTemplate() *schedulerPodApi.Pod
func (*GraphAnalyticsEngineSpecDeployment) GetPort ¶
func (g *GraphAnalyticsEngineSpecDeployment) GetPort(def int32) int32
func (*GraphAnalyticsEngineSpecDeployment) GetService ¶
func (g *GraphAnalyticsEngineSpecDeployment) GetService() *GraphAnalyticsEngineSpecDeploymentService
func (*GraphAnalyticsEngineSpecDeployment) GetTLS ¶
func (g *GraphAnalyticsEngineSpecDeployment) GetTLS() *sharedApi.TLS
func (*GraphAnalyticsEngineSpecDeployment) Validate ¶
func (g *GraphAnalyticsEngineSpecDeployment) Validate() error
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 ¶
func (in *GraphAnalyticsEngineSpecDeploymentService) DeepCopy() *GraphAnalyticsEngineSpecDeploymentService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphAnalyticsEngineSpecDeploymentService.
func (*GraphAnalyticsEngineSpecDeploymentService) DeepCopyInto ¶
func (in *GraphAnalyticsEngineSpecDeploymentService) DeepCopyInto(out *GraphAnalyticsEngineSpecDeploymentService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GraphAnalyticsEngineSpecDeploymentService) GetType ¶
func (g *GraphAnalyticsEngineSpecDeploymentService) GetType() core.ServiceType
func (*GraphAnalyticsEngineSpecDeploymentService) Validate ¶
func (g *GraphAnalyticsEngineSpecDeploymentService) Validate() error
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 ¶
func (in *GraphAnalyticsEngineStatus) DeepCopy() *GraphAnalyticsEngineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphAnalyticsEngineStatus.
func (*GraphAnalyticsEngineStatus) DeepCopyInto ¶
func (in *GraphAnalyticsEngineStatus) DeepCopyInto(out *GraphAnalyticsEngineStatus)
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 ¶
func (in *GraphAnalyticsEngineStatusArangoDBRef) DeepCopy() *GraphAnalyticsEngineStatusArangoDBRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphAnalyticsEngineStatusArangoDBRef.
func (*GraphAnalyticsEngineStatusArangoDBRef) DeepCopyInto ¶
func (in *GraphAnalyticsEngineStatusArangoDBRef) DeepCopyInto(out *GraphAnalyticsEngineStatusArangoDBRef)
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 ¶
func (in *GraphAnalyticsEngineStatusReconciliation) DeepCopy() *GraphAnalyticsEngineStatusReconciliation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphAnalyticsEngineStatusReconciliation.
func (*GraphAnalyticsEngineStatusReconciliation) DeepCopyInto ¶
func (in *GraphAnalyticsEngineStatusReconciliation) DeepCopyInto(out *GraphAnalyticsEngineStatusReconciliation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GraphAnalyticsEngineStatusReconciliation) GetService ¶
func (g *GraphAnalyticsEngineStatusReconciliation) GetService() *sharedApi.Object
func (*GraphAnalyticsEngineStatusReconciliation) GetStatefulSet ¶
func (g *GraphAnalyticsEngineStatusReconciliation) GetStatefulSet() *sharedApi.Object