Documentation ¶
Overview ¶
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Param ¶
type Param interface { // The canonical name of the parameter which is understood by Unikraft. Name() string // Set the value of the parameter. Set(any) // Get the value of the parameter. Value() any // String returns the fully qualified parameter ready to be accepted by // Unikraft. String() string // A method-chain mechanism for both setting and getting the Param with the // newly embedded value. WithValue(any) Param }
func NewParamStrSlice ¶ added in v0.6.5
NewParamStrSlice instantiates a new Param based on a slice of strings.
type ParamStrSlice ¶ added in v0.6.5
type ParamStrSlice struct {
// contains filtered or unexported fields
}
func (*ParamStrSlice) Name ¶ added in v0.6.5
func (param *ParamStrSlice) Name() string
Name implements Param
func (*ParamStrSlice) Set ¶ added in v0.6.5
func (param *ParamStrSlice) Set(value any)
Set implements Param
func (*ParamStrSlice) String ¶ added in v0.6.5
func (param *ParamStrSlice) String() string
String implements Param
func (*ParamStrSlice) Value ¶ added in v0.6.5
func (param *ParamStrSlice) Value() any
Value implements Param
func (*ParamStrSlice) WithValue ¶ added in v0.6.5
func (param *ParamStrSlice) WithValue(value any) Param
WithValue implements Param