infraGetters

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfraConfigScope added in v1.2.2

func GetInfraConfigScope(workflowScope resourceQualifiers.Scope) *v1.Scope

Types

type InfraGetter

type InfraGetter interface {
	GetConfigurationsByScopeAndTargetPlatforms(request *InfraRequest) (map[string]*v1.InfraConfig, error)
	SaveInfraConfigHistorySnapshot(workflowId int, triggeredBy int32, infraConfigs map[string]*v1.InfraConfig) error
}

type InfraRequest added in v1.2.2

type InfraRequest struct {
	// contains filtered or unexported fields
}

func NewInfraRequest added in v1.2.2

func NewInfraRequest(scope resourceQualifiers.Scope) *InfraRequest

func (*InfraRequest) GetAppId added in v1.2.2

func (infraRequest *InfraRequest) GetAppId() int

func (*InfraRequest) GetCiScope added in v1.2.2

func (infraRequest *InfraRequest) GetCiScope() *v1.Scope

func (*InfraRequest) GetEnvId added in v1.2.2

func (infraRequest *InfraRequest) GetEnvId() int

func (*InfraRequest) GetTargetPlatforms added in v1.2.2

func (infraRequest *InfraRequest) GetTargetPlatforms() []string

func (*InfraRequest) GetWorkflowScope added in v1.2.2

func (infraRequest *InfraRequest) GetWorkflowScope() resourceQualifiers.Scope

func (*InfraRequest) WithAppId added in v1.2.2

func (infraRequest *InfraRequest) WithAppId(appId int) *InfraRequest

func (*InfraRequest) WithEnvId added in v1.2.2

func (infraRequest *InfraRequest) WithEnvId(envId int) *InfraRequest

func (*InfraRequest) WithPlatform added in v1.2.2

func (infraRequest *InfraRequest) WithPlatform(platforms ...string) *InfraRequest

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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