Documentation ¶
Overview ¶
Copyright 2021 Google LLC
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.
Copyright 2021 Google LLC ¶
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.
Copyright 2021 Google LLC ¶
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 ClusterSpec ¶
type ClusterSpec struct { Kind string `yaml:"kind"` Spec yaml.Node `yaml:"spec"` }
type Deployment ¶
func NewDeployment ¶
func NewDeployment(cfg *DeploymentConfig) (*Deployment, error)
type DeploymentConfig ¶
type DeploymentConfig struct { Cluster ClusterSpec `yaml:"cluster"` Ingress IngressSpec `yaml:"ingress"` CNI CNISpec `yaml:"cni"` }
type IngressSpec ¶
type IngressSpec struct { Kind string `yaml:"kind"` Spec yaml.Node `yaml:"spec"` }
type KindSpec ¶
type KindSpec struct { Name string `yaml:"name"` Recycle bool `yaml:"recycle"` Version string `yaml:"version"` Image string `yaml:"image"` Retain bool `yaml:"retain"` Wait time.Duration `yaml:"wait"` Kubecfg string `yaml:"kubecfg"` DeployWithClient bool `yaml:"deployWithClient"` GoogleArtifactRegistries []string `yaml:"googleArtifactRegistries"` }
type MeshnetSpec ¶
type MeshnetSpec struct { Image string `yaml:"image"` ManifestDir string `yaml:"manifests"` // contains filtered or unexported fields }
func (*MeshnetSpec) SetKClient ¶
func (m *MeshnetSpec) SetKClient(c kubernetes.Interface)
type MetalLBSpec ¶
type MetalLBSpec struct { Version string `yaml:"version"` IPCount int `yaml:"ip_count"` ManifestDir string `yaml:"manifests"` // contains filtered or unexported fields }
func (*MetalLBSpec) SetKClient ¶
func (m *MetalLBSpec) SetKClient(c kubernetes.Interface)