v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the middleware v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=middleware.io

Package v1alpha1 contains API Schema definitions for the middleware v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=middleware.io

Index

Constants

View Source
const (
	RdsExporterImage     string = "riet/aliyun-rds-exporter"
	RdsExporterNamespace string = "ops-monitor"
	RdsExporterPort      int32  = 10001
)
View Source
const (
	RedisExporterImage     string = "riet/aliyun-redis-exporter"
	RedisExporterNamespace string = "ops-monitor"
	RedisExporterPort      int32  = 10003
)
View Source
const (
	SlbExporterImage     string = "riet/aliyun-slb-exporter"
	SlbExporterNamespace string = "ops-monitor"
	SlbExporterPort      int32  = 10002
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "middleware.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 RdsAliyunAccount

type RdsAliyunAccount struct {
	Name            string `json:"name"`
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	RegionId        string `json:"regionId"`
}

func (*RdsAliyunAccount) DeepCopy

func (in *RdsAliyunAccount) DeepCopy() *RdsAliyunAccount

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

func (*RdsAliyunAccount) DeepCopyInto

func (in *RdsAliyunAccount) DeepCopyInto(out *RdsAliyunAccount)

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

type RdsMonitor

type RdsMonitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RdsMonitorSpec   `json:"spec,omitempty"`
	Status RdsMonitorStatus `json:"status,omitempty"`
}

RdsMonitor is the Schema for the rdsmonitors API +kubebuilder:subresource:status +kubebuilder:resource:path=rdsmonitors,scope=Namespaced

func (*RdsMonitor) DeepCopy

func (in *RdsMonitor) DeepCopy() *RdsMonitor

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

func (*RdsMonitor) DeepCopyInto

func (in *RdsMonitor) DeepCopyInto(out *RdsMonitor)

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

func (*RdsMonitor) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RdsMonitorList

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

RdsMonitorList contains a list of RdsMonitor

func (*RdsMonitorList) DeepCopy

func (in *RdsMonitorList) DeepCopy() *RdsMonitorList

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

func (*RdsMonitorList) DeepCopyInto

func (in *RdsMonitorList) DeepCopyInto(out *RdsMonitorList)

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

func (*RdsMonitorList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RdsMonitorSpec

type RdsMonitorSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	RdsAliyunAccount []RdsAliyunAccount `json:"rdsAliyunAccount"`
}

RdsMonitorSpec defines the desired state of RdsMonitor

func (*RdsMonitorSpec) DeepCopy

func (in *RdsMonitorSpec) DeepCopy() *RdsMonitorSpec

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

func (*RdsMonitorSpec) DeepCopyInto

func (in *RdsMonitorSpec) DeepCopyInto(out *RdsMonitorSpec)

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

type RdsMonitorStatus

type RdsMonitorStatus struct {
}

RdsMonitorStatus defines the observed state of RdsMonitor

func (*RdsMonitorStatus) DeepCopy

func (in *RdsMonitorStatus) DeepCopy() *RdsMonitorStatus

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

func (*RdsMonitorStatus) DeepCopyInto

func (in *RdsMonitorStatus) DeepCopyInto(out *RdsMonitorStatus)

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

type RedisAliyunAccount

type RedisAliyunAccount struct {
	Name            string   `json:"name"`
	AccessKeyId     string   `json:"accessKeyId"`
	AccessKeySecret string   `json:"accessKeySecret"`
	RegionId        string   `json:"regionId"`
	ExtraMetric     []string `json:"extraMetric,omitempty"`
}

func (*RedisAliyunAccount) DeepCopy

func (in *RedisAliyunAccount) DeepCopy() *RedisAliyunAccount

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

func (*RedisAliyunAccount) DeepCopyInto

func (in *RedisAliyunAccount) DeepCopyInto(out *RedisAliyunAccount)

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

type RedisMonitor

type RedisMonitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RedisMonitorSpec   `json:"spec,omitempty"`
	Status RedisMonitorStatus `json:"status,omitempty"`
}

RedisMonitor is the Schema for the redismonitors API +kubebuilder:subresource:status +kubebuilder:resource:path=redismonitors,scope=Namespaced

func (*RedisMonitor) DeepCopy

func (in *RedisMonitor) DeepCopy() *RedisMonitor

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

func (*RedisMonitor) DeepCopyInto

func (in *RedisMonitor) DeepCopyInto(out *RedisMonitor)

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

func (*RedisMonitor) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RedisMonitorList

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

RedisMonitorList contains a list of RedisMonitor

func (*RedisMonitorList) DeepCopy

func (in *RedisMonitorList) DeepCopy() *RedisMonitorList

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

func (*RedisMonitorList) DeepCopyInto

func (in *RedisMonitorList) DeepCopyInto(out *RedisMonitorList)

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

func (*RedisMonitorList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RedisMonitorSpec

type RedisMonitorSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	RedisAliyunAccount []RedisAliyunAccount `json:"redisAliyunAccount"`
}

RedisMonitorSpec defines the desired state of RedisMonitor

func (*RedisMonitorSpec) DeepCopy

func (in *RedisMonitorSpec) DeepCopy() *RedisMonitorSpec

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

func (*RedisMonitorSpec) DeepCopyInto

func (in *RedisMonitorSpec) DeepCopyInto(out *RedisMonitorSpec)

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

type RedisMonitorStatus

type RedisMonitorStatus struct {
}

RedisMonitorStatus defines the observed state of RedisMonitor

func (*RedisMonitorStatus) DeepCopy

func (in *RedisMonitorStatus) DeepCopy() *RedisMonitorStatus

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

func (*RedisMonitorStatus) DeepCopyInto

func (in *RedisMonitorStatus) DeepCopyInto(out *RedisMonitorStatus)

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

type SlbAliyunAccount

type SlbAliyunAccount struct {
	Name            string   `json:"name"`
	AccessKeyId     string   `json:"accessKeyId"`
	AccessKeySecret string   `json:"accessKeySecret"`
	RegionId        string   `json:"regionId"`
	InstanceId      []string `json:"instanceId,omitempty"`
}

func (*SlbAliyunAccount) DeepCopy

func (in *SlbAliyunAccount) DeepCopy() *SlbAliyunAccount

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

func (*SlbAliyunAccount) DeepCopyInto

func (in *SlbAliyunAccount) DeepCopyInto(out *SlbAliyunAccount)

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

type SlbMonitor

type SlbMonitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SlbMonitorSpec   `json:"spec,omitempty"`
	Status SlbMonitorStatus `json:"status,omitempty"`
}

SlbMonitor is the Schema for the slbmonitors API +kubebuilder:subresource:status +kubebuilder:resource:path=slbmonitors,scope=Namespaced

func (*SlbMonitor) DeepCopy

func (in *SlbMonitor) DeepCopy() *SlbMonitor

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

func (*SlbMonitor) DeepCopyInto

func (in *SlbMonitor) DeepCopyInto(out *SlbMonitor)

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

func (*SlbMonitor) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SlbMonitorList

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

SlbMonitorList contains a list of SlbMonitor

func (*SlbMonitorList) DeepCopy

func (in *SlbMonitorList) DeepCopy() *SlbMonitorList

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

func (*SlbMonitorList) DeepCopyInto

func (in *SlbMonitorList) DeepCopyInto(out *SlbMonitorList)

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

func (*SlbMonitorList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SlbMonitorSpec

type SlbMonitorSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	SlbAliyunAccount []SlbAliyunAccount `json:"slbAliyunAccount"`
}

SlbMonitorSpec defines the desired state of SlbMonitor

func (*SlbMonitorSpec) DeepCopy

func (in *SlbMonitorSpec) DeepCopy() *SlbMonitorSpec

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

func (*SlbMonitorSpec) DeepCopyInto

func (in *SlbMonitorSpec) DeepCopyInto(out *SlbMonitorSpec)

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

type SlbMonitorStatus

type SlbMonitorStatus struct {
}

SlbMonitorStatus defines the observed state of SlbMonitor

func (*SlbMonitorStatus) DeepCopy

func (in *SlbMonitorStatus) DeepCopy() *SlbMonitorStatus

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

func (*SlbMonitorStatus) DeepCopyInto

func (in *SlbMonitorStatus) DeepCopyInto(out *SlbMonitorStatus)

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