dlp

package
v1.76.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Copyright 2024 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 2024 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 2024 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 2024 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 ApplyDeidentifyTemplate

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

func ApplyInspectTemplate

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

func ApplyJobTrigger

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

func ApplyStoredInfoType

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

func DeidentifyTemplateHasDiff

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

func DeidentifyTemplateID

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

func DeidentifyTemplateToUnstructured

func DeidentifyTemplateToUnstructured(r *dclService.DeidentifyTemplate) *unstructured.Resource

func DeleteDeidentifyTemplate

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

func DeleteInspectTemplate

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

func DeleteJobTrigger

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

func DeleteStoredInfoType

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

func GetDeidentifyTemplate

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

func GetInspectTemplate

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

func GetJobTrigger

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

func GetStoredInfoType

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

func InspectTemplateHasDiff

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

func InspectTemplateID

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

func InspectTemplateToUnstructured

func InspectTemplateToUnstructured(r *dclService.InspectTemplate) *unstructured.Resource

func JobTriggerHasDiff

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

func JobTriggerID

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

func JobTriggerToUnstructured

func JobTriggerToUnstructured(r *dclService.JobTrigger) *unstructured.Resource

func ListDeidentifyTemplate

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

func ListInspectTemplate

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

func ListJobTrigger

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

func ListStoredInfoType

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

func StoredInfoTypeHasDiff

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

func StoredInfoTypeID

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

func StoredInfoTypeToUnstructured

func StoredInfoTypeToUnstructured(r *dclService.StoredInfoType) *unstructured.Resource

func UnstructuredToDeidentifyTemplate

func UnstructuredToDeidentifyTemplate(u *unstructured.Resource) (*dclService.DeidentifyTemplate, error)

func UnstructuredToInspectTemplate

func UnstructuredToInspectTemplate(u *unstructured.Resource) (*dclService.InspectTemplate, error)

func UnstructuredToJobTrigger

func UnstructuredToJobTrigger(u *unstructured.Resource) (*dclService.JobTrigger, error)

func UnstructuredToStoredInfoType

func UnstructuredToStoredInfoType(u *unstructured.Resource) (*dclService.StoredInfoType, error)

Types

type DeidentifyTemplate

type DeidentifyTemplate struct{}

func (*DeidentifyTemplate) Apply

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

func (*DeidentifyTemplate) Delete

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

func (*DeidentifyTemplate) DeletePolicyMember added in v1.1.0

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

func (*DeidentifyTemplate) Get

func (*DeidentifyTemplate) GetPolicy

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

func (*DeidentifyTemplate) GetPolicyMember

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

func (*DeidentifyTemplate) HasDiff

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

func (*DeidentifyTemplate) ID

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

func (*DeidentifyTemplate) STV

func (*DeidentifyTemplate) SetPolicy

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

func (*DeidentifyTemplate) SetPolicyMember

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

func (*DeidentifyTemplate) SetPolicyWithEtag added in v1.1.0

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

type InspectTemplate

type InspectTemplate struct{}

func (*InspectTemplate) Apply

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

func (*InspectTemplate) Delete

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

func (*InspectTemplate) DeletePolicyMember added in v1.1.0

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

func (*InspectTemplate) Get

func (*InspectTemplate) GetPolicy

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

func (*InspectTemplate) GetPolicyMember

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

func (*InspectTemplate) HasDiff

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

func (*InspectTemplate) ID

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

func (*InspectTemplate) STV

func (*InspectTemplate) SetPolicy

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

func (*InspectTemplate) SetPolicyMember

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

func (*InspectTemplate) SetPolicyWithEtag added in v1.1.0

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

type JobTrigger

type JobTrigger struct{}

func (*JobTrigger) Apply

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

func (*JobTrigger) Delete

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

func (*JobTrigger) DeletePolicyMember added in v1.1.0

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

func (*JobTrigger) Get

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

func (*JobTrigger) GetPolicy

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

func (*JobTrigger) GetPolicyMember

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

func (*JobTrigger) HasDiff

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

func (*JobTrigger) ID

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

func (*JobTrigger) STV

func (*JobTrigger) SetPolicy

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

func (*JobTrigger) SetPolicyMember

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

func (*JobTrigger) SetPolicyWithEtag added in v1.1.0

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

type StoredInfoType

type StoredInfoType struct{}

func (*StoredInfoType) Apply

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

func (*StoredInfoType) Delete

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

func (*StoredInfoType) DeletePolicyMember added in v1.1.0

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

func (*StoredInfoType) Get

func (*StoredInfoType) GetPolicy

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

func (*StoredInfoType) GetPolicyMember

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

func (*StoredInfoType) HasDiff

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

func (*StoredInfoType) ID

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

func (*StoredInfoType) STV

func (*StoredInfoType) SetPolicy

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

func (*StoredInfoType) SetPolicyMember

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

func (*StoredInfoType) SetPolicyWithEtag added in v1.1.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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