Documentation ¶
Index ¶
- func CreateCertificatePEM() []byte
- func EventuallyShouldHold(condition func(g Gomega))
- func NewCachedClient(cfg *rest.Config) (client.Client, context.CancelFunc)
- func NewK8sManager(testEnv *envtest.Environment, managerRolePath string) manager.Manager
- func SetupTestEnvUser(testEnv *envtest.Environment, roleDefinitionPath string) *rest.Config
- func StartK8sManager(k8sManager manager.Manager) context.CancelFunc
- type SyncClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertificatePEM ¶
func CreateCertificatePEM() []byte
func EventuallyShouldHold ¶ added in v0.8.0
func EventuallyShouldHold(condition func(g Gomega))
func NewCachedClient ¶ added in v0.8.0
func NewK8sManager ¶ added in v0.8.0
func NewK8sManager(testEnv *envtest.Environment, managerRolePath string) manager.Manager
func SetupTestEnvUser ¶ added in v0.8.0
func SetupTestEnvUser(testEnv *envtest.Environment, roleDefinitionPath string) *rest.Config
func StartK8sManager ¶ added in v0.8.0
func StartK8sManager(k8sManager manager.Manager) context.CancelFunc
Types ¶
type SyncClient ¶ added in v0.8.0
func NewSyncClient ¶ added in v0.8.0
func NewSyncClient(k8sClient client.Client) *SyncClient
func (*SyncClient) Create ¶ added in v0.8.0
func (c *SyncClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
func (*SyncClient) Patch ¶ added in v0.8.0
func (c *SyncClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, _ ...client.PatchOption) error
func (*SyncClient) Status ¶ added in v0.8.0
func (c *SyncClient) Status() client.SubResourceWriter
Click to show internal directories.
Click to hide internal directories.