model

package
v0.5.0-rc-3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AddonConfig

type AddonConfig struct {
	ServiceName string `json:"serviceName"`
	Endpoint    string `json:"endpoint"`
}

type AddonList

type AddonList struct {
	Type   string       `json:"type"`
	Status *Status      `json:"status"`
	Config *AddonConfig `json:"config"`
}

type AddonSelector

type AddonSelector string
const (
	AddonSelectorPrometheus AddonSelector = "PROMETHEUS"
	AddonSelectorGrafana    AddonSelector = "GRAFANA"
	AddonSelectorZipkin     AddonSelector = "ZIPKIN"
	AddonSelectorJaeger     AddonSelector = "JAEGER"
	AddonSelectorKiali      AddonSelector = "KIALI"
)

func (AddonSelector) IsValid

func (e AddonSelector) IsValid() bool

func (AddonSelector) MarshalGQL

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

func (AddonSelector) String

func (e AddonSelector) String() string

func (*AddonSelector) UnmarshalGQL

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

type ControlPlane

type ControlPlane struct {
	Name    *MeshType             `json:"name"`
	Version string                `json:"version"`
	Members []*ControlPlaneMember `json:"members"`
}

type ControlPlaneFilter

type ControlPlaneFilter struct {
	Type *MeshType `json:"type"`
}

type ControlPlaneMember

type ControlPlaneMember struct {
	Component string  `json:"component"`
	Namespace string  `json:"namespace"`
	Status    *Status `json:"status"`
}

type Error

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

type MeshType

type MeshType string
const (
	MeshTypeAll             MeshType = "ALL"
	MeshTypeNone            MeshType = "NONE"
	MeshTypeIstio           MeshType = "ISTIO"
	MeshTypeLinkerd         MeshType = "LINKERD"
	MeshTypeConsul          MeshType = "CONSUL"
	MeshTypeOctarine        MeshType = "OCTARINE"
	MeshTypeTraefik         MeshType = "TRAEFIK"
	MeshTypeOpenservicemesh MeshType = "OPENSERVICEMESH"
	MeshTypeKuma            MeshType = "KUMA"
	MeshTypeNginxsm         MeshType = "NGINXSM"
	MeshTypeNetworksm       MeshType = "NETWORKSM"
	MeshTypeCitrixsm        MeshType = "CITRIXSM"
)

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 OperatorControllerStatus

type OperatorControllerStatus struct {
	Name   *string `json:"name"`
	Status *Status `json:"status"`
	Error  *Error  `json:"error"`
}

type OperatorStatus

type OperatorStatus struct {
	Status *Status `json:"status"`
	Error  *Error  `json:"error"`
}

type Status

type Status string
const (
	StatusEnabled  Status = "ENABLED"
	StatusDisabled Status = "DISABLED"
	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