client

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMOCR

type VMOCR interface {
	// Create creates a vmo CR with the desired CR.
	Create(ctx context.Context, cl *vmcontrollerv1.VerrazzanoMonitoringInstance) (*vmcontrollerv1.VerrazzanoMonitoringInstance, error)

	// Get returns the specified vmo CR.
	Get(ctx context.Context, namespace, name string) (*vmcontrollerv1.VerrazzanoMonitoringInstance, error)

	// Delete deletes the specified vmo CR.
	Delete(ctx context.Context, namespace, name string) error

	// Update updates the vmo CR.
	Update(ctx context.Context, vmo *vmcontrollerv1.VerrazzanoMonitoringInstance) (*vmcontrollerv1.VerrazzanoMonitoringInstance, error)
}

VMOCR provides a client interface for vmo CRs.

func NewCRClient

func NewCRClient(cfg *rest.Config) (VMOCR, error)

NewCRClient creates a new vmo CR client.

Jump to

Keyboard shortcuts

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