Skip to content

RepositoryProps

Properties for defining a Repository.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-repository

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcr"
&alicloudroscdkcr.RepositoryProps {
    RepoName: interface{},
    RepoNamespace: interface{},
    RepoType: interface{},
    Summary: interface{},
    Detail: interface{},
    InstanceId: interface{},
    RepoSource: interface{},
    TagImmutability: interface{},
}

Properties

Name Type Description
RepoName interface{} Property repoName: The name of the repository.
RepoNamespace interface{} Property repoNamespace: The name of the namespace to which the repository belongs.
RepoType interface{} Property repoType: The type of the repository.
Summary interface{} Property summary: The summary of the repository.
Detail interface{} Property detail: The description of the repository.
InstanceId interface{} Property instanceId: The ID of the enterprise edition instance which repository belongs to.
RepoSource interface{} Property repoSource: Code Source message.
TagImmutability interface{} Property tagImmutability: Specifies whether the repository is immutable.

RepoNameRequired

RepoName interface{}
  • Type: interface{}

Property repoName: The name of the repository.


RepoNamespaceRequired

RepoNamespace interface{}
  • Type: interface{}

Property repoNamespace: The name of the namespace to which the repository belongs.


RepoTypeRequired

RepoType interface{}
  • Type: interface{}

Property repoType: The type of the repository.

Valid values: PUBLIC, PRIVATE.


SummaryRequired

Summary interface{}
  • Type: interface{}

Property summary: The summary of the repository.


DetailOptional

Detail interface{}
  • Type: interface{}

Property detail: The description of the repository.


InstanceIdOptional

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the enterprise edition instance which repository belongs to.

If not provided, will use personal edition instance as default.


RepoSourceOptional

RepoSource interface{}
  • Type: interface{}

Property repoSource: Code Source message.


TagImmutabilityOptional

TagImmutability interface{}
  • Type: interface{}

Property tagImmutability: Specifies whether the repository is immutable.

Only takes effect when InstanceId is specified.