Skip to content

GitCodeRepoProps

Properties for defining a GitCodeRepo.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-gitcoderepo

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos/datasource"
&datasource.GitCodeRepoProps {
    Owner: interface{},
    Platform: interface{},
    Repository: interface{},
    CommitId: interface{},
    Organization: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
Owner interface{} Property owner: Git account.
Platform interface{} Property platform: Git platform.
Repository interface{} Property repository: Git repository.
CommitId interface{} Property commitId: Git commit id.
Organization interface{} Property organization: Git organization.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

OwnerRequired

Owner interface{}
  • Type: interface{}

Property owner: Git account.


PlatformRequired

Platform interface{}
  • Type: interface{}

Property platform: Git platform.


RepositoryRequired

Repository interface{}
  • Type: interface{}

Property repository: Git repository.


CommitIdOptional

CommitId interface{}
  • Type: interface{}

Property commitId: Git commit id.


OrganizationOptional

Organization interface{}
  • Type: interface{}

Property organization: Git organization.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.