render

package
v0.0.135 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_framework_planning_render_ui_proto protoreflect.FileDescriptor

Functions

func IsFocusEndpoint

func IsFocusEndpoint(focusedPackages []string, endpoint *storage.Endpoint) bool

Types

type Label

type Label struct {
	Label        string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	ServiceProto string `protobuf:"bytes,2,opt,name=service_proto,json=serviceProto,proto3" json:"service_proto,omitempty"`
	// contains filtered or unexported fields
}

func MakeServiceLabel

func MakeServiceLabel(endpoint *storage.Endpoint) *Label

func (*Label) Descriptor deprecated

func (*Label) Descriptor() ([]byte, []int)

Deprecated: Use Label.ProtoReflect.Descriptor instead.

func (*Label) GetLabel

func (x *Label) GetLabel() string

func (*Label) GetServiceProto

func (x *Label) GetServiceProto() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoReflect

func (x *Label) ProtoReflect() protoreflect.Message

func (*Label) Reset

func (x *Label) Reset()

func (*Label) String

func (x *Label) String() string

type NetworkPlanSummary

type NetworkPlanSummary struct {
	LocalHostname   string                        `protobuf:"bytes,1,opt,name=local_hostname,json=localHostname,proto3" json:"local_hostname,omitempty"`
	FocusedServices []*NetworkPlanSummary_Service `protobuf:"bytes,2,rep,name=focused_services,json=focusedServices,proto3" json:"focused_services,omitempty"`
	SupportServices []*NetworkPlanSummary_Service `protobuf:"bytes,3,rep,name=support_services,json=supportServices,proto3" json:"support_services,omitempty"`
	// contains filtered or unexported fields
}

func NetworkPlanToSummary

func NetworkPlanToSummary(plan *storage.NetworkPlan) *NetworkPlanSummary

func (*NetworkPlanSummary) Descriptor deprecated

func (*NetworkPlanSummary) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPlanSummary.ProtoReflect.Descriptor instead.

func (*NetworkPlanSummary) GetFocusedServices

func (x *NetworkPlanSummary) GetFocusedServices() []*NetworkPlanSummary_Service

func (*NetworkPlanSummary) GetLocalHostname

func (x *NetworkPlanSummary) GetLocalHostname() string

func (*NetworkPlanSummary) GetSupportServices

func (x *NetworkPlanSummary) GetSupportServices() []*NetworkPlanSummary_Service

func (*NetworkPlanSummary) ProtoMessage

func (*NetworkPlanSummary) ProtoMessage()

func (*NetworkPlanSummary) ProtoReflect

func (x *NetworkPlanSummary) ProtoReflect() protoreflect.Message

func (*NetworkPlanSummary) Reset

func (x *NetworkPlanSummary) Reset()

func (*NetworkPlanSummary) String

func (x *NetworkPlanSummary) String() string

type NetworkPlanSummary_Service

type NetworkPlanSummary_Service struct {
	Label       *Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Focus       bool   `protobuf:"varint,2,opt,name=focus,proto3" json:"focus,omitempty"`
	LocalPort   uint32 `protobuf:"varint,4,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
	PackageName string `protobuf:"bytes,5,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	// Guaranteed to be non-empty.
	AccessCmd []*NetworkPlanSummary_Service_AccessCmd `protobuf:"bytes,6,rep,name=access_cmd,json=accessCmd,proto3" json:"access_cmd,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkPlanSummary_Service) Descriptor deprecated

func (*NetworkPlanSummary_Service) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPlanSummary_Service.ProtoReflect.Descriptor instead.

func (*NetworkPlanSummary_Service) GetAccessCmd

func (*NetworkPlanSummary_Service) GetFocus

func (x *NetworkPlanSummary_Service) GetFocus() bool

func (*NetworkPlanSummary_Service) GetLabel

func (x *NetworkPlanSummary_Service) GetLabel() *Label

func (*NetworkPlanSummary_Service) GetLocalPort

func (x *NetworkPlanSummary_Service) GetLocalPort() uint32

func (*NetworkPlanSummary_Service) GetPackageName

func (x *NetworkPlanSummary_Service) GetPackageName() string

func (*NetworkPlanSummary_Service) ProtoMessage

func (*NetworkPlanSummary_Service) ProtoMessage()

func (*NetworkPlanSummary_Service) ProtoReflect

func (*NetworkPlanSummary_Service) Reset

func (x *NetworkPlanSummary_Service) Reset()

func (*NetworkPlanSummary_Service) String

func (x *NetworkPlanSummary_Service) String() string

type NetworkPlanSummary_Service_AccessCmd

type NetworkPlanSummary_Service_AccessCmd struct {

	// url for http
	// "grpcurl" command line for grpc
	// "curl" command line for http transcoding.
	// "private:" if the service can't be accessed from outside.
	Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
	// Whether it is managed by Namespace.
	IsManaged bool `protobuf:"varint,2,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkPlanSummary_Service_AccessCmd) Descriptor deprecated

func (*NetworkPlanSummary_Service_AccessCmd) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPlanSummary_Service_AccessCmd.ProtoReflect.Descriptor instead.

func (*NetworkPlanSummary_Service_AccessCmd) GetCmd

func (*NetworkPlanSummary_Service_AccessCmd) GetIsManaged

func (x *NetworkPlanSummary_Service_AccessCmd) GetIsManaged() bool

func (*NetworkPlanSummary_Service_AccessCmd) ProtoMessage

func (*NetworkPlanSummary_Service_AccessCmd) ProtoMessage()

func (*NetworkPlanSummary_Service_AccessCmd) ProtoReflect

func (*NetworkPlanSummary_Service_AccessCmd) Reset

func (*NetworkPlanSummary_Service_AccessCmd) String

Jump to

Keyboard shortcuts

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