Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FactoryFunc ¶
func FactoryFunc(k8sClient kubernetes.Interface, prov v1alpha1.NamespacedProvider) (provider.Interface, error)
FactoryFunc is the function which will allow us to create clients on the fly which connect to StatusCake.
func Register ¶
func Register(fact provider.FactoryInterface)
Register registers the provider with a certain factory using the FactoryFunc.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around the StatusCake API Client. This wrapper provides a mapping from a Provider interface to the actual StatusCake Client.
func (*Client) Create ¶
func (c *Client) Create(spec v1alpha1.MonitorTemplateSpec) (string, error)
Create translates the MonitorTemplateSpec and creates a new instance with StatusCake.
Click to show internal directories.
Click to hide internal directories.