deploymentfreezes

package
v2.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(client newclient.Client, deploymentFreeze *DeploymentFreeze) error

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 GetAll

func GetAll(client newclient.Client) ([]*DeploymentFreeze, error)

func GetById

func GetById(client newclient.Client, id string) (*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"`
	ProjectIds      []string `uri:"projectIds,omitempty"`
	EnvironmentIds  []string `uri:"environmentIds,omitempty"`
	IDs             []string `uri:"ids,omitempty"`
	Skip            int      `uri:"skip,omitempty"`
	Take            int      `uri:"take,omitempty"`
}

type DeploymentFreezeService

type DeploymentFreezeService struct {
}

type DeploymentFreezes

type DeploymentFreezes resources.Resources[DeploymentFreeze]

func Get

func Get(client newclient.Client, deploymentFreezesQuery *DeploymentFreezeQuery) (*DeploymentFreezes, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL