Skip to content

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.

AccessibilityRequired

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.

CodeRepoRequired

CodeRepo interface{}
  • Type: interface{}

Property codeRepo: Code repository address.


DisplayNameRequired

DisplayName interface{}
  • Type: interface{}

Property displayName: Code source configuration name.


MountPathRequired

MountPath interface{}
  • Type: interface{}

Property mountPath: The local Mount Directory of the code.


WorkspaceIdRequired

WorkspaceId interface{}
  • Type: interface{}

Property workspaceId: The ID of the workspace.


CodeBranchOptional

CodeBranch interface{}
  • Type: interface{}

Property codeBranch: Code repository branch.


CodeCommitOptional

CodeCommit interface{}
  • Type: interface{}

Property codeCommit: The code CommitId.


CodeRepoAccessTokenOptional

CodeRepoAccessToken interface{}
  • Type: interface{}

Property codeRepoAccessToken: The Token used to access the code repository.


CodeRepoUserNameOptional

CodeRepoUserName interface{}
  • Type: interface{}

Property codeRepoUserName: The user name of the code repository.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: A detailed description of the code configuration.