Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakePGOClient ¶
NewFakePGOClient creates a fake PostgreSQL Operator client. Specifically, it creates a fake client containing a 'pgo-config' ConfigMap as needed to initialize the Operator (i.e. call the 'operator' packages 'Initialize()' function). This allows for the proper initialization of the Operator in various unit tests where the various resources loaded during intialization (e.g. templates, config and/or global variables) are required.
Types ¶
type Clientset ¶
type Clientset struct { *fakekubernetes.Clientset PGOClientset *fakecrunchydata.Clientset }
func (*Clientset) CrunchydataV1 ¶
func (c *Clientset) CrunchydataV1() crunchydatav1.CrunchydataV1Interface
CrunchydataV1 retrieves the CrunchydataV1Client
Click to show internal directories.
Click to hide internal directories.