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.
Index ¶
- func ApplyNote(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteNote(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetNote(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListNote(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func NoteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func NoteID(u *unstructured.Resource) (string, error)
- func NoteToUnstructured(r *dclService.Note) *unstructured.Resource
- func UnstructuredToNote(u *unstructured.Resource) (*dclService.Note, error)
- type Note
- func (r *Note) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Note) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Note) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Note) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Note) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Note) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Note) ID(resource *unstructured.Resource) (string, error)
- func (r *Note) STV() unstructured.ServiceTypeVersion
- func (r *Note) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Note) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyNote ¶
func ApplyNote(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteNote ¶
func GetNote ¶
func GetNote(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func NoteHasDiff ¶
func NoteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func NoteToUnstructured ¶
func NoteToUnstructured(r *dclService.Note) *unstructured.Resource
func UnstructuredToNote ¶
func UnstructuredToNote(u *unstructured.Resource) (*dclService.Note, error)
Types ¶
type Note ¶
type Note struct{}
func (*Note) Apply ¶
func (r *Note) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Note) Get ¶
func (r *Note) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Note) GetPolicy ¶
func (r *Note) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Note) GetPolicyMember ¶
func (*Note) STV ¶
func (r *Note) STV() unstructured.ServiceTypeVersion
func (*Note) SetPolicy ¶
func (r *Note) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Note) SetPolicyMember ¶
func (r *Note) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
Click to show internal directories.
Click to hide internal directories.