Documentation
¶
Index ¶
- func Delete(client newclient.Client, deploymentFreeze *DeploymentFreeze) error
- type DeploymentFreeze
- type DeploymentFreezeQuery
- type DeploymentFreezeService
- type DeploymentFreezes
- type MonthlyScheduleType
- type RecurringSchedule
- type RecurringScheduleEndType
- type RecurringScheduleType
- type TenantProjectEnvironment
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" validate:"required"`
End *time.Time `json:"End" validate:"required"`
ProjectEnvironmentScope map[string][]string `json:"ProjectEnvironmentScope,omitempty"`
TenantProjectEnvironmentScope []TenantProjectEnvironment `json:"TenantProjectEnvironmentScope,omitempty"`
RecurringSchedule *RecurringSchedule `json:"RecurringSchedule,omitempty"`
OwnerId string `json:"OwnerId,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"`
PartialName string `uri:"partialName,omitempty" url:"partialName,omitempty"`
Status string `uri:"status,omitempty" url:"status,omitempty"`
ProjectIds []string `uri:"projectIds,omitempty" url:"projectIds,omitempty"`
TenantIds []string `uri:"tenantIds,omitempty" url:"tenantIds,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)
type MonthlyScheduleType ¶ added in v2.62.4
type MonthlyScheduleType string
const ( DayOfMonth MonthlyScheduleType = "DayOfMonth" DateOfMonth MonthlyScheduleType = "DateOfMonth" )
type RecurringSchedule ¶ added in v2.62.4
type RecurringSchedule struct {
Type RecurringScheduleType `json:"Type"`
Unit int `json:"Unit"`
UserUtcOffsetInMinutes int `json:"UserUtcOffsetInMinutes,omitempty"`
EndType RecurringScheduleEndType `json:"EndType"`
EndOnDate *time.Time `json:"EndOnDate,omitempty"`
EndAfterOccurrences int `json:"EndAfterOccurrences,omitempty"`
MonthlyScheduleType string `json:"MonthlyScheduleType,omitempty"`
DateOfMonth string `json:"DateOfMonth,omitempty"`
DayNumberOfMonth string `json:"DayNumberOfMonth,omitempty"`
DaysOfWeek []string `json:"DaysOfWeek,omitempty"`
DayOfWeek string `json:"DayOfWeek,omitempty"`
}
type RecurringScheduleEndType ¶ added in v2.62.4
type RecurringScheduleEndType string
const ( Never RecurringScheduleEndType = "Never" OnDate RecurringScheduleEndType = "OnDate" AfterOccurrences RecurringScheduleEndType = "AfterOccurrences" )
type RecurringScheduleType ¶ added in v2.62.4
type RecurringScheduleType string
const ( Daily RecurringScheduleType = "Daily" Weekly RecurringScheduleType = "Weekly" Monthly RecurringScheduleType = "Monthly" Annually RecurringScheduleType = "Annually" )
type TenantProjectEnvironment ¶ added in v2.62.4
Click to show internal directories.
Click to hide internal directories.