Documentation
¶
Index ¶
- func GetV1Alpha1(ctx context.Context, client client.Client, name types.NamespacedName) (*v1alpha1.Verrazzano, error)
- func ListV1Alpha1(ctx context.Context, client client.Client) (*v1alpha1.VerrazzanoList, error)
- func UpdateV1Alpha1(ctx context.Context, client client.Client, vzV1Alpha1 *v1alpha1.Verrazzano, ...) error
- func UpdateV1Alpha1Status(ctx context.Context, statusWriter client.StatusWriter, ...) error
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 ¶
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.