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.
Index ¶
- Constants
- func New(nodeImpl *node.Impl) (node.Node, error)
- type Node
- func (n *Node) ConfigPush(ctx context.Context, r io.Reader) error
- func (n *Node) Create(ctx context.Context) error
- func (n *Node) GenerateSelfSigned(context.Context) error
- func (n *Node) ResetCfg(ctx context.Context) error
- func (n *Node) SpawnCLIConn() error
- func (n *Node) Status(ctx context.Context) (node.Status, error)
Constants ¶
const (
ModelXRD = "xrd"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
func (*Node) ConfigPush ¶ added in v0.1.12
func (*Node) GenerateSelfSigned ¶ added in v0.1.12
func (*Node) SpawnCLIConn ¶ added in v0.1.12
SpawnCLIConn spawns a CLI connection towards a IOSXR using `kubectl exec` terminal and ensures CLI is ready to accept inputs. scrapligo options can be provided to this function for a caller to modify scrapligo platform. For example, mock transport can be set via options