api

package
v0.0.0-...-6dd9c4d Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Config) GetContent

func (m *Config) GetContent() string

func (*Config) GetId

func (m *Config) GetId() string

func (*Config) GetMeta

func (m *Config) GetMeta() *ConfigMeta

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Group) GetName

func (m *Group) GetName() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Group) XXX_Merge

func (m *Group) XXX_Merge(src proto.Message)

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

func (m *Group) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Namespace) GetName

func (m *Namespace) GetName() string

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) String

func (m *Namespace) String() string

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

func (m *Namespace) XXX_Unmarshal(b []byte) error

type UnimplementedXconfServer

type UnimplementedXconfServer struct {
}

UnimplementedXconfServer can be embedded to have forward compatible implementations.

func (*UnimplementedXconfServer) CreateConfig

func (*UnimplementedXconfServer) CreateGroup

func (*UnimplementedXconfServer) CreateNamespace

func (*UnimplementedXconfServer) DeleteConfig

func (*UnimplementedXconfServer) GetConfig

func (*UnimplementedXconfServer) ListConfigs

func (*UnimplementedXconfServer) ListGroups

func (*UnimplementedXconfServer) ListNamespaces

func (*UnimplementedXconfServer) UpdateConfig

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

XconfServer is the server API for Xconf service.

Jump to

Keyboard shortcuts

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