mcinframanager

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func McInfraCreateNamespace

func McInfraCreateNamespace(mcInfraCreateNamespaceRequest *McInfraCreateNamespaceRequest) ([]byte, error)

Create Namspce

func McInfraDeleteNamespace

func McInfraDeleteNamespace(nsId string) ([]byte, error)

Delete Namespace

func McInfraListAllNamespaces

func McInfraListAllNamespaces() ([]byte, error)

List all namespaces

func McInfraUpdateNamespace

func McInfraUpdateNamespace(mcInfraUpdateNamespaceRequest *McInfraUpdateNamespaceRequest) ([]byte, error)

Update namespace

Types

type McInfraCreateNamespaceRequest

type McInfraCreateNamespaceRequest struct {
	Name        string       `json:"name"`
	Description nulls.String `json:"description"`
}

type McInfraUpdateNamespaceRequest

type McInfraUpdateNamespaceRequest struct {
	NsId        string
	Name        string       `json:"name"`
	Description nulls.String `json:"description"`
}

Jump to

Keyboard shortcuts

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