icagents

package
v0.0.0-...-d823fe1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOptsBuilder

type CreateOptsBuilder interface {
	ToIcAgentIstallMap() (map[string]interface{}, error)
}

type CreateResult

type CreateResult struct {
	// contains filtered or unexported fields
}

func Create

Create accepts a CreateOpts struct and uses the values to intall ic agent in cluster.

type InstallParam

type InstallParam struct {
	// The ID of Cluster
	ClusterId string `json:"clusterId" required:"true"`
	// Namespace for agent
	NameSpace string `json:"nameSpace" required:"true"`
}

Installing parameters for ICagent in cce cluster

func (InstallParam) ToIcAgentIstallMap

func (installParam InstallParam) ToIcAgentIstallMap() (map[string]interface{}, error)

ToIcAgentIstallMap builds a create request body from InstallParam.

Jump to

Keyboard shortcuts

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