// UpdateStatus was generated because the type contains a Status member.
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus was generated because the type contains a Status member.
Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
// UpdateStatus was generated because the type contains a Status member . // Add a + genclient : noStatus comment above the type to avoid generating UpdateStatus () .
func (c *networkMonitors) UpdateStatus(networkMonitor *v1alpha1.NetworkMonitor) (result *v1alpha1.NetworkMonitor, err error) {
	result = &v1alpha1.NetworkMonitor{}
	err = c.client.Put().
		Resource("networkmonitors").
		Name(networkMonitor.Name).
		SubResource("status").
		Body(networkMonitor).
		Do().
		Into(result)
	return
}
func ( c * networkMonitors ) UpdateStatus ( networkMonitor * v1alpha1 . NetworkMonitor ) ( result * v1alpha1 . NetworkMonitor , err error ) { result = & v1alpha1 . NetworkMonitor { } err = c . client . Put ( ) . Resource ( " " ) . Name ( networkMonitor . Name ) . SubResource ( " " ) . Body ( networkMonitor ) . Do ( ) . Into ( result ) return }
UpdateStatus was generated because the type contains a Status member.
UpdateStatus was generated because the type contains a Status member .