k8s

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(logr logr.Logger, client client_go.Client) *Client

func (*Client) DeletePolicy

func (c *Client) DeletePolicy(policy v1alpha1.AlertPolicy) error

func (*Client) GetPolicy

func (c *Client) GetPolicy(name types.NamespacedName) (*v1alpha1.AlertPolicy, error)

func (*Client) SetFinalizer

func (c *Client) SetFinalizer(policy v1alpha1.AlertPolicy) error

func (*Client) UpdatePolicyStatus

func (c *Client) UpdatePolicyStatus(policy *v1alpha1.AlertPolicy) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL