Documentation ¶
Index ¶
- Variables
- func RegisterTopologyManagerServer(s grpc.ServiceRegistrar, srv TopologyManagerServer)
- type CEOSLabSpec
- func (*CEOSLabSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CEOSLabSpec) GetManifestDir() stringdeprecated
- func (x *CEOSLabSpec) GetOperator() *Manifest
- func (*CEOSLabSpec) ProtoMessage()
- func (x *CEOSLabSpec) ProtoReflect() protoreflect.Message
- func (x *CEOSLabSpec) Reset()
- func (x *CEOSLabSpec) String() string
- type ClusterState
- func (ClusterState) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterState) Enum() *ClusterState
- func (ClusterState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterState) Number() protoreflect.EnumNumber
- func (x ClusterState) String() string
- func (ClusterState) Type() protoreflect.EnumType
- type ControllerSpec
- func (*ControllerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerSpec) GetCeoslab() *CEOSLabSpec
- func (x *ControllerSpec) GetIxiatg() *IxiaTGSpec
- func (x *ControllerSpec) GetLemming() *LemmingSpec
- func (m *ControllerSpec) GetSpec() isControllerSpec_Spec
- func (x *ControllerSpec) GetSrlinux() *SRLinuxSpec
- func (*ControllerSpec) ProtoMessage()
- func (x *ControllerSpec) ProtoReflect() protoreflect.Message
- func (x *ControllerSpec) Reset()
- func (x *ControllerSpec) String() string
- type ControllerSpec_Ceoslab
- type ControllerSpec_Ixiatg
- type ControllerSpec_Lemming
- type ControllerSpec_Srlinux
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (m *CreateClusterRequest) GetClusterSpec() isCreateClusterRequest_ClusterSpec
- func (m *CreateClusterRequest) GetCniSpec() isCreateClusterRequest_CniSpec
- func (x *CreateClusterRequest) GetControllerSpecs() []*ControllerSpec
- func (x *CreateClusterRequest) GetExternal() *ExternalSpec
- func (m *CreateClusterRequest) GetIngressSpec() isCreateClusterRequest_IngressSpec
- func (x *CreateClusterRequest) GetKind() *KindSpec
- func (x *CreateClusterRequest) GetMeshnet() *MeshnetSpec
- func (x *CreateClusterRequest) GetMetallb() *MetallbSpec
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (x *CreateClusterRequest) String() string
- type CreateClusterRequest_External
- type CreateClusterRequest_Kind
- type CreateClusterRequest_Meshnet
- type CreateClusterRequest_Metallb
- type CreateClusterResponse
- func (*CreateClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterResponse) GetName() string
- func (x *CreateClusterResponse) GetState() ClusterState
- func (*CreateClusterResponse) ProtoMessage()
- func (x *CreateClusterResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClusterResponse) Reset()
- func (x *CreateClusterResponse) String() string
- type CreateTopologyRequest
- func (*CreateTopologyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTopologyRequest) GetKubecfg() string
- func (x *CreateTopologyRequest) GetTopology() *topo.Topology
- func (*CreateTopologyRequest) ProtoMessage()
- func (x *CreateTopologyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTopologyRequest) Reset()
- func (x *CreateTopologyRequest) String() string
- type CreateTopologyResponse
- func (*CreateTopologyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTopologyResponse) GetState() TopologyState
- func (x *CreateTopologyResponse) GetTopologyName() string
- func (*CreateTopologyResponse) ProtoMessage()
- func (x *CreateTopologyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTopologyResponse) Reset()
- func (x *CreateTopologyResponse) String() string
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetName() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (x *DeleteClusterRequest) String() string
- type DeleteClusterResponse
- type DeleteTopologyRequest
- func (*DeleteTopologyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTopologyRequest) GetTopologyName() string
- func (*DeleteTopologyRequest) ProtoMessage()
- func (x *DeleteTopologyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTopologyRequest) Reset()
- func (x *DeleteTopologyRequest) String() string
- type DeleteTopologyResponse
- type ExternalSpec
- type IxiaTGConfigMap
- func (*IxiaTGConfigMap) Descriptor() ([]byte, []int)deprecated
- func (x *IxiaTGConfigMap) GetImages() []*IxiaTGImage
- func (x *IxiaTGConfigMap) GetRelease() string
- func (*IxiaTGConfigMap) ProtoMessage()
- func (x *IxiaTGConfigMap) ProtoReflect() protoreflect.Message
- func (x *IxiaTGConfigMap) Reset()
- func (x *IxiaTGConfigMap) String() string
- type IxiaTGImage
- func (*IxiaTGImage) Descriptor() ([]byte, []int)deprecated
- func (x *IxiaTGImage) GetName() string
- func (x *IxiaTGImage) GetPath() string
- func (x *IxiaTGImage) GetTag() string
- func (*IxiaTGImage) ProtoMessage()
- func (x *IxiaTGImage) ProtoReflect() protoreflect.Message
- func (x *IxiaTGImage) Reset()
- func (x *IxiaTGImage) String() string
- type IxiaTGSpec
- func (*IxiaTGSpec) Descriptor() ([]byte, []int)deprecated
- func (x *IxiaTGSpec) GetCfgMap() *Manifest
- func (x *IxiaTGSpec) GetConfigMap() *IxiaTGConfigMapdeprecated
- func (x *IxiaTGSpec) GetManifestDir() stringdeprecated
- func (x *IxiaTGSpec) GetOperator() *Manifest
- func (*IxiaTGSpec) ProtoMessage()
- func (x *IxiaTGSpec) ProtoReflect() protoreflect.Message
- func (x *IxiaTGSpec) Reset()
- func (x *IxiaTGSpec) String() string
- type KindSpec
- func (*KindSpec) Descriptor() ([]byte, []int)deprecated
- func (x *KindSpec) GetAdditionalManifests() []string
- func (x *KindSpec) GetConfig() string
- func (x *KindSpec) GetContainerImages() map[string]string
- func (x *KindSpec) GetGoogleArtifactRegistries() []string
- func (x *KindSpec) GetImage() string
- func (x *KindSpec) GetKubecfg() string
- func (x *KindSpec) GetName() string
- func (x *KindSpec) GetRecycle() bool
- func (x *KindSpec) GetRetain() bool
- func (x *KindSpec) GetVersion() string
- func (*KindSpec) ProtoMessage()
- func (x *KindSpec) ProtoReflect() protoreflect.Message
- func (x *KindSpec) Reset()
- func (x *KindSpec) String() string
- type LemmingSpec
- func (*LemmingSpec) Descriptor() ([]byte, []int)deprecated
- func (x *LemmingSpec) GetManifestDir() stringdeprecated
- func (x *LemmingSpec) GetOperator() *Manifest
- func (*LemmingSpec) ProtoMessage()
- func (x *LemmingSpec) ProtoReflect() protoreflect.Message
- func (x *LemmingSpec) Reset()
- func (x *LemmingSpec) String() string
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *Manifest) GetData() []byte
- func (x *Manifest) GetFile() string
- func (m *Manifest) GetManifestData() isManifest_ManifestData
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) String() string
- type Manifest_Data
- type Manifest_File
- type MeshnetSpec
- func (*MeshnetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MeshnetSpec) GetManifest() *Manifest
- func (x *MeshnetSpec) GetManifestDir() stringdeprecated
- func (*MeshnetSpec) ProtoMessage()
- func (x *MeshnetSpec) ProtoReflect() protoreflect.Message
- func (x *MeshnetSpec) Reset()
- func (x *MeshnetSpec) String() string
- type MetallbSpec
- func (*MetallbSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MetallbSpec) GetIpCount() int32
- func (x *MetallbSpec) GetManifest() *Manifest
- func (x *MetallbSpec) GetManifestDir() stringdeprecated
- func (*MetallbSpec) ProtoMessage()
- func (x *MetallbSpec) ProtoReflect() protoreflect.Message
- func (x *MetallbSpec) Reset()
- func (x *MetallbSpec) String() string
- type PushConfigRequest
- func (*PushConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushConfigRequest) GetConfig() []byte
- func (x *PushConfigRequest) GetDeviceName() string
- func (x *PushConfigRequest) GetTopologyName() string
- func (*PushConfigRequest) ProtoMessage()
- func (x *PushConfigRequest) ProtoReflect() protoreflect.Message
- func (x *PushConfigRequest) Reset()
- func (x *PushConfigRequest) String() string
- type PushConfigResponse
- type ResetConfigRequest
- func (*ResetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetConfigRequest) GetDeviceName() string
- func (x *ResetConfigRequest) GetTopologyName() string
- func (*ResetConfigRequest) ProtoMessage()
- func (x *ResetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ResetConfigRequest) Reset()
- func (x *ResetConfigRequest) String() string
- type ResetConfigResponse
- type SRLinuxSpec
- func (*SRLinuxSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SRLinuxSpec) GetManifestDir() stringdeprecated
- func (x *SRLinuxSpec) GetOperator() *Manifest
- func (*SRLinuxSpec) ProtoMessage()
- func (x *SRLinuxSpec) ProtoReflect() protoreflect.Message
- func (x *SRLinuxSpec) Reset()
- func (x *SRLinuxSpec) String() string
- type ShowClusterRequest
- func (*ShowClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShowClusterRequest) GetName() string
- func (*ShowClusterRequest) ProtoMessage()
- func (x *ShowClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ShowClusterRequest) Reset()
- func (x *ShowClusterRequest) String() string
- type ShowClusterResponse
- func (*ShowClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowClusterResponse) GetState() ClusterState
- func (x *ShowClusterResponse) GetTopologyNames() []string
- func (*ShowClusterResponse) ProtoMessage()
- func (x *ShowClusterResponse) ProtoReflect() protoreflect.Message
- func (x *ShowClusterResponse) Reset()
- func (x *ShowClusterResponse) String() string
- type ShowTopologyRequest
- func (*ShowTopologyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShowTopologyRequest) GetTopologyName() string
- func (*ShowTopologyRequest) ProtoMessage()
- func (x *ShowTopologyRequest) ProtoReflect() protoreflect.Message
- func (x *ShowTopologyRequest) Reset()
- func (x *ShowTopologyRequest) String() string
- type ShowTopologyResponse
- func (*ShowTopologyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowTopologyResponse) GetState() TopologyState
- func (x *ShowTopologyResponse) GetTopology() *topo.Topology
- func (*ShowTopologyResponse) ProtoMessage()
- func (x *ShowTopologyResponse) ProtoReflect() protoreflect.Message
- func (x *ShowTopologyResponse) Reset()
- func (x *ShowTopologyResponse) String() string
- type TopologyManagerClient
- type TopologyManagerServer
- type TopologyState
- func (TopologyState) Descriptor() protoreflect.EnumDescriptor
- func (x TopologyState) Enum() *TopologyState
- func (TopologyState) EnumDescriptor() ([]byte, []int)deprecated
- func (x TopologyState) Number() protoreflect.EnumNumber
- func (x TopologyState) String() string
- func (TopologyState) Type() protoreflect.EnumType
- type UnimplementedTopologyManagerServer
- func (UnimplementedTopologyManagerServer) CreateCluster(context.Context, *CreateClusterRequest) (*CreateClusterResponse, error)
- func (UnimplementedTopologyManagerServer) CreateTopology(context.Context, *CreateTopologyRequest) (*CreateTopologyResponse, error)
- func (UnimplementedTopologyManagerServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
- func (UnimplementedTopologyManagerServer) DeleteTopology(context.Context, *DeleteTopologyRequest) (*DeleteTopologyResponse, error)
- func (UnimplementedTopologyManagerServer) PushConfig(context.Context, *PushConfigRequest) (*PushConfigResponse, error)
- func (UnimplementedTopologyManagerServer) ResetConfig(context.Context, *ResetConfigRequest) (*ResetConfigResponse, error)
- func (UnimplementedTopologyManagerServer) ShowCluster(context.Context, *ShowClusterRequest) (*ShowClusterResponse, error)
- func (UnimplementedTopologyManagerServer) ShowTopology(context.Context, *ShowTopologyRequest) (*ShowTopologyResponse, error)
- type UnsafeTopologyManagerServer
Constants ¶
This section is empty.
Variables ¶
var ( ClusterState_name = map[int32]string{ 0: "CLUSTER_STATE_UNSPECIFIED", 1: "CLUSTER_STATE_CREATING", 2: "CLUSTER_STATE_RUNNING", 3: "CLUSTER_STATE_ERROR", } ClusterState_value = map[string]int32{ "CLUSTER_STATE_UNSPECIFIED": 0, "CLUSTER_STATE_CREATING": 1, "CLUSTER_STATE_RUNNING": 2, "CLUSTER_STATE_ERROR": 3, } )
Enum value maps for ClusterState.
var ( TopologyState_name = map[int32]string{ 0: "TOPOLOGY_STATE_UNSPECIFIED", 1: "TOPOLOGY_STATE_CREATING", 2: "TOPOLOGY_STATE_RUNNING", 3: "TOPOLOGY_STATE_ERROR", } TopologyState_value = map[string]int32{ "TOPOLOGY_STATE_UNSPECIFIED": 0, "TOPOLOGY_STATE_CREATING": 1, "TOPOLOGY_STATE_RUNNING": 2, "TOPOLOGY_STATE_ERROR": 3, } )
Enum value maps for TopologyState.
var File_controller_proto protoreflect.FileDescriptor
var TopologyManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "controller.TopologyManager", HandlerType: (*TopologyManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTopology", Handler: _TopologyManager_CreateTopology_Handler, }, { MethodName: "DeleteTopology", Handler: _TopologyManager_DeleteTopology_Handler, }, { MethodName: "ShowTopology", Handler: _TopologyManager_ShowTopology_Handler, }, { MethodName: "CreateCluster", Handler: _TopologyManager_CreateCluster_Handler, }, { MethodName: "DeleteCluster", Handler: _TopologyManager_DeleteCluster_Handler, }, { MethodName: "ShowCluster", Handler: _TopologyManager_ShowCluster_Handler, }, { MethodName: "PushConfig", Handler: _TopologyManager_PushConfig_Handler, }, { MethodName: "ResetConfig", Handler: _TopologyManager_ResetConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "controller.proto", }
TopologyManager_ServiceDesc is the grpc.ServiceDesc for TopologyManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTopologyManagerServer ¶
func RegisterTopologyManagerServer(s grpc.ServiceRegistrar, srv TopologyManagerServer)
Types ¶
type CEOSLabSpec ¶ added in v0.1.7
type CEOSLabSpec struct { // Deprecated: Do not use. ManifestDir string `protobuf:"bytes,1,opt,name=manifest_dir,json=manifestDir,proto3" json:"manifest_dir,omitempty"` Operator *Manifest `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` // contains filtered or unexported fields }
CEOSLab specifications
func (*CEOSLabSpec) Descriptor
deprecated
added in
v0.1.7
func (*CEOSLabSpec) Descriptor() ([]byte, []int)
Deprecated: Use CEOSLabSpec.ProtoReflect.Descriptor instead.
func (*CEOSLabSpec) GetManifestDir
deprecated
added in
v0.1.7
func (x *CEOSLabSpec) GetManifestDir() string
Deprecated: Do not use.
func (*CEOSLabSpec) GetOperator ¶ added in v0.1.8
func (x *CEOSLabSpec) GetOperator() *Manifest
func (*CEOSLabSpec) ProtoMessage ¶ added in v0.1.7
func (*CEOSLabSpec) ProtoMessage()
func (*CEOSLabSpec) ProtoReflect ¶ added in v0.1.7
func (x *CEOSLabSpec) ProtoReflect() protoreflect.Message
func (*CEOSLabSpec) Reset ¶ added in v0.1.7
func (x *CEOSLabSpec) Reset()
func (*CEOSLabSpec) String ¶ added in v0.1.7
func (x *CEOSLabSpec) String() string
type ClusterState ¶
type ClusterState int32
const ( ClusterState_CLUSTER_STATE_UNSPECIFIED ClusterState = 0 ClusterState_CLUSTER_STATE_CREATING ClusterState = 1 ClusterState_CLUSTER_STATE_RUNNING ClusterState = 2 ClusterState_CLUSTER_STATE_ERROR ClusterState = 3 )
func (ClusterState) Descriptor ¶
func (ClusterState) Descriptor() protoreflect.EnumDescriptor
func (ClusterState) Enum ¶
func (x ClusterState) Enum() *ClusterState
func (ClusterState) EnumDescriptor
deprecated
func (ClusterState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterState.Descriptor instead.
func (ClusterState) Number ¶
func (x ClusterState) Number() protoreflect.EnumNumber
func (ClusterState) String ¶
func (x ClusterState) String() string
func (ClusterState) Type ¶
func (ClusterState) Type() protoreflect.EnumType
type ControllerSpec ¶
type ControllerSpec struct { // Types that are assignable to Spec: // *ControllerSpec_Ixiatg // *ControllerSpec_Srlinux // *ControllerSpec_Ceoslab // *ControllerSpec_Lemming Spec isControllerSpec_Spec `protobuf_oneof:"spec"` // contains filtered or unexported fields }
Controller specifications
func (*ControllerSpec) Descriptor
deprecated
func (*ControllerSpec) Descriptor() ([]byte, []int)
Deprecated: Use ControllerSpec.ProtoReflect.Descriptor instead.
func (*ControllerSpec) GetCeoslab ¶ added in v0.1.7
func (x *ControllerSpec) GetCeoslab() *CEOSLabSpec
func (*ControllerSpec) GetIxiatg ¶
func (x *ControllerSpec) GetIxiatg() *IxiaTGSpec
func (*ControllerSpec) GetLemming ¶ added in v0.1.7
func (x *ControllerSpec) GetLemming() *LemmingSpec
func (*ControllerSpec) GetSpec ¶
func (m *ControllerSpec) GetSpec() isControllerSpec_Spec
func (*ControllerSpec) GetSrlinux ¶ added in v0.1.3
func (x *ControllerSpec) GetSrlinux() *SRLinuxSpec
func (*ControllerSpec) ProtoMessage ¶
func (*ControllerSpec) ProtoMessage()
func (*ControllerSpec) ProtoReflect ¶
func (x *ControllerSpec) ProtoReflect() protoreflect.Message
func (*ControllerSpec) Reset ¶
func (x *ControllerSpec) Reset()
func (*ControllerSpec) String ¶
func (x *ControllerSpec) String() string
type ControllerSpec_Ceoslab ¶ added in v0.1.7
type ControllerSpec_Ceoslab struct {
Ceoslab *CEOSLabSpec `protobuf:"bytes,3,opt,name=ceoslab,proto3,oneof"`
}
type ControllerSpec_Ixiatg ¶
type ControllerSpec_Ixiatg struct {
Ixiatg *IxiaTGSpec `protobuf:"bytes,1,opt,name=ixiatg,proto3,oneof"`
}
type ControllerSpec_Lemming ¶ added in v0.1.7
type ControllerSpec_Lemming struct {
Lemming *LemmingSpec `protobuf:"bytes,4,opt,name=lemming,proto3,oneof"`
}
type ControllerSpec_Srlinux ¶ added in v0.1.3
type ControllerSpec_Srlinux struct {
Srlinux *SRLinuxSpec `protobuf:"bytes,2,opt,name=srlinux,proto3,oneof"`
}
type CreateClusterRequest ¶
type CreateClusterRequest struct { // Types that are assignable to ClusterSpec: // *CreateClusterRequest_Kind // *CreateClusterRequest_External ClusterSpec isCreateClusterRequest_ClusterSpec `protobuf_oneof:"cluster_spec"` // Types that are assignable to IngressSpec: // *CreateClusterRequest_Metallb IngressSpec isCreateClusterRequest_IngressSpec `protobuf_oneof:"ingress_spec"` // Types that are assignable to CniSpec: // *CreateClusterRequest_Meshnet CniSpec isCreateClusterRequest_CniSpec `protobuf_oneof:"cni_spec"` ControllerSpecs []*ControllerSpec `protobuf:"bytes,4,rep,name=controller_specs,json=controllerSpecs,proto3" json:"controller_specs,omitempty"` // contains filtered or unexported fields }
Request message to create a cluster.
func (*CreateClusterRequest) Descriptor
deprecated
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetClusterSpec ¶
func (m *CreateClusterRequest) GetClusterSpec() isCreateClusterRequest_ClusterSpec
func (*CreateClusterRequest) GetCniSpec ¶
func (m *CreateClusterRequest) GetCniSpec() isCreateClusterRequest_CniSpec
func (*CreateClusterRequest) GetControllerSpecs ¶
func (x *CreateClusterRequest) GetControllerSpecs() []*ControllerSpec
func (*CreateClusterRequest) GetExternal ¶ added in v0.1.7
func (x *CreateClusterRequest) GetExternal() *ExternalSpec
func (*CreateClusterRequest) GetIngressSpec ¶
func (m *CreateClusterRequest) GetIngressSpec() isCreateClusterRequest_IngressSpec
func (*CreateClusterRequest) GetKind ¶
func (x *CreateClusterRequest) GetKind() *KindSpec
func (*CreateClusterRequest) GetMeshnet ¶
func (x *CreateClusterRequest) GetMeshnet() *MeshnetSpec
func (*CreateClusterRequest) GetMetallb ¶
func (x *CreateClusterRequest) GetMetallb() *MetallbSpec
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect ¶
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset ¶
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (x *CreateClusterRequest) String() string
type CreateClusterRequest_External ¶ added in v0.1.7
type CreateClusterRequest_External struct {
External *ExternalSpec `protobuf:"bytes,5,opt,name=external,proto3,oneof"`
}
type CreateClusterRequest_Kind ¶
type CreateClusterRequest_Kind struct {
Kind *KindSpec `protobuf:"bytes,1,opt,name=kind,proto3,oneof"`
}
type CreateClusterRequest_Meshnet ¶
type CreateClusterRequest_Meshnet struct {
Meshnet *MeshnetSpec `protobuf:"bytes,3,opt,name=meshnet,proto3,oneof"`
}
type CreateClusterRequest_Metallb ¶
type CreateClusterRequest_Metallb struct {
Metallb *MetallbSpec `protobuf:"bytes,2,opt,name=metallb,proto3,oneof"`
}
type CreateClusterResponse ¶
type CreateClusterResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` State ClusterState `protobuf:"varint,2,opt,name=state,proto3,enum=controller.ClusterState" json:"state,omitempty"` // contains filtered or unexported fields }
Returns create cluster response.
func (*CreateClusterResponse) Descriptor
deprecated
func (*CreateClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterResponse.ProtoReflect.Descriptor instead.
func (*CreateClusterResponse) GetName ¶
func (x *CreateClusterResponse) GetName() string
func (*CreateClusterResponse) GetState ¶
func (x *CreateClusterResponse) GetState() ClusterState
func (*CreateClusterResponse) ProtoMessage ¶
func (*CreateClusterResponse) ProtoMessage()
func (*CreateClusterResponse) ProtoReflect ¶
func (x *CreateClusterResponse) ProtoReflect() protoreflect.Message
func (*CreateClusterResponse) Reset ¶
func (x *CreateClusterResponse) Reset()
func (*CreateClusterResponse) String ¶
func (x *CreateClusterResponse) String() string
type CreateTopologyRequest ¶
type CreateTopologyRequest struct { Topology *topo.Topology `protobuf:"bytes,1,opt,name=topology,proto3" json:"topology,omitempty"` Kubecfg string `protobuf:"bytes,2,opt,name=kubecfg,proto3" json:"kubecfg,omitempty"` // contains filtered or unexported fields }
Request message to create a topology.
func (*CreateTopologyRequest) Descriptor
deprecated
func (*CreateTopologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTopologyRequest.ProtoReflect.Descriptor instead.
func (*CreateTopologyRequest) GetKubecfg ¶
func (x *CreateTopologyRequest) GetKubecfg() string
func (*CreateTopologyRequest) GetTopology ¶
func (x *CreateTopologyRequest) GetTopology() *topo.Topology
func (*CreateTopologyRequest) ProtoMessage ¶
func (*CreateTopologyRequest) ProtoMessage()
func (*CreateTopologyRequest) ProtoReflect ¶
func (x *CreateTopologyRequest) ProtoReflect() protoreflect.Message
func (*CreateTopologyRequest) Reset ¶
func (x *CreateTopologyRequest) Reset()
func (*CreateTopologyRequest) String ¶
func (x *CreateTopologyRequest) String() string
type CreateTopologyResponse ¶
type CreateTopologyResponse struct { TopologyName string `protobuf:"bytes,1,opt,name=topology_name,json=topologyName,proto3" json:"topology_name,omitempty"` State TopologyState `protobuf:"varint,2,opt,name=state,proto3,enum=controller.TopologyState" json:"state,omitempty"` // contains filtered or unexported fields }
Returns create topology response.
func (*CreateTopologyResponse) Descriptor
deprecated
func (*CreateTopologyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTopologyResponse.ProtoReflect.Descriptor instead.
func (*CreateTopologyResponse) GetState ¶
func (x *CreateTopologyResponse) GetState() TopologyState
func (*CreateTopologyResponse) GetTopologyName ¶
func (x *CreateTopologyResponse) GetTopologyName() string
func (*CreateTopologyResponse) ProtoMessage ¶
func (*CreateTopologyResponse) ProtoMessage()
func (*CreateTopologyResponse) ProtoReflect ¶
func (x *CreateTopologyResponse) ProtoReflect() protoreflect.Message
func (*CreateTopologyResponse) Reset ¶
func (x *CreateTopologyResponse) Reset()
func (*CreateTopologyResponse) String ¶
func (x *CreateTopologyResponse) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to delete a cluster.
func (*DeleteClusterRequest) Descriptor
deprecated
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetName ¶
func (x *DeleteClusterRequest) GetName() string
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect ¶
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset ¶
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (x *DeleteClusterRequest) String() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
// contains filtered or unexported fields
}
Returns delete cluster response.
func (*DeleteClusterResponse) Descriptor
deprecated
func (*DeleteClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterResponse.ProtoReflect.Descriptor instead.
func (*DeleteClusterResponse) ProtoMessage ¶
func (*DeleteClusterResponse) ProtoMessage()
func (*DeleteClusterResponse) ProtoReflect ¶
func (x *DeleteClusterResponse) ProtoReflect() protoreflect.Message
func (*DeleteClusterResponse) Reset ¶
func (x *DeleteClusterResponse) Reset()
func (*DeleteClusterResponse) String ¶
func (x *DeleteClusterResponse) String() string
type DeleteTopologyRequest ¶
type DeleteTopologyRequest struct { TopologyName string `protobuf:"bytes,1,opt,name=topology_name,json=topologyName,proto3" json:"topology_name,omitempty"` // contains filtered or unexported fields }
Request message to delete a topology.
func (*DeleteTopologyRequest) Descriptor
deprecated
func (*DeleteTopologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTopologyRequest.ProtoReflect.Descriptor instead.
func (*DeleteTopologyRequest) GetTopologyName ¶
func (x *DeleteTopologyRequest) GetTopologyName() string
func (*DeleteTopologyRequest) ProtoMessage ¶
func (*DeleteTopologyRequest) ProtoMessage()
func (*DeleteTopologyRequest) ProtoReflect ¶
func (x *DeleteTopologyRequest) ProtoReflect() protoreflect.Message
func (*DeleteTopologyRequest) Reset ¶
func (x *DeleteTopologyRequest) Reset()
func (*DeleteTopologyRequest) String ¶
func (x *DeleteTopologyRequest) String() string
type DeleteTopologyResponse ¶
type DeleteTopologyResponse struct {
// contains filtered or unexported fields
}
Returns delete topology response.
func (*DeleteTopologyResponse) Descriptor
deprecated
func (*DeleteTopologyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTopologyResponse.ProtoReflect.Descriptor instead.
func (*DeleteTopologyResponse) ProtoMessage ¶
func (*DeleteTopologyResponse) ProtoMessage()
func (*DeleteTopologyResponse) ProtoReflect ¶
func (x *DeleteTopologyResponse) ProtoReflect() protoreflect.Message
func (*DeleteTopologyResponse) Reset ¶
func (x *DeleteTopologyResponse) Reset()
func (*DeleteTopologyResponse) String ¶
func (x *DeleteTopologyResponse) String() string
type ExternalSpec ¶ added in v0.1.7
type ExternalSpec struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // name of the docker network to use for ingress // contains filtered or unexported fields }
External cluster specifications
func (*ExternalSpec) Descriptor
deprecated
added in
v0.1.7
func (*ExternalSpec) Descriptor() ([]byte, []int)
Deprecated: Use ExternalSpec.ProtoReflect.Descriptor instead.
func (*ExternalSpec) GetNetwork ¶ added in v0.1.7
func (x *ExternalSpec) GetNetwork() string
func (*ExternalSpec) ProtoMessage ¶ added in v0.1.7
func (*ExternalSpec) ProtoMessage()
func (*ExternalSpec) ProtoReflect ¶ added in v0.1.7
func (x *ExternalSpec) ProtoReflect() protoreflect.Message
func (*ExternalSpec) Reset ¶ added in v0.1.7
func (x *ExternalSpec) Reset()
func (*ExternalSpec) String ¶ added in v0.1.7
func (x *ExternalSpec) String() string
type IxiaTGConfigMap ¶
type IxiaTGConfigMap struct { Release string `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"` Images []*IxiaTGImage `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
IxiaTG config map values
func (*IxiaTGConfigMap) Descriptor
deprecated
func (*IxiaTGConfigMap) Descriptor() ([]byte, []int)
Deprecated: Use IxiaTGConfigMap.ProtoReflect.Descriptor instead.
func (*IxiaTGConfigMap) GetImages ¶
func (x *IxiaTGConfigMap) GetImages() []*IxiaTGImage
func (*IxiaTGConfigMap) GetRelease ¶
func (x *IxiaTGConfigMap) GetRelease() string
func (*IxiaTGConfigMap) ProtoMessage ¶
func (*IxiaTGConfigMap) ProtoMessage()
func (*IxiaTGConfigMap) ProtoReflect ¶
func (x *IxiaTGConfigMap) ProtoReflect() protoreflect.Message
func (*IxiaTGConfigMap) Reset ¶
func (x *IxiaTGConfigMap) Reset()
func (*IxiaTGConfigMap) String ¶
func (x *IxiaTGConfigMap) String() string
type IxiaTGImage ¶
type IxiaTGImage struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
IxiaTG image identifier
func (*IxiaTGImage) Descriptor
deprecated
func (*IxiaTGImage) Descriptor() ([]byte, []int)
Deprecated: Use IxiaTGImage.ProtoReflect.Descriptor instead.
func (*IxiaTGImage) GetName ¶
func (x *IxiaTGImage) GetName() string
func (*IxiaTGImage) GetPath ¶
func (x *IxiaTGImage) GetPath() string
func (*IxiaTGImage) GetTag ¶
func (x *IxiaTGImage) GetTag() string
func (*IxiaTGImage) ProtoMessage ¶
func (*IxiaTGImage) ProtoMessage()
func (*IxiaTGImage) ProtoReflect ¶
func (x *IxiaTGImage) ProtoReflect() protoreflect.Message
func (*IxiaTGImage) Reset ¶
func (x *IxiaTGImage) Reset()
func (*IxiaTGImage) String ¶
func (x *IxiaTGImage) String() string
type IxiaTGSpec ¶
type IxiaTGSpec struct { // Deprecated: Do not use. ManifestDir string `protobuf:"bytes,1,opt,name=manifest_dir,json=manifestDir,proto3" json:"manifest_dir,omitempty"` // Deprecated: Do not use. ConfigMap *IxiaTGConfigMap `protobuf:"bytes,2,opt,name=config_map,json=configMap,proto3" json:"config_map,omitempty"` Operator *Manifest `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` CfgMap *Manifest `protobuf:"bytes,4,opt,name=cfg_map,json=cfgMap,proto3" json:"cfg_map,omitempty"` // contains filtered or unexported fields }
IxiaTG specifications
func (*IxiaTGSpec) Descriptor
deprecated
func (*IxiaTGSpec) Descriptor() ([]byte, []int)
Deprecated: Use IxiaTGSpec.ProtoReflect.Descriptor instead.
func (*IxiaTGSpec) GetCfgMap ¶ added in v0.1.8
func (x *IxiaTGSpec) GetCfgMap() *Manifest
func (*IxiaTGSpec) GetConfigMap
deprecated
func (x *IxiaTGSpec) GetConfigMap() *IxiaTGConfigMap
Deprecated: Do not use.
func (*IxiaTGSpec) GetManifestDir
deprecated
func (x *IxiaTGSpec) GetManifestDir() string
Deprecated: Do not use.
func (*IxiaTGSpec) GetOperator ¶ added in v0.1.8
func (x *IxiaTGSpec) GetOperator() *Manifest
func (*IxiaTGSpec) ProtoMessage ¶
func (*IxiaTGSpec) ProtoMessage()
func (*IxiaTGSpec) ProtoReflect ¶
func (x *IxiaTGSpec) ProtoReflect() protoreflect.Message
func (*IxiaTGSpec) Reset ¶
func (x *IxiaTGSpec) Reset()
func (*IxiaTGSpec) String ¶
func (x *IxiaTGSpec) String() string
type KindSpec ¶
type KindSpec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Recycle bool `protobuf:"varint,2,opt,name=recycle,proto3" json:"recycle,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` Retain bool `protobuf:"varint,5,opt,name=retain,proto3" json:"retain,omitempty"` Kubecfg string `protobuf:"bytes,6,opt,name=kubecfg,proto3" json:"kubecfg,omitempty"` GoogleArtifactRegistries []string `` /* 135-byte string literal not displayed */ // container_images is a map of source images to target images for containers // to load in the kind cluster. For example: // container_images = { // "us-west1-docker.pkg.dev/pkg/a:ga": "pkg/a:latest", // "us-west1-docker.pkg.dev/pkg/b:v0.8.0": "pkg/b:v0.8.0", // } // Would load images "pkg/a:latest" and "pkg/b:v0.8.0" into the cluster // after fetching their source images from "us-west1-docker.pkg.dev". ContainerImages map[string]string `` /* 194-byte string literal not displayed */ Config string `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"` AdditionalManifests []string `protobuf:"bytes,10,rep,name=additional_manifests,json=additionalManifests,proto3" json:"additional_manifests,omitempty"` // contains filtered or unexported fields }
Kind cluster specifications
func (*KindSpec) Descriptor
deprecated
func (*KindSpec) GetAdditionalManifests ¶ added in v0.1.3
func (*KindSpec) GetContainerImages ¶
func (*KindSpec) GetGoogleArtifactRegistries ¶
func (*KindSpec) GetKubecfg ¶
func (*KindSpec) GetRecycle ¶
func (*KindSpec) GetVersion ¶
func (*KindSpec) ProtoMessage ¶
func (*KindSpec) ProtoMessage()
func (*KindSpec) ProtoReflect ¶
func (x *KindSpec) ProtoReflect() protoreflect.Message
type LemmingSpec ¶ added in v0.1.7
type LemmingSpec struct { // Deprecated: Do not use. ManifestDir string `protobuf:"bytes,1,opt,name=manifest_dir,json=manifestDir,proto3" json:"manifest_dir,omitempty"` Operator *Manifest `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` // contains filtered or unexported fields }
LemmingSpec specifications
func (*LemmingSpec) Descriptor
deprecated
added in
v0.1.7
func (*LemmingSpec) Descriptor() ([]byte, []int)
Deprecated: Use LemmingSpec.ProtoReflect.Descriptor instead.
func (*LemmingSpec) GetManifestDir
deprecated
added in
v0.1.7
func (x *LemmingSpec) GetManifestDir() string
Deprecated: Do not use.
func (*LemmingSpec) GetOperator ¶ added in v0.1.8
func (x *LemmingSpec) GetOperator() *Manifest
func (*LemmingSpec) ProtoMessage ¶ added in v0.1.7
func (*LemmingSpec) ProtoMessage()
func (*LemmingSpec) ProtoReflect ¶ added in v0.1.7
func (x *LemmingSpec) ProtoReflect() protoreflect.Message
func (*LemmingSpec) Reset ¶ added in v0.1.7
func (x *LemmingSpec) Reset()
func (*LemmingSpec) String ¶ added in v0.1.7
func (x *LemmingSpec) String() string
type Manifest ¶ added in v0.1.8
type Manifest struct { // Types that are assignable to ManifestData: // *Manifest_Data // *Manifest_File ManifestData isManifest_ManifestData `protobuf_oneof:"manifest_data"` // contains filtered or unexported fields }
func (*Manifest) Descriptor
deprecated
added in
v0.1.8
func (*Manifest) GetManifestData ¶ added in v0.1.8
func (m *Manifest) GetManifestData() isManifest_ManifestData
func (*Manifest) ProtoMessage ¶ added in v0.1.8
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶ added in v0.1.8
func (x *Manifest) ProtoReflect() protoreflect.Message
type Manifest_Data ¶ added in v0.1.8
type Manifest_Data struct { // Byte data for the manifest. Data []byte `protobuf:"bytes,101,opt,name=data,proto3,oneof"` }
type Manifest_File ¶ added in v0.1.8
type Manifest_File struct { // File is an absolute path to the local manifest file. File string `protobuf:"bytes,102,opt,name=file,proto3,oneof"` }
type MeshnetSpec ¶
type MeshnetSpec struct { // Deprecated: Do not use. ManifestDir string `protobuf:"bytes,1,opt,name=manifest_dir,json=manifestDir,proto3" json:"manifest_dir,omitempty"` Manifest *Manifest `protobuf:"bytes,2,opt,name=manifest,proto3" json:"manifest,omitempty"` // contains filtered or unexported fields }
Meshnet specifications
func (*MeshnetSpec) Descriptor
deprecated
func (*MeshnetSpec) Descriptor() ([]byte, []int)
Deprecated: Use MeshnetSpec.ProtoReflect.Descriptor instead.
func (*MeshnetSpec) GetManifest ¶ added in v0.1.8
func (x *MeshnetSpec) GetManifest() *Manifest
func (*MeshnetSpec) GetManifestDir
deprecated
func (x *MeshnetSpec) GetManifestDir() string
Deprecated: Do not use.
func (*MeshnetSpec) ProtoMessage ¶
func (*MeshnetSpec) ProtoMessage()
func (*MeshnetSpec) ProtoReflect ¶
func (x *MeshnetSpec) ProtoReflect() protoreflect.Message
func (*MeshnetSpec) Reset ¶
func (x *MeshnetSpec) Reset()
func (*MeshnetSpec) String ¶
func (x *MeshnetSpec) String() string
type MetallbSpec ¶
type MetallbSpec struct { // Deprecated: Do not use. ManifestDir string `protobuf:"bytes,1,opt,name=manifest_dir,json=manifestDir,proto3" json:"manifest_dir,omitempty"` IpCount int32 `protobuf:"varint,2,opt,name=ip_count,json=ipCount,proto3" json:"ip_count,omitempty"` Manifest *Manifest `protobuf:"bytes,3,opt,name=manifest,proto3" json:"manifest,omitempty"` // contains filtered or unexported fields }
Metallb specifications
func (*MetallbSpec) Descriptor
deprecated
func (*MetallbSpec) Descriptor() ([]byte, []int)
Deprecated: Use MetallbSpec.ProtoReflect.Descriptor instead.
func (*MetallbSpec) GetIpCount ¶
func (x *MetallbSpec) GetIpCount() int32
func (*MetallbSpec) GetManifest ¶ added in v0.1.8
func (x *MetallbSpec) GetManifest() *Manifest
func (*MetallbSpec) GetManifestDir
deprecated
func (x *MetallbSpec) GetManifestDir() string
Deprecated: Do not use.
func (*MetallbSpec) ProtoMessage ¶
func (*MetallbSpec) ProtoMessage()
func (*MetallbSpec) ProtoReflect ¶
func (x *MetallbSpec) ProtoReflect() protoreflect.Message
func (*MetallbSpec) Reset ¶
func (x *MetallbSpec) Reset()
func (*MetallbSpec) String ¶
func (x *MetallbSpec) String() string
type PushConfigRequest ¶ added in v0.1.3
type PushConfigRequest struct { TopologyName string `protobuf:"bytes,1,opt,name=topology_name,json=topologyName,proto3" json:"topology_name,omitempty"` DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
Request message to push config.
func (*PushConfigRequest) Descriptor
deprecated
added in
v0.1.3
func (*PushConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushConfigRequest.ProtoReflect.Descriptor instead.
func (*PushConfigRequest) GetConfig ¶ added in v0.1.3
func (x *PushConfigRequest) GetConfig() []byte
func (*PushConfigRequest) GetDeviceName ¶ added in v0.1.3
func (x *PushConfigRequest) GetDeviceName() string
func (*PushConfigRequest) GetTopologyName ¶ added in v0.1.3
func (x *PushConfigRequest) GetTopologyName() string
func (*PushConfigRequest) ProtoMessage ¶ added in v0.1.3
func (*PushConfigRequest) ProtoMessage()
func (*PushConfigRequest) ProtoReflect ¶ added in v0.1.3
func (x *PushConfigRequest) ProtoReflect() protoreflect.Message
func (*PushConfigRequest) Reset ¶ added in v0.1.3
func (x *PushConfigRequest) Reset()
func (*PushConfigRequest) String ¶ added in v0.1.3
func (x *PushConfigRequest) String() string
type PushConfigResponse ¶ added in v0.1.3
type PushConfigResponse struct {
// contains filtered or unexported fields
}
Returns push config response.
func (*PushConfigResponse) Descriptor
deprecated
added in
v0.1.3
func (*PushConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushConfigResponse.ProtoReflect.Descriptor instead.
func (*PushConfigResponse) ProtoMessage ¶ added in v0.1.3
func (*PushConfigResponse) ProtoMessage()
func (*PushConfigResponse) ProtoReflect ¶ added in v0.1.3
func (x *PushConfigResponse) ProtoReflect() protoreflect.Message
func (*PushConfigResponse) Reset ¶ added in v0.1.3
func (x *PushConfigResponse) Reset()
func (*PushConfigResponse) String ¶ added in v0.1.3
func (x *PushConfigResponse) String() string
type ResetConfigRequest ¶ added in v0.1.3
type ResetConfigRequest struct { TopologyName string `protobuf:"bytes,1,opt,name=topology_name,json=topologyName,proto3" json:"topology_name,omitempty"` DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // contains filtered or unexported fields }
Request message to reset config.
func (*ResetConfigRequest) Descriptor
deprecated
added in
v0.1.3
func (*ResetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetConfigRequest.ProtoReflect.Descriptor instead.
func (*ResetConfigRequest) GetDeviceName ¶ added in v0.1.3
func (x *ResetConfigRequest) GetDeviceName() string
func (*ResetConfigRequest) GetTopologyName ¶ added in v0.1.3
func (x *ResetConfigRequest) GetTopologyName() string
func (*ResetConfigRequest) ProtoMessage ¶ added in v0.1.3
func (*ResetConfigRequest) ProtoMessage()
func (*ResetConfigRequest) ProtoReflect ¶ added in v0.1.3
func (x *ResetConfigRequest) ProtoReflect() protoreflect.Message
func (*ResetConfigRequest) Reset ¶ added in v0.1.3
func (x *ResetConfigRequest) Reset()
func (*ResetConfigRequest) String ¶ added in v0.1.3
func (x *ResetConfigRequest) String() string
type ResetConfigResponse ¶ added in v0.1.3
type ResetConfigResponse struct {
// contains filtered or unexported fields
}
Returns reset config response.
func (*ResetConfigResponse) Descriptor
deprecated
added in
v0.1.3
func (*ResetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetConfigResponse.ProtoReflect.Descriptor instead.
func (*ResetConfigResponse) ProtoMessage ¶ added in v0.1.3
func (*ResetConfigResponse) ProtoMessage()
func (*ResetConfigResponse) ProtoReflect ¶ added in v0.1.3
func (x *ResetConfigResponse) ProtoReflect() protoreflect.Message
func (*ResetConfigResponse) Reset ¶ added in v0.1.3
func (x *ResetConfigResponse) Reset()
func (*ResetConfigResponse) String ¶ added in v0.1.3
func (x *ResetConfigResponse) String() string
type SRLinuxSpec ¶ added in v0.1.3
type SRLinuxSpec struct { // Deprecated: Do not use. ManifestDir string `protobuf:"bytes,1,opt,name=manifest_dir,json=manifestDir,proto3" json:"manifest_dir,omitempty"` Operator *Manifest `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` // contains filtered or unexported fields }
SRLinux specifications
func (*SRLinuxSpec) Descriptor
deprecated
added in
v0.1.3
func (*SRLinuxSpec) Descriptor() ([]byte, []int)
Deprecated: Use SRLinuxSpec.ProtoReflect.Descriptor instead.
func (*SRLinuxSpec) GetManifestDir
deprecated
added in
v0.1.3
func (x *SRLinuxSpec) GetManifestDir() string
Deprecated: Do not use.
func (*SRLinuxSpec) GetOperator ¶ added in v0.1.8
func (x *SRLinuxSpec) GetOperator() *Manifest
func (*SRLinuxSpec) ProtoMessage ¶ added in v0.1.3
func (*SRLinuxSpec) ProtoMessage()
func (*SRLinuxSpec) ProtoReflect ¶ added in v0.1.3
func (x *SRLinuxSpec) ProtoReflect() protoreflect.Message
func (*SRLinuxSpec) Reset ¶ added in v0.1.3
func (x *SRLinuxSpec) Reset()
func (*SRLinuxSpec) String ¶ added in v0.1.3
func (x *SRLinuxSpec) String() string
type ShowClusterRequest ¶
type ShowClusterRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to show cluster by name.
func (*ShowClusterRequest) Descriptor
deprecated
func (*ShowClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowClusterRequest.ProtoReflect.Descriptor instead.
func (*ShowClusterRequest) GetName ¶
func (x *ShowClusterRequest) GetName() string
func (*ShowClusterRequest) ProtoMessage ¶
func (*ShowClusterRequest) ProtoMessage()
func (*ShowClusterRequest) ProtoReflect ¶
func (x *ShowClusterRequest) ProtoReflect() protoreflect.Message
func (*ShowClusterRequest) Reset ¶
func (x *ShowClusterRequest) Reset()
func (*ShowClusterRequest) String ¶
func (x *ShowClusterRequest) String() string
type ShowClusterResponse ¶
type ShowClusterResponse struct { State ClusterState `protobuf:"varint,1,opt,name=state,proto3,enum=controller.ClusterState" json:"state,omitempty"` TopologyNames []string `protobuf:"bytes,2,rep,name=topology_names,json=topologyNames,proto3" json:"topology_names,omitempty"` // contains filtered or unexported fields }
Returns show cluster response.
func (*ShowClusterResponse) Descriptor
deprecated
func (*ShowClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowClusterResponse.ProtoReflect.Descriptor instead.
func (*ShowClusterResponse) GetState ¶
func (x *ShowClusterResponse) GetState() ClusterState
func (*ShowClusterResponse) GetTopologyNames ¶
func (x *ShowClusterResponse) GetTopologyNames() []string
func (*ShowClusterResponse) ProtoMessage ¶
func (*ShowClusterResponse) ProtoMessage()
func (*ShowClusterResponse) ProtoReflect ¶
func (x *ShowClusterResponse) ProtoReflect() protoreflect.Message
func (*ShowClusterResponse) Reset ¶
func (x *ShowClusterResponse) Reset()
func (*ShowClusterResponse) String ¶
func (x *ShowClusterResponse) String() string
type ShowTopologyRequest ¶
type ShowTopologyRequest struct { TopologyName string `protobuf:"bytes,1,opt,name=topology_name,json=topologyName,proto3" json:"topology_name,omitempty"` // contains filtered or unexported fields }
Request message to view topology info
func (*ShowTopologyRequest) Descriptor
deprecated
func (*ShowTopologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowTopologyRequest.ProtoReflect.Descriptor instead.
func (*ShowTopologyRequest) GetTopologyName ¶
func (x *ShowTopologyRequest) GetTopologyName() string
func (*ShowTopologyRequest) ProtoMessage ¶
func (*ShowTopologyRequest) ProtoMessage()
func (*ShowTopologyRequest) ProtoReflect ¶
func (x *ShowTopologyRequest) ProtoReflect() protoreflect.Message
func (*ShowTopologyRequest) Reset ¶
func (x *ShowTopologyRequest) Reset()
func (*ShowTopologyRequest) String ¶
func (x *ShowTopologyRequest) String() string
type ShowTopologyResponse ¶
type ShowTopologyResponse struct { State TopologyState `protobuf:"varint,1,opt,name=state,proto3,enum=controller.TopologyState" json:"state,omitempty"` Topology *topo.Topology `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` // contains filtered or unexported fields }
Returns topology view response.
func (*ShowTopologyResponse) Descriptor
deprecated
func (*ShowTopologyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowTopologyResponse.ProtoReflect.Descriptor instead.
func (*ShowTopologyResponse) GetState ¶
func (x *ShowTopologyResponse) GetState() TopologyState
func (*ShowTopologyResponse) GetTopology ¶
func (x *ShowTopologyResponse) GetTopology() *topo.Topology
func (*ShowTopologyResponse) ProtoMessage ¶
func (*ShowTopologyResponse) ProtoMessage()
func (*ShowTopologyResponse) ProtoReflect ¶
func (x *ShowTopologyResponse) ProtoReflect() protoreflect.Message
func (*ShowTopologyResponse) Reset ¶
func (x *ShowTopologyResponse) Reset()
func (*ShowTopologyResponse) String ¶
func (x *ShowTopologyResponse) String() string
type TopologyManagerClient ¶
type TopologyManagerClient interface { // Creates a topology with and responds with topology name and state. CreateTopology(ctx context.Context, in *CreateTopologyRequest, opts ...grpc.CallOption) (*CreateTopologyResponse, error) // Deletes a topology. DeleteTopology(ctx context.Context, in *DeleteTopologyRequest, opts ...grpc.CallOption) (*DeleteTopologyResponse, error) // Shows the topology info and responds with the current topology state. ShowTopology(ctx context.Context, in *ShowTopologyRequest, opts ...grpc.CallOption) (*ShowTopologyResponse, error) // Creates kind cluster and responds with cluster name and state. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*CreateClusterResponse, error) // Deletes a kind cluster by cluster name. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*DeleteClusterResponse, error) // Shows cluster state and topologies deployed in the cluster. ShowCluster(ctx context.Context, in *ShowClusterRequest, opts ...grpc.CallOption) (*ShowClusterResponse, error) // Pushes config to a device in a topology. PushConfig(ctx context.Context, in *PushConfigRequest, opts ...grpc.CallOption) (*PushConfigResponse, error) // Resets config of a device in a topology. ResetConfig(ctx context.Context, in *ResetConfigRequest, opts ...grpc.CallOption) (*ResetConfigResponse, error) }
TopologyManagerClient is the client API for TopologyManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTopologyManagerClient ¶
func NewTopologyManagerClient(cc grpc.ClientConnInterface) TopologyManagerClient
type TopologyManagerServer ¶
type TopologyManagerServer interface { // Creates a topology with and responds with topology name and state. CreateTopology(context.Context, *CreateTopologyRequest) (*CreateTopologyResponse, error) // Deletes a topology. DeleteTopology(context.Context, *DeleteTopologyRequest) (*DeleteTopologyResponse, error) // Shows the topology info and responds with the current topology state. ShowTopology(context.Context, *ShowTopologyRequest) (*ShowTopologyResponse, error) // Creates kind cluster and responds with cluster name and state. CreateCluster(context.Context, *CreateClusterRequest) (*CreateClusterResponse, error) // Deletes a kind cluster by cluster name. DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error) // Shows cluster state and topologies deployed in the cluster. ShowCluster(context.Context, *ShowClusterRequest) (*ShowClusterResponse, error) // Pushes config to a device in a topology. PushConfig(context.Context, *PushConfigRequest) (*PushConfigResponse, error) // Resets config of a device in a topology. ResetConfig(context.Context, *ResetConfigRequest) (*ResetConfigResponse, error) // contains filtered or unexported methods }
TopologyManagerServer is the server API for TopologyManager service. All implementations must embed UnimplementedTopologyManagerServer for forward compatibility
type TopologyState ¶
type TopologyState int32
const ( TopologyState_TOPOLOGY_STATE_UNSPECIFIED TopologyState = 0 TopologyState_TOPOLOGY_STATE_CREATING TopologyState = 1 TopologyState_TOPOLOGY_STATE_RUNNING TopologyState = 2 TopologyState_TOPOLOGY_STATE_ERROR TopologyState = 3 )
func (TopologyState) Descriptor ¶
func (TopologyState) Descriptor() protoreflect.EnumDescriptor
func (TopologyState) Enum ¶
func (x TopologyState) Enum() *TopologyState
func (TopologyState) EnumDescriptor
deprecated
func (TopologyState) EnumDescriptor() ([]byte, []int)
Deprecated: Use TopologyState.Descriptor instead.
func (TopologyState) Number ¶
func (x TopologyState) Number() protoreflect.EnumNumber
func (TopologyState) String ¶
func (x TopologyState) String() string
func (TopologyState) Type ¶
func (TopologyState) Type() protoreflect.EnumType
type UnimplementedTopologyManagerServer ¶
type UnimplementedTopologyManagerServer struct { }
UnimplementedTopologyManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedTopologyManagerServer) CreateCluster ¶
func (UnimplementedTopologyManagerServer) CreateCluster(context.Context, *CreateClusterRequest) (*CreateClusterResponse, error)
func (UnimplementedTopologyManagerServer) CreateTopology ¶
func (UnimplementedTopologyManagerServer) CreateTopology(context.Context, *CreateTopologyRequest) (*CreateTopologyResponse, error)
func (UnimplementedTopologyManagerServer) DeleteCluster ¶
func (UnimplementedTopologyManagerServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
func (UnimplementedTopologyManagerServer) DeleteTopology ¶
func (UnimplementedTopologyManagerServer) DeleteTopology(context.Context, *DeleteTopologyRequest) (*DeleteTopologyResponse, error)
func (UnimplementedTopologyManagerServer) PushConfig ¶ added in v0.1.3
func (UnimplementedTopologyManagerServer) PushConfig(context.Context, *PushConfigRequest) (*PushConfigResponse, error)
func (UnimplementedTopologyManagerServer) ResetConfig ¶ added in v0.1.3
func (UnimplementedTopologyManagerServer) ResetConfig(context.Context, *ResetConfigRequest) (*ResetConfigResponse, error)
func (UnimplementedTopologyManagerServer) ShowCluster ¶
func (UnimplementedTopologyManagerServer) ShowCluster(context.Context, *ShowClusterRequest) (*ShowClusterResponse, error)
func (UnimplementedTopologyManagerServer) ShowTopology ¶
func (UnimplementedTopologyManagerServer) ShowTopology(context.Context, *ShowTopologyRequest) (*ShowTopologyResponse, error)
type UnsafeTopologyManagerServer ¶
type UnsafeTopologyManagerServer interface {
// contains filtered or unexported methods
}
UnsafeTopologyManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TopologyManagerServer will result in compilation errors.