v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
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

func (in *Grackle) DeepCopy() *Grackle

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

func (*Grackle) DeepCopyInto

func (in *Grackle) DeepCopyInto(out *Grackle)

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

func (*Grackle) DeepCopyObject

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

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

type GracklePhase corev1.PodPhase

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

func (in *WebSpec) DeepCopy() *WebSpec

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

func (*WebSpec) DeepCopyInto

func (in *WebSpec) DeepCopyInto(out *WebSpec)

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