Documentation
¶
Index ¶
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- type AddNamespaceRequest
- func (*AddNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNamespaceRequest) GetId() string
- func (x *AddNamespaceRequest) GetIsDefault() bool
- func (*AddNamespaceRequest) ProtoMessage()
- func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *AddNamespaceRequest) Reset()
- func (x *AddNamespaceRequest) String() string
- type AddRepositoryRequest
- func (*AddRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRepositoryRequest) GetAuthMethod() string
- func (x *AddRepositoryRequest) GetAuthSecretPath() string
- func (x *AddRepositoryRequest) GetName() string
- func (x *AddRepositoryRequest) GetUrl() string
- func (*AddRepositoryRequest) ProtoMessage()
- func (x *AddRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *AddRepositoryRequest) Reset()
- func (x *AddRepositoryRequest) String() string
- type AddRepositoryResponse
- func (*AddRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddRepositoryResponse) GetName() string
- func (x *AddRepositoryResponse) GetUrl() string
- func (*AddRepositoryResponse) ProtoMessage()
- func (x *AddRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *AddRepositoryResponse) Reset()
- func (x *AddRepositoryResponse) String() string
- type AddSetRequest
- func (*AddSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSetRequest) GetId() string
- func (x *AddSetRequest) GetNamespaceId() string
- func (*AddSetRequest) ProtoMessage()
- func (x *AddSetRequest) ProtoReflect() protoreflect.Message
- func (x *AddSetRequest) Reset()
- func (x *AddSetRequest) String() string
- type AdminServiceClient
- type AdminServiceServer
- type DevicesListRequest
- func (*DevicesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DevicesListRequest) GetEnroled() bool
- func (x *DevicesListRequest) GetNamespace() string
- func (x *DevicesListRequest) GetPage() int32
- func (x *DevicesListRequest) GetRegistered() bool
- func (x *DevicesListRequest) GetSize() int32
- func (*DevicesListRequest) ProtoMessage()
- func (x *DevicesListRequest) ProtoReflect() protoreflect.Message
- func (x *DevicesListRequest) Reset()
- func (x *DevicesListRequest) String() string
- type DevicesListResponse
- func (*DevicesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DevicesListResponse) GetDevices() []*common.Device
- func (x *DevicesListResponse) GetPage() int32
- func (x *DevicesListResponse) GetSize() int32
- func (x *DevicesListResponse) GetTotal() int32
- func (*DevicesListResponse) ProtoMessage()
- func (x *DevicesListResponse) ProtoReflect() protoreflect.Message
- func (x *DevicesListResponse) Reset()
- func (x *DevicesListResponse) String() string
- type IdRequest
- type ListRequest
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *Manifest) GetConfigmaps() []string
- func (x *Manifest) GetDescription() string
- func (x *Manifest) GetDevices() []string
- func (x *Manifest) GetHash() string
- func (x *Manifest) GetId() string
- func (x *Manifest) GetLabels() map[string]string
- func (x *Manifest) GetName() string
- func (x *Manifest) GetNamespaces() []string
- func (x *Manifest) GetPath() string
- func (x *Manifest) GetPods() []string
- func (x *Manifest) GetRootless() bool
- func (x *Manifest) GetSecrets() []string
- func (x *Manifest) GetSelectors() []*Selector
- func (x *Manifest) GetSets() []string
- func (x *Manifest) GetValid() bool
- func (x *Manifest) GetVersion() string
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) String() string
- type ManifestListResponse
- func (*ManifestListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestListResponse) GetManifests() []*Manifest
- func (x *ManifestListResponse) GetPage() int32
- func (x *ManifestListResponse) GetSize() int32
- func (x *ManifestListResponse) GetTotal() int32
- func (*ManifestListResponse) ProtoMessage()
- func (x *ManifestListResponse) ProtoReflect() protoreflect.Message
- func (x *ManifestListResponse) Reset()
- func (x *ManifestListResponse) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetConfiguration() string
- func (x *Namespace) GetDevices() []string
- func (x *Namespace) GetId() string
- func (x *Namespace) GetIsDefault() bool
- func (x *Namespace) GetManifests() []string
- func (x *Namespace) GetSets() []string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespaceListResponse
- func (*NamespaceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceListResponse) GetNamespaces() []*Namespace
- func (x *NamespaceListResponse) GetPage() int32
- func (x *NamespaceListResponse) GetSize() int32
- func (x *NamespaceListResponse) GetTotal() int32
- func (*NamespaceListResponse) ProtoMessage()
- func (x *NamespaceListResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceListResponse) Reset()
- func (x *NamespaceListResponse) String() string
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetBranch() string
- func (x *Repository) GetCurrentHeadSha() string
- func (x *Repository) GetId() string
- func (x *Repository) GetLocalPath() string
- func (x *Repository) GetPullPeriod() int32
- func (x *Repository) GetTargetHeadSha() string
- func (x *Repository) GetUrl() string
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type RepositoryListResponse
- func (*RepositoryListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryListResponse) GetPage() int32
- func (x *RepositoryListResponse) GetRepositories() []*Repository
- func (x *RepositoryListResponse) GetSize() int32
- func (x *RepositoryListResponse) GetTotal() int32
- func (*RepositoryListResponse) ProtoMessage()
- func (x *RepositoryListResponse) ProtoReflect() protoreflect.Message
- func (x *RepositoryListResponse) Reset()
- func (x *RepositoryListResponse) String() string
- type Selector
- type SetsListResponse
- func (*SetsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetsListResponse) GetPage() int32
- func (x *SetsListResponse) GetSets() []*common.Set
- func (x *SetsListResponse) GetSize() int32
- func (x *SetsListResponse) GetTotal() int32
- func (*SetsListResponse) ProtoMessage()
- func (x *SetsListResponse) ProtoReflect() protoreflect.Message
- func (x *SetsListResponse) Reset()
- func (x *SetsListResponse) String() string
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*Namespace, error)
- func (UnimplementedAdminServiceServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
- func (UnimplementedAdminServiceServer) AddSet(context.Context, *AddSetRequest) (*common.Set, error)
- func (UnimplementedAdminServiceServer) DeleteNamespace(context.Context, *IdRequest) (*Namespace, error)
- func (UnimplementedAdminServiceServer) DeleteSet(context.Context, *IdRequest) (*common.Set, error)
- func (UnimplementedAdminServiceServer) GetDevice(context.Context, *IdRequest) (*common.Device, error)
- func (UnimplementedAdminServiceServer) GetDevices(context.Context, *DevicesListRequest) (*DevicesListResponse, error)
- func (UnimplementedAdminServiceServer) GetManifest(context.Context, *IdRequest) (*Manifest, error)
- func (UnimplementedAdminServiceServer) GetManifests(context.Context, *ListRequest) (*ManifestListResponse, error)
- func (UnimplementedAdminServiceServer) GetNamespaces(context.Context, *ListRequest) (*NamespaceListResponse, error)
- func (UnimplementedAdminServiceServer) GetRepositories(context.Context, *ListRequest) (*RepositoryListResponse, error)
- func (UnimplementedAdminServiceServer) GetSet(context.Context, *IdRequest) (*common.Set, error)
- func (UnimplementedAdminServiceServer) GetSets(context.Context, *ListRequest) (*SetsListResponse, error)
- func (UnimplementedAdminServiceServer) UpdateDevice(context.Context, *UpdateDeviceRequest) (*common.Device, error)
- func (UnimplementedAdminServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
- func (UnimplementedAdminServiceServer) UpdateSet(context.Context, *UpdateSetRequest) (*common.Set, error)
- type UnsafeAdminServiceServer
- type UpdateDeviceRequest
- func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeviceRequest) GetId() string
- func (x *UpdateDeviceRequest) GetNamespaceId() string
- func (x *UpdateDeviceRequest) GetSetId() string
- func (*UpdateDeviceRequest) ProtoMessage()
- func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeviceRequest) Reset()
- func (x *UpdateDeviceRequest) String() string
- type UpdateNamespaceRequest
- func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNamespaceRequest) GetId() string
- func (x *UpdateNamespaceRequest) GetIsDefault() bool
- func (*UpdateNamespaceRequest) ProtoMessage()
- func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNamespaceRequest) Reset()
- func (x *UpdateNamespaceRequest) String() string
- type UpdateSetRequest
- func (*UpdateSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSetRequest) GetId() string
- func (x *UpdateSetRequest) GetNamespaceId() string
- func (*UpdateSetRequest) ProtoMessage()
- func (x *UpdateSetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSetRequest) Reset()
- func (x *UpdateSetRequest) String() string
- type WorkloadToSetRequest
- func (*WorkloadToSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadToSetRequest) GetSetId() string
- func (x *WorkloadToSetRequest) GetWorkloadId() string
- func (*WorkloadToSetRequest) ProtoMessage()
- func (x *WorkloadToSetRequest) ProtoReflect() protoreflect.Message
- func (x *WorkloadToSetRequest) Reset()
- func (x *WorkloadToSetRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDevices", Handler: _AdminService_GetDevices_Handler, }, { MethodName: "GetDevice", Handler: _AdminService_GetDevice_Handler, }, { MethodName: "UpdateDevice", Handler: _AdminService_UpdateDevice_Handler, }, { MethodName: "GetSets", Handler: _AdminService_GetSets_Handler, }, { MethodName: "GetSet", Handler: _AdminService_GetSet_Handler, }, { MethodName: "AddSet", Handler: _AdminService_AddSet_Handler, }, { MethodName: "DeleteSet", Handler: _AdminService_DeleteSet_Handler, }, { MethodName: "UpdateSet", Handler: _AdminService_UpdateSet_Handler, }, { MethodName: "AddNamespace", Handler: _AdminService_AddNamespace_Handler, }, { MethodName: "DeleteNamespace", Handler: _AdminService_DeleteNamespace_Handler, }, { MethodName: "UpdateNamespace", Handler: _AdminService_UpdateNamespace_Handler, }, { MethodName: "GetNamespaces", Handler: _AdminService_GetNamespaces_Handler, }, { MethodName: "GetManifests", Handler: _AdminService_GetManifests_Handler, }, { MethodName: "GetManifest", Handler: _AdminService_GetManifest_Handler, }, { MethodName: "GetRepositories", Handler: _AdminService_GetRepositories_Handler, }, { MethodName: "AddRepository", Handler: _AdminService_AddRepository_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_admin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
Types ¶
type AddNamespaceRequest ¶
type AddNamespaceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*AddNamespaceRequest) Descriptor
deprecated
func (*AddNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNamespaceRequest.ProtoReflect.Descriptor instead.
func (*AddNamespaceRequest) GetId ¶
func (x *AddNamespaceRequest) GetId() string
func (*AddNamespaceRequest) GetIsDefault ¶
func (x *AddNamespaceRequest) GetIsDefault() bool
func (*AddNamespaceRequest) ProtoMessage ¶
func (*AddNamespaceRequest) ProtoMessage()
func (*AddNamespaceRequest) ProtoReflect ¶
func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message
func (*AddNamespaceRequest) Reset ¶
func (x *AddNamespaceRequest) Reset()
func (*AddNamespaceRequest) String ¶
func (x *AddNamespaceRequest) String() string
type AddRepositoryRequest ¶
type AddRepositoryRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AuthMethod string `protobuf:"bytes,3,opt,name=auth_method,json=authMethod,proto3" json:"auth_method,omitempty"` AuthSecretPath string `protobuf:"bytes,4,opt,name=auth_secret_path,json=authSecretPath,proto3" json:"auth_secret_path,omitempty"` // contains filtered or unexported fields }
func (*AddRepositoryRequest) Descriptor
deprecated
func (*AddRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRepositoryRequest.ProtoReflect.Descriptor instead.
func (*AddRepositoryRequest) GetAuthMethod ¶
func (x *AddRepositoryRequest) GetAuthMethod() string
func (*AddRepositoryRequest) GetAuthSecretPath ¶
func (x *AddRepositoryRequest) GetAuthSecretPath() string
func (*AddRepositoryRequest) GetName ¶
func (x *AddRepositoryRequest) GetName() string
func (*AddRepositoryRequest) GetUrl ¶
func (x *AddRepositoryRequest) GetUrl() string
func (*AddRepositoryRequest) ProtoMessage ¶
func (*AddRepositoryRequest) ProtoMessage()
func (*AddRepositoryRequest) ProtoReflect ¶
func (x *AddRepositoryRequest) ProtoReflect() protoreflect.Message
func (*AddRepositoryRequest) Reset ¶
func (x *AddRepositoryRequest) Reset()
func (*AddRepositoryRequest) String ¶
func (x *AddRepositoryRequest) String() string
type AddRepositoryResponse ¶
type AddRepositoryResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AddRepositoryResponse) Descriptor
deprecated
func (*AddRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddRepositoryResponse.ProtoReflect.Descriptor instead.
func (*AddRepositoryResponse) GetName ¶
func (x *AddRepositoryResponse) GetName() string
func (*AddRepositoryResponse) GetUrl ¶
func (x *AddRepositoryResponse) GetUrl() string
func (*AddRepositoryResponse) ProtoMessage ¶
func (*AddRepositoryResponse) ProtoMessage()
func (*AddRepositoryResponse) ProtoReflect ¶
func (x *AddRepositoryResponse) ProtoReflect() protoreflect.Message
func (*AddRepositoryResponse) Reset ¶
func (x *AddRepositoryResponse) Reset()
func (*AddRepositoryResponse) String ¶
func (x *AddRepositoryResponse) String() string
type AddSetRequest ¶
type AddSetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*AddSetRequest) Descriptor
deprecated
func (*AddSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSetRequest.ProtoReflect.Descriptor instead.
func (*AddSetRequest) GetId ¶
func (x *AddSetRequest) GetId() string
func (*AddSetRequest) GetNamespaceId ¶
func (x *AddSetRequest) GetNamespaceId() string
func (*AddSetRequest) ProtoMessage ¶
func (*AddSetRequest) ProtoMessage()
func (*AddSetRequest) ProtoReflect ¶
func (x *AddSetRequest) ProtoReflect() protoreflect.Message
func (*AddSetRequest) Reset ¶
func (x *AddSetRequest) Reset()
func (*AddSetRequest) String ¶
func (x *AddSetRequest) String() string
type AdminServiceClient ¶
type AdminServiceClient interface { // GetDevices returns a list of devices. GetDevices(ctx context.Context, in *DevicesListRequest, opts ...grpc.CallOption) (*DevicesListResponse, error) // GetDevice returns a device. GetDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*common.Device, error) // AddWorkloadToSet add a device to a set. UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*common.Device, error) // GetSets returns a list of device sets. GetSets(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*SetsListResponse, error) // GetSet returns a device set. GetSet(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*common.Set, error) // AddSet adds a set AddSet(ctx context.Context, in *AddSetRequest, opts ...grpc.CallOption) (*common.Set, error) // DeleteSet removes the set DeleteSet(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*common.Set, error) // UpdateSet updates either namespace id or configuration id of the set UpdateSet(ctx context.Context, in *UpdateSetRequest, opts ...grpc.CallOption) (*common.Set, error) // AddNamespace creates a new namespace AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) // DeleteNamespace removes the namespace DeleteNamespace(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Namespace, error) // UpdateNamespace updates the namespace. UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) // GetNamespaces returns a list with namespaces GetNamespaces(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*NamespaceListResponse, error) // GetManifests return a list of manifests GetManifests(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ManifestListResponse, error) // GetManifest return a manifests GetManifest(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Manifest, error) // GetRepositories return a list of repositories GetRepositories(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*RepositoryListResponse, error) // AddRepository add a repository AddRepository(ctx context.Context, in *AddRepositoryRequest, opts ...grpc.CallOption) (*AddRepositoryResponse, error) }
AdminServiceClient is the client API for AdminService 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 NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface { // GetDevices returns a list of devices. GetDevices(context.Context, *DevicesListRequest) (*DevicesListResponse, error) // GetDevice returns a device. GetDevice(context.Context, *IdRequest) (*common.Device, error) // AddWorkloadToSet add a device to a set. UpdateDevice(context.Context, *UpdateDeviceRequest) (*common.Device, error) // GetSets returns a list of device sets. GetSets(context.Context, *ListRequest) (*SetsListResponse, error) // GetSet returns a device set. GetSet(context.Context, *IdRequest) (*common.Set, error) // AddSet adds a set AddSet(context.Context, *AddSetRequest) (*common.Set, error) // DeleteSet removes the set DeleteSet(context.Context, *IdRequest) (*common.Set, error) // UpdateSet updates either namespace id or configuration id of the set UpdateSet(context.Context, *UpdateSetRequest) (*common.Set, error) // AddNamespace creates a new namespace AddNamespace(context.Context, *AddNamespaceRequest) (*Namespace, error) // DeleteNamespace removes the namespace DeleteNamespace(context.Context, *IdRequest) (*Namespace, error) // UpdateNamespace updates the namespace. UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error) // GetNamespaces returns a list with namespaces GetNamespaces(context.Context, *ListRequest) (*NamespaceListResponse, error) // GetManifests return a list of manifests GetManifests(context.Context, *ListRequest) (*ManifestListResponse, error) // GetManifest return a manifests GetManifest(context.Context, *IdRequest) (*Manifest, error) // GetRepositories return a list of repositories GetRepositories(context.Context, *ListRequest) (*RepositoryListResponse, error) // AddRepository add a repository AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error) // contains filtered or unexported methods }
AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility
type DevicesListRequest ¶
type DevicesListRequest struct { Registered *bool `protobuf:"varint,1,opt,name=registered,proto3,oneof" json:"registered,omitempty"` Enroled *bool `protobuf:"varint,2,opt,name=enroled,proto3,oneof" json:"enroled,omitempty"` Namespace *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` Page *int32 `protobuf:"varint,4,opt,name=page,proto3,oneof" json:"page,omitempty"` Size *int32 `protobuf:"varint,5,opt,name=size,proto3,oneof" json:"size,omitempty"` // contains filtered or unexported fields }
func (*DevicesListRequest) Descriptor
deprecated
func (*DevicesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DevicesListRequest.ProtoReflect.Descriptor instead.
func (*DevicesListRequest) GetEnroled ¶
func (x *DevicesListRequest) GetEnroled() bool
func (*DevicesListRequest) GetNamespace ¶
func (x *DevicesListRequest) GetNamespace() string
func (*DevicesListRequest) GetPage ¶
func (x *DevicesListRequest) GetPage() int32
func (*DevicesListRequest) GetRegistered ¶
func (x *DevicesListRequest) GetRegistered() bool
func (*DevicesListRequest) GetSize ¶
func (x *DevicesListRequest) GetSize() int32
func (*DevicesListRequest) ProtoMessage ¶
func (*DevicesListRequest) ProtoMessage()
func (*DevicesListRequest) ProtoReflect ¶
func (x *DevicesListRequest) ProtoReflect() protoreflect.Message
func (*DevicesListRequest) Reset ¶
func (x *DevicesListRequest) Reset()
func (*DevicesListRequest) String ¶
func (x *DevicesListRequest) String() string
type DevicesListResponse ¶
type DevicesListResponse struct { Devices []*common.Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*DevicesListResponse) Descriptor
deprecated
func (*DevicesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DevicesListResponse.ProtoReflect.Descriptor instead.
func (*DevicesListResponse) GetDevices ¶
func (x *DevicesListResponse) GetDevices() []*common.Device
func (*DevicesListResponse) GetPage ¶
func (x *DevicesListResponse) GetPage() int32
func (*DevicesListResponse) GetSize ¶
func (x *DevicesListResponse) GetSize() int32
func (*DevicesListResponse) GetTotal ¶
func (x *DevicesListResponse) GetTotal() int32
func (*DevicesListResponse) ProtoMessage ¶
func (*DevicesListResponse) ProtoMessage()
func (*DevicesListResponse) ProtoReflect ¶
func (x *DevicesListResponse) ProtoReflect() protoreflect.Message
func (*DevicesListResponse) Reset ¶
func (x *DevicesListResponse) Reset()
func (*DevicesListResponse) String ¶
func (x *DevicesListResponse) String() string
type IdRequest ¶
type IdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IdRequest) Descriptor
deprecated
func (*IdRequest) ProtoMessage ¶
func (*IdRequest) ProtoMessage()
func (*IdRequest) ProtoReflect ¶
func (x *IdRequest) ProtoReflect() protoreflect.Message
type ListRequest ¶
type ListRequest struct { Page *int32 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"` Size *int32 `protobuf:"varint,2,opt,name=size,proto3,oneof" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetPage ¶
func (x *ListRequest) GetPage() int32
func (*ListRequest) GetSize ¶
func (x *ListRequest) GetSize() int32
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type Manifest ¶
type Manifest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Valid bool `protobuf:"varint,6,opt,name=valid,proto3" json:"valid,omitempty"` Path string `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` Selectors []*Selector `protobuf:"bytes,8,rep,name=selectors,proto3" json:"selectors,omitempty"` Rootless bool `protobuf:"varint,9,opt,name=rootless,proto3" json:"rootless,omitempty"` Secrets []string `protobuf:"bytes,10,rep,name=secrets,proto3" json:"secrets,omitempty"` Labels map[string]string `` /* 154-byte string literal not displayed */ Pods []string `protobuf:"bytes,12,rep,name=pods,proto3" json:"pods,omitempty"` Configmaps []string `protobuf:"bytes,13,rep,name=configmaps,proto3" json:"configmaps,omitempty"` Devices []string `protobuf:"bytes,14,rep,name=devices,proto3" json:"devices,omitempty"` Sets []string `protobuf:"bytes,15,rep,name=sets,proto3" json:"sets,omitempty"` Namespaces []string `protobuf:"bytes,16,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetConfigmaps ¶
func (*Manifest) GetDescription ¶
func (*Manifest) GetDevices ¶
func (*Manifest) GetNamespaces ¶
func (*Manifest) GetRootless ¶
func (*Manifest) GetSecrets ¶
func (*Manifest) GetSelectors ¶
func (*Manifest) GetVersion ¶
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
type ManifestListResponse ¶
type ManifestListResponse struct { Manifests []*Manifest `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ManifestListResponse) Descriptor
deprecated
func (*ManifestListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ManifestListResponse.ProtoReflect.Descriptor instead.
func (*ManifestListResponse) GetManifests ¶
func (x *ManifestListResponse) GetManifests() []*Manifest
func (*ManifestListResponse) GetPage ¶
func (x *ManifestListResponse) GetPage() int32
func (*ManifestListResponse) GetSize ¶
func (x *ManifestListResponse) GetSize() int32
func (*ManifestListResponse) GetTotal ¶
func (x *ManifestListResponse) GetTotal() int32
func (*ManifestListResponse) ProtoMessage ¶
func (*ManifestListResponse) ProtoMessage()
func (*ManifestListResponse) ProtoReflect ¶
func (x *ManifestListResponse) ProtoReflect() protoreflect.Message
func (*ManifestListResponse) Reset ¶
func (x *ManifestListResponse) Reset()
func (*ManifestListResponse) String ¶
func (x *ManifestListResponse) String() string
type Namespace ¶
type Namespace struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` Configuration string `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` Devices []string `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"` Sets []string `protobuf:"bytes,5,rep,name=sets,proto3" json:"sets,omitempty"` Manifests []string `protobuf:"bytes,6,rep,name=manifests,proto3" json:"manifests,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetConfiguration ¶
func (*Namespace) GetDevices ¶
func (*Namespace) GetIsDefault ¶
func (*Namespace) GetManifests ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespaceListResponse ¶
type NamespaceListResponse struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*NamespaceListResponse) Descriptor
deprecated
func (*NamespaceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceListResponse.ProtoReflect.Descriptor instead.
func (*NamespaceListResponse) GetNamespaces ¶
func (x *NamespaceListResponse) GetNamespaces() []*Namespace
func (*NamespaceListResponse) GetPage ¶
func (x *NamespaceListResponse) GetPage() int32
func (*NamespaceListResponse) GetSize ¶
func (x *NamespaceListResponse) GetSize() int32
func (*NamespaceListResponse) GetTotal ¶
func (x *NamespaceListResponse) GetTotal() int32
func (*NamespaceListResponse) ProtoMessage ¶
func (*NamespaceListResponse) ProtoMessage()
func (*NamespaceListResponse) ProtoReflect ¶
func (x *NamespaceListResponse) ProtoReflect() protoreflect.Message
func (*NamespaceListResponse) Reset ¶
func (x *NamespaceListResponse) Reset()
func (*NamespaceListResponse) String ¶
func (x *NamespaceListResponse) String() string
type Repository ¶
type Repository struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` LocalPath string `protobuf:"bytes,4,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"` CurrentHeadSha string `protobuf:"bytes,5,opt,name=current_head_sha,json=currentHeadSha,proto3" json:"current_head_sha,omitempty"` TargetHeadSha string `protobuf:"bytes,6,opt,name=target_head_sha,json=targetHeadSha,proto3" json:"target_head_sha,omitempty"` PullPeriod int32 `protobuf:"varint,7,opt,name=pull_period,json=pullPeriod,proto3" json:"pull_period,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetBranch ¶
func (x *Repository) GetBranch() string
func (*Repository) GetCurrentHeadSha ¶
func (x *Repository) GetCurrentHeadSha() string
func (*Repository) GetId ¶
func (x *Repository) GetId() string
func (*Repository) GetLocalPath ¶
func (x *Repository) GetLocalPath() string
func (*Repository) GetPullPeriod ¶
func (x *Repository) GetPullPeriod() int32
func (*Repository) GetTargetHeadSha ¶
func (x *Repository) GetTargetHeadSha() string
func (*Repository) GetUrl ¶
func (x *Repository) GetUrl() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type RepositoryListResponse ¶
type RepositoryListResponse struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*RepositoryListResponse) Descriptor
deprecated
func (*RepositoryListResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryListResponse.ProtoReflect.Descriptor instead.
func (*RepositoryListResponse) GetPage ¶
func (x *RepositoryListResponse) GetPage() int32
func (*RepositoryListResponse) GetRepositories ¶
func (x *RepositoryListResponse) GetRepositories() []*Repository
func (*RepositoryListResponse) GetSize ¶
func (x *RepositoryListResponse) GetSize() int32
func (*RepositoryListResponse) GetTotal ¶
func (x *RepositoryListResponse) GetTotal() int32
func (*RepositoryListResponse) ProtoMessage ¶
func (*RepositoryListResponse) ProtoMessage()
func (*RepositoryListResponse) ProtoReflect ¶
func (x *RepositoryListResponse) ProtoReflect() protoreflect.Message
func (*RepositoryListResponse) Reset ¶
func (x *RepositoryListResponse) Reset()
func (*RepositoryListResponse) String ¶
func (x *RepositoryListResponse) String() string
type Selector ¶
type Selector struct { ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Selector) Descriptor
deprecated
func (*Selector) GetResourceType ¶
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶
func (x *Selector) ProtoReflect() protoreflect.Message
type SetsListResponse ¶
type SetsListResponse struct { Sets []*common.Set `protobuf:"bytes,1,rep,name=sets,proto3" json:"sets,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*SetsListResponse) Descriptor
deprecated
func (*SetsListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetsListResponse.ProtoReflect.Descriptor instead.
func (*SetsListResponse) GetPage ¶
func (x *SetsListResponse) GetPage() int32
func (*SetsListResponse) GetSets ¶
func (x *SetsListResponse) GetSets() []*common.Set
func (*SetsListResponse) GetSize ¶
func (x *SetsListResponse) GetSize() int32
func (*SetsListResponse) GetTotal ¶
func (x *SetsListResponse) GetTotal() int32
func (*SetsListResponse) ProtoMessage ¶
func (*SetsListResponse) ProtoMessage()
func (*SetsListResponse) ProtoReflect ¶
func (x *SetsListResponse) ProtoReflect() protoreflect.Message
func (*SetsListResponse) Reset ¶
func (x *SetsListResponse) Reset()
func (*SetsListResponse) String ¶
func (x *SetsListResponse) String() string
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct { }
UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServiceServer) AddNamespace ¶
func (UnimplementedAdminServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*Namespace, error)
func (UnimplementedAdminServiceServer) AddRepository ¶
func (UnimplementedAdminServiceServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
func (UnimplementedAdminServiceServer) AddSet ¶
func (UnimplementedAdminServiceServer) AddSet(context.Context, *AddSetRequest) (*common.Set, error)
func (UnimplementedAdminServiceServer) DeleteNamespace ¶
func (UnimplementedAdminServiceServer) GetDevices ¶
func (UnimplementedAdminServiceServer) GetDevices(context.Context, *DevicesListRequest) (*DevicesListResponse, error)
func (UnimplementedAdminServiceServer) GetManifest ¶
func (UnimplementedAdminServiceServer) GetManifests ¶
func (UnimplementedAdminServiceServer) GetManifests(context.Context, *ListRequest) (*ManifestListResponse, error)
func (UnimplementedAdminServiceServer) GetNamespaces ¶
func (UnimplementedAdminServiceServer) GetNamespaces(context.Context, *ListRequest) (*NamespaceListResponse, error)
func (UnimplementedAdminServiceServer) GetRepositories ¶
func (UnimplementedAdminServiceServer) GetRepositories(context.Context, *ListRequest) (*RepositoryListResponse, error)
func (UnimplementedAdminServiceServer) GetSets ¶
func (UnimplementedAdminServiceServer) GetSets(context.Context, *ListRequest) (*SetsListResponse, error)
func (UnimplementedAdminServiceServer) UpdateDevice ¶
func (UnimplementedAdminServiceServer) UpdateDevice(context.Context, *UpdateDeviceRequest) (*common.Device, error)
func (UnimplementedAdminServiceServer) UpdateNamespace ¶
func (UnimplementedAdminServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
func (UnimplementedAdminServiceServer) UpdateSet ¶
func (UnimplementedAdminServiceServer) UpdateSet(context.Context, *UpdateSetRequest) (*common.Set, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type UpdateDeviceRequest ¶
type UpdateDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SetId string `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` NamespaceId string `protobuf:"bytes,3,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateDeviceRequest) Descriptor
deprecated
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeviceRequest) GetId ¶
func (x *UpdateDeviceRequest) GetId() string
func (*UpdateDeviceRequest) GetNamespaceId ¶
func (x *UpdateDeviceRequest) GetNamespaceId() string
func (*UpdateDeviceRequest) GetSetId ¶
func (x *UpdateDeviceRequest) GetSetId() string
func (*UpdateDeviceRequest) ProtoMessage ¶
func (*UpdateDeviceRequest) ProtoMessage()
func (*UpdateDeviceRequest) ProtoReflect ¶
func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeviceRequest) Reset ¶
func (x *UpdateDeviceRequest) Reset()
func (*UpdateDeviceRequest) String ¶
func (x *UpdateDeviceRequest) String() string
type UpdateNamespaceRequest ¶
type UpdateNamespaceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IsDefault bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*UpdateNamespaceRequest) Descriptor
deprecated
func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateNamespaceRequest) GetId ¶
func (x *UpdateNamespaceRequest) GetId() string
func (*UpdateNamespaceRequest) GetIsDefault ¶
func (x *UpdateNamespaceRequest) GetIsDefault() bool
func (*UpdateNamespaceRequest) ProtoMessage ¶
func (*UpdateNamespaceRequest) ProtoMessage()
func (*UpdateNamespaceRequest) ProtoReflect ¶
func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateNamespaceRequest) Reset ¶
func (x *UpdateNamespaceRequest) Reset()
func (*UpdateNamespaceRequest) String ¶
func (x *UpdateNamespaceRequest) String() string
type UpdateSetRequest ¶
type UpdateSetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NamespaceId *string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3,oneof" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateSetRequest) Descriptor
deprecated
func (*UpdateSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSetRequest.ProtoReflect.Descriptor instead.
func (*UpdateSetRequest) GetId ¶
func (x *UpdateSetRequest) GetId() string
func (*UpdateSetRequest) GetNamespaceId ¶
func (x *UpdateSetRequest) GetNamespaceId() string
func (*UpdateSetRequest) ProtoMessage ¶
func (*UpdateSetRequest) ProtoMessage()
func (*UpdateSetRequest) ProtoReflect ¶
func (x *UpdateSetRequest) ProtoReflect() protoreflect.Message
func (*UpdateSetRequest) Reset ¶
func (x *UpdateSetRequest) Reset()
func (*UpdateSetRequest) String ¶
func (x *UpdateSetRequest) String() string
type WorkloadToSetRequest ¶
type WorkloadToSetRequest struct { SetId string `protobuf:"bytes,1,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` WorkloadId string `protobuf:"bytes,2,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"` // contains filtered or unexported fields }
func (*WorkloadToSetRequest) Descriptor
deprecated
func (*WorkloadToSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadToSetRequest.ProtoReflect.Descriptor instead.
func (*WorkloadToSetRequest) GetSetId ¶
func (x *WorkloadToSetRequest) GetSetId() string
func (*WorkloadToSetRequest) GetWorkloadId ¶
func (x *WorkloadToSetRequest) GetWorkloadId() string
func (*WorkloadToSetRequest) ProtoMessage ¶
func (*WorkloadToSetRequest) ProtoMessage()
func (*WorkloadToSetRequest) ProtoReflect ¶
func (x *WorkloadToSetRequest) ProtoReflect() protoreflect.Message
func (*WorkloadToSetRequest) Reset ¶
func (x *WorkloadToSetRequest) Reset()
func (*WorkloadToSetRequest) String ¶
func (x *WorkloadToSetRequest) String() string