icagents

package
v0.0.0-...-63319d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MPL-2.0, Apache-2.0 Imports: 1 Imported by: 0

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

func Create(c *golangsdk.ServiceClient, opts CreateOptsBuilder) (r CreateResult)

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