Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Repository

Repositories containing the source code to build and deploy.

Properties

Optional branchCount

branchCount: undefined | number

The count of the branches present in the repository. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional commitCount

commitCount: undefined | number

The count of the commits present in the repository. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

compartmentId

compartmentId: string

The OCID of the repository's compartment.

Optional defaultBranch

defaultBranch: undefined | string

The default branch of the repository.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional description

description: undefined | string

Details of the repository. Avoid entering confidential information.

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {@code {"bar-key": "value"}}

Optional httpUrl

httpUrl: undefined | string

HTTP URL that you use to git clone, pull and push.

id

id: string

The OCID of the repository. This value is unique and immutable.

Optional lifecycleState

lifecycleState: LifecycleState

The current state of the repository.

Optional lifecyleDetails

lifecyleDetails: undefined | string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Optional mirrorRepositoryConfig

mirrorRepositoryConfig: model.MirrorRepositoryConfig

Optional name

name: undefined | string

Name of the repository. Should be unique within the project. This value is mutable.

Optional namespace

namespace: undefined | string

Tenancy unique namespace.

projectId

projectId: string

The OCID of the DevOps project containing the repository.

Optional projectName

projectName: undefined | string

Unique project name in a namespace.

Optional repositoryType

repositoryType: RepositoryType

Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using OCI DevOps code repository.

Optional sizeInBytes

sizeInBytes: undefined | number

The size of the repository in bytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional sshUrl

sshUrl: undefined | string

SSH URL that you use to git clone, pull and push.

Optional systemTags

systemTags: undefined | object

Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}

Optional timeCreated

timeCreated: Date

The time the repository was created. Format defined by RFC3339.

Optional timeUpdated

timeUpdated: Date

The time the repository was updated. Format defined by RFC3339.

Optional triggerBuildEvents

triggerBuildEvents: Array<TriggerBuildEvents>

Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.

Functions

getDeserializedJsonObj

getJsonObj