provisioning

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubCmd

func NewSubCmd() *cobra.Command

Types

type ApiVersion

type ApiVersion string

Tenant Provisioning API version type, supporting a limited set of values. Implements the StringEnumer interface defined by the fsoc config package in order to support parsing apiver from an fsoc config file.

const (
	ApiVersionDefault ApiVersion = ApiVersion("v1beta")
)

func (*ApiVersion) String

func (a *ApiVersion) String() string

func (*ApiVersion) ValidateAndSet

func (a *ApiVersion) ValidateAndSet(version any) error

type Config

type Config struct {
	ApiVersion *ApiVersion `mapstructure:"apiver,omitempty" fsoc-help:"API version to use for tenant provisioning. The default is \"v1beta\"."`
}

Config defines the subsystem configuration under fsoc

var GlobalConfig Config

To make it work provisioning should be registered as subsystem and provisioning.GlobalConfig needs to be passed as provisioning config

Jump to

Keyboard shortcuts

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