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.
Index ¶
- func ApplyFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeletePolicyMemberFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePolicyMemberProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePolicyMemberTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePolicyMemberTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeleteProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func FolderHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func FolderID(u *unstructured.Resource) (string, error)
- func FolderToUnstructured(r *dclService.Folder) *unstructured.Resource
- func GetFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyMemberFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyMemberProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyMemberTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyMemberTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListFolder(ctx context.Context, config *dcl.Config, parent string) ([]*unstructured.Resource, error)
- func ListProject(ctx context.Context, config *dcl.Config, parent string) ([]*unstructured.Resource, error)
- func ProjectHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ProjectID(u *unstructured.Resource) (string, error)
- func ProjectToUnstructured(r *dclService.Project) *unstructured.Resource
- func SetPolicyFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func TagKeyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func TagKeyID(u *unstructured.Resource) (string, error)
- func TagKeyToUnstructured(r *dclService.TagKey) *unstructured.Resource
- func TagValueHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func TagValueID(u *unstructured.Resource) (string, error)
- func TagValueToUnstructured(r *dclService.TagValue) *unstructured.Resource
- func UnstructuredToFolder(u *unstructured.Resource) (*dclService.Folder, error)
- func UnstructuredToProject(u *unstructured.Resource) (*dclService.Project, error)
- func UnstructuredToTagKey(u *unstructured.Resource) (*dclService.TagKey, error)
- func UnstructuredToTagValue(u *unstructured.Resource) (*dclService.TagValue, error)
- type Folder
- func (r *Folder) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Folder) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Folder) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Folder) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Folder) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Folder) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Folder) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Folder) ID(resource *unstructured.Resource) (string, error)
- func (r *Folder) STV() unstructured.ServiceTypeVersion
- func (r *Folder) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Folder) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Folder) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Project
- func (r *Project) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Project) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Project) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Project) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Project) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Project) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Project) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Project) ID(resource *unstructured.Resource) (string, error)
- func (r *Project) STV() unstructured.ServiceTypeVersion
- func (r *Project) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Project) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Project) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type TagKey
- func (r *TagKey) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagKey) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *TagKey) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *TagKey) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TagKey) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TagKey) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagKey) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *TagKey) ID(resource *unstructured.Resource) (string, error)
- func (r *TagKey) STV() unstructured.ServiceTypeVersion
- func (r *TagKey) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagKey) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagKey) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type TagValue
- func (r *TagValue) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagValue) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *TagValue) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *TagValue) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TagValue) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TagValue) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagValue) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *TagValue) ID(resource *unstructured.Resource) (string, error)
- func (r *TagValue) STV() unstructured.ServiceTypeVersion
- func (r *TagValue) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagValue) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TagValue) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFolder ¶
func ApplyFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyProject ¶
func ApplyProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyTagKey ¶
func ApplyTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyTagValue ¶ added in v1.24.0
func ApplyTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteFolder ¶
func DeletePolicyMemberFolder ¶ added in v1.1.0
func DeletePolicyMemberFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeletePolicyMemberProject ¶ added in v1.1.0
func DeletePolicyMemberProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeletePolicyMemberTagKey ¶ added in v1.1.0
func DeletePolicyMemberTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeletePolicyMemberTagValue ¶ added in v1.24.0
func DeletePolicyMemberTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeleteProject ¶
func DeleteTagKey ¶
func DeleteTagValue ¶ added in v1.24.0
func FolderHasDiff ¶
func FolderHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func FolderToUnstructured ¶
func FolderToUnstructured(r *dclService.Folder) *unstructured.Resource
func GetFolder ¶
func GetFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyFolder ¶
func GetPolicyFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyMemberFolder ¶
func GetPolicyMemberFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyMemberProject ¶
func GetPolicyMemberProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyMemberTagKey ¶
func GetPolicyMemberTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyMemberTagValue ¶ added in v1.24.0
func GetPolicyMemberTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyProject ¶
func GetPolicyProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyTagKey ¶
func GetPolicyTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyTagValue ¶ added in v1.24.0
func GetPolicyTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetProject ¶
func GetProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetTagKey ¶
func GetTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetTagValue ¶ added in v1.24.0
func GetTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListFolder ¶
func ListProject ¶
func ProjectHasDiff ¶
func ProjectHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ProjectToUnstructured ¶
func ProjectToUnstructured(r *dclService.Project) *unstructured.Resource
func SetPolicyFolder ¶
func SetPolicyFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberFolder ¶
func SetPolicyMemberFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberProject ¶
func SetPolicyMemberProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberTagKey ¶
func SetPolicyMemberTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberTagValue ¶ added in v1.24.0
func SetPolicyMemberTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyProject ¶
func SetPolicyProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyTagKey ¶
func SetPolicyTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyTagValue ¶ added in v1.24.0
func SetPolicyTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagFolder ¶ added in v1.1.0
func SetPolicyWithEtagFolder(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagProject ¶ added in v1.1.0
func SetPolicyWithEtagProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagTagKey ¶ added in v1.1.0
func SetPolicyWithEtagTagKey(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagTagValue ¶ added in v1.24.0
func SetPolicyWithEtagTagValue(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func TagKeyHasDiff ¶
func TagKeyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func TagKeyToUnstructured ¶
func TagKeyToUnstructured(r *dclService.TagKey) *unstructured.Resource
func TagValueHasDiff ¶ added in v1.24.0
func TagValueHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func TagValueID ¶ added in v1.24.0
func TagValueID(u *unstructured.Resource) (string, error)
func TagValueToUnstructured ¶ added in v1.24.0
func TagValueToUnstructured(r *dclService.TagValue) *unstructured.Resource
func UnstructuredToFolder ¶
func UnstructuredToFolder(u *unstructured.Resource) (*dclService.Folder, error)
func UnstructuredToProject ¶
func UnstructuredToProject(u *unstructured.Resource) (*dclService.Project, error)
func UnstructuredToTagKey ¶
func UnstructuredToTagKey(u *unstructured.Resource) (*dclService.TagKey, error)
func UnstructuredToTagValue ¶ added in v1.24.0
func UnstructuredToTagValue(u *unstructured.Resource) (*dclService.TagValue, error)
Types ¶
type Folder ¶
type Folder struct{}
func (*Folder) Apply ¶
func (r *Folder) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Folder) DeletePolicyMember ¶ added in v1.1.0
func (r *Folder) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Folder) Get ¶
func (r *Folder) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Folder) GetPolicy ¶
func (r *Folder) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Folder) GetPolicyMember ¶
func (*Folder) STV ¶
func (r *Folder) STV() unstructured.ServiceTypeVersion
func (*Folder) SetPolicy ¶
func (r *Folder) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Folder) SetPolicyMember ¶
func (r *Folder) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Folder) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Folder) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Project ¶
type Project struct{}
func (*Project) Apply ¶
func (r *Project) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Project) DeletePolicyMember ¶ added in v1.1.0
func (r *Project) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Project) Get ¶
func (r *Project) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Project) GetPolicy ¶
func (r *Project) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Project) GetPolicyMember ¶
func (*Project) STV ¶
func (r *Project) STV() unstructured.ServiceTypeVersion
func (*Project) SetPolicy ¶
func (r *Project) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Project) SetPolicyMember ¶
func (r *Project) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Project) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Project) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type TagKey ¶
type TagKey struct{}
func (*TagKey) Apply ¶
func (r *TagKey) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*TagKey) DeletePolicyMember ¶ added in v1.1.0
func (r *TagKey) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*TagKey) Get ¶
func (r *TagKey) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*TagKey) GetPolicy ¶
func (r *TagKey) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*TagKey) GetPolicyMember ¶
func (*TagKey) STV ¶
func (r *TagKey) STV() unstructured.ServiceTypeVersion
func (*TagKey) SetPolicy ¶
func (r *TagKey) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*TagKey) SetPolicyMember ¶
func (r *TagKey) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*TagKey) SetPolicyWithEtag ¶ added in v1.1.0
func (r *TagKey) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type TagValue ¶ added in v1.24.0
type TagValue struct{}
func (*TagValue) Apply ¶ added in v1.24.0
func (r *TagValue) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*TagValue) DeletePolicyMember ¶ added in v1.24.0
func (r *TagValue) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*TagValue) Get ¶ added in v1.24.0
func (r *TagValue) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*TagValue) GetPolicy ¶ added in v1.24.0
func (r *TagValue) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*TagValue) GetPolicyMember ¶ added in v1.24.0
func (*TagValue) ID ¶ added in v1.24.0
func (r *TagValue) ID(resource *unstructured.Resource) (string, error)
func (*TagValue) STV ¶ added in v1.24.0
func (r *TagValue) STV() unstructured.ServiceTypeVersion
func (*TagValue) SetPolicy ¶ added in v1.24.0
func (r *TagValue) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*TagValue) SetPolicyMember ¶ added in v1.24.0
func (r *TagValue) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*TagValue) SetPolicyWithEtag ¶ added in v1.24.0
func (r *TagValue) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)