Documentation ¶
Index ¶
- Constants
- func CheckAttachmentResponse(ctx context.Context, response gjson.Result) diag.Diagnostics
- func Contains(s []string, str string) bool
- func DeployInterface(ctx context.Context, client *nd.Client, serialNumber, interfaceName string) diag.Diagnostics
- func GetListString(result []gjson.Result) types.List
- type AttributeDescription
- func (d *AttributeDescription) AddDefaultValueDescription(defaultValue string) *AttributeDescription
- func (d *AttributeDescription) AddFloatRangeDescription(min, max float64) *AttributeDescription
- func (d *AttributeDescription) AddIntegerRangeDescription(min, max int64) *AttributeDescription
- func (d *AttributeDescription) AddMinimumVersionDescription(minimumVersion string) *AttributeDescription
- func (d *AttributeDescription) AddStringEnumDescription(values ...string) *AttributeDescription
Constants ¶
View Source
const (
FABRIC_DEPLOY_TIMEOUT = 60
)
Variables ¶
This section is empty.
Functions ¶
func CheckAttachmentResponse ¶
func DeployInterface ¶
func DeployInterface(ctx context.Context, client *nd.Client, serialNumber, interfaceName string) diag.Diagnostics
Types ¶
type AttributeDescription ¶
type AttributeDescription struct {
String string
}
func NewAttributeDescription ¶
func NewAttributeDescription(s string) *AttributeDescription
func (*AttributeDescription) AddDefaultValueDescription ¶
func (d *AttributeDescription) AddDefaultValueDescription(defaultValue string) *AttributeDescription
func (*AttributeDescription) AddFloatRangeDescription ¶
func (d *AttributeDescription) AddFloatRangeDescription(min, max float64) *AttributeDescription
func (*AttributeDescription) AddIntegerRangeDescription ¶
func (d *AttributeDescription) AddIntegerRangeDescription(min, max int64) *AttributeDescription
func (*AttributeDescription) AddMinimumVersionDescription ¶
func (d *AttributeDescription) AddMinimumVersionDescription(minimumVersion string) *AttributeDescription
func (*AttributeDescription) AddStringEnumDescription ¶
func (d *AttributeDescription) AddStringEnumDescription(values ...string) *AttributeDescription
Click to show internal directories.
Click to hide internal directories.