compute

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFirewallPolicy

func ApplyFirewallPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyFirewallPolicyAssociation

func ApplyFirewallPolicyAssociation(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyFirewallPolicyRule

func ApplyFirewallPolicyRule(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyForwardingRule

func ApplyForwardingRule(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyInstance

func ApplyInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyInstanceGroupManager

func ApplyInstanceGroupManager(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyInterconnectAttachment

func ApplyInterconnectAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyNetwork

func ApplyNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyPacketMirroring

func ApplyPacketMirroring(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyRoute

func ApplyRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyServiceAttachment

func ApplyServiceAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplySubnetwork

func ApplySubnetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyVpnTunnel

func ApplyVpnTunnel(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func DeleteFirewallPolicy

func DeleteFirewallPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteFirewallPolicyAssociation

func DeleteFirewallPolicyAssociation(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteFirewallPolicyRule

func DeleteFirewallPolicyRule(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteForwardingRule

func DeleteForwardingRule(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteInstance

func DeleteInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteInstanceGroupManager

func DeleteInstanceGroupManager(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteInterconnectAttachment

func DeleteInterconnectAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteNetwork

func DeleteNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeletePacketMirroring

func DeletePacketMirroring(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeletePolicyMemberInstance added in v1.1.0

func DeletePolicyMemberInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error

func DeleteRoute

func DeleteRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteServiceAttachment

func DeleteServiceAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteSubnetwork

func DeleteSubnetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteVpnTunnel

func DeleteVpnTunnel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func FirewallPolicyAssociationHasDiff

func FirewallPolicyAssociationHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func FirewallPolicyAssociationID

func FirewallPolicyAssociationID(u *unstructured.Resource) (string, error)

func FirewallPolicyHasDiff

func FirewallPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func FirewallPolicyID

func FirewallPolicyID(u *unstructured.Resource) (string, error)

func FirewallPolicyRuleHasDiff

func FirewallPolicyRuleHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func FirewallPolicyRuleID

func FirewallPolicyRuleID(u *unstructured.Resource) (string, error)

func FirewallPolicyRuleToUnstructured

func FirewallPolicyRuleToUnstructured(r *dclService.FirewallPolicyRule) *unstructured.Resource

func FirewallPolicyToUnstructured

func FirewallPolicyToUnstructured(r *dclService.FirewallPolicy) *unstructured.Resource

func ForwardingRuleHasDiff

func ForwardingRuleHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func ForwardingRuleID

func ForwardingRuleID(u *unstructured.Resource) (string, error)

func ForwardingRuleToUnstructured

func ForwardingRuleToUnstructured(r *dclService.ForwardingRule) *unstructured.Resource

func GetFirewallPolicy

func GetFirewallPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetFirewallPolicyAssociation

func GetFirewallPolicyAssociation(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetFirewallPolicyRule

func GetFirewallPolicyRule(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetForwardingRule

func GetForwardingRule(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetInstance

func GetInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetInstanceGroupManager

func GetInstanceGroupManager(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetInterconnectAttachment

func GetInterconnectAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetNetwork

func GetNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPacketMirroring

func GetPacketMirroring(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPolicyInstance

func GetPolicyInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPolicyMemberInstance

func GetPolicyMemberInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func GetRoute

func GetRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetServiceAttachment

func GetServiceAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetSubnetwork

func GetSubnetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetVpnTunnel

func GetVpnTunnel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func InstanceGroupManagerHasDiff

func InstanceGroupManagerHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func InstanceGroupManagerID

func InstanceGroupManagerID(u *unstructured.Resource) (string, error)

func InstanceHasDiff

func InstanceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func InstanceID

func InstanceID(u *unstructured.Resource) (string, error)

func InstanceToUnstructured

func InstanceToUnstructured(r *dclService.Instance) *unstructured.Resource

func InterconnectAttachmentHasDiff

func InterconnectAttachmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func InterconnectAttachmentID

func InterconnectAttachmentID(u *unstructured.Resource) (string, error)

func ListFirewallPolicy

func ListFirewallPolicy(ctx context.Context, config *dcl.Config, parent string) ([]*unstructured.Resource, error)

func ListFirewallPolicyAssociation

func ListFirewallPolicyAssociation(ctx context.Context, config *dcl.Config, firewallpolicy string) ([]*unstructured.Resource, error)

func ListFirewallPolicyRule

func ListFirewallPolicyRule(ctx context.Context, config *dcl.Config, firewallpolicy string) ([]*unstructured.Resource, error)

func ListForwardingRule

func ListForwardingRule(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListInstance

func ListInstance(ctx context.Context, config *dcl.Config, project string, zone string) ([]*unstructured.Resource, error)

func ListInstanceGroupManager

func ListInstanceGroupManager(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListInterconnectAttachment

func ListInterconnectAttachment(ctx context.Context, config *dcl.Config, project string, region string) ([]*unstructured.Resource, error)

func ListNetwork

func ListNetwork(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)

func ListPacketMirroring

func ListPacketMirroring(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListRoute

func ListRoute(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)

func ListServiceAttachment

func ListServiceAttachment(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListSubnetwork

func ListSubnetwork(ctx context.Context, config *dcl.Config, project string, region string) ([]*unstructured.Resource, error)

func ListVpnTunnel

func ListVpnTunnel(ctx context.Context, config *dcl.Config, project string, region string) ([]*unstructured.Resource, error)

func NetworkHasDiff

func NetworkHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func NetworkID

func NetworkID(u *unstructured.Resource) (string, error)

func NetworkToUnstructured

func NetworkToUnstructured(r *dclService.Network) *unstructured.Resource

func PacketMirroringHasDiff

func PacketMirroringHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func PacketMirroringID

func PacketMirroringID(u *unstructured.Resource) (string, error)

func PacketMirroringToUnstructured

func PacketMirroringToUnstructured(r *dclService.PacketMirroring) *unstructured.Resource

func RouteHasDiff

func RouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func RouteID

func RouteID(u *unstructured.Resource) (string, error)

func RouteToUnstructured

func RouteToUnstructured(r *dclService.Route) *unstructured.Resource

func ServiceAttachmentHasDiff

func ServiceAttachmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func ServiceAttachmentID

func ServiceAttachmentID(u *unstructured.Resource) (string, error)

func ServiceAttachmentToUnstructured

func ServiceAttachmentToUnstructured(r *dclService.ServiceAttachment) *unstructured.Resource

func SetPolicyWithEtagInstance added in v1.1.0

func SetPolicyWithEtagInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)

func SubnetworkHasDiff

func SubnetworkHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func SubnetworkID

func SubnetworkID(u *unstructured.Resource) (string, error)

func SubnetworkToUnstructured

func SubnetworkToUnstructured(r *dclService.Subnetwork) *unstructured.Resource

func UnstructuredToFirewallPolicy

func UnstructuredToFirewallPolicy(u *unstructured.Resource) (*dclService.FirewallPolicy, error)

func UnstructuredToFirewallPolicyRule

func UnstructuredToFirewallPolicyRule(u *unstructured.Resource) (*dclService.FirewallPolicyRule, error)

func UnstructuredToForwardingRule

func UnstructuredToForwardingRule(u *unstructured.Resource) (*dclService.ForwardingRule, error)

func UnstructuredToInstance

func UnstructuredToInstance(u *unstructured.Resource) (*dclService.Instance, error)

func UnstructuredToInstanceGroupManager

func UnstructuredToInstanceGroupManager(u *unstructured.Resource) (*dclService.InstanceGroupManager, error)

func UnstructuredToNetwork

func UnstructuredToNetwork(u *unstructured.Resource) (*dclService.Network, error)

func UnstructuredToPacketMirroring

func UnstructuredToPacketMirroring(u *unstructured.Resource) (*dclService.PacketMirroring, error)

func UnstructuredToRoute

func UnstructuredToRoute(u *unstructured.Resource) (*dclService.Route, error)

func UnstructuredToServiceAttachment

func UnstructuredToServiceAttachment(u *unstructured.Resource) (*dclService.ServiceAttachment, error)

func UnstructuredToSubnetwork

func UnstructuredToSubnetwork(u *unstructured.Resource) (*dclService.Subnetwork, error)

func UnstructuredToVpnTunnel

func UnstructuredToVpnTunnel(u *unstructured.Resource) (*dclService.VpnTunnel, error)

func VpnTunnelHasDiff

func VpnTunnelHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func VpnTunnelID

func VpnTunnelID(u *unstructured.Resource) (string, error)

func VpnTunnelToUnstructured

func VpnTunnelToUnstructured(r *dclService.VpnTunnel) *unstructured.Resource

Types

type FirewallPolicy

type FirewallPolicy struct{}

func (*FirewallPolicy) Apply

func (r *FirewallPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*FirewallPolicy) Delete

func (r *FirewallPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*FirewallPolicy) DeletePolicyMember added in v1.1.0

func (r *FirewallPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*FirewallPolicy) Get

func (*FirewallPolicy) GetPolicy

func (r *FirewallPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicy) GetPolicyMember

func (r *FirewallPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*FirewallPolicy) HasDiff

func (r *FirewallPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*FirewallPolicy) ID

func (r *FirewallPolicy) ID(resource *unstructured.Resource) (string, error)

func (*FirewallPolicy) STV

func (*FirewallPolicy) SetPolicy

func (r *FirewallPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicy) SetPolicyMember

func (r *FirewallPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicy) SetPolicyWithEtag added in v1.1.0

func (r *FirewallPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type FirewallPolicyAssociation

type FirewallPolicyAssociation struct{}

func (*FirewallPolicyAssociation) Apply

func (*FirewallPolicyAssociation) Delete

func (r *FirewallPolicyAssociation) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*FirewallPolicyAssociation) DeletePolicyMember added in v1.1.0

func (r *FirewallPolicyAssociation) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*FirewallPolicyAssociation) Get

func (*FirewallPolicyAssociation) GetPolicy

func (*FirewallPolicyAssociation) GetPolicyMember

func (r *FirewallPolicyAssociation) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*FirewallPolicyAssociation) HasDiff

func (r *FirewallPolicyAssociation) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*FirewallPolicyAssociation) ID

func (*FirewallPolicyAssociation) STV

func (*FirewallPolicyAssociation) SetPolicy

func (*FirewallPolicyAssociation) SetPolicyMember

func (r *FirewallPolicyAssociation) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicyAssociation) SetPolicyWithEtag added in v1.1.0

func (r *FirewallPolicyAssociation) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type FirewallPolicyRule

type FirewallPolicyRule struct{}

func (*FirewallPolicyRule) Apply

func (r *FirewallPolicyRule) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*FirewallPolicyRule) Delete

func (r *FirewallPolicyRule) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*FirewallPolicyRule) DeletePolicyMember added in v1.1.0

func (r *FirewallPolicyRule) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*FirewallPolicyRule) Get

func (*FirewallPolicyRule) GetPolicy

func (r *FirewallPolicyRule) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicyRule) GetPolicyMember

func (r *FirewallPolicyRule) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*FirewallPolicyRule) HasDiff

func (r *FirewallPolicyRule) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*FirewallPolicyRule) ID

func (r *FirewallPolicyRule) ID(resource *unstructured.Resource) (string, error)

func (*FirewallPolicyRule) STV

func (*FirewallPolicyRule) SetPolicy

func (r *FirewallPolicyRule) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicyRule) SetPolicyMember

func (r *FirewallPolicyRule) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*FirewallPolicyRule) SetPolicyWithEtag added in v1.1.0

func (r *FirewallPolicyRule) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type ForwardingRule

type ForwardingRule struct{}

func (*ForwardingRule) Apply

func (r *ForwardingRule) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*ForwardingRule) Delete

func (r *ForwardingRule) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*ForwardingRule) DeletePolicyMember added in v1.1.0

func (r *ForwardingRule) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*ForwardingRule) Get

func (*ForwardingRule) GetPolicy

func (r *ForwardingRule) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*ForwardingRule) GetPolicyMember

func (r *ForwardingRule) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*ForwardingRule) HasDiff

func (r *ForwardingRule) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*ForwardingRule) ID

func (r *ForwardingRule) ID(resource *unstructured.Resource) (string, error)

func (*ForwardingRule) STV

func (*ForwardingRule) SetPolicy

func (r *ForwardingRule) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*ForwardingRule) SetPolicyMember

func (r *ForwardingRule) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*ForwardingRule) SetPolicyWithEtag added in v1.1.0

func (r *ForwardingRule) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Instance

type Instance struct{}

func (*Instance) Apply

func (r *Instance) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Instance) Delete

func (r *Instance) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Instance) DeletePolicyMember added in v1.1.0

func (r *Instance) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Instance) Get

func (r *Instance) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) GetPolicy

func (r *Instance) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) GetPolicyMember

func (r *Instance) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Instance) HasDiff

func (r *Instance) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Instance) ID

func (r *Instance) ID(resource *unstructured.Resource) (string, error)

func (*Instance) STV

func (*Instance) SetPolicy

func (r *Instance) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) SetPolicyMember

func (r *Instance) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) SetPolicyWithEtag added in v1.1.0

func (r *Instance) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type InstanceGroupManager

type InstanceGroupManager struct{}

func (*InstanceGroupManager) Apply

func (*InstanceGroupManager) Delete

func (r *InstanceGroupManager) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*InstanceGroupManager) DeletePolicyMember added in v1.1.0

func (r *InstanceGroupManager) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*InstanceGroupManager) Get

func (*InstanceGroupManager) GetPolicy

func (r *InstanceGroupManager) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*InstanceGroupManager) GetPolicyMember

func (r *InstanceGroupManager) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*InstanceGroupManager) HasDiff

func (r *InstanceGroupManager) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*InstanceGroupManager) ID

func (*InstanceGroupManager) STV

func (*InstanceGroupManager) SetPolicy

func (*InstanceGroupManager) SetPolicyMember

func (r *InstanceGroupManager) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*InstanceGroupManager) SetPolicyWithEtag added in v1.1.0

func (r *InstanceGroupManager) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type InterconnectAttachment

type InterconnectAttachment struct{}

func (*InterconnectAttachment) Apply

func (*InterconnectAttachment) Delete

func (r *InterconnectAttachment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*InterconnectAttachment) DeletePolicyMember added in v1.1.0

func (r *InterconnectAttachment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*InterconnectAttachment) Get

func (*InterconnectAttachment) GetPolicy

func (r *InterconnectAttachment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*InterconnectAttachment) GetPolicyMember

func (r *InterconnectAttachment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*InterconnectAttachment) HasDiff

func (r *InterconnectAttachment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*InterconnectAttachment) ID

func (*InterconnectAttachment) STV

func (*InterconnectAttachment) SetPolicy

func (*InterconnectAttachment) SetPolicyMember

func (r *InterconnectAttachment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*InterconnectAttachment) SetPolicyWithEtag added in v1.1.0

func (r *InterconnectAttachment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Network

type Network struct{}

func (*Network) Apply

func (r *Network) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Network) Delete

func (r *Network) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Network) DeletePolicyMember added in v1.1.0

func (r *Network) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Network) Get

func (r *Network) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Network) GetPolicy

func (r *Network) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Network) GetPolicyMember

func (r *Network) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Network) HasDiff

func (r *Network) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Network) ID

func (r *Network) ID(resource *unstructured.Resource) (string, error)

func (*Network) STV

func (*Network) SetPolicy

func (r *Network) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Network) SetPolicyMember

func (r *Network) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Network) SetPolicyWithEtag added in v1.1.0

func (r *Network) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type PacketMirroring

type PacketMirroring struct{}

func (*PacketMirroring) Apply

func (r *PacketMirroring) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*PacketMirroring) Delete

func (r *PacketMirroring) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*PacketMirroring) DeletePolicyMember added in v1.1.0

func (r *PacketMirroring) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*PacketMirroring) Get

func (*PacketMirroring) GetPolicy

func (r *PacketMirroring) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*PacketMirroring) GetPolicyMember

func (r *PacketMirroring) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*PacketMirroring) HasDiff

func (r *PacketMirroring) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*PacketMirroring) ID

func (r *PacketMirroring) ID(resource *unstructured.Resource) (string, error)

func (*PacketMirroring) STV

func (*PacketMirroring) SetPolicy

func (r *PacketMirroring) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*PacketMirroring) SetPolicyMember

func (r *PacketMirroring) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*PacketMirroring) SetPolicyWithEtag added in v1.1.0

func (r *PacketMirroring) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Route

type Route struct{}

func (*Route) Apply

func (r *Route) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Route) Delete

func (r *Route) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Route) DeletePolicyMember added in v1.1.0

func (r *Route) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Route) Get

func (r *Route) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Route) GetPolicy

func (r *Route) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Route) GetPolicyMember

func (r *Route) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Route) HasDiff

func (r *Route) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Route) ID

func (r *Route) ID(resource *unstructured.Resource) (string, error)

func (*Route) STV

func (*Route) SetPolicy

func (r *Route) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Route) SetPolicyMember

func (r *Route) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Route) SetPolicyWithEtag added in v1.1.0

func (r *Route) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type ServiceAttachment

type ServiceAttachment struct{}

func (*ServiceAttachment) Apply

func (r *ServiceAttachment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*ServiceAttachment) Delete

func (r *ServiceAttachment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*ServiceAttachment) DeletePolicyMember added in v1.1.0

func (r *ServiceAttachment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*ServiceAttachment) Get

func (*ServiceAttachment) GetPolicy

func (r *ServiceAttachment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*ServiceAttachment) GetPolicyMember

func (r *ServiceAttachment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*ServiceAttachment) HasDiff

func (r *ServiceAttachment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*ServiceAttachment) ID

func (r *ServiceAttachment) ID(resource *unstructured.Resource) (string, error)

func (*ServiceAttachment) STV

func (*ServiceAttachment) SetPolicy

func (r *ServiceAttachment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*ServiceAttachment) SetPolicyMember

func (r *ServiceAttachment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*ServiceAttachment) SetPolicyWithEtag added in v1.1.0

func (r *ServiceAttachment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Subnetwork

type Subnetwork struct{}

func (*Subnetwork) Apply

func (r *Subnetwork) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Subnetwork) Delete

func (r *Subnetwork) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Subnetwork) DeletePolicyMember added in v1.1.0

func (r *Subnetwork) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Subnetwork) Get

func (r *Subnetwork) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Subnetwork) GetPolicy

func (r *Subnetwork) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Subnetwork) GetPolicyMember

func (r *Subnetwork) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Subnetwork) HasDiff

func (r *Subnetwork) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Subnetwork) ID

func (r *Subnetwork) ID(resource *unstructured.Resource) (string, error)

func (*Subnetwork) STV

func (*Subnetwork) SetPolicy

func (r *Subnetwork) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Subnetwork) SetPolicyMember

func (r *Subnetwork) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Subnetwork) SetPolicyWithEtag added in v1.1.0

func (r *Subnetwork) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type VpnTunnel

type VpnTunnel struct{}

func (*VpnTunnel) Apply

func (r *VpnTunnel) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*VpnTunnel) Delete

func (r *VpnTunnel) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*VpnTunnel) DeletePolicyMember added in v1.1.0

func (r *VpnTunnel) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*VpnTunnel) Get

func (r *VpnTunnel) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*VpnTunnel) GetPolicy

func (r *VpnTunnel) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*VpnTunnel) GetPolicyMember

func (r *VpnTunnel) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*VpnTunnel) HasDiff

func (r *VpnTunnel) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*VpnTunnel) ID

func (r *VpnTunnel) ID(resource *unstructured.Resource) (string, error)

func (*VpnTunnel) STV

func (*VpnTunnel) SetPolicy

func (r *VpnTunnel) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*VpnTunnel) SetPolicyMember

func (r *VpnTunnel) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*VpnTunnel) SetPolicyWithEtag added in v1.1.0

func (r *VpnTunnel) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL