binaryauthorization

package
v5.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const BinaryAuthorizationAttestorAssetType string = "binaryauthorization.googleapis.com/Attestor"
View Source
const BinaryAuthorizationAttestorIAMAssetType string = "binaryauthorization.googleapis.com/Attestor"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const BinaryAuthorizationPolicyAssetType string = "binaryauthorization.googleapis.com/Policy"

Variables

View Source
var BinaryAuthorizationAttestorIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"attestor": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func BinaryAuthorizationAttestorIdParseFunc

func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func CompareSignatureAlgorithm

func CompareSignatureAlgorithm(_, old, new string, _ *schema.ResourceData) bool

func DefaultBinaryAuthorizationPolicy

func DefaultBinaryAuthorizationPolicy(project string) map[string]interface{}

func FetchBinaryAuthorizationAttestorIamPolicy

func FetchBinaryAuthorizationAttestorIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GetBinaryAuthorizationAttestorApiObject

func GetBinaryAuthorizationAttestorApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetBinaryAuthorizationAttestorCaiObject

func GetBinaryAuthorizationAttestorCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBinaryAuthorizationAttestorIamBindingCaiObject

func GetBinaryAuthorizationAttestorIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBinaryAuthorizationAttestorIamMemberCaiObject

func GetBinaryAuthorizationAttestorIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBinaryAuthorizationAttestorIamPolicyCaiObject

func GetBinaryAuthorizationAttestorIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBinaryAuthorizationPolicyApiObject

func GetBinaryAuthorizationPolicyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetBinaryAuthorizationPolicyCaiObject

func GetBinaryAuthorizationPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeBinaryAuthorizationAttestorIamBinding

func MergeBinaryAuthorizationAttestorIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeBinaryAuthorizationAttestorIamBindingDelete

func MergeBinaryAuthorizationAttestorIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeBinaryAuthorizationAttestorIamMember

func MergeBinaryAuthorizationAttestorIamMember(existing, incoming cai.Asset) cai.Asset

func MergeBinaryAuthorizationAttestorIamMemberDelete

func MergeBinaryAuthorizationAttestorIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeBinaryAuthorizationAttestorIamPolicy

func MergeBinaryAuthorizationAttestorIamPolicy(existing, incoming cai.Asset) cai.Asset

func ResourceConverterBinaryAuthorizationAttestor

func ResourceConverterBinaryAuthorizationAttestor() cai.ResourceConverter

func ResourceConverterBinaryAuthorizationAttestorIamBinding

func ResourceConverterBinaryAuthorizationAttestorIamBinding() cai.ResourceConverter

func ResourceConverterBinaryAuthorizationAttestorIamMember

func ResourceConverterBinaryAuthorizationAttestorIamMember() cai.ResourceConverter

func ResourceConverterBinaryAuthorizationAttestorIamPolicy

func ResourceConverterBinaryAuthorizationAttestorIamPolicy() cai.ResourceConverter

func ResourceConverterBinaryAuthorizationPolicy

func ResourceConverterBinaryAuthorizationPolicy() cai.ResourceConverter

Types

type BinaryAuthorizationAttestorIamUpdater

type BinaryAuthorizationAttestorIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*BinaryAuthorizationAttestorIamUpdater) DescribeResource

func (u *BinaryAuthorizationAttestorIamUpdater) DescribeResource() string

func (*BinaryAuthorizationAttestorIamUpdater) GetMutexKey

func (*BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy

func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BinaryAuthorizationAttestorIamUpdater) GetResourceId

func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceId() string

func (*BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy

func (u *BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

Jump to

Keyboard shortcuts

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