Skip to content

NamespaceProps

Properties for defining a Namespace.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcr"
&alicloudroscdkcr.NamespaceProps {
    Namespace: interface{},
    AutoCreate: interface{},
    DefaultVisibility: interface{},
    InstanceId: interface{},
}

Properties

Name Type Description
Namespace interface{} Property namespace: The name of the namespace.
AutoCreate interface{} Property autoCreate: Specifies whether to automatically create an image repository.
DefaultVisibility interface{} Property defaultVisibility: The default type of the repository that is automatically created.
InstanceId interface{} Property instanceId: The ID of the enterprise edition instance which namespace belongs to.

NamespaceRequired

Namespace interface{}
  • Type: interface{}

Property namespace: The name of the namespace.


AutoCreateOptional

AutoCreate interface{}
  • Type: interface{}

Property autoCreate: Specifies whether to automatically create an image repository.


DefaultVisibilityOptional

DefaultVisibility interface{}
  • Type: interface{}

Property defaultVisibility: The default type of the repository that is automatically created.

Valid values: PUBLIC, PRIVATE.


InstanceIdOptional

InstanceId interface{}
  • Type: interface{}

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

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