Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.mkz.io
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.mkz.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "k8s.mkz.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type DatastoreSpec ¶
type DatastoreSpec struct { // Host is the hostname/IP address for the datastore. Host string `json:"host"` }
DatastoreSpec defines the desired state of a Grackle datastore.
func (*DatastoreSpec) DeepCopy ¶
func (in *DatastoreSpec) DeepCopy() *DatastoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatastoreSpec.
func (*DatastoreSpec) DeepCopyInto ¶
func (in *DatastoreSpec) DeepCopyInto(out *DatastoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Grackle ¶
type Grackle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GrackleSpec `json:"spec,omitempty"` Status GrackleStatus `json:"status,omitempty"` }
Grackle is the Schema for the grackles API. +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Grackle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grackle.
func (*Grackle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Grackle) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GrackleList ¶
type GrackleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Grackle `json:"items"` }
GrackleList contains a list of Grackle
func (*GrackleList) DeepCopy ¶
func (in *GrackleList) DeepCopy() *GrackleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrackleList.
func (*GrackleList) DeepCopyInto ¶
func (in *GrackleList) DeepCopyInto(out *GrackleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GrackleList) DeepCopyObject ¶
func (in *GrackleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GracklePhase ¶
GracklePhase is a label for the condition of a Grackle at the current time.
type GrackleSpec ¶
type GrackleSpec struct { // Datastore is the specification for the storage of Tweets. Datastore DatastoreSpec `json:"datastore,omitempty"` // Ingest is the specification for the ingest of Tweets. Ingest *IngestSpec `json:"ingest,omitempty"` // Web is the specification for the Web UI. Web *WebSpec `json:"web,omitempty"` }
GrackleSpec defines the desired state of Grackle +k8s:openapi-gen=true
func (*GrackleSpec) DeepCopy ¶
func (in *GrackleSpec) DeepCopy() *GrackleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrackleSpec.
func (*GrackleSpec) DeepCopyInto ¶
func (in *GrackleSpec) DeepCopyInto(out *GrackleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrackleStatus ¶
type GrackleStatus struct {
Phase GracklePhase `json:"phase,omitempty"`
}
GrackleStatus defines the observed state of Grackle +k8s:openapi-gen=true
func (*GrackleStatus) DeepCopy ¶
func (in *GrackleStatus) DeepCopy() *GrackleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrackleStatus.
func (*GrackleStatus) DeepCopyInto ¶
func (in *GrackleStatus) DeepCopyInto(out *GrackleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngestSpec ¶
type IngestSpec struct { // Track is a slice of search terms to ingest. // Each list item is a comma-delimited string of keywords for a seperate Twitter stream. Track []string `json:"track,omitempty"` // TwitterSecret is the name of a secret containing Twitter API credentials. TwitterSecret string `json:"twitterSecret,omitempty"` // Version is the Grackle image tag to use for ingest. Version string `json:"version,omitempty"` }
IngestSpec defines the desired state of the Grackle Ingest process.
func (*IngestSpec) DeepCopy ¶
func (in *IngestSpec) DeepCopy() *IngestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngestSpec.
func (*IngestSpec) DeepCopyInto ¶
func (in *IngestSpec) DeepCopyInto(out *IngestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebSpec ¶
type WebSpec struct { // Replicas is the number of web UI nodes to provision. Replicas *int32 `json:"replicas,omitempty"` // Version is the Grackle image tag to use for the web UI. Version string `json:"version,omitempty"` }
WebSpec defines the desired state of the Grackle Web UI process.
func (*WebSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebSpec.
func (*WebSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.