compatibility

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiNotSupportsSetLoopbackIps       = versionconstraints.New(apiversions.LtApstra500)
	BpIbaDashboardOk                   = versionconstraints.New(apiversions.LtApstra500)
	BpIbaProbeOk                       = versionconstraints.New(apiversions.LtApstra500)
	BpIbaWidgetOk                      = versionconstraints.New(apiversions.LtApstra500)
	FabricSettingsSetInCreate          = versionconstraints.New(apiversions.GeApstra421)
	TemplateRequiresAntiAffinityPolicy = versionconstraints.New(apiversions.Apstra420)
	VnEmptyBindingsOk                  = versionconstraints.New(">= 5.0.0")
)

Functions

func SupportedApiVersions

func SupportedApiVersions() []string

func SupportedApiVersionsPretty

func SupportedApiVersionsPretty() string

func ValidateConfigConstraints added in v0.74.0

func ValidateConfigConstraints(_ context.Context, req ValidateConfigConstraintsRequest) diag.Diagnostics

Types

type AttributeConstraint added in v0.74.0

type AttributeConstraint struct {
	Path        path.Path
	Constraints versionconstraints.Constraints
}

type ConfigConstraints added in v0.74.0

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

func (*ConfigConstraints) AddAttributeConstraints added in v0.74.0

func (o *ConfigConstraints) AddAttributeConstraints(in AttributeConstraint)

AddAttributeConstraints should be used to add version constraints imposed by the presence of an attribute or attribute value in the configuration.

func (*ConfigConstraints) AddOtherConstraints added in v0.74.0

func (o *ConfigConstraints) AddOtherConstraints(in OtherConstraint)

AddOtherConstraints should be used to add non-attribute-value-based version constraints, like those imposed by the absence of an attribute in the configuration.

func (*ConfigConstraints) AttributeConstraints added in v0.74.0

func (o *ConfigConstraints) AttributeConstraints() []AttributeConstraint

func (*ConfigConstraints) OtherConstraints added in v0.74.0

func (o *ConfigConstraints) OtherConstraints() []OtherConstraint

type OtherConstraint added in v0.74.0

type OtherConstraint struct {
	Message     string
	Constraints versionconstraints.Constraints
}

type ValidateConfigConstraintsRequest added in v0.74.0

type ValidateConfigConstraintsRequest struct {
	Version     *version.Version
	Constraints ConfigConstraints
}

Jump to

Keyboard shortcuts

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