Documentation ¶
Index ¶
- func GenerateSubnetwork(name string, in v1beta1.SubnetworkParameters, subnet *compute.Subnetwork)
- func GenerateSubnetworkForUpdate(s v1beta1.Subnetwork, name string) *compute.Subnetwork
- func GenerateSubnetworkObservation(in compute.Subnetwork) v1beta1.SubnetworkObservation
- func IsUpToDate(name string, in *v1beta1.SubnetworkParameters, observed *compute.Subnetwork) (upToDate bool, privateAccess bool, err error)
- func LateInitializeSpec(spec *v1beta1.SubnetworkParameters, in compute.Subnetwork)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSubnetwork ¶
func GenerateSubnetwork(name string, in v1beta1.SubnetworkParameters, subnet *compute.Subnetwork)
GenerateSubnetwork populates the supplied compute.Subnetwork with the supplied SubnetworkParameters.
func GenerateSubnetworkForUpdate ¶
func GenerateSubnetworkForUpdate(s v1beta1.Subnetwork, name string) *compute.Subnetwork
GenerateSubnetworkForUpdate creates a *googlecompute.Subnetwork object using SubnetworkParameters with fields disallowed by the GCP API removed. If a field can be included in the GCP API but will result in an error if the value is changed, it will still be included here such that users are notified of invalid updates.
func GenerateSubnetworkObservation ¶
func GenerateSubnetworkObservation(in compute.Subnetwork) v1beta1.SubnetworkObservation
GenerateSubnetworkObservation creates a SubnetworkObservation object using *googlecompute.Subnetwork.
func IsUpToDate ¶
func IsUpToDate(name string, in *v1beta1.SubnetworkParameters, observed *compute.Subnetwork) (upToDate bool, privateAccess 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.SubnetworkParameters, in compute.Subnetwork)
LateInitializeSpec fills unassigned fields with the values in compute.Subnetwork object.
Types ¶
This section is empty.