sourcerepo

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

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
}

For more information, see [the official documentation](https://cloud.google.com/source-repositories/) and [API](https://cloud.google.com/source-repositories/docs/reference/rest/v1/projects.repos)

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

The name of the repository that will be created.

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

The size of the repository.

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

The url to clone the repository.

type RepositoryArgs

type RepositoryArgs struct {
	// The name of the repository that will be created.
	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 {
	// The name of the repository that will be created.
	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 size of the repository.
	Size interface{}
	// The url to clone the repository.
	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