Documentation ¶
Index ¶
- Constants
- func CassandraActiveChange() predicate.Funcs
- func CassandraGroupKind() schema.GroupKind
- func ConfigActiveChange() predicate.Funcs
- func ConfigGroupKind() schema.GroupKind
- func ControlActiveChange() predicate.Funcs
- func ControlGroupKind() schema.GroupKind
- func DSStatusChange(appGroupKind schema.GroupKind) predicate.Funcs
- func DeploymentGroupKind() schema.GroupKind
- func DeploymentStatusChange(appGroupKind schema.GroupKind) predicate.Funcs
- func GetGroupKindFromObject(object runtime.Object) schema.GroupKind
- func GetObjectAndGroupKindFromRequest(request *reconcile.Request, client client.Client) (runtime.Object, *schema.GroupKind, error)
- func KubemanagerGroupKind() schema.GroupKind
- func ManagerGroupKind() schema.GroupKind
- func ManagerSizeChange(appGroupKind schema.GroupKind) predicate.Funcs
- func MergeCommonConfiguration(manager v1alpha1.CommonConfiguration, instance v1alpha1.CommonConfiguration) v1alpha1.CommonConfiguration
- func PodIPChange(appLabel map[string]string) predicate.Funcs
- func PodInitRunning(appLabel map[string]string) predicate.Funcs
- func PodInitStatusChange(appLabel map[string]string) predicate.Funcs
- func PodStatusChange(appGroupKind schema.GroupKind) predicate.Funcs
- func RabbitmqActiveChange() predicate.Funcs
- func RabbitmqGroupKind() schema.GroupKind
- func RemoveIndex(s []corev1.Container, index int) []corev1.Container
- func ReplicaSetGroupKind() schema.GroupKind
- func STSStatusChange(appGroupKind schema.GroupKind) predicate.Funcs
- func VrouterActiveChange() predicate.Funcs
- func VrouterGroupKind() schema.GroupKind
- func WebuiGroupKind() schema.GroupKind
- func ZookeeperActiveChange() predicate.Funcs
- func ZookeeperGroupKind() schema.GroupKind
Constants ¶
const ( CASSANDRA = "Cassandra.contrail.juniper.net" ZOOKEEPER = "Zookeeper.contrail.juniper.net" RABBITMQ = "Rabbitmq.contrail.juniper.net" CONFIG = "Config.contrail.juniper.net" CONTROL = "Control.contrail.juniper.net" WEBUI = "Webui.contrail.juniper.net" VROUTER = "Vrouter.contrail.juniper.net" KUBEMANAGER = "Kubemanager.contrail.juniper.net" MANAGER = "Manager.contrail.juniper.net" REPLICASET = "ReplicaSet.apps" DEPLOYMENT = "Deployment.apps" )
const defines the Group constants.
Variables ¶
This section is empty.
Functions ¶
func CassandraActiveChange ¶
CassandraActiveChange returns predicate function based on group kind.
func CassandraGroupKind ¶
CassandraGroupKind returns group kind.
func ConfigActiveChange ¶
ConfigActiveChange returns predicate function based on group kind.
func ControlActiveChange ¶
ControlActiveChange returns predicate function based on group kind.
func ControlGroupKind ¶
ControlGroupKind returns group kind.
func DSStatusChange ¶
DSStatusChange monitors per application size change.
func DeploymentGroupKind ¶
DeploymentGroupKind returns group kind.
func DeploymentStatusChange ¶
DeploymentStatusChange monitors per application size change.
func GetGroupKindFromObject ¶
GetGroupKindFromObject return GK.
func GetObjectAndGroupKindFromRequest ¶
func GetObjectAndGroupKindFromRequest(request *reconcile.Request, client client.Client) (runtime.Object, *schema.GroupKind, error)
GetObjectAndGroupKindFromRequest returns Object and Kind.
func KubemanagerGroupKind ¶
KubemanagerGroupKind returns group kind.
func ManagerGroupKind ¶
ManagerGroupKind returns group kind.
func ManagerSizeChange ¶
ManagerSizeChange monitors per application size change.
func MergeCommonConfiguration ¶
func MergeCommonConfiguration(manager v1alpha1.CommonConfiguration, instance v1alpha1.CommonConfiguration) v1alpha1.CommonConfiguration
MergeCommonConfiguration combines common configuration of manager and service.
func PodIPChange ¶
PodIPChange returns predicate function based on group kind.
func PodInitRunning ¶
PodInitRunning returns predicate function based on group kind.
func PodInitStatusChange ¶
PodInitStatusChange returns predicate function based on group kind.
func PodStatusChange ¶
PodStatusChange monitors per application size change.
func RabbitmqActiveChange ¶
RabbitmqActiveChange returns predicate function based on group kind.
func RabbitmqGroupKind ¶
RabbitmqGroupKind returns group kind.
func ReplicaSetGroupKind ¶
ReplicaSetGroupKind returns group kind.
func STSStatusChange ¶
STSStatusChange monitors per application size change.
func VrouterActiveChange ¶
VrouterActiveChange returns predicate function based on group kind.
func VrouterGroupKind ¶
VrouterGroupKind returns group kind.
func ZookeeperActiveChange ¶
ZookeeperActiveChange returns predicate function based on group kind.
func ZookeeperGroupKind ¶
ZookeeperGroupKind returns group kind.
Types ¶
This section is empty.