Documentation ¶
Overview ¶
Package api is the internal version of the API. +groupName=navigator.jetstack.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CassandraCluster
- type CassandraClusterList
- type CassandraClusterNodePool
- type CassandraClusterNodePoolStatus
- type CassandraClusterSpec
- type CassandraClusterStatus
- type CassandraPilotStatus
- type ConditionStatus
- type ElasticsearchCluster
- type ElasticsearchClusterHealth
- type ElasticsearchClusterList
- type ElasticsearchClusterNodePool
- type ElasticsearchClusterNodePoolStatus
- type ElasticsearchClusterRole
- type ElasticsearchClusterSpec
- type ElasticsearchClusterStatus
- type ElasticsearchPilotStatus
- type ImageSpec
- type NavigatorClusterConfig
- type NavigatorSecurityContext
- type PersistenceConfig
- type Pilot
- type PilotCondition
- type PilotConditionType
- type PilotList
- type PilotSpec
- type PilotStatus
Constants ¶
const GroupName = "navigator.jetstack.io"
GroupName is the group name use in this package
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CassandraCluster ¶
type CassandraCluster struct { // we embed these types so the CassandraCluster implements runtime.Object metav1.TypeMeta metav1.ObjectMeta Spec CassandraClusterSpec Status CassandraClusterStatus }
CassandraCluster describes a specification for an Cassandra cluster
func (*CassandraCluster) DeepCopy ¶
func (in *CassandraCluster) DeepCopy() *CassandraCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraCluster.
func (*CassandraCluster) DeepCopyInto ¶
func (in *CassandraCluster) DeepCopyInto(out *CassandraCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CassandraCluster) DeepCopyObject ¶
func (in *CassandraCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CassandraClusterList ¶
type CassandraClusterList struct { // we embed these types so that CassandraClusterList implements runtime.Object and List interfaces metav1.TypeMeta metav1.ListMeta Items []CassandraCluster }
CassandraClusterList defines a List type for our custom CassandraCluster type. This is needed in order to make List operations work.
func (*CassandraClusterList) DeepCopy ¶
func (in *CassandraClusterList) DeepCopy() *CassandraClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraClusterList.
func (*CassandraClusterList) DeepCopyInto ¶
func (in *CassandraClusterList) DeepCopyInto(out *CassandraClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CassandraClusterList) DeepCopyObject ¶
func (in *CassandraClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CassandraClusterNodePool ¶
type CassandraClusterNodePool struct { Name string Replicas *int32 Persistence *PersistenceConfig NodeSelector map[string]string Rack *string Datacenter *string Resources v1.ResourceRequirements SchedulerName string }
func (*CassandraClusterNodePool) DeepCopy ¶
func (in *CassandraClusterNodePool) DeepCopy() *CassandraClusterNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraClusterNodePool.
func (*CassandraClusterNodePool) DeepCopyInto ¶
func (in *CassandraClusterNodePool) DeepCopyInto(out *CassandraClusterNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraClusterNodePoolStatus ¶
type CassandraClusterNodePoolStatus struct {
ReadyReplicas int32
}
func (*CassandraClusterNodePoolStatus) DeepCopy ¶
func (in *CassandraClusterNodePoolStatus) DeepCopy() *CassandraClusterNodePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraClusterNodePoolStatus.
func (*CassandraClusterNodePoolStatus) DeepCopyInto ¶
func (in *CassandraClusterNodePoolStatus) DeepCopyInto(out *CassandraClusterNodePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraClusterSpec ¶
type CassandraClusterSpec struct { NodePools []CassandraClusterNodePool Version version.Version Image *ImageSpec }
func (*CassandraClusterSpec) DeepCopy ¶
func (in *CassandraClusterSpec) DeepCopy() *CassandraClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraClusterSpec.
func (*CassandraClusterSpec) DeepCopyInto ¶
func (in *CassandraClusterSpec) DeepCopyInto(out *CassandraClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraClusterStatus ¶
type CassandraClusterStatus struct {
NodePools map[string]CassandraClusterNodePoolStatus
}
func (*CassandraClusterStatus) DeepCopy ¶
func (in *CassandraClusterStatus) DeepCopy() *CassandraClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraClusterStatus.
func (*CassandraClusterStatus) DeepCopyInto ¶
func (in *CassandraClusterStatus) DeepCopyInto(out *CassandraClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraPilotStatus ¶
func (*CassandraPilotStatus) DeepCopy ¶
func (in *CassandraPilotStatus) DeepCopy() *CassandraPilotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraPilotStatus.
func (*CassandraPilotStatus) DeepCopyInto ¶
func (in *CassandraPilotStatus) DeepCopyInto(out *CassandraPilotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents a condition's status.
const ( // ConditionTrue represents the fact that a given condition is true ConditionTrue ConditionStatus = "True" // ConditionFalse represents the fact that a given condition is false ConditionFalse ConditionStatus = "False" // ConditionUnknown represents the fact that a given condition is unknown ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type ElasticsearchCluster ¶
type ElasticsearchCluster struct { // we embed these types so the ElasticsearchCluster implements runtime.Object metav1.TypeMeta metav1.ObjectMeta Spec ElasticsearchClusterSpec Status ElasticsearchClusterStatus }
ElasticsearchCluster describes a specification for an Elasticsearch cluster
func (*ElasticsearchCluster) DeepCopy ¶
func (in *ElasticsearchCluster) DeepCopy() *ElasticsearchCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchCluster.
func (*ElasticsearchCluster) DeepCopyInto ¶
func (in *ElasticsearchCluster) DeepCopyInto(out *ElasticsearchCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchCluster) DeepCopyObject ¶
func (in *ElasticsearchCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchClusterHealth ¶
type ElasticsearchClusterHealth string
const ( ElasticsearchClusterHealthRed ElasticsearchClusterHealth = "Red" ElasticsearchClusterHealthYellow ElasticsearchClusterHealth = "Yellow" ElasticsearchClusterHealthGreen ElasticsearchClusterHealth = "Green" )
type ElasticsearchClusterList ¶
type ElasticsearchClusterList struct { // we embed these types so that ElasticsearchClusterList implements runtime.Object and List interfaces metav1.TypeMeta metav1.ListMeta Items []ElasticsearchCluster }
ElasticsearchClusterList defines a List type for our custom ElasticsearchCluster type. This is needed in order to make List operations work.
func (*ElasticsearchClusterList) DeepCopy ¶
func (in *ElasticsearchClusterList) DeepCopy() *ElasticsearchClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchClusterList.
func (*ElasticsearchClusterList) DeepCopyInto ¶
func (in *ElasticsearchClusterList) DeepCopyInto(out *ElasticsearchClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchClusterList) DeepCopyObject ¶
func (in *ElasticsearchClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchClusterNodePool ¶
type ElasticsearchClusterNodePool struct { Name string Replicas *int32 Roles []ElasticsearchClusterRole NodeSelector map[string]string Resources v1.ResourceRequirements Persistence *PersistenceConfig SchedulerName string }
func (*ElasticsearchClusterNodePool) DeepCopy ¶
func (in *ElasticsearchClusterNodePool) DeepCopy() *ElasticsearchClusterNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchClusterNodePool.
func (*ElasticsearchClusterNodePool) DeepCopyInto ¶
func (in *ElasticsearchClusterNodePool) DeepCopyInto(out *ElasticsearchClusterNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchClusterNodePoolStatus ¶
type ElasticsearchClusterNodePoolStatus struct {
ReadyReplicas int32
}
func (*ElasticsearchClusterNodePoolStatus) DeepCopy ¶
func (in *ElasticsearchClusterNodePoolStatus) DeepCopy() *ElasticsearchClusterNodePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchClusterNodePoolStatus.
func (*ElasticsearchClusterNodePoolStatus) DeepCopyInto ¶
func (in *ElasticsearchClusterNodePoolStatus) DeepCopyInto(out *ElasticsearchClusterNodePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchClusterRole ¶
type ElasticsearchClusterRole string
const ( ElasticsearchRoleData ElasticsearchClusterRole = "data" ElasticsearchRoleMaster ElasticsearchClusterRole = "master" ElasticsearchRoleIngest ElasticsearchClusterRole = "ingest" )
type ElasticsearchClusterSpec ¶
type ElasticsearchClusterSpec struct { Version semver.Version Image *ImageSpec Plugins []string NodePools []ElasticsearchClusterNodePool MinimumMasters *int32 }
func (*ElasticsearchClusterSpec) DeepCopy ¶
func (in *ElasticsearchClusterSpec) DeepCopy() *ElasticsearchClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchClusterSpec.
func (*ElasticsearchClusterSpec) DeepCopyInto ¶
func (in *ElasticsearchClusterSpec) DeepCopyInto(out *ElasticsearchClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchClusterStatus ¶
type ElasticsearchClusterStatus struct { NodePools map[string]ElasticsearchClusterNodePoolStatus Health *ElasticsearchClusterHealth }
func (*ElasticsearchClusterStatus) DeepCopy ¶
func (in *ElasticsearchClusterStatus) DeepCopy() *ElasticsearchClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchClusterStatus.
func (*ElasticsearchClusterStatus) DeepCopyInto ¶
func (in *ElasticsearchClusterStatus) DeepCopyInto(out *ElasticsearchClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchPilotStatus ¶
type ElasticsearchPilotStatus struct { // Documents is the current number of documents on this node. nil indicates // an unknown number of documents, whereas 0 indicates that the node is // empty Documents *int64 Version *semver.Version }
func (*ElasticsearchPilotStatus) DeepCopy ¶
func (in *ElasticsearchPilotStatus) DeepCopy() *ElasticsearchPilotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchPilotStatus.
func (*ElasticsearchPilotStatus) DeepCopyInto ¶
func (in *ElasticsearchPilotStatus) DeepCopyInto(out *ElasticsearchPilotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct { Repository string Tag string PullPolicy v1.PullPolicy }
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NavigatorClusterConfig ¶
type NavigatorClusterConfig struct {}
func (*NavigatorClusterConfig) DeepCopy ¶
func (in *NavigatorClusterConfig) DeepCopy() *NavigatorClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NavigatorClusterConfig.
func (*NavigatorClusterConfig) DeepCopyInto ¶
func (in *NavigatorClusterConfig) DeepCopyInto(out *NavigatorClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NavigatorSecurityContext ¶
type NavigatorSecurityContext struct {
}func (*NavigatorSecurityContext) DeepCopy ¶
func (in *NavigatorSecurityContext) DeepCopy() *NavigatorSecurityContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NavigatorSecurityContext.
func (*NavigatorSecurityContext) DeepCopyInto ¶
func (in *NavigatorSecurityContext) DeepCopyInto(out *NavigatorSecurityContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceConfig ¶
func (*PersistenceConfig) DeepCopy ¶
func (in *PersistenceConfig) DeepCopy() *PersistenceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfig.
func (*PersistenceConfig) DeepCopyInto ¶
func (in *PersistenceConfig) DeepCopyInto(out *PersistenceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pilot ¶
type Pilot struct { metav1.TypeMeta metav1.ObjectMeta Spec PilotSpec Status PilotStatus }
func (*Pilot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pilot.
func (*Pilot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pilot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PilotCondition ¶
type PilotCondition struct { // Type of the condition, currently ('Ready'). Type PilotConditionType // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time // Reason is a brief machine readable explanation for the condition's last // transition. Reason string // Message is a human readable description of the details of the last // transition, complementing reason. Message string }
PilotCondition contains condition information for a Pilot.
func (*PilotCondition) DeepCopy ¶
func (in *PilotCondition) DeepCopy() *PilotCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PilotCondition.
func (*PilotCondition) DeepCopyInto ¶
func (in *PilotCondition) DeepCopyInto(out *PilotCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PilotConditionType ¶
type PilotConditionType string
PilotConditionType represents a Pilot condition value.
const ( // PilotConditionReady represents the fact that a given Pilot condition // is in ready state. PilotConditionReady PilotConditionType = "Ready" // PilotConditionStarted represents the fact that a given Pilot condition // is in started state. PilotConditionStarted PilotConditionType = "Started" // PilotConditionStopped represents the fact that a given Pilot // condition is in a stopped state. PilotConditionStopped PilotConditionType = "Stopped" )
type PilotList ¶
func (*PilotList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PilotList.
func (*PilotList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PilotList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PilotSpec ¶
type PilotSpec struct { }
func (*PilotSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PilotSpec.
func (*PilotSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PilotStatus ¶
type PilotStatus struct { Conditions []PilotCondition // Contains status information specific to Elasticsearch Pilots Elasticsearch *ElasticsearchPilotStatus // Contains status information specific to Cassandra Pilots Cassandra *CassandraPilotStatus }
func (*PilotStatus) DeepCopy ¶
func (in *PilotStatus) DeepCopy() *PilotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PilotStatus.
func (*PilotStatus) DeepCopyInto ¶
func (in *PilotStatus) DeepCopyInto(out *PilotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |