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 ApplyTrigger(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteTrigger(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetTrigger(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListTrigger(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func TriggerHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func TriggerID(u *unstructured.Resource) (string, error)
- func TriggerToUnstructured(r *dclService.Trigger) *unstructured.Resource
- func UnstructuredToTrigger(u *unstructured.Resource) (*dclService.Trigger, error)
- type Trigger
- func (r *Trigger) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Trigger) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Trigger) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Trigger) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Trigger) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Trigger) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Trigger) ID(resource *unstructured.Resource) (string, error)
- func (r *Trigger) STV() unstructured.ServiceTypeVersion
- func (r *Trigger) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Trigger) 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 ApplyTrigger ¶
func ApplyTrigger(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteTrigger ¶
func GetTrigger ¶
func GetTrigger(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListTrigger ¶
func TriggerHasDiff ¶
func TriggerHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func TriggerToUnstructured ¶
func TriggerToUnstructured(r *dclService.Trigger) *unstructured.Resource
func UnstructuredToTrigger ¶
func UnstructuredToTrigger(u *unstructured.Resource) (*dclService.Trigger, error)
Types ¶
type Trigger ¶
type Trigger struct{}
func (*Trigger) Apply ¶
func (r *Trigger) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Trigger) Get ¶
func (r *Trigger) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Trigger) GetPolicy ¶
func (r *Trigger) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Trigger) GetPolicyMember ¶
func (*Trigger) STV ¶
func (r *Trigger) STV() unstructured.ServiceTypeVersion
func (*Trigger) SetPolicy ¶
func (r *Trigger) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Trigger) SetPolicyMember ¶
func (r *Trigger) 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.