Documentation ¶
Overview ¶
Package event regroups all the definitions and functions to receive events from a cluster
Code generated by go generate; DO NOT EDIT.
This file was generated by gen_event_cluster.go at 2019-06-17 12:12:05.585980266 +0300 EEST m=+0.001063304
Package event regroups all the definitions and functions to receive events from a cluster ¶
Code generated by go generate; DO NOT EDIT.
This file was generated by gen_event_definition.go at 2019-06-17 12:12:05.353683112 +0300 EEST m=+0.002937813
Package event regroups all the definitions and functions to receive events from a cluster ¶
Code generated by go generate; DO NOT EDIT.
This file was generated by gen_event_namespace.go at 2019-06-17 12:12:05.819183589 +0300 EEST m=+0.001086680
Index ¶
- func AddClusterRoleBindingEventClient(contextName string, client chan ClusterRoleBindingEvent) error
- func AddClusterRoleEventClient(contextName string, client chan ClusterRoleEvent) error
- func AddConfigMapEventClient(contextName string, namespace string, client chan ConfigMapEvent) error
- func AddCronJobEventClient(contextName string, namespace string, client chan CronJobEvent) error
- func AddDaemonSetEventClient(contextName string, namespace string, client chan DaemonSetEvent) error
- func AddDeploymentEventClient(contextName string, namespace string, client chan DeploymentEvent) error
- func AddJobEventClient(contextName string, namespace string, client chan JobEvent) error
- func AddNamespaceEventClient(contextName string, client chan NamespaceEvent) error
- func AddNetworkPolicyEventClient(contextName string, namespace string, client chan NetworkPolicyEvent) error
- func AddNodeEventClient(contextName string, client chan NodeEvent) error
- func AddNodeMetricsEventClient(contextName string, client chan NodeMetricsEvent) error
- func AddPersistentVolumeClaimEventClient(contextName string, namespace string, client chan PersistentVolumeClaimEvent) error
- func AddPersistentVolumeEventClient(contextName string, client chan PersistentVolumeEvent) error
- func AddPodEventClient(contextName string, namespace string, client chan PodEvent) error
- func AddPodMetricsEventClient(contextName string, namespace string, client chan PodMetricsEvent) error
- func AddReplicaSetEventClient(contextName string, namespace string, client chan ReplicaSetEvent) error
- func AddReplicationControllerEventClient(contextName string, namespace string, client chan ReplicationControllerEvent) error
- func AddRoleBindingEventClient(contextName string, namespace string, client chan RoleBindingEvent) error
- func AddRoleEventClient(contextName string, namespace string, client chan RoleEvent) error
- func AddSecretEventClient(contextName string, namespace string, client chan SecretEvent) error
- func AddServiceAccountEventClient(contextName string, namespace string, client chan ServiceAccountEvent) error
- func AddServiceEventClient(contextName string, namespace string, client chan ServiceEvent) error
- func AddStatefulSetEventClient(contextName string, namespace string, client chan StatefulSetEvent) error
- func AddStorageClassEventClient(contextName string, client chan StorageClassEvent) error
- func GetClusterRoleBindings(contextName string) []rbacv1.ClusterRoleBinding
- func GetClusterRoles(contextName string) []rbacv1.ClusterRole
- func GetConfigMaps(contextName string, namespace string) []corev1.ConfigMap
- func GetCronJobs(contextName string, namespace string) []batchv1beta1.CronJob
- func GetDaemonSets(contextName string, namespace string) []appsv1.DaemonSet
- func GetDeployments(contextName string, namespace string) []appsv1.Deployment
- func GetJobs(contextName string, namespace string) []batchv1.Job
- func GetNamespaces(contextName string) []corev1.Namespace
- func GetNetworkPolicies(contextName string, namespace string) []networkingv1.NetworkPolicy
- func GetNodeMetricses(contextName string) []metricsv1beta1.NodeMetrics
- func GetNodes(contextName string) []corev1.Node
- func GetPersistentVolumeClaims(contextName string, namespace string) []corev1.PersistentVolumeClaim
- func GetPersistentVolumes(contextName string) []corev1.PersistentVolume
- func GetPodMetricses(contextName string, namespace string) []metricsv1beta1.PodMetrics
- func GetPods(contextName string, namespace string) []corev1.Pod
- func GetReplicaSets(contextName string, namespace string) []appsv1.ReplicaSet
- func GetReplicationControllers(contextName string, namespace string) []corev1.ReplicationController
- func GetRoleBindings(contextName string, namespace string) []rbacv1.RoleBinding
- func GetRoles(contextName string, namespace string) []rbacv1.Role
- func GetSecrets(contextName string, namespace string) []corev1.Secret
- func GetServiceAccounts(contextName string, namespace string) []corev1.ServiceAccount
- func GetServices(contextName string, namespace string) []corev1.Service
- func GetStatefulSets(contextName string, namespace string) []appsv1.StatefulSet
- func GetStorageClasses(contextName string) []storagev1.StorageClass
- func RemoveClusterRoleBindingEventClient(contextName string, client chan ClusterRoleBindingEvent)
- func RemoveClusterRoleEventClient(contextName string, client chan ClusterRoleEvent)
- func RemoveConfigMapEventClient(contextName string, namespace string, client chan ConfigMapEvent)
- func RemoveCronJobEventClient(contextName string, namespace string, client chan CronJobEvent)
- func RemoveDaemonSetEventClient(contextName string, namespace string, client chan DaemonSetEvent)
- func RemoveDeploymentEventClient(contextName string, namespace string, client chan DeploymentEvent)
- func RemoveJobEventClient(contextName string, namespace string, client chan JobEvent)
- func RemoveNamespaceEventClient(contextName string, client chan NamespaceEvent)
- func RemoveNetworkPolicyEventClient(contextName string, namespace string, client chan NetworkPolicyEvent)
- func RemoveNodeEventClient(contextName string, client chan NodeEvent)
- func RemoveNodeMetricsEventClient(contextName string, client chan NodeMetricsEvent)
- func RemovePersistentVolumeClaimEventClient(contextName string, namespace string, client chan PersistentVolumeClaimEvent)
- func RemovePersistentVolumeEventClient(contextName string, client chan PersistentVolumeEvent)
- func RemovePodEventClient(contextName string, namespace string, client chan PodEvent)
- func RemovePodMetricsEventClient(contextName string, namespace string, client chan PodMetricsEvent)
- func RemoveReplicaSetEventClient(contextName string, namespace string, client chan ReplicaSetEvent)
- func RemoveReplicationControllerEventClient(contextName string, namespace string, client chan ReplicationControllerEvent)
- func RemoveRoleBindingEventClient(contextName string, namespace string, client chan RoleBindingEvent)
- func RemoveRoleEventClient(contextName string, namespace string, client chan RoleEvent)
- func RemoveSecretEventClient(contextName string, namespace string, client chan SecretEvent)
- func RemoveServiceAccountEventClient(contextName string, namespace string, client chan ServiceAccountEvent)
- func RemoveServiceEventClient(contextName string, namespace string, client chan ServiceEvent)
- func RemoveStatefulSetEventClient(contextName string, namespace string, client chan StatefulSetEvent)
- func RemoveStorageClassEventClient(contextName string, client chan StorageClassEvent)
- type ClusterRoleBindingEvent
- type ClusterRoleEvent
- type ConfigMapEvent
- type CronJobEvent
- type DaemonSetEvent
- type DeploymentEvent
- type JobEvent
- type NamespaceEvent
- type NetworkPolicyEvent
- type NodeEvent
- type NodeMetricsEvent
- type PersistentVolumeClaimEvent
- type PersistentVolumeEvent
- type PodEvent
- type PodMetricsEvent
- type ReplicaSetEvent
- type ReplicationControllerEvent
- type RoleBindingEvent
- type RoleEvent
- type SecretEvent
- type ServiceAccountEvent
- type ServiceEvent
- type StatefulSetEvent
- type StorageClassEvent
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddClusterRoleBindingEventClient ¶
func AddClusterRoleBindingEventClient(contextName string, client chan ClusterRoleBindingEvent) error
AddClusterRoleBindingEventClient adds a new client that will received events
func AddClusterRoleEventClient ¶
func AddClusterRoleEventClient(contextName string, client chan ClusterRoleEvent) error
AddClusterRoleEventClient adds a new client that will received events
func AddConfigMapEventClient ¶
func AddConfigMapEventClient(contextName string, namespace string, client chan ConfigMapEvent) error
AddConfigMapEventClient adds a new client that will received events
func AddCronJobEventClient ¶
func AddCronJobEventClient(contextName string, namespace string, client chan CronJobEvent) error
AddCronJobEventClient adds a new client that will received events
func AddDaemonSetEventClient ¶
func AddDaemonSetEventClient(contextName string, namespace string, client chan DaemonSetEvent) error
AddDaemonSetEventClient adds a new client that will received events
func AddDeploymentEventClient ¶
func AddDeploymentEventClient(contextName string, namespace string, client chan DeploymentEvent) error
AddDeploymentEventClient adds a new client that will received events
func AddJobEventClient ¶
AddJobEventClient adds a new client that will received events
func AddNamespaceEventClient ¶
func AddNamespaceEventClient(contextName string, client chan NamespaceEvent) error
AddNamespaceEventClient adds a new client that will received events
func AddNetworkPolicyEventClient ¶
func AddNetworkPolicyEventClient(contextName string, namespace string, client chan NetworkPolicyEvent) error
AddNetworkPolicyEventClient adds a new client that will received events
func AddNodeEventClient ¶
AddNodeEventClient adds a new client that will received events
func AddNodeMetricsEventClient ¶
func AddNodeMetricsEventClient(contextName string, client chan NodeMetricsEvent) error
AddNodeMetricsEventClient adds a new client that will received events
func AddPersistentVolumeClaimEventClient ¶
func AddPersistentVolumeClaimEventClient(contextName string, namespace string, client chan PersistentVolumeClaimEvent) error
AddPersistentVolumeClaimEventClient adds a new client that will received events
func AddPersistentVolumeEventClient ¶
func AddPersistentVolumeEventClient(contextName string, client chan PersistentVolumeEvent) error
AddPersistentVolumeEventClient adds a new client that will received events
func AddPodEventClient ¶
AddPodEventClient adds a new client that will received events
func AddPodMetricsEventClient ¶
func AddPodMetricsEventClient(contextName string, namespace string, client chan PodMetricsEvent) error
AddPodMetricsEventClient adds a new client that will received events
func AddReplicaSetEventClient ¶
func AddReplicaSetEventClient(contextName string, namespace string, client chan ReplicaSetEvent) error
AddReplicaSetEventClient adds a new client that will received events
func AddReplicationControllerEventClient ¶
func AddReplicationControllerEventClient(contextName string, namespace string, client chan ReplicationControllerEvent) error
AddReplicationControllerEventClient adds a new client that will received events
func AddRoleBindingEventClient ¶
func AddRoleBindingEventClient(contextName string, namespace string, client chan RoleBindingEvent) error
AddRoleBindingEventClient adds a new client that will received events
func AddRoleEventClient ¶
AddRoleEventClient adds a new client that will received events
func AddSecretEventClient ¶
func AddSecretEventClient(contextName string, namespace string, client chan SecretEvent) error
AddSecretEventClient adds a new client that will received events
func AddServiceAccountEventClient ¶
func AddServiceAccountEventClient(contextName string, namespace string, client chan ServiceAccountEvent) error
AddServiceAccountEventClient adds a new client that will received events
func AddServiceEventClient ¶
func AddServiceEventClient(contextName string, namespace string, client chan ServiceEvent) error
AddServiceEventClient adds a new client that will received events
func AddStatefulSetEventClient ¶
func AddStatefulSetEventClient(contextName string, namespace string, client chan StatefulSetEvent) error
AddStatefulSetEventClient adds a new client that will received events
func AddStorageClassEventClient ¶
func AddStorageClassEventClient(contextName string, client chan StorageClassEvent) error
AddStorageClassEventClient adds a new client that will received events
func GetClusterRoleBindings ¶
func GetClusterRoleBindings(contextName string) []rbacv1.ClusterRoleBinding
GetClusterRoleBindings returns the list of all ClusterRoleBindings known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetClusterRoles ¶
func GetClusterRoles(contextName string) []rbacv1.ClusterRole
GetClusterRoles returns the list of all ClusterRoles known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetConfigMaps ¶
GetConfigMaps returns the list of all ConfigMaps known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetCronJobs ¶
func GetCronJobs(contextName string, namespace string) []batchv1beta1.CronJob
GetCronJobs returns the list of all CronJobs known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetDaemonSets ¶
GetDaemonSets returns the list of all DaemonSets known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetDeployments ¶
func GetDeployments(contextName string, namespace string) []appsv1.Deployment
GetDeployments returns the list of all Deployments known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetJobs ¶
GetJobs returns the list of all Jobs known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetNamespaces ¶
GetNamespaces returns the list of all Namespaces known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetNetworkPolicies ¶
func GetNetworkPolicies(contextName string, namespace string) []networkingv1.NetworkPolicy
GetNetworkPolicies returns the list of all NetworkPolicies known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetNodeMetricses ¶
func GetNodeMetricses(contextName string) []metricsv1beta1.NodeMetrics
GetNodeMetricses returns the list of all NodeMetricses known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetNodes ¶
GetNodes returns the list of all Nodes known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetPersistentVolumeClaims ¶
func GetPersistentVolumeClaims(contextName string, namespace string) []corev1.PersistentVolumeClaim
GetPersistentVolumeClaims returns the list of all PersistentVolumeClaims known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetPersistentVolumes ¶
func GetPersistentVolumes(contextName string) []corev1.PersistentVolume
GetPersistentVolumes returns the list of all PersistentVolumes known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetPodMetricses ¶
func GetPodMetricses(contextName string, namespace string) []metricsv1beta1.PodMetrics
GetPodMetricses returns the list of all PodMetricses known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetPods ¶
GetPods returns the list of all Pods known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetReplicaSets ¶
func GetReplicaSets(contextName string, namespace string) []appsv1.ReplicaSet
GetReplicaSets returns the list of all ReplicaSets known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetReplicationControllers ¶
func GetReplicationControllers(contextName string, namespace string) []corev1.ReplicationController
GetReplicationControllers returns the list of all ReplicationControllers known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetRoleBindings ¶
func GetRoleBindings(contextName string, namespace string) []rbacv1.RoleBinding
GetRoleBindings returns the list of all RoleBindings known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetRoles ¶
GetRoles returns the list of all Roles known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetSecrets ¶
GetSecrets returns the list of all Secrets known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetServiceAccounts ¶
func GetServiceAccounts(contextName string, namespace string) []corev1.ServiceAccount
GetServiceAccounts returns the list of all ServiceAccounts known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetServices ¶
GetServices returns the list of all Services known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetStatefulSets ¶
func GetStatefulSets(contextName string, namespace string) []appsv1.StatefulSet
GetStatefulSets returns the list of all StatefulSets known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func GetStorageClasses ¶
func GetStorageClasses(contextName string) []storagev1.StorageClass
GetStorageClasses returns the list of all StorageClasses known by the EventReceiver. The returned list is a copy and could be freely modified bt the caller
func RemoveClusterRoleBindingEventClient ¶
func RemoveClusterRoleBindingEventClient(contextName string, client chan ClusterRoleBindingEvent)
RemoveClusterRoleBindingEventClient removes a client from receiving events
func RemoveClusterRoleEventClient ¶
func RemoveClusterRoleEventClient(contextName string, client chan ClusterRoleEvent)
RemoveClusterRoleEventClient removes a client from receiving events
func RemoveConfigMapEventClient ¶
func RemoveConfigMapEventClient(contextName string, namespace string, client chan ConfigMapEvent)
RemoveConfigMapEventClient removes a client from receiving events
func RemoveCronJobEventClient ¶
func RemoveCronJobEventClient(contextName string, namespace string, client chan CronJobEvent)
RemoveCronJobEventClient removes a client from receiving events
func RemoveDaemonSetEventClient ¶
func RemoveDaemonSetEventClient(contextName string, namespace string, client chan DaemonSetEvent)
RemoveDaemonSetEventClient removes a client from receiving events
func RemoveDeploymentEventClient ¶
func RemoveDeploymentEventClient(contextName string, namespace string, client chan DeploymentEvent)
RemoveDeploymentEventClient removes a client from receiving events
func RemoveJobEventClient ¶
RemoveJobEventClient removes a client from receiving events
func RemoveNamespaceEventClient ¶
func RemoveNamespaceEventClient(contextName string, client chan NamespaceEvent)
RemoveNamespaceEventClient removes a client from receiving events
func RemoveNetworkPolicyEventClient ¶
func RemoveNetworkPolicyEventClient(contextName string, namespace string, client chan NetworkPolicyEvent)
RemoveNetworkPolicyEventClient removes a client from receiving events
func RemoveNodeEventClient ¶
RemoveNodeEventClient removes a client from receiving events
func RemoveNodeMetricsEventClient ¶
func RemoveNodeMetricsEventClient(contextName string, client chan NodeMetricsEvent)
RemoveNodeMetricsEventClient removes a client from receiving events
func RemovePersistentVolumeClaimEventClient ¶
func RemovePersistentVolumeClaimEventClient(contextName string, namespace string, client chan PersistentVolumeClaimEvent)
RemovePersistentVolumeClaimEventClient removes a client from receiving events
func RemovePersistentVolumeEventClient ¶
func RemovePersistentVolumeEventClient(contextName string, client chan PersistentVolumeEvent)
RemovePersistentVolumeEventClient removes a client from receiving events
func RemovePodEventClient ¶
RemovePodEventClient removes a client from receiving events
func RemovePodMetricsEventClient ¶
func RemovePodMetricsEventClient(contextName string, namespace string, client chan PodMetricsEvent)
RemovePodMetricsEventClient removes a client from receiving events
func RemoveReplicaSetEventClient ¶
func RemoveReplicaSetEventClient(contextName string, namespace string, client chan ReplicaSetEvent)
RemoveReplicaSetEventClient removes a client from receiving events
func RemoveReplicationControllerEventClient ¶
func RemoveReplicationControllerEventClient(contextName string, namespace string, client chan ReplicationControllerEvent)
RemoveReplicationControllerEventClient removes a client from receiving events
func RemoveRoleBindingEventClient ¶
func RemoveRoleBindingEventClient(contextName string, namespace string, client chan RoleBindingEvent)
RemoveRoleBindingEventClient removes a client from receiving events
func RemoveRoleEventClient ¶
RemoveRoleEventClient removes a client from receiving events
func RemoveSecretEventClient ¶
func RemoveSecretEventClient(contextName string, namespace string, client chan SecretEvent)
RemoveSecretEventClient removes a client from receiving events
func RemoveServiceAccountEventClient ¶
func RemoveServiceAccountEventClient(contextName string, namespace string, client chan ServiceAccountEvent)
RemoveServiceAccountEventClient removes a client from receiving events
func RemoveServiceEventClient ¶
func RemoveServiceEventClient(contextName string, namespace string, client chan ServiceEvent)
RemoveServiceEventClient removes a client from receiving events
func RemoveStatefulSetEventClient ¶
func RemoveStatefulSetEventClient(contextName string, namespace string, client chan StatefulSetEvent)
RemoveStatefulSetEventClient removes a client from receiving events
func RemoveStorageClassEventClient ¶
func RemoveStorageClassEventClient(contextName string, client chan StorageClassEvent)
RemoveStorageClassEventClient removes a client from receiving events
Types ¶
type ClusterRoleBindingEvent ¶
type ClusterRoleBindingEvent struct { EventType Type ClusterRoleBinding rbacv1.ClusterRoleBinding }
ClusterRoleBindingEvent is the event sent by the receiver to its clients
type ClusterRoleEvent ¶
type ClusterRoleEvent struct { EventType Type ClusterRole rbacv1.ClusterRole }
ClusterRoleEvent is the event sent by the receiver to its clients
type ConfigMapEvent ¶
ConfigMapEvent is the event sent by the receiver to its clients
type CronJobEvent ¶
type CronJobEvent struct { EventType Type CronJob batchv1beta1.CronJob }
CronJobEvent is the event sent by the receiver to its clients
type DaemonSetEvent ¶
DaemonSetEvent is the event sent by the receiver to its clients
type DeploymentEvent ¶
type DeploymentEvent struct { EventType Type Deployment appsv1.Deployment }
DeploymentEvent is the event sent by the receiver to its clients
type NamespaceEvent ¶
NamespaceEvent is the event sent by the receiver to its clients
type NetworkPolicyEvent ¶
type NetworkPolicyEvent struct { EventType Type NetworkPolicy networkingv1.NetworkPolicy }
NetworkPolicyEvent is the event sent by the receiver to its clients
type NodeMetricsEvent ¶
type NodeMetricsEvent struct { EventType Type NodeMetrics metricsv1beta1.NodeMetrics }
NodeMetricsEvent is the event sent by the receiver to its clients
type PersistentVolumeClaimEvent ¶
type PersistentVolumeClaimEvent struct { EventType Type PersistentVolumeClaim corev1.PersistentVolumeClaim }
PersistentVolumeClaimEvent is the event sent by the receiver to its clients
type PersistentVolumeEvent ¶
type PersistentVolumeEvent struct { EventType Type PersistentVolume corev1.PersistentVolume }
PersistentVolumeEvent is the event sent by the receiver to its clients
type PodMetricsEvent ¶
type PodMetricsEvent struct { EventType Type PodMetrics metricsv1beta1.PodMetrics }
PodMetricsEvent is the event sent by the receiver to its clients
type ReplicaSetEvent ¶
type ReplicaSetEvent struct { EventType Type ReplicaSet appsv1.ReplicaSet }
ReplicaSetEvent is the event sent by the receiver to its clients
type ReplicationControllerEvent ¶
type ReplicationControllerEvent struct { EventType Type ReplicationController corev1.ReplicationController }
ReplicationControllerEvent is the event sent by the receiver to its clients
type RoleBindingEvent ¶
type RoleBindingEvent struct { EventType Type RoleBinding rbacv1.RoleBinding }
RoleBindingEvent is the event sent by the receiver to its clients
type SecretEvent ¶
SecretEvent is the event sent by the receiver to its clients
type ServiceAccountEvent ¶
type ServiceAccountEvent struct { EventType Type ServiceAccount corev1.ServiceAccount }
ServiceAccountEvent is the event sent by the receiver to its clients
type ServiceEvent ¶
ServiceEvent is the event sent by the receiver to its clients
type StatefulSetEvent ¶
type StatefulSetEvent struct { EventType Type StatefulSet appsv1.StatefulSet }
StatefulSetEvent is the event sent by the receiver to its clients
type StorageClassEvent ¶
type StorageClassEvent struct { EventType Type StorageClass storagev1.StorageClass }
StorageClassEvent is the event sent by the receiver to its clients