Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the ceilometer v1beta1 API group +kubebuilder:object:generate=true +groupName=ceilometer.openstack.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ceilometer.openstack.org", Version: "v1beta1"} // 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 Ceilometer ¶
type Ceilometer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CeilometerSpec `json:"spec,omitempty"` Status CeilometerStatus `json:"status,omitempty"` }
Ceilometer is the Schema for the ceilometers API
func (*Ceilometer) DeepCopy ¶
func (in *Ceilometer) DeepCopy() *Ceilometer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ceilometer.
func (*Ceilometer) DeepCopyInto ¶
func (in *Ceilometer) DeepCopyInto(out *Ceilometer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ceilometer) DeepCopyObject ¶
func (in *Ceilometer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Ceilometer) IsReady ¶
func (instance Ceilometer) IsReady() bool
IsReady - returns true if service is ready
type CeilometerList ¶
type CeilometerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Ceilometer `json:"items"` }
CeilometerList contains a list of Ceilometer
func (*CeilometerList) DeepCopy ¶
func (in *CeilometerList) DeepCopy() *CeilometerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CeilometerList.
func (*CeilometerList) DeepCopyInto ¶
func (in *CeilometerList) DeepCopyInto(out *CeilometerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CeilometerList) DeepCopyObject ¶
func (in *CeilometerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CeilometerSpec ¶
type CeilometerSpec struct { // The needed values to connect to RabbitMQ // +kubebuilder:default:=rabbitmq-default-user RabbitMQSecret string `json:"rabbitMQSecret,omitempty"` // PasswordSelectors - Selectors to identify host, username and password from the Secret // +kubebuilder:default:={username: username, password: password} PasswordSelectors PasswordsSelector `json:"passwordSelector,omitempty"` // ServiceUser - optional username used for this service to register in keystone // +kubebuilder:validation:Optional // +kubebuilder:default=ceilometer ServiceUser string `json:"serviceUser,omitempty"` // Secret containing OpenStack password information for ceilometer // +kubebuilder:validation:Optional // +kubebuilder:default=osp-secret Secret string `json:"secret,omitempty"` // CustomServiceConfig - customize the service config using this parameter to change service defaults, // or overwrite rendered information using raw OpenStack config format. The content gets added to // to /etc/<service>/<service>.conf.d directory as custom.conf file. // +kubebuilder:default:="# add your customization here" CustomServiceConfig string `json:"customServiceConfig,omitempty"` // ConfigOverwrite - interface to overwrite default config files like e.g. logging.conf or policy.json. // But can also be used to add additional files. Those get added to the service config dir in /etc/<service> . // TODO: -> implement DefaultConfigOverwrite map[string]string `json:"defaultConfigOverwrite,omitempty"` // NetworkAttachmentDefinitions list of network attachment definitions the service pod gets attached to NetworkAttachmentDefinitions []string `json:"networkAttachmentDefinitions,omitempty"` // +kubebuilder:default:="quay.io/tripleomastercentos9/openstack-ceilometer-central:current-tripleo" CentralImage string `json:"centralImage,omitempty"` // +kubebuilder:default:="quay.io/tripleomastercentos9/openstack-ceilometer-notification:current-tripleo" NotificationImage string `json:"notificationImage,omitempty"` // +kubebuilder:default:="quay.io/infrawatch/sg-core:latest" SgCoreImage string `json:"sgCoreImage,omitempty"` // +kubebuilder:default:="quay.io/tripleomastercentos9/openstack-ceilometer-central:current-tripleo" InitImage string `json:"initImage,omitempty"` // +kubebuilder:default:="A ceilometer agent" Description string `json:"description,omitempty"` }
CeilometerSpec defines the desired state of Ceilometer
func (*CeilometerSpec) DeepCopy ¶
func (in *CeilometerSpec) DeepCopy() *CeilometerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CeilometerSpec.
func (*CeilometerSpec) DeepCopyInto ¶
func (in *CeilometerSpec) DeepCopyInto(out *CeilometerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CeilometerStatus ¶
type CeilometerStatus struct { // ReadyCount of keystone API instances ReadyCount int32 `json:"readyCount,omitempty"` // Map of hashes to track e.g. job status Hash map[string]string `json:"hash,omitempty"` // Conditions Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"` // Networks in addtion to the cluster network, the service is attached to Networks []string `json:"networks,omitempty"` // ServiceID ServiceID string `json:"serviceID,omitempty"` }
CeilometerStatus defines the observed state of Ceilometer
func (*CeilometerStatus) DeepCopy ¶
func (in *CeilometerStatus) DeepCopy() *CeilometerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CeilometerStatus.
func (*CeilometerStatus) DeepCopyInto ¶
func (in *CeilometerStatus) DeepCopyInto(out *CeilometerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordsSelector ¶
type PasswordsSelector struct { // Host - Selector to get the host of the RabbitMQ connection // +kubebuilder:default:="host" Host string `json:"host,omitempty"` // Username - Selector to get the username of the RabbitMQ connection // +kubebuilder:default:="username" Username string `json:"username,omitempty"` // Password - Selector to get the password of the RabbitMQ connection // +kubebuilder:default:="password" Password string `json:"password,omitempty"` // Service - Selector to get the ceilometer service password from the Secret // +kubebuilder:validation:Optional // +kubebuilder:default:=CeilometerPassword Service string `json:"service,omitempty"` }
PasswordsSelector to identify the DB and AdminUser password from the Secret
func (*PasswordsSelector) DeepCopy ¶
func (in *PasswordsSelector) DeepCopy() *PasswordsSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordsSelector.
func (*PasswordsSelector) DeepCopyInto ¶
func (in *PasswordsSelector) DeepCopyInto(out *PasswordsSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.