CodeSourceProps
Properties for defining a CodeSource
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-codesource
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai"
&alicloudroscdkpai.CodeSourceProps {
Accessibility: interface{},
CodeRepo: interface{},
DisplayName: interface{},
MountPath: interface{},
WorkspaceId: interface{},
CodeBranch: interface{},
CodeCommit: interface{},
CodeRepoAccessToken: interface{},
CodeRepoUserName: interface{},
Description: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Accessibility |
interface{} |
Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator. |
CodeRepo |
interface{} |
Property codeRepo: Code repository address. |
DisplayName |
interface{} |
Property displayName: Code source configuration name. |
MountPath |
interface{} |
Property mountPath: The local Mount Directory of the code. |
WorkspaceId |
interface{} |
Property workspaceId: The ID of the workspace. |
CodeBranch |
interface{} |
Property codeBranch: Code repository branch. |
CodeCommit |
interface{} |
Property codeCommit: The code CommitId. |
CodeRepoAccessToken |
interface{} |
Property codeRepoAccessToken: The Token used to access the code repository. |
CodeRepoUserName |
interface{} |
Property codeRepoUserName: The user name of the code repository. |
Description |
interface{} |
Property description: A detailed description of the code configuration. |
Accessibility
Required
Accessibility interface{}
- Type: interface{}
Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator.
- PUBLIC: In this workspace, it is visible to everyone.
CodeRepo
Required
CodeRepo interface{}
- Type: interface{}
Property codeRepo: Code repository address.
DisplayName
Required
DisplayName interface{}
- Type: interface{}
Property displayName: Code source configuration name.
MountPath
Required
MountPath interface{}
- Type: interface{}
Property mountPath: The local Mount Directory of the code.
WorkspaceId
Required
WorkspaceId interface{}
- Type: interface{}
Property workspaceId: The ID of the workspace.
CodeBranch
Optional
CodeBranch interface{}
- Type: interface{}
Property codeBranch: Code repository branch.
CodeCommit
Optional
CodeCommit interface{}
- Type: interface{}
Property codeCommit: The code CommitId.
CodeRepoAccessToken
Optional
CodeRepoAccessToken interface{}
- Type: interface{}
Property codeRepoAccessToken: The Token used to access the code repository.
CodeRepoUserName
Optional
CodeRepoUserName interface{}
- Type: interface{}
Property codeRepoUserName: The user name of the code repository.
Description
Optional
Description interface{}
- Type: interface{}
Property description: A detailed description of the code configuration.