verrazzano

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: UPL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetV1Alpha1

func GetV1Alpha1(ctx context.Context, client client.Client, name types.NamespacedName) (*v1alpha1.Verrazzano, error)

GetV1Alpha1 returns a v1alpha1 Verrazzano struct. This function internally uses v1beta1 Verrazzano to ask Kubernetes API server for the VZ resource.

func ListV1Alpha1

func ListV1Alpha1(ctx context.Context, client client.Client) (*v1alpha1.VerrazzanoList, error)

ListV1Alpha1 returns a v1alpha1 VerrazzanoList. This function internally uses v1beta1 Verrazzano to talk to the K8s API server.

func UpdateV1Alpha1

func UpdateV1Alpha1(ctx context.Context, client client.Client, vzV1Alpha1 *v1alpha1.Verrazzano, updateOpts ...client.UpdateOption) error

UpdateV1Alpha1 takes in a v1alpha1 Verrazzano struct and sends an update request to the K8s API server for that resource. This function internally converts the Verrazzano to v1beta1 before sending the update request.

func UpdateV1Alpha1Status

func UpdateV1Alpha1Status(ctx context.Context, statusWriter client.StatusWriter, vzV1Alpha1 *v1alpha1.Verrazzano) error

UpdateV1Alpha1Status takes in a v1alpha1 Verrazzano struct and sends an update request to the K8s API server for that resource's status. This function internally converts the Verrazzano to v1beta1 before sending the update request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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