dataplex

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 5 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAsset

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

func ApplyLake

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

func ApplyZone

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

func AssetHasDiff

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

func AssetID

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

func AssetToUnstructured

func AssetToUnstructured(r *dclService.Asset) *unstructured.Resource

func DeleteAsset

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

func DeleteLake

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

func DeleteZone

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

func GetAsset

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

func GetLake

func GetZone

func LakeHasDiff

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

func LakeID

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

func LakeToUnstructured

func LakeToUnstructured(r *dclService.Lake) *unstructured.Resource

func ListAsset

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

func ListLake

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

func ListZone

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

func UnstructuredToAsset

func UnstructuredToAsset(u *unstructured.Resource) (*dclService.Asset, error)

func UnstructuredToLake

func UnstructuredToLake(u *unstructured.Resource) (*dclService.Lake, error)

func UnstructuredToZone

func UnstructuredToZone(u *unstructured.Resource) (*dclService.Zone, error)

func ZoneHasDiff

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

func ZoneID

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

func ZoneToUnstructured

func ZoneToUnstructured(r *dclService.Zone) *unstructured.Resource

Types

type Asset

type Asset struct{}

func (*Asset) Apply

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

func (*Asset) Delete

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

func (*Asset) DeletePolicyMember

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

func (*Asset) Get

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

func (*Asset) GetPolicy

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

func (*Asset) GetPolicyMember

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

func (*Asset) HasDiff

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

func (*Asset) ID

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

func (*Asset) STV

func (*Asset) SetPolicy

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

func (*Asset) SetPolicyMember

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

func (*Asset) SetPolicyWithEtag

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

type Lake

type Lake struct{}

func (*Lake) Apply

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

func (*Lake) Delete

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

func (*Lake) DeletePolicyMember

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

func (*Lake) Get

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

func (*Lake) GetPolicy

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

func (*Lake) GetPolicyMember

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

func (*Lake) HasDiff

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

func (*Lake) ID

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

func (*Lake) STV

func (*Lake) SetPolicy

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

func (*Lake) SetPolicyMember

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

func (*Lake) SetPolicyWithEtag

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

type Zone

type Zone struct{}

func (*Zone) Apply

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

func (*Zone) Delete

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

func (*Zone) DeletePolicyMember

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

func (*Zone) Get

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

func (*Zone) GetPolicy

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

func (*Zone) GetPolicyMember

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

func (*Zone) HasDiff

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

func (*Zone) ID

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

func (*Zone) STV

func (*Zone) SetPolicy

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

func (*Zone) SetPolicyMember

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

func (*Zone) SetPolicyWithEtag

func (r *Zone) 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