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