Documentation ¶
Index ¶
- func RegisterXconfServer(s *grpc.Server, srv XconfServer)
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetContent() string
- func (m *Config) GetId() string
- func (m *Config) GetMeta() *ConfigMeta
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type ConfigMeta
- func (*ConfigMeta) Descriptor() ([]byte, []int)
- func (m *ConfigMeta) GetCanary() string
- func (m *ConfigMeta) GetComment() string
- func (m *ConfigMeta) GetCtime() *timestamp.Timestamp
- func (m *ConfigMeta) GetMtime() *timestamp.Timestamp
- func (m *ConfigMeta) GetVersion() string
- func (*ConfigMeta) ProtoMessage()
- func (m *ConfigMeta) Reset()
- func (m *ConfigMeta) String() string
- func (m *ConfigMeta) XXX_DiscardUnknown()
- func (m *ConfigMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigMeta) XXX_Merge(src proto.Message)
- func (m *ConfigMeta) XXX_Size() int
- func (m *ConfigMeta) XXX_Unmarshal(b []byte) error
- type CreateConfigRequest
- func (*CreateConfigRequest) Descriptor() ([]byte, []int)
- func (m *CreateConfigRequest) GetConfig() *Config
- func (m *CreateConfigRequest) GetParent() string
- func (*CreateConfigRequest) ProtoMessage()
- func (m *CreateConfigRequest) Reset()
- func (m *CreateConfigRequest) String() string
- func (m *CreateConfigRequest) XXX_DiscardUnknown()
- func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigRequest) XXX_Merge(src proto.Message)
- func (m *CreateConfigRequest) XXX_Size() int
- func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)
- func (m *CreateGroupRequest) GetGroup() *Group
- func (m *CreateGroupRequest) GetNamespace() string
- func (*CreateGroupRequest) ProtoMessage()
- func (m *CreateGroupRequest) Reset()
- func (m *CreateGroupRequest) String() string
- func (m *CreateGroupRequest) XXX_DiscardUnknown()
- func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateGroupRequest) XXX_Merge(src proto.Message)
- func (m *CreateGroupRequest) XXX_Size() int
- func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
- func (m *CreateNamespaceRequest) GetSpace() *Namespace
- func (*CreateNamespaceRequest) ProtoMessage()
- func (m *CreateNamespaceRequest) Reset()
- func (m *CreateNamespaceRequest) String() string
- func (m *CreateNamespaceRequest) XXX_DiscardUnknown()
- func (m *CreateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message)
- func (m *CreateNamespaceRequest) XXX_Size() int
- func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error
- type DeleteConfigRequest
- func (*DeleteConfigRequest) Descriptor() ([]byte, []int)
- func (m *DeleteConfigRequest) GetId() string
- func (m *DeleteConfigRequest) GetParent() string
- func (*DeleteConfigRequest) ProtoMessage()
- func (m *DeleteConfigRequest) Reset()
- func (m *DeleteConfigRequest) String() string
- func (m *DeleteConfigRequest) XXX_DiscardUnknown()
- func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigRequest) XXX_Merge(src proto.Message)
- func (m *DeleteConfigRequest) XXX_Size() int
- func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error
- type GetConfigRequest
- func (*GetConfigRequest) Descriptor() ([]byte, []int)
- func (m *GetConfigRequest) GetId() string
- func (m *GetConfigRequest) GetParent() string
- func (*GetConfigRequest) ProtoMessage()
- func (m *GetConfigRequest) Reset()
- func (m *GetConfigRequest) String() string
- func (m *GetConfigRequest) XXX_DiscardUnknown()
- func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigRequest) XXX_Merge(src proto.Message)
- func (m *GetConfigRequest) XXX_Size() int
- func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetName() string
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) String() string
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type ListConfigsRequest
- func (*ListConfigsRequest) Descriptor() ([]byte, []int)
- func (m *ListConfigsRequest) GetParent() string
- func (*ListConfigsRequest) ProtoMessage()
- func (m *ListConfigsRequest) Reset()
- func (m *ListConfigsRequest) String() string
- func (m *ListConfigsRequest) XXX_DiscardUnknown()
- func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigsRequest) XXX_Merge(src proto.Message)
- func (m *ListConfigsRequest) XXX_Size() int
- func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error
- type ListConfigsResponse
- func (*ListConfigsResponse) Descriptor() ([]byte, []int)
- func (m *ListConfigsResponse) GetConfigs() []*Config
- func (*ListConfigsResponse) ProtoMessage()
- func (m *ListConfigsResponse) Reset()
- func (m *ListConfigsResponse) String() string
- func (m *ListConfigsResponse) XXX_DiscardUnknown()
- func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigsResponse) XXX_Merge(src proto.Message)
- func (m *ListConfigsResponse) XXX_Size() int
- func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupsRequest) GetNamespace() string
- func (*ListGroupsRequest) ProtoMessage()
- func (m *ListGroupsRequest) Reset()
- func (m *ListGroupsRequest) String() string
- func (m *ListGroupsRequest) XXX_DiscardUnknown()
- func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGroupsRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupsRequest) XXX_Size() int
- func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
- type ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)
- func (m *ListGroupsResponse) GetGroups() []*Group
- func (*ListGroupsResponse) ProtoMessage()
- func (m *ListGroupsResponse) Reset()
- func (m *ListGroupsResponse) String() string
- func (m *ListGroupsResponse) XXX_DiscardUnknown()
- func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGroupsResponse) XXX_Merge(src proto.Message)
- func (m *ListGroupsResponse) XXX_Size() int
- func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
- func (m *ListNamespacesResponse) GetSpaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (m *ListNamespacesResponse) Reset()
- func (m *ListNamespacesResponse) String() string
- func (m *ListNamespacesResponse) XXX_DiscardUnknown()
- func (m *ListNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNamespacesResponse) XXX_Merge(src proto.Message)
- func (m *ListNamespacesResponse) XXX_Size() int
- func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)
- func (m *Namespace) GetName() string
- func (*Namespace) ProtoMessage()
- func (m *Namespace) Reset()
- func (m *Namespace) String() string
- func (m *Namespace) XXX_DiscardUnknown()
- func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Namespace) XXX_Merge(src proto.Message)
- func (m *Namespace) XXX_Size() int
- func (m *Namespace) XXX_Unmarshal(b []byte) error
- type UnimplementedXconfServer
- func (*UnimplementedXconfServer) CreateConfig(ctx context.Context, req *CreateConfigRequest) (*Config, error)
- func (*UnimplementedXconfServer) CreateGroup(ctx context.Context, req *CreateGroupRequest) (*Group, error)
- func (*UnimplementedXconfServer) CreateNamespace(ctx context.Context, req *CreateNamespaceRequest) (*Namespace, error)
- func (*UnimplementedXconfServer) DeleteConfig(ctx context.Context, req *DeleteConfigRequest) (*empty.Empty, error)
- func (*UnimplementedXconfServer) GetConfig(ctx context.Context, req *GetConfigRequest) (*Config, error)
- func (*UnimplementedXconfServer) ListConfigs(ctx context.Context, req *ListConfigsRequest) (*ListConfigsResponse, error)
- func (*UnimplementedXconfServer) ListGroups(ctx context.Context, req *ListGroupsRequest) (*ListGroupsResponse, error)
- func (*UnimplementedXconfServer) ListNamespaces(ctx context.Context, req *empty.Empty) (*ListNamespacesResponse, error)
- func (*UnimplementedXconfServer) UpdateConfig(ctx context.Context, req *UpdateConfigRequest) (*Config, error)
- type UpdateConfigRequest
- func (*UpdateConfigRequest) Descriptor() ([]byte, []int)
- func (m *UpdateConfigRequest) GetConfig() *Config
- func (m *UpdateConfigRequest) GetParent() string
- func (m *UpdateConfigRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateConfigRequest) ProtoMessage()
- func (m *UpdateConfigRequest) Reset()
- func (m *UpdateConfigRequest) String() string
- func (m *UpdateConfigRequest) XXX_DiscardUnknown()
- func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigRequest) XXX_Merge(src proto.Message)
- func (m *UpdateConfigRequest) XXX_Size() int
- func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error
- type XconfClient
- type XconfServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterXconfServer ¶
func RegisterXconfServer(s *grpc.Server, srv XconfServer)
Types ¶
type Config ¶
type Config struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Meta *ConfigMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetContent ¶
func (*Config) GetMeta ¶
func (m *Config) GetMeta() *ConfigMeta
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type ConfigMeta ¶
type ConfigMeta struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Canary string `protobuf:"bytes,3,opt,name=canary,proto3" json:"canary,omitempty"` Ctime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=ctime,proto3" json:"ctime,omitempty"` Mtime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=mtime,proto3" json:"mtime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigMeta) Descriptor ¶
func (*ConfigMeta) Descriptor() ([]byte, []int)
func (*ConfigMeta) GetCanary ¶
func (m *ConfigMeta) GetCanary() string
func (*ConfigMeta) GetComment ¶
func (m *ConfigMeta) GetComment() string
func (*ConfigMeta) GetCtime ¶
func (m *ConfigMeta) GetCtime() *timestamp.Timestamp
func (*ConfigMeta) GetMtime ¶
func (m *ConfigMeta) GetMtime() *timestamp.Timestamp
func (*ConfigMeta) GetVersion ¶
func (m *ConfigMeta) GetVersion() string
func (*ConfigMeta) ProtoMessage ¶
func (*ConfigMeta) ProtoMessage()
func (*ConfigMeta) Reset ¶
func (m *ConfigMeta) Reset()
func (*ConfigMeta) String ¶
func (m *ConfigMeta) String() string
func (*ConfigMeta) XXX_DiscardUnknown ¶
func (m *ConfigMeta) XXX_DiscardUnknown()
func (*ConfigMeta) XXX_Marshal ¶
func (m *ConfigMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigMeta) XXX_Merge ¶
func (m *ConfigMeta) XXX_Merge(src proto.Message)
func (*ConfigMeta) XXX_Size ¶
func (m *ConfigMeta) XXX_Size() int
func (*ConfigMeta) XXX_Unmarshal ¶
func (m *ConfigMeta) XXX_Unmarshal(b []byte) error
type CreateConfigRequest ¶
type CreateConfigRequest struct { // namespace/group Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateConfigRequest) Descriptor ¶
func (*CreateConfigRequest) Descriptor() ([]byte, []int)
func (*CreateConfigRequest) GetConfig ¶
func (m *CreateConfigRequest) GetConfig() *Config
func (*CreateConfigRequest) GetParent ¶
func (m *CreateConfigRequest) GetParent() string
func (*CreateConfigRequest) ProtoMessage ¶
func (*CreateConfigRequest) ProtoMessage()
func (*CreateConfigRequest) Reset ¶
func (m *CreateConfigRequest) Reset()
func (*CreateConfigRequest) String ¶
func (m *CreateConfigRequest) String() string
func (*CreateConfigRequest) XXX_DiscardUnknown ¶
func (m *CreateConfigRequest) XXX_DiscardUnknown()
func (*CreateConfigRequest) XXX_Marshal ¶
func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigRequest) XXX_Merge ¶
func (m *CreateConfigRequest) XXX_Merge(src proto.Message)
func (*CreateConfigRequest) XXX_Size ¶
func (m *CreateConfigRequest) XXX_Size() int
func (*CreateConfigRequest) XXX_Unmarshal ¶
func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error
type CreateGroupRequest ¶
type CreateGroupRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateGroupRequest) Descriptor ¶
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
func (*CreateGroupRequest) GetGroup ¶
func (m *CreateGroupRequest) GetGroup() *Group
func (*CreateGroupRequest) GetNamespace ¶
func (m *CreateGroupRequest) GetNamespace() string
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) Reset ¶
func (m *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (m *CreateGroupRequest) String() string
func (*CreateGroupRequest) XXX_DiscardUnknown ¶
func (m *CreateGroupRequest) XXX_DiscardUnknown()
func (*CreateGroupRequest) XXX_Marshal ¶
func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateGroupRequest) XXX_Merge ¶
func (m *CreateGroupRequest) XXX_Merge(src proto.Message)
func (*CreateGroupRequest) XXX_Size ¶
func (m *CreateGroupRequest) XXX_Size() int
func (*CreateGroupRequest) XXX_Unmarshal ¶
func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { Space *Namespace `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateNamespaceRequest) Descriptor ¶
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
func (*CreateNamespaceRequest) GetSpace ¶
func (m *CreateNamespaceRequest) GetSpace() *Namespace
func (*CreateNamespaceRequest) ProtoMessage ¶
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) Reset ¶
func (m *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶
func (m *CreateNamespaceRequest) String() string
func (*CreateNamespaceRequest) XXX_DiscardUnknown ¶
func (m *CreateNamespaceRequest) XXX_DiscardUnknown()
func (*CreateNamespaceRequest) XXX_Marshal ¶
func (m *CreateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateNamespaceRequest) XXX_Merge ¶
func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message)
func (*CreateNamespaceRequest) XXX_Size ¶
func (m *CreateNamespaceRequest) XXX_Size() int
func (*CreateNamespaceRequest) XXX_Unmarshal ¶
func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error
type DeleteConfigRequest ¶
type DeleteConfigRequest struct { // namespace/group/id Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteConfigRequest) Descriptor ¶
func (*DeleteConfigRequest) Descriptor() ([]byte, []int)
func (*DeleteConfigRequest) GetId ¶
func (m *DeleteConfigRequest) GetId() string
func (*DeleteConfigRequest) GetParent ¶
func (m *DeleteConfigRequest) GetParent() string
func (*DeleteConfigRequest) ProtoMessage ¶
func (*DeleteConfigRequest) ProtoMessage()
func (*DeleteConfigRequest) Reset ¶
func (m *DeleteConfigRequest) Reset()
func (*DeleteConfigRequest) String ¶
func (m *DeleteConfigRequest) String() string
func (*DeleteConfigRequest) XXX_DiscardUnknown ¶
func (m *DeleteConfigRequest) XXX_DiscardUnknown()
func (*DeleteConfigRequest) XXX_Marshal ¶
func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigRequest) XXX_Merge ¶
func (m *DeleteConfigRequest) XXX_Merge(src proto.Message)
func (*DeleteConfigRequest) XXX_Size ¶
func (m *DeleteConfigRequest) XXX_Size() int
func (*DeleteConfigRequest) XXX_Unmarshal ¶
func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error
type GetConfigRequest ¶
type GetConfigRequest struct { // namespace/group Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigRequest) Descriptor ¶
func (*GetConfigRequest) Descriptor() ([]byte, []int)
func (*GetConfigRequest) GetId ¶
func (m *GetConfigRequest) GetId() string
func (*GetConfigRequest) GetParent ¶
func (m *GetConfigRequest) GetParent() string
func (*GetConfigRequest) ProtoMessage ¶
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) Reset ¶
func (m *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶
func (m *GetConfigRequest) String() string
func (*GetConfigRequest) XXX_DiscardUnknown ¶
func (m *GetConfigRequest) XXX_DiscardUnknown()
func (*GetConfigRequest) XXX_Marshal ¶
func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigRequest) XXX_Merge ¶
func (m *GetConfigRequest) XXX_Merge(src proto.Message)
func (*GetConfigRequest) XXX_Size ¶
func (m *GetConfigRequest) XXX_Size() int
func (*GetConfigRequest) XXX_Unmarshal ¶
func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error
type Group ¶
type Group struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Group) Descriptor ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) XXX_DiscardUnknown ¶
func (m *Group) XXX_DiscardUnknown()
func (*Group) XXX_Marshal ¶
func (*Group) XXX_Unmarshal ¶
type ListConfigsRequest ¶
type ListConfigsRequest struct { // namespace/group Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListConfigsRequest) Descriptor ¶
func (*ListConfigsRequest) Descriptor() ([]byte, []int)
func (*ListConfigsRequest) GetParent ¶
func (m *ListConfigsRequest) GetParent() string
func (*ListConfigsRequest) ProtoMessage ¶
func (*ListConfigsRequest) ProtoMessage()
func (*ListConfigsRequest) Reset ¶
func (m *ListConfigsRequest) Reset()
func (*ListConfigsRequest) String ¶
func (m *ListConfigsRequest) String() string
func (*ListConfigsRequest) XXX_DiscardUnknown ¶
func (m *ListConfigsRequest) XXX_DiscardUnknown()
func (*ListConfigsRequest) XXX_Marshal ¶
func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigsRequest) XXX_Merge ¶
func (m *ListConfigsRequest) XXX_Merge(src proto.Message)
func (*ListConfigsRequest) XXX_Size ¶
func (m *ListConfigsRequest) XXX_Size() int
func (*ListConfigsRequest) XXX_Unmarshal ¶
func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error
type ListConfigsResponse ¶
type ListConfigsResponse struct { Configs []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListConfigsResponse) Descriptor ¶
func (*ListConfigsResponse) Descriptor() ([]byte, []int)
func (*ListConfigsResponse) GetConfigs ¶
func (m *ListConfigsResponse) GetConfigs() []*Config
func (*ListConfigsResponse) ProtoMessage ¶
func (*ListConfigsResponse) ProtoMessage()
func (*ListConfigsResponse) Reset ¶
func (m *ListConfigsResponse) Reset()
func (*ListConfigsResponse) String ¶
func (m *ListConfigsResponse) String() string
func (*ListConfigsResponse) XXX_DiscardUnknown ¶
func (m *ListConfigsResponse) XXX_DiscardUnknown()
func (*ListConfigsResponse) XXX_Marshal ¶
func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigsResponse) XXX_Merge ¶
func (m *ListConfigsResponse) XXX_Merge(src proto.Message)
func (*ListConfigsResponse) XXX_Size ¶
func (m *ListConfigsResponse) XXX_Size() int
func (*ListConfigsResponse) XXX_Unmarshal ¶
func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error
type ListGroupsRequest ¶
type ListGroupsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupsRequest) Descriptor ¶
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
func (*ListGroupsRequest) GetNamespace ¶
func (m *ListGroupsRequest) GetNamespace() string
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) Reset ¶
func (m *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (m *ListGroupsRequest) String() string
func (*ListGroupsRequest) XXX_DiscardUnknown ¶
func (m *ListGroupsRequest) XXX_DiscardUnknown()
func (*ListGroupsRequest) XXX_Marshal ¶
func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsRequest) XXX_Merge ¶
func (m *ListGroupsRequest) XXX_Merge(src proto.Message)
func (*ListGroupsRequest) XXX_Size ¶
func (m *ListGroupsRequest) XXX_Size() int
func (*ListGroupsRequest) XXX_Unmarshal ¶
func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
type ListGroupsResponse ¶
type ListGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupsResponse) Descriptor ¶
func (*ListGroupsResponse) Descriptor() ([]byte, []int)
func (*ListGroupsResponse) GetGroups ¶
func (m *ListGroupsResponse) GetGroups() []*Group
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) Reset ¶
func (m *ListGroupsResponse) Reset()
func (*ListGroupsResponse) String ¶
func (m *ListGroupsResponse) String() string
func (*ListGroupsResponse) XXX_DiscardUnknown ¶
func (m *ListGroupsResponse) XXX_DiscardUnknown()
func (*ListGroupsResponse) XXX_Marshal ¶
func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsResponse) XXX_Merge ¶
func (m *ListGroupsResponse) XXX_Merge(src proto.Message)
func (*ListGroupsResponse) XXX_Size ¶
func (m *ListGroupsResponse) XXX_Size() int
func (*ListGroupsResponse) XXX_Unmarshal ¶
func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { Spaces []*Namespace `protobuf:"bytes,1,rep,name=spaces,proto3" json:"spaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNamespacesResponse) Descriptor ¶
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
func (*ListNamespacesResponse) GetSpaces ¶
func (m *ListNamespacesResponse) GetSpaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) Reset ¶
func (m *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (m *ListNamespacesResponse) String() string
func (*ListNamespacesResponse) XXX_DiscardUnknown ¶
func (m *ListNamespacesResponse) XXX_DiscardUnknown()
func (*ListNamespacesResponse) XXX_Marshal ¶
func (m *ListNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNamespacesResponse) XXX_Merge ¶
func (m *ListNamespacesResponse) XXX_Merge(src proto.Message)
func (*ListNamespacesResponse) XXX_Size ¶
func (m *ListNamespacesResponse) XXX_Size() int
func (*ListNamespacesResponse) XXX_Unmarshal ¶
func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error
type Namespace ¶
type Namespace struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Namespace) Descriptor ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) XXX_DiscardUnknown ¶
func (m *Namespace) XXX_DiscardUnknown()
func (*Namespace) XXX_Marshal ¶
func (*Namespace) XXX_Unmarshal ¶
type UnimplementedXconfServer ¶
type UnimplementedXconfServer struct { }
UnimplementedXconfServer can be embedded to have forward compatible implementations.
func (*UnimplementedXconfServer) CreateConfig ¶
func (*UnimplementedXconfServer) CreateConfig(ctx context.Context, req *CreateConfigRequest) (*Config, error)
func (*UnimplementedXconfServer) CreateGroup ¶
func (*UnimplementedXconfServer) CreateGroup(ctx context.Context, req *CreateGroupRequest) (*Group, error)
func (*UnimplementedXconfServer) CreateNamespace ¶
func (*UnimplementedXconfServer) CreateNamespace(ctx context.Context, req *CreateNamespaceRequest) (*Namespace, error)
func (*UnimplementedXconfServer) DeleteConfig ¶
func (*UnimplementedXconfServer) DeleteConfig(ctx context.Context, req *DeleteConfigRequest) (*empty.Empty, error)
func (*UnimplementedXconfServer) GetConfig ¶
func (*UnimplementedXconfServer) GetConfig(ctx context.Context, req *GetConfigRequest) (*Config, error)
func (*UnimplementedXconfServer) ListConfigs ¶
func (*UnimplementedXconfServer) ListConfigs(ctx context.Context, req *ListConfigsRequest) (*ListConfigsResponse, error)
func (*UnimplementedXconfServer) ListGroups ¶
func (*UnimplementedXconfServer) ListGroups(ctx context.Context, req *ListGroupsRequest) (*ListGroupsResponse, error)
func (*UnimplementedXconfServer) ListNamespaces ¶
func (*UnimplementedXconfServer) ListNamespaces(ctx context.Context, req *empty.Empty) (*ListNamespacesResponse, error)
func (*UnimplementedXconfServer) UpdateConfig ¶
func (*UnimplementedXconfServer) UpdateConfig(ctx context.Context, req *UpdateConfigRequest) (*Config, error)
type UpdateConfigRequest ¶
type UpdateConfigRequest struct { // namespace/group Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateConfigRequest) Descriptor ¶
func (*UpdateConfigRequest) Descriptor() ([]byte, []int)
func (*UpdateConfigRequest) GetConfig ¶
func (m *UpdateConfigRequest) GetConfig() *Config
func (*UpdateConfigRequest) GetParent ¶
func (m *UpdateConfigRequest) GetParent() string
func (*UpdateConfigRequest) GetUpdateMask ¶
func (m *UpdateConfigRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateConfigRequest) ProtoMessage ¶
func (*UpdateConfigRequest) ProtoMessage()
func (*UpdateConfigRequest) Reset ¶
func (m *UpdateConfigRequest) Reset()
func (*UpdateConfigRequest) String ¶
func (m *UpdateConfigRequest) String() string
func (*UpdateConfigRequest) XXX_DiscardUnknown ¶
func (m *UpdateConfigRequest) XXX_DiscardUnknown()
func (*UpdateConfigRequest) XXX_Marshal ¶
func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigRequest) XXX_Merge ¶
func (m *UpdateConfigRequest) XXX_Merge(src proto.Message)
func (*UpdateConfigRequest) XXX_Size ¶
func (m *UpdateConfigRequest) XXX_Size() int
func (*UpdateConfigRequest) XXX_Unmarshal ¶
func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error
type XconfClient ¶
type XconfClient interface { CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) ListNamespaces(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListNamespacesResponse, error) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*Config, error) UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*Config, error) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*Config, error) DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error) }
XconfClient is the client API for Xconf service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewXconfClient ¶
func NewXconfClient(cc *grpc.ClientConn) XconfClient
type XconfServer ¶
type XconfServer interface { CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) ListNamespaces(context.Context, *empty.Empty) (*ListNamespacesResponse, error) CreateGroup(context.Context, *CreateGroupRequest) (*Group, error) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) CreateConfig(context.Context, *CreateConfigRequest) (*Config, error) UpdateConfig(context.Context, *UpdateConfigRequest) (*Config, error) GetConfig(context.Context, *GetConfigRequest) (*Config, error) DeleteConfig(context.Context, *DeleteConfigRequest) (*empty.Empty, error) ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error) }
XconfServer is the server API for Xconf service.
Click to show internal directories.
Click to hide internal directories.