sourcerepo

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package sourcerepo exports types, functions, subpackages for provisioning sourcerepo resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-google) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-google` repo](https://github.com/terraform-providers/terraform-provider-google/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

A repository (or repo) is a Git repository storing versioned source content.

To get more information about Repository, see:

* [API documentation](https://cloud.google.com/source-repositories/docs/reference/rest/v1/projects.repos) * How-to Guides

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sourcerepo_repository.html.markdown.

func GetRepository

func GetRepository(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RepositoryState, opts ...pulumi.ResourceOpt) (*Repository, error)

GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRepository

func NewRepository(ctx *pulumi.Context,
	name string, args *RepositoryArgs, opts ...pulumi.ResourceOpt) (*Repository, error)

NewRepository registers a new resource with the given unique name, arguments, and options.

func (*Repository) ID

func (r *Repository) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Repository) Name

func (r *Repository) Name() *pulumi.StringOutput

func (*Repository) Project

func (r *Repository) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*Repository) Size

func (r *Repository) Size() *pulumi.IntOutput

func (*Repository) URN

func (r *Repository) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Repository) Url

func (r *Repository) Url() *pulumi.StringOutput

type RepositoryArgs

type RepositoryArgs struct {
	Name interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
}

The set of arguments for constructing a Repository resource.

type RepositoryIamBinding added in v0.18.13

type RepositoryIamBinding struct {
	// contains filtered or unexported fields
}

Three different resources help you manage your IAM policy for Pubsub Topic. Each of these resources serves a different use case:

* `pubsub.TopicIAMPolicy`: Authoritative. Sets the IAM policy for the topic and replaces any existing policy already attached. * `pubsub.TopicIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the topic are preserved. * `pubsub.TopicIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the topic are preserved.

> **Note:** `pubsub.TopicIAMPolicy` **cannot** be used in conjunction with `pubsub.TopicIAMBinding` and `pubsub.TopicIAMMember` or they will fight over what your policy should be.

> **Note:** `pubsub.TopicIAMBinding` resources **can be** used in conjunction with `pubsub.TopicIAMMember` resources **only if** they do not grant privilege to the same role.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sourcerepo_repository_iam_binding.html.markdown.

func GetRepositoryIamBinding added in v0.18.13

func GetRepositoryIamBinding(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RepositoryIamBindingState, opts ...pulumi.ResourceOpt) (*RepositoryIamBinding, error)

GetRepositoryIamBinding gets an existing RepositoryIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRepositoryIamBinding added in v0.18.13

func NewRepositoryIamBinding(ctx *pulumi.Context,
	name string, args *RepositoryIamBindingArgs, opts ...pulumi.ResourceOpt) (*RepositoryIamBinding, error)

NewRepositoryIamBinding registers a new resource with the given unique name, arguments, and options.

func (*RepositoryIamBinding) Etag added in v0.18.13

(Computed) The etag of the topic's IAM policy.

func (*RepositoryIamBinding) ID added in v0.18.13

ID is this resource's unique identifier assigned by its provider.

func (*RepositoryIamBinding) Members added in v0.18.13

func (r *RepositoryIamBinding) Members() *pulumi.ArrayOutput

func (*RepositoryIamBinding) Project added in v0.18.13

The project in which the resource belongs. If it is not provided, the provider project is used.

func (*RepositoryIamBinding) Repository added in v0.18.13

func (r *RepositoryIamBinding) Repository() *pulumi.StringOutput

func (*RepositoryIamBinding) Role added in v0.18.13

The role that should be applied. Only one `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (*RepositoryIamBinding) URN added in v0.18.13

URN is this resource's unique name assigned by Pulumi.

type RepositoryIamBindingArgs added in v0.18.13

type RepositoryIamBindingArgs struct {
	Members interface{}
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project    interface{}
	Repository interface{}
	// The role that should be applied. Only one
	// `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role interface{}
}

The set of arguments for constructing a RepositoryIamBinding resource.

type RepositoryIamBindingState added in v0.18.13

type RepositoryIamBindingState struct {
	// (Computed) The etag of the topic's IAM policy.
	Etag    interface{}
	Members interface{}
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project    interface{}
	Repository interface{}
	// The role that should be applied. Only one
	// `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role interface{}
}

Input properties used for looking up and filtering RepositoryIamBinding resources.

type RepositoryIamMember added in v0.18.13

type RepositoryIamMember struct {
	// contains filtered or unexported fields
}

Three different resources help you manage your IAM policy for Pubsub Topic. Each of these resources serves a different use case:

* `pubsub.TopicIAMPolicy`: Authoritative. Sets the IAM policy for the topic and replaces any existing policy already attached. * `pubsub.TopicIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the topic are preserved. * `pubsub.TopicIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the topic are preserved.

> **Note:** `pubsub.TopicIAMPolicy` **cannot** be used in conjunction with `pubsub.TopicIAMBinding` and `pubsub.TopicIAMMember` or they will fight over what your policy should be.

> **Note:** `pubsub.TopicIAMBinding` resources **can be** used in conjunction with `pubsub.TopicIAMMember` resources **only if** they do not grant privilege to the same role.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sourcerepo_repository_iam_member.html.markdown.

func GetRepositoryIamMember added in v0.18.13

func GetRepositoryIamMember(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RepositoryIamMemberState, opts ...pulumi.ResourceOpt) (*RepositoryIamMember, error)

GetRepositoryIamMember gets an existing RepositoryIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRepositoryIamMember added in v0.18.13

func NewRepositoryIamMember(ctx *pulumi.Context,
	name string, args *RepositoryIamMemberArgs, opts ...pulumi.ResourceOpt) (*RepositoryIamMember, error)

NewRepositoryIamMember registers a new resource with the given unique name, arguments, and options.

func (*RepositoryIamMember) Etag added in v0.18.13

(Computed) The etag of the topic's IAM policy.

func (*RepositoryIamMember) ID added in v0.18.13

ID is this resource's unique identifier assigned by its provider.

func (*RepositoryIamMember) Member added in v0.18.13

func (*RepositoryIamMember) Project added in v0.18.13

func (r *RepositoryIamMember) Project() *pulumi.StringOutput

The project in which the resource belongs. If it is not provided, the provider project is used.

func (*RepositoryIamMember) Repository added in v0.18.13

func (r *RepositoryIamMember) Repository() *pulumi.StringOutput

func (*RepositoryIamMember) Role added in v0.18.13

The role that should be applied. Only one `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (*RepositoryIamMember) URN added in v0.18.13

URN is this resource's unique name assigned by Pulumi.

type RepositoryIamMemberArgs added in v0.18.13

type RepositoryIamMemberArgs struct {
	Member interface{}
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project    interface{}
	Repository interface{}
	// The role that should be applied. Only one
	// `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role interface{}
}

The set of arguments for constructing a RepositoryIamMember resource.

type RepositoryIamMemberState added in v0.18.13

type RepositoryIamMemberState struct {
	// (Computed) The etag of the topic's IAM policy.
	Etag   interface{}
	Member interface{}
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project    interface{}
	Repository interface{}
	// The role that should be applied. Only one
	// `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role interface{}
}

Input properties used for looking up and filtering RepositoryIamMember resources.

type RepositoryIamPolicy added in v0.18.13

type RepositoryIamPolicy struct {
	// contains filtered or unexported fields
}

Three different resources help you manage your IAM policy for Pubsub Topic. Each of these resources serves a different use case:

* `pubsub.TopicIAMPolicy`: Authoritative. Sets the IAM policy for the topic and replaces any existing policy already attached. * `pubsub.TopicIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the topic are preserved. * `pubsub.TopicIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the topic are preserved.

> **Note:** `pubsub.TopicIAMPolicy` **cannot** be used in conjunction with `pubsub.TopicIAMBinding` and `pubsub.TopicIAMMember` or they will fight over what your policy should be.

> **Note:** `pubsub.TopicIAMBinding` resources **can be** used in conjunction with `pubsub.TopicIAMMember` resources **only if** they do not grant privilege to the same role.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sourcerepo_repository_iam_policy.html.markdown.

func GetRepositoryIamPolicy added in v0.18.13

func GetRepositoryIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RepositoryIamPolicyState, opts ...pulumi.ResourceOpt) (*RepositoryIamPolicy, error)

GetRepositoryIamPolicy gets an existing RepositoryIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRepositoryIamPolicy added in v0.18.13

func NewRepositoryIamPolicy(ctx *pulumi.Context,
	name string, args *RepositoryIamPolicyArgs, opts ...pulumi.ResourceOpt) (*RepositoryIamPolicy, error)

NewRepositoryIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*RepositoryIamPolicy) Etag added in v0.18.13

(Computed) The etag of the topic's IAM policy.

func (*RepositoryIamPolicy) ID added in v0.18.13

ID is this resource's unique identifier assigned by its provider.

func (*RepositoryIamPolicy) PolicyData added in v0.18.13

func (r *RepositoryIamPolicy) PolicyData() *pulumi.StringOutput

The policy data generated by a `organizations.getIAMPolicy` data source.

func (*RepositoryIamPolicy) Project added in v0.18.13

func (r *RepositoryIamPolicy) Project() *pulumi.StringOutput

The project in which the resource belongs. If it is not provided, the provider project is used.

func (*RepositoryIamPolicy) Repository added in v0.18.13

func (r *RepositoryIamPolicy) Repository() *pulumi.StringOutput

func (*RepositoryIamPolicy) URN added in v0.18.13

URN is this resource's unique name assigned by Pulumi.

type RepositoryIamPolicyArgs added in v0.18.13

type RepositoryIamPolicyArgs struct {
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData interface{}
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project    interface{}
	Repository interface{}
}

The set of arguments for constructing a RepositoryIamPolicy resource.

type RepositoryIamPolicyState added in v0.18.13

type RepositoryIamPolicyState struct {
	// (Computed) The etag of the topic's IAM policy.
	Etag interface{}
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData interface{}
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project    interface{}
	Repository interface{}
}

Input properties used for looking up and filtering RepositoryIamPolicy resources.

type RepositoryState

type RepositoryState struct {
	Name interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	Size    interface{}
	Url     interface{}
}

Input properties used for looking up and filtering Repository resources.

Jump to

Keyboard shortcuts

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