Documentation
¶
Index ¶
- Variables
- func FindConfigurationById[C Configuration](configurations []C, id string) *C
- func PackFormJSONValues(ctx context.Context, d *schema.ResourceData, schemaKey string, ...) []error
- func PipelineProjectIntegrationResource() *schema.Resource
- func Provider() *schema.Provider
- type Configuration
- type FormJSONValues
- type Node
- type NodePool
- type PipelineSource
- type Project
- type ProjectIntegration
- type ProjectJSON
- type SystemPropertyBag
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.1"
Functions ¶
func FindConfigurationById ¶ added in v1.1.0
func FindConfigurationById[C Configuration](configurations []C, id string) *C
func PackFormJSONValues ¶ added in v1.2.0
func PackFormJSONValues(ctx context.Context, d *schema.ResourceData, schemaKey string, formJSONValues []FormJSONValues) []error
func PipelineProjectIntegrationResource ¶ added in v1.2.0
Types ¶
type Configuration ¶ added in v1.1.0
type Configuration interface {
Id() string
}
type FormJSONValues ¶
type FormJSONValues struct { Label string `json:"label"` Value string `json:"value"` Sensitive bool `json:"-"` }
func UnpackFormJSONValues ¶ added in v1.2.0
func UnpackFormJSONValues(d *util.ResourceData, key string) []FormJSONValues
func (FormJSONValues) Id ¶ added in v1.1.0
func (f FormJSONValues) Id() string
type Node ¶
type Node struct { //Project string `json:"project"` FriendlyName string `json:"friendlyName"` ProjectId int `json:"projectId"` NodePoolId int `json:"nodePoolId"` IsOnDemand bool `json:"isOnDemand"` IsAutoInitialized bool `json:"isAutoInitialized"` IPAddress string `json:"IPAddress,omitempty"` IsSwapEnabled bool `json:"isSwapEnabled,omitempty"` SystemPropertyBag SystemPropertyBag `json:"systemPropertyBag,omitempty"` ID int `json:"id,omitempty"` }
type NodePool ¶
type NodePool struct { //Project string `json:"project"` Name string `json:"name"` ProjectId int `json:"projectId"` NumberOfNodes int `json:"numberOfNodes,omitempty"` IsOnDemand bool `json:"isOnDemand"` Architecture string `json:"architecture"` OperatingSystem string `json:"operatingSystem"` NodeIdleIntervalInMins int `json:"nodeIdleIntervalInMins"` Environments []string `json:"environments,omitempty"` ID int `json:"id,omitempty"` }
Project GET {{ host }}/access/api/v1/projects/{{prjKey}}/ GET {{ host }}/artifactory/api/repositories/?prjKey={{prjKey}}
type PipelineSource ¶
type PipelineSource struct { //Project string `json:"project"` Name string `json:"name"` ProjectId int `json:"projectId"` ProjectIntegrationId int `json:"projectIntegrationId"` RepositoryFullName string `json:"repositoryFullName,omitempty"` Branch string `json:"branch,omitempty"` FileFilter string `json:"fileFilter"` IsMultiBranch bool `json:"isMultiBranch,omitempty"` BranchExcludePattern string `json:"branchExcludePattern,omitempty"` BranchIncludePattern string `json:"branchIncludePattern,omitempty"` Environments []string `json:"environments,omitempty"` TemplateId int `json:"templateId,omitempty"` ID int `json:"id,omitempty"` }
PipelineSource GET {{ host }}/access/api/v1/projects/{{prjKey}}/ GET {{ host }}/artifactory/api/repositories/?prjKey={{prjKey}}
type ProjectIntegration ¶
type ProjectIntegration struct { Name string `json:"name"` ProjectId int `json:"projectId,omitempty"` Project ProjectJSON `json:"project,omitempty"` MasterIntegrationId int `json:"masterIntegrationId"` MasterIntegrationName string `json:"masterIntegrationName"` FormJSONValues []FormJSONValues `json:"formJSONValues"` Environments []string `json:"environments,omitempty"` IsInternal bool `json:"isInternal,omitempty"` ID int `json:"id,omitempty"` }
type ProjectJSON ¶
type SystemPropertyBag ¶
type SystemPropertyBag struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.