Documentation ¶
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
- [Official Documentation](https://cloud.google.com/source-repositories/)
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=sourcerepo_repository_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank"> <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;"> </a>
</div>
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 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.