Documentation ¶
Index ¶
- func GenerateNetwork(name string, in v1beta1.NetworkParameters, network *compute.Network)
- func GenerateNetworkObservation(in compute.Network) v1beta1.NetworkObservation
- func IsUpToDate(name string, in *v1beta1.NetworkParameters, observed *compute.Network) (upTodate bool, switchToCustom bool, err error)
- func LateInitializeSpec(spec *v1beta1.NetworkParameters, in compute.Network)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNetwork ¶
func GenerateNetwork(name string, in v1beta1.NetworkParameters, network *compute.Network)
GenerateNetwork takes a *NetworkParameters and returns *compute.Network. It assigns only the fields that are writable, i.e. not labelled as [Output Only] in Google's reference.
func GenerateNetworkObservation ¶
func GenerateNetworkObservation(in compute.Network) v1beta1.NetworkObservation
GenerateNetworkObservation takes a compute.Network and returns *NetworkObservation.
func IsUpToDate ¶
func IsUpToDate(name string, in *v1beta1.NetworkParameters, observed *compute.Network) (upTodate bool, switchToCustom bool, err error)
IsUpToDate checks whether current state is up-to-date compared to the given set of parameters.
func LateInitializeSpec ¶
func LateInitializeSpec(spec *v1beta1.NetworkParameters, in compute.Network)
LateInitializeSpec fills unassigned fields with the values in compute.Network object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.