Documentation
¶
Overview ¶
Copyright 2023 The Radius Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
// ConfigFileInterface is the interface for the config file.
ConfigFileInterface framework.ConfigFileInterface
// ConfigHolder is the interface for the config holder.
ConfigHolder *framework.ConfigHolder
// ConnectionFactory is the interface for the connection factory.
ConnectionFactory connections.Factory
// HelmInterface is the interface for the helm client.
HelmInterface helm.Interface
// KubernetesInterface is the interface for the kubernetes client.
KubernetesInterface kubernetes.Interface
// Output is the interface for console output.
Output output.Interface
// Prompter is the interface for the prompter.
Prompter prompt.Interface
// RadiusCoreClientFactory is the client factory for Radius.Core resources.
// If nil, it will be initialized during Run.
RadiusCoreClientFactory *corerpv20250801.ClientFactory
// DefaultScopeClientFactory is the client factory scoped to the default resource group.
// The default recipe pack is always created/queried in the default scope.
DefaultScopeClientFactory *corerpv20250801.ClientFactory
// Format is the output format.
Format string
// Workspace is the workspace to use. This will be populated by Validate.
Workspace *workspaces.Workspace
// Full determines whether or not we ask the user for all options.
Full bool
// Set is the list of additional Helm values to set.
Set []string
// SetFile is the list of additional Helm values from files.
SetFile []string
// Options provides the options to used for Radius initialization. This will be populated by Validate.
Options *initOptions
// contains filtered or unexported fields
}
Runner is the runner implementation for the `rad init --preview` command.
func (*Runner) CreateEnvironment ¶
CreateEnvironment creates a Radius.Core environment with the default recipe pack.