deploymentfreezes

package
v2.62.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

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 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" 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)

func GetAll

func GetAll(client newclient.Client) (*DeploymentFreezes, error)

Jump to

Keyboard shortcuts

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