Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the influxdb v1 API group +kubebuilder:object:generate=true +groupName=influxdb.influxdata.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "influxdb.influxdata.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type InfluxDB ¶
type InfluxDB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InfluxDBSpec `json:"spec,omitempty"` Status InfluxDBStatus `json:"status,omitempty"` }
InfluxDB is the Schema for the influxdbs API
func (*InfluxDB) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfluxDB.
func (*InfluxDB) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfluxDB) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfluxDBList ¶
type InfluxDBList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InfluxDB `json:"items"` }
InfluxDBList contains a list of InfluxDB
func (*InfluxDBList) DeepCopy ¶
func (in *InfluxDBList) DeepCopy() *InfluxDBList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfluxDBList.
func (*InfluxDBList) DeepCopyInto ¶
func (in *InfluxDBList) DeepCopyInto(out *InfluxDBList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfluxDBList) DeepCopyObject ¶
func (in *InfluxDBList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfluxDBSpec ¶
type InfluxDBSpec struct { // Should the operator deploy and manage this InfluxDB, or is it an existing deployment? Provision bool `json:"provision"` // The URL of the InfluxDB server (Only used when provision is false) // +optional URL string `json:"url,omitempty"` // The organization Organization string `json:"organization,omitempty"` // If we're not provisioning this InfluxDB through the operator, we need an admin // token to do further provisioning // +optional Token InfluxDBToken `json:"token,omitempty"` }
InfluxDBSpec defines the desired state of InfluxDB
func (*InfluxDBSpec) DeepCopy ¶
func (in *InfluxDBSpec) DeepCopy() *InfluxDBSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfluxDBSpec.
func (*InfluxDBSpec) DeepCopyInto ¶
func (in *InfluxDBSpec) DeepCopyInto(out *InfluxDBSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfluxDBStatus ¶
type InfluxDBStatus struct { // Is this InfluxDB responding on /health? Available bool `json:"available"` // Can we authenticate against this InfluxDB? Authenticated bool `json:"authenticated"` // +kubebuilder:default=0 StatsRefresh int64 `json:"statsRefreshTime"` // DNS Resolution time DNSResolution int64 `json:"dnsResolutionDuration"` // Connect Time ConnectTime int64 `json:"connectTime"` // First Byte FirstByte int64 `json:"firstByte"` // TLS Handshake TLSHandshake int64 `json:"tlsHandshake"` }
InfluxDBStatus defines the observed state of InfluxDB
func (*InfluxDBStatus) DeepCopy ¶
func (in *InfluxDBStatus) DeepCopy() *InfluxDBStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfluxDBStatus.
func (*InfluxDBStatus) DeepCopyInto ¶
func (in *InfluxDBStatus) DeepCopyInto(out *InfluxDBStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfluxDBToken ¶
type InfluxDBToken struct { SecretName string `json:"secretName,omitempty"` SecretKey string `json:"secretKey,omitempty"` }
InfluxDBToken Config for InfluxDBSpecs
func (*InfluxDBToken) DeepCopy ¶
func (in *InfluxDBToken) DeepCopy() *InfluxDBToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfluxDBToken.
func (*InfluxDBToken) DeepCopyInto ¶
func (in *InfluxDBToken) DeepCopyInto(out *InfluxDBToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Token ¶
type Token struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TokenSpec `json:"spec,omitempty"` Status TokenStatus `json:"status,omitempty"` }
Token is the Schema for zthe tokens API
func (*Token) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Token) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenList ¶
type TokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Token `json:"items"` }
TokenList contains a list of Token
func (*TokenList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenList.
func (*TokenList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenSpec ¶
type TokenSpec struct { InfluxDB string `json:"influxdb,omitempty"` SecretName string `json:"secret,omitempty"` }
TokenSpec defines the desired state of Token
func (*TokenSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenSpec.
func (*TokenSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenStatus ¶
type TokenStatus struct { Exists bool `json:"exists,omitempty"` Enabled bool `json:"enabled,omitempty"` }
TokenStatus defines the observed state of Token
func (*TokenStatus) DeepCopy ¶
func (in *TokenStatus) DeepCopy() *TokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenStatus.
func (*TokenStatus) DeepCopyInto ¶
func (in *TokenStatus) DeepCopyInto(out *TokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.