Documentation ¶
Index ¶
- Constants
- Variables
- func BinaryAuthorizationAttestorIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func CompareSignatureAlgorithm(_, old, new string, _ *schema.ResourceData) bool
- func DefaultBinaryAuthorizationPolicy(project string) map[string]interface{}
- func FetchBinaryAuthorizationAttestorIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetBinaryAuthorizationAttestorApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetBinaryAuthorizationAttestorCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetBinaryAuthorizationAttestorIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetBinaryAuthorizationAttestorIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetBinaryAuthorizationAttestorIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetBinaryAuthorizationPolicyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetBinaryAuthorizationPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeBinaryAuthorizationAttestorIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeBinaryAuthorizationAttestorIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeBinaryAuthorizationAttestorIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeBinaryAuthorizationAttestorIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeBinaryAuthorizationAttestorIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterBinaryAuthorizationAttestor() cai.ResourceConverter
- func ResourceConverterBinaryAuthorizationAttestorIamBinding() cai.ResourceConverter
- func ResourceConverterBinaryAuthorizationAttestorIamMember() cai.ResourceConverter
- func ResourceConverterBinaryAuthorizationAttestorIamPolicy() cai.ResourceConverter
- func ResourceConverterBinaryAuthorizationPolicy() cai.ResourceConverter
- type BinaryAuthorizationAttestorIamUpdater
- func (u *BinaryAuthorizationAttestorIamUpdater) DescribeResource() string
- func (u *BinaryAuthorizationAttestorIamUpdater) GetMutexKey() string
- func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceId() string
- func (u *BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
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 BinaryAuthorizationAttestorIamUpdaterProducer ¶
func BinaryAuthorizationAttestorIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func BinaryAuthorizationAttestorIdParseFunc ¶
func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func CompareSignatureAlgorithm ¶
func CompareSignatureAlgorithm(_, old, new string, _ *schema.ResourceData) bool
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 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 (u *BinaryAuthorizationAttestorIamUpdater) GetMutexKey() string
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
Click to show internal directories.
Click to hide internal directories.