model

package
v0.0.0-...-bc2c20b Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Error

type Error struct {
	Code        string `json:"code"`
	Description string `json:"description"`
}

Define Error

type MeshSyncEvent

type MeshSyncEvent struct {
	Type      string      `json:"type"`
	Object    interface{} `json:"object"`
	ContextID string      `json:"contextId"`
}

type MeshType

type MeshType string

MeshType indicates the type of Service Mesh

const (
	MeshTypeAllMesh            MeshType = "ALL_MESH"
	MeshTypeInvalidMesh        MeshType = "INVALID_MESH"
	MeshTypeAppMesh            MeshType = "APP_MESH"
	MeshTypeCiliumServiceMesh  MeshType = "CILIUM_SERVICE_MESH"
	MeshTypeCitrixServiceMesh  MeshType = "CITRIX_SERVICE_MESH"
	MeshTypeConsul             MeshType = "CONSUL"
	MeshTypeIstio              MeshType = "ISTIO"
	MeshTypeKuma               MeshType = "KUMA"
	MeshTypeLinkerd            MeshType = "LINKERD"
	MeshTypeNetworkServiceMesh MeshType = "NETWORK_SERVICE_MESH"
	MeshTypeNginxServiceMesh   MeshType = "NGINX_SERVICE_MESH"
	MeshTypeOctarine           MeshType = "OCTARINE"
	MeshTypeOpenServiceMesh    MeshType = "OPEN_SERVICE_MESH"
	MeshTypeTanzu              MeshType = "TANZU"
)

func (MeshType) IsValid

func (e MeshType) IsValid() bool

func (MeshType) MarshalGQL

func (e MeshType) MarshalGQL(w io.Writer)

func (MeshType) String

func (e MeshType) String() string

func (*MeshType) UnmarshalGQL

func (e *MeshType) UnmarshalGQL(v interface{}) error

type MesheryController

type MesheryController string
const (
	MesheryControllerBroker   MesheryController = "BROKER"
	MesheryControllerOperator MesheryController = "OPERATOR"
	MesheryControllerMeshsync MesheryController = "MESHSYNC"
)

func (MesheryController) IsValid

func (e MesheryController) IsValid() bool

func (MesheryController) MarshalGQL

func (e MesheryController) MarshalGQL(w io.Writer)

func (MesheryController) String

func (e MesheryController) String() string

func (*MesheryController) UnmarshalGQL

func (e *MesheryController) UnmarshalGQL(v interface{}) error

type MesheryControllerStatus

type MesheryControllerStatus string
const (
	MesheryControllerStatusDeployed    MesheryControllerStatus = "DEPLOYED"
	MesheryControllerStatusNotdeployed MesheryControllerStatus = "NOTDEPLOYED"
	MesheryControllerStatusDeploying   MesheryControllerStatus = "DEPLOYING"
	MesheryControllerStatusUnknown     MesheryControllerStatus = "UNKNOWN"
)

func (MesheryControllerStatus) IsValid

func (e MesheryControllerStatus) IsValid() bool

func (MesheryControllerStatus) MarshalGQL

func (e MesheryControllerStatus) MarshalGQL(w io.Writer)

func (MesheryControllerStatus) String

func (e MesheryControllerStatus) String() string

func (*MesheryControllerStatus) UnmarshalGQL

func (e *MesheryControllerStatus) UnmarshalGQL(v interface{}) error

type MesheryControllersStatusListItem

type MesheryControllersStatusListItem struct {
	ContextID  string                  `json:"contextId"`
	Controller MesheryController       `json:"controller"`
	Status     MesheryControllerStatus `json:"status"`
}

type Namespace

type Namespace struct {
	Namespace string `json:"namespace"`
}

Define Namespace

type Status

type Status string

Define Status

const (
	StatusEnabled    Status = "ENABLED"
	StatusConnected  Status = "CONNECTED"
	StatusDisabled   Status = "DISABLED"
	StatusProcessing Status = "PROCESSING"
	StatusUnknown    Status = "UNKNOWN"
)

func (Status) IsValid

func (e Status) IsValid() bool

func (Status) MarshalGQL

func (e Status) MarshalGQL(w io.Writer)

func (Status) String

func (e Status) String() string

func (*Status) UnmarshalGQL

func (e *Status) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

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