Documentation
¶
Index ¶
- Variables
- func BytesToGibibytes(bytes int) int
- func GibibytesToBytes(bytes int) int
- func Provider() *schema.Provider
- type Equatable
- type FormJSONValues
- type Identifiable
- type Lens
- type Node
- type NodePool
- type PipelineSource
- type Project
- type ProjectIntegration
- type ResourceData
- type SystemPropertyBag
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.1"
Functions ¶
func BytesToGibibytes ¶
func GibibytesToBytes ¶
Types ¶
type Equatable ¶
type Equatable interface { Identifiable Equals(other Identifiable) bool }
type FormJSONValues ¶
type Identifiable ¶
type Identifiable interface {
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"` }
Project GET {{ host }}/access/api/v1/projects/{{prjKey}}/ GET {{ host }}/artifactory/api/repositories/?prjKey={{prjKey}}
type ProjectIntegration ¶
type ProjectIntegration struct { //Project string `json:"project"` Name string `json:"name"` ProjectId int `json:"projectId,omitempty"` Project Project `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 ResourceData ¶
type ResourceData struct{ *schema.ResourceData }
type SystemPropertyBag ¶
type SystemPropertyBag struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.