Documentation
¶
Index ¶
- func Delete(client newclient.Client, deploymentFreeze *DeploymentFreeze) error
- type DeploymentFreeze
- func Add(client newclient.Client, deploymentFreeze *DeploymentFreeze) (*DeploymentFreeze, error)
- func GetAll(client newclient.Client) ([]*DeploymentFreeze, error)
- func GetById(client newclient.Client, id string) (*DeploymentFreeze, error)
- func Update(client newclient.Client, deploymentFreeze *DeploymentFreeze) (*DeploymentFreeze, error)
- type DeploymentFreezeQuery
- type DeploymentFreezeService
- type DeploymentFreezes
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 DeploymentFreezeService ¶
type DeploymentFreezeService struct {
}
type DeploymentFreezes ¶
type DeploymentFreezes resources.Resources[DeploymentFreeze]
func Get ¶
func Get(client newclient.Client, deploymentFreezesQuery *DeploymentFreezeQuery) (*DeploymentFreezes, error)
Click to show internal directories.
Click to hide internal directories.