v1alpha1

package
v0.0.0-...-eaa8fca Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChronografKind       = "chronograf"
	ChronografPlural     = "chronografs"
	ChronografAPIVersion = "gianarb.com/v1alpha1" //TODO(gianarb): decide what to do with this
)
View Source
const (
	Group   = "gianarb.com"
	Version = "v1alpha1"
)
View Source
const (
	InfluxDBKind       = "influxdb"
	InfluxDBPlural     = "influxdbs"
	InfluxDBApiVersion = "gianarb.com/v1alpha1" //TODO(gianarb): decide what to do with this
)
View Source
const (
	KapacitorKind       = "kapacitor"
	KapacitorPlural     = "kapacitors"
	KapacitorAPIVersion = "gianarb.com/v1alpha1" //TODO(gianarb): decide what to do with this
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Chronograf

type Chronograf struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ChronografSpec `json:"spec"`
}

func (*Chronograf) DeepCopyObject

func (i *Chronograf) DeepCopyObject() runtime.Object

func (*Chronograf) GetObjectKind

func (i *Chronograf) GetObjectKind() schema.ObjectKind

type ChronografList

type ChronografList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []*Chronograf `json:"items"`
}

func (*ChronografList) DeepCopyObject

func (i *ChronografList) DeepCopyObject() runtime.Object

func (*ChronografList) GetObjectKind

func (i *ChronografList) GetObjectKind() schema.ObjectKind

type ChronografSource

type ChronografSource struct {
	// The location of your InfluxDB instance including http://, the IP address, and port.
	// Example: http:///0.0.0.0:8086.
	Url string `json:"url"`
	// The username for your InfluxDB instance.
	Username string `json:"username"`
	// The password for your InfluxDB instance.
	Password string `json:"password"`
}

type ChronografSpec

type ChronografSpec struct {
	BaseImage string `json:"baseImage,omitempty"`
	// Image pull policy.
	// One of Always, Never, IfNotPresent.
	// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	// +optional
	ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty" protobuf:"bytes,14,opt,name=imagePullPolicy,casttype=PullPolicy"`
	// Number of desired pods. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	// +optional
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// Label selector for pods. Existing ReplicaSets whose pods are
	// selected by this will be the ones affected by this deployment.
	// It must match the pod template's labels.
	Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,2,opt,name=selector"`

	// The IP that chronograf listens on (default: 0.0.0.0)
	Host string `json:"host"`

	// The port that chronograf listens on for insecure connections (default: 8888).
	Port int32 `json:"port"`

	// The file path to PEM encoded public key certificate.
	Cert string `json:"cert"`

	// Run the chronograf server in develop mode.
	Develop bool `json:"develop"`

	// The file path to the boltDB file (default: /var/lib/chronograf/chronograf-v1-.db).
	BoltPath string `json:"bolt_path"`

	// The file path to private key associated with given certificate.
	Key             string           `json:"key"`
	InfuxDBSource   ChronografSource `json:"influxdb_source"`
	KapacitorSource ChronografSource `json:"kapacitor_source"`

	// The path to the directory for pre-created dashboards (default: /usr/share/chronograf/canned).
	CannedPath string `json:"canned_path"`

	// The secret for signing tokens.
	TokenSecret string `json:"token_secret"`

	// The total duration (in hours) of cookie life for authentication (default:
	// 720h). Authentication expires on browser close if --auth-duration is set to
	// 0.
	AuthDuration string `json:"auth_duration"`

	// Set the logging level (default: info, accepted: debug|info|error)
	LogLevel string `json:"log_level"`
}

func (*ChronografSpec) DeepCopyObject

func (i *ChronografSpec) DeepCopyObject() runtime.Object

func (*ChronografSpec) GetObjectKind

func (i *ChronografSpec) GetObjectKind() schema.ObjectKind

type CrdKind

type CrdKind struct {
	Kind   string
	Plural string
}

type CrdKinds

type CrdKinds struct {
	KindsString string
	InfluxDB    CrdKind
}

type Influxdb

type Influxdb struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InfluxdbSpec `json:"spec"`
}

func (*Influxdb) DeepCopyObject

func (i *Influxdb) DeepCopyObject() runtime.Object

func (*Influxdb) GetObjectKind

func (i *Influxdb) GetObjectKind() schema.ObjectKind

type InfluxdbList

type InfluxdbList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []*Influxdb `json:"items"`
}

func (*InfluxdbList) DeepCopyObject

func (i *InfluxdbList) DeepCopyObject() runtime.Object

func (*InfluxdbList) GetObjectKind

func (i *InfluxdbList) GetObjectKind() schema.ObjectKind

type InfluxdbSpec

type InfluxdbSpec struct {
	BaseImage string `json:"baseImage,omitempty"`
	// Image pull policy.
	// One of Always, Never, IfNotPresent.
	// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	// +optional
	ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty" protobuf:"bytes,14,opt,name=imagePullPolicy,casttype=PullPolicy"`
	// Number of desired pods. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	// +optional
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// Label selector for pods. Existing ReplicaSets whose pods are
	// selected by this will be the ones affected by this deployment.
	// It must match the pod template's labels.
	Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,2,opt,name=selector"`
}

func (*InfluxdbSpec) DeepCopyObject

func (i *InfluxdbSpec) DeepCopyObject() runtime.Object

func (*InfluxdbSpec) GetObjectKind

func (i *InfluxdbSpec) GetObjectKind() schema.ObjectKind

type Kapacitor

type Kapacitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KapacitorSpec `json:"spec"`
}

func (*Kapacitor) DeepCopyObject

func (i *Kapacitor) DeepCopyObject() runtime.Object

func (*Kapacitor) GetObjectKind

func (i *Kapacitor) GetObjectKind() schema.ObjectKind

type KapacitorList

type KapacitorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []*Kapacitor `json:"items"`
}

func (*KapacitorList) DeepCopyObject

func (i *KapacitorList) DeepCopyObject() runtime.Object

func (*KapacitorList) GetObjectKind

func (i *KapacitorList) GetObjectKind() schema.ObjectKind

type KapacitorSpec

type KapacitorSpec struct {
	BaseImage string `json:"baseImage,omitempty"`
	// Image pull policy.
	// One of Always, Never, IfNotPresent.
	// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	// +optional
	ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty" protobuf:"bytes,14,opt,name=imagePullPolicy,casttype=PullPolicy"`
	// Number of desired pods. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	// +optional
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// Label selector for pods. Existing ReplicaSets whose pods are
	// selected by this will be the ones affected by this deployment.
	// It must match the pod template's labels.
	Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,2,opt,name=selector"`
}

func (*KapacitorSpec) DeepCopyObject

func (i *KapacitorSpec) DeepCopyObject() runtime.Object

func (*KapacitorSpec) GetObjectKind

func (i *KapacitorSpec) GetObjectKind() schema.ObjectKind

type TickV1alpha1Client

type TickV1alpha1Client struct {
	// contains filtered or unexported fields
}

func NewForConfig

func NewForConfig(c *rest.Config) (*TickV1alpha1Client, error)

func (*TickV1alpha1Client) Chronografs

func (c *TickV1alpha1Client) Chronografs(namespace string) dynamic.ResourceInterface

func (*TickV1alpha1Client) InfluxDBs

func (c *TickV1alpha1Client) InfluxDBs(namespace string) dynamic.ResourceInterface

func (*TickV1alpha1Client) Kapacitors

func (c *TickV1alpha1Client) Kapacitors(namespace string) dynamic.ResourceInterface

type TickV1alpha1Interface

type TickV1alpha1Interface interface {
	RESTClient() rest.Interface
	InfluxDBs(namespace string) dynamic.ResourceInterface
}

Jump to

Keyboard shortcuts

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