Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeploymentFreeze ¶
type DeploymentFreeze struct {
Name string `json:"Name" validate:"required"`
Start *time.Time `json:"Start,required"`
End *time.Time `json:"End,required"`
ProjectEnvironmentScope map[string][]string `json:"ProjectEnvironmentScope,omitempty"`
resources.Resource
}
func Add ¶
func Add(client newclient.Client, deploymentFreeze *DeploymentFreeze) (*DeploymentFreeze, error)
func Update ¶
func Update(client newclient.Client, deploymentFreeze *DeploymentFreeze) (*DeploymentFreeze, error)
func (*DeploymentFreeze) GetName ¶
func (d *DeploymentFreeze) GetName() string
func (*DeploymentFreeze) SetName ¶
func (d *DeploymentFreeze) SetName(name string)
type DeploymentFreezeQuery ¶
type DeploymentFreezeQuery struct {
IncludeComplete bool `uri:"includeComplete,omitempty" url:"includeComplete,omitempty"`
ProjectIds []string `uri:"projectIds,omitempty" url:"projectIds,omitempty"`
EnvironmentIds []string `uri:"environmentIds,omitempty" url:"environmentIds,omitempty"`
IDs []string `uri:"ids,omitempty" url:"ids,omitempty"`
Skip int `uri:"skip" url:"skip"`
Take int `uri:"take,omitempty" url:"take,omitempty"`
}
type DeploymentFreezeService ¶
type DeploymentFreezeService struct {
}
type DeploymentFreezes ¶
type DeploymentFreezes struct {
DeploymentFreezes []DeploymentFreeze `json:"DeploymentFreezes"`
Count int `json:"Count"`
}
func Get ¶
func Get(client newclient.Client, deploymentFreezesQuery *DeploymentFreezeQuery) (*DeploymentFreezes, error)
Click to show internal directories.
Click to hide internal directories.