eventarc

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyChannel added in v1.19.0

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

func ApplyGoogleChannelConfig added in v1.20.0

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

func ApplyTrigger

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

func ChannelHasDiff added in v1.19.0

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

func ChannelID added in v1.19.0

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

func ChannelToUnstructured added in v1.19.0

func ChannelToUnstructured(r *dclService.Channel) *unstructured.Resource

func DeleteChannel added in v1.19.0

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

func DeleteGoogleChannelConfig added in v1.20.0

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

func DeleteTrigger

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

func GetChannel added in v1.19.0

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

func GetGoogleChannelConfig added in v1.20.0

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

func GetTrigger

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

func GoogleChannelConfigHasDiff added in v1.20.0

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

func GoogleChannelConfigID added in v1.20.0

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

func GoogleChannelConfigToUnstructured added in v1.20.0

func GoogleChannelConfigToUnstructured(r *dclService.GoogleChannelConfig) *unstructured.Resource

func ListChannel added in v1.19.0

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

func ListTrigger

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

func TriggerHasDiff

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

func TriggerID

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

func TriggerToUnstructured

func TriggerToUnstructured(r *dclService.Trigger) *unstructured.Resource

func UnstructuredToChannel added in v1.19.0

func UnstructuredToChannel(u *unstructured.Resource) (*dclService.Channel, error)

func UnstructuredToGoogleChannelConfig added in v1.20.0

func UnstructuredToGoogleChannelConfig(u *unstructured.Resource) (*dclService.GoogleChannelConfig, error)

func UnstructuredToTrigger

func UnstructuredToTrigger(u *unstructured.Resource) (*dclService.Trigger, error)

Types

type Channel added in v1.19.0

type Channel struct{}

func (*Channel) Apply added in v1.19.0

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

func (*Channel) Delete added in v1.19.0

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

func (*Channel) DeletePolicyMember added in v1.19.0

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

func (*Channel) Get added in v1.19.0

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

func (*Channel) GetPolicy added in v1.19.0

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

func (*Channel) GetPolicyMember added in v1.19.0

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

func (*Channel) HasDiff added in v1.19.0

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

func (*Channel) ID added in v1.19.0

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

func (*Channel) STV added in v1.19.0

func (*Channel) SetPolicy added in v1.19.0

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

func (*Channel) SetPolicyMember added in v1.19.0

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

func (*Channel) SetPolicyWithEtag added in v1.19.0

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

type GoogleChannelConfig added in v1.20.0

type GoogleChannelConfig struct{}

func (*GoogleChannelConfig) Apply added in v1.20.0

func (*GoogleChannelConfig) Delete added in v1.20.0

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

func (*GoogleChannelConfig) DeletePolicyMember added in v1.20.0

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

func (*GoogleChannelConfig) Get added in v1.20.0

func (*GoogleChannelConfig) GetPolicy added in v1.20.0

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

func (*GoogleChannelConfig) GetPolicyMember added in v1.20.0

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

func (*GoogleChannelConfig) HasDiff added in v1.20.0

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

func (*GoogleChannelConfig) ID added in v1.20.0

func (*GoogleChannelConfig) STV added in v1.20.0

func (*GoogleChannelConfig) SetPolicy added in v1.20.0

func (*GoogleChannelConfig) SetPolicyMember added in v1.20.0

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

func (*GoogleChannelConfig) SetPolicyWithEtag added in v1.20.0

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

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) Delete

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

func (*Trigger) DeletePolicyMember added in v1.1.0

func (r *Trigger) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *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 (r *Trigger) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Trigger) HasDiff

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

func (*Trigger) ID

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

func (*Trigger) STV

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)

func (*Trigger) SetPolicyWithEtag added in v1.1.0

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