Documentation ¶
Index ¶
- type Client
- func (c *Client) DeleteChannel(channel v1alpha1.NotificationChannel) error
- func (c *Client) GetChannel(name types.NamespacedName) (v1alpha1.NotificationChannel, error)
- func (c *Client) GetChannels() (v1alpha1.NotificationChannelList, error)
- func (c *Client) GetPolicies(channel v1alpha1.NotificationChannel) (v1alpha1.AlertPolicyList, error)
- func (c *Client) SetFinalizer(channel v1alpha1.NotificationChannel) error
- func (c *Client) UpdateChannelStatus(channel v1alpha1.NotificationChannel) error
- type StatusChangedPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteChannel ¶
func (c *Client) DeleteChannel(channel v1alpha1.NotificationChannel) error
func (*Client) GetChannel ¶
func (c *Client) GetChannel(name types.NamespacedName) (v1alpha1.NotificationChannel, error)
func (*Client) GetChannels ¶
func (c *Client) GetChannels() (v1alpha1.NotificationChannelList, error)
func (*Client) GetPolicies ¶
func (c *Client) GetPolicies(channel v1alpha1.NotificationChannel) (v1alpha1.AlertPolicyList, error)
func (*Client) SetFinalizer ¶
func (c *Client) SetFinalizer(channel v1alpha1.NotificationChannel) error
func (*Client) UpdateChannelStatus ¶
func (c *Client) UpdateChannelStatus(channel v1alpha1.NotificationChannel) error
type StatusChangedPredicate ¶
func (StatusChangedPredicate) Create ¶
func (p StatusChangedPredicate) Create(e event.CreateEvent) bool
Create will prevent reconciliation when an alert policy is created
func (StatusChangedPredicate) Update ¶
func (p StatusChangedPredicate) Update(e event.UpdateEvent) bool
Update will trigger a reconciliation loop when the NewrelicPolicyId is updated in the object status
Click to show internal directories.
Click to hide internal directories.