namespaces

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthNamespace        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNamespace          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNamespace = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterNamespacesServer

func RegisterNamespacesServer(s *grpc.Server, srv NamespacesServer)

Types

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	Namespace            Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateNamespaceRequest) Descriptor

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

func (*CreateNamespaceRequest) Marshal

func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error)

func (*CreateNamespaceRequest) MarshalTo

func (m *CreateNamespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateNamespaceRequest) MarshalToSizedBuffer

func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateNamespaceRequest) ProtoMessage

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) Reset

func (m *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) Size

func (m *CreateNamespaceRequest) Size() (n int)

func (*CreateNamespaceRequest) String

func (this *CreateNamespaceRequest) String() string

func (*CreateNamespaceRequest) Unmarshal

func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error

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 CreateNamespaceResponse

type CreateNamespaceResponse struct {
	Namespace            Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateNamespaceResponse) Descriptor

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

func (*CreateNamespaceResponse) Marshal

func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error)

func (*CreateNamespaceResponse) MarshalTo

func (m *CreateNamespaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateNamespaceResponse) MarshalToSizedBuffer

func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateNamespaceResponse) ProtoMessage

func (*CreateNamespaceResponse) ProtoMessage()

func (*CreateNamespaceResponse) Reset

func (m *CreateNamespaceResponse) Reset()

func (*CreateNamespaceResponse) Size

func (m *CreateNamespaceResponse) Size() (n int)

func (*CreateNamespaceResponse) String

func (this *CreateNamespaceResponse) String() string

func (*CreateNamespaceResponse) Unmarshal

func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error

func (*CreateNamespaceResponse) XXX_DiscardUnknown

func (m *CreateNamespaceResponse) XXX_DiscardUnknown()

func (*CreateNamespaceResponse) XXX_Marshal

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

func (*CreateNamespaceResponse) XXX_Merge

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

func (*CreateNamespaceResponse) XXX_Size

func (m *CreateNamespaceResponse) XXX_Size() int

func (*CreateNamespaceResponse) XXX_Unmarshal

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

type DeleteNamespaceRequest

type DeleteNamespaceRequest 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 (*DeleteNamespaceRequest) Descriptor

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

func (*DeleteNamespaceRequest) Marshal

func (m *DeleteNamespaceRequest) Marshal() (dAtA []byte, err error)

func (*DeleteNamespaceRequest) MarshalTo

func (m *DeleteNamespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteNamespaceRequest) MarshalToSizedBuffer

func (m *DeleteNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteNamespaceRequest) ProtoMessage

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) Reset

func (m *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) Size

func (m *DeleteNamespaceRequest) Size() (n int)

func (*DeleteNamespaceRequest) String

func (this *DeleteNamespaceRequest) String() string

func (*DeleteNamespaceRequest) Unmarshal

func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error

func (*DeleteNamespaceRequest) XXX_DiscardUnknown

func (m *DeleteNamespaceRequest) XXX_DiscardUnknown()

func (*DeleteNamespaceRequest) XXX_Marshal

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

func (*DeleteNamespaceRequest) XXX_Merge

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

func (*DeleteNamespaceRequest) XXX_Size

func (m *DeleteNamespaceRequest) XXX_Size() int

func (*DeleteNamespaceRequest) XXX_Unmarshal

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

type GetNamespaceRequest

type GetNamespaceRequest 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 (*GetNamespaceRequest) Descriptor

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

func (*GetNamespaceRequest) Marshal

func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error)

func (*GetNamespaceRequest) MarshalTo

func (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetNamespaceRequest) MarshalToSizedBuffer

func (m *GetNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNamespaceRequest) ProtoMessage

func (*GetNamespaceRequest) ProtoMessage()

func (*GetNamespaceRequest) Reset

func (m *GetNamespaceRequest) Reset()

func (*GetNamespaceRequest) Size

func (m *GetNamespaceRequest) Size() (n int)

func (*GetNamespaceRequest) String

func (this *GetNamespaceRequest) String() string

func (*GetNamespaceRequest) Unmarshal

func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error

func (*GetNamespaceRequest) XXX_DiscardUnknown

func (m *GetNamespaceRequest) XXX_DiscardUnknown()

func (*GetNamespaceRequest) XXX_Marshal

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

func (*GetNamespaceRequest) XXX_Merge

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

func (*GetNamespaceRequest) XXX_Size

func (m *GetNamespaceRequest) XXX_Size() int

func (*GetNamespaceRequest) XXX_Unmarshal

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

type GetNamespaceResponse

type GetNamespaceResponse struct {
	Namespace            Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetNamespaceResponse) Descriptor

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

func (*GetNamespaceResponse) Marshal

func (m *GetNamespaceResponse) Marshal() (dAtA []byte, err error)

func (*GetNamespaceResponse) MarshalTo

func (m *GetNamespaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetNamespaceResponse) MarshalToSizedBuffer

func (m *GetNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNamespaceResponse) ProtoMessage

func (*GetNamespaceResponse) ProtoMessage()

func (*GetNamespaceResponse) Reset

func (m *GetNamespaceResponse) Reset()

func (*GetNamespaceResponse) Size

func (m *GetNamespaceResponse) Size() (n int)

func (*GetNamespaceResponse) String

func (this *GetNamespaceResponse) String() string

func (*GetNamespaceResponse) Unmarshal

func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error

func (*GetNamespaceResponse) XXX_DiscardUnknown

func (m *GetNamespaceResponse) XXX_DiscardUnknown()

func (*GetNamespaceResponse) XXX_Marshal

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

func (*GetNamespaceResponse) XXX_Merge

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

func (*GetNamespaceResponse) XXX_Size

func (m *GetNamespaceResponse) XXX_Size() int

func (*GetNamespaceResponse) XXX_Unmarshal

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

type ListNamespacesRequest

type ListNamespacesRequest struct {
	Filter               string   `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListNamespacesRequest) Descriptor

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

func (*ListNamespacesRequest) Marshal

func (m *ListNamespacesRequest) Marshal() (dAtA []byte, err error)

func (*ListNamespacesRequest) MarshalTo

func (m *ListNamespacesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListNamespacesRequest) MarshalToSizedBuffer

func (m *ListNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNamespacesRequest) ProtoMessage

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) Reset

func (m *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) Size

func (m *ListNamespacesRequest) Size() (n int)

func (*ListNamespacesRequest) String

func (this *ListNamespacesRequest) String() string

func (*ListNamespacesRequest) Unmarshal

func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error

func (*ListNamespacesRequest) XXX_DiscardUnknown

func (m *ListNamespacesRequest) XXX_DiscardUnknown()

func (*ListNamespacesRequest) XXX_Marshal

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

func (*ListNamespacesRequest) XXX_Merge

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

func (*ListNamespacesRequest) XXX_Size

func (m *ListNamespacesRequest) XXX_Size() int

func (*ListNamespacesRequest) XXX_Unmarshal

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

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespaces           []Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ListNamespacesResponse) Descriptor

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

func (*ListNamespacesResponse) Marshal

func (m *ListNamespacesResponse) Marshal() (dAtA []byte, err error)

func (*ListNamespacesResponse) MarshalTo

func (m *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListNamespacesResponse) MarshalToSizedBuffer

func (m *ListNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNamespacesResponse) ProtoMessage

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) Reset

func (m *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) Size

func (m *ListNamespacesResponse) Size() (n int)

func (*ListNamespacesResponse) String

func (this *ListNamespacesResponse) String() string

func (*ListNamespacesResponse) Unmarshal

func (m *ListNamespacesResponse) Unmarshal(dAtA []byte) error

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"`
	// Labels provides an area to include arbitrary data on namespaces.
	//
	// The combined size of a key/value pair cannot exceed 4096 bytes.
	//
	// Note that to add a new value to this field, read the existing set and
	// include the entire result in the update call.
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Namespace) Descriptor

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

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (this *Namespace) String() string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

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 NamespacesClient

NamespacesClient is the client API for Namespaces service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNamespacesClient

func NewNamespacesClient(cc *grpc.ClientConn) NamespacesClient

type UnimplementedNamespacesServer

type UnimplementedNamespacesServer struct {
}

UnimplementedNamespacesServer can be embedded to have forward compatible implementations.

func (*UnimplementedNamespacesServer) Create

func (*UnimplementedNamespacesServer) Delete

func (*UnimplementedNamespacesServer) Get

func (*UnimplementedNamespacesServer) List

func (*UnimplementedNamespacesServer) Update

type UpdateNamespaceRequest

type UpdateNamespaceRequest struct {
	// Namespace provides the target value, as declared by the mask, for the update.
	//
	// The namespace field must be set.
	Namespace Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace"`
	// UpdateMask specifies which fields to perform the update on. If empty,
	// the operation applies to all fields.
	//
	// For the most part, this applies only to selectively updating labels on
	// the namespace. While field masks are typically limited to ascii alphas
	// and digits, we just take everything after the "labels." as the map key.
	UpdateMask           *types.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

UpdateNamespaceRequest updates the metadata for a namespace.

The operation should follow semantics described in https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/field-mask, unless otherwise qualified.

func (*UpdateNamespaceRequest) Descriptor

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

func (*UpdateNamespaceRequest) Marshal

func (m *UpdateNamespaceRequest) Marshal() (dAtA []byte, err error)

func (*UpdateNamespaceRequest) MarshalTo

func (m *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateNamespaceRequest) MarshalToSizedBuffer

func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateNamespaceRequest) ProtoMessage

func (*UpdateNamespaceRequest) ProtoMessage()

func (*UpdateNamespaceRequest) Reset

func (m *UpdateNamespaceRequest) Reset()

func (*UpdateNamespaceRequest) Size

func (m *UpdateNamespaceRequest) Size() (n int)

func (*UpdateNamespaceRequest) String

func (this *UpdateNamespaceRequest) String() string

func (*UpdateNamespaceRequest) Unmarshal

func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error

func (*UpdateNamespaceRequest) XXX_DiscardUnknown

func (m *UpdateNamespaceRequest) XXX_DiscardUnknown()

func (*UpdateNamespaceRequest) XXX_Marshal

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

func (*UpdateNamespaceRequest) XXX_Merge

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

func (*UpdateNamespaceRequest) XXX_Size

func (m *UpdateNamespaceRequest) XXX_Size() int

func (*UpdateNamespaceRequest) XXX_Unmarshal

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

type UpdateNamespaceResponse

type UpdateNamespaceResponse struct {
	Namespace            Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*UpdateNamespaceResponse) Descriptor

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

func (*UpdateNamespaceResponse) Marshal

func (m *UpdateNamespaceResponse) Marshal() (dAtA []byte, err error)

func (*UpdateNamespaceResponse) MarshalTo

func (m *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateNamespaceResponse) MarshalToSizedBuffer

func (m *UpdateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateNamespaceResponse) ProtoMessage

func (*UpdateNamespaceResponse) ProtoMessage()

func (*UpdateNamespaceResponse) Reset

func (m *UpdateNamespaceResponse) Reset()

func (*UpdateNamespaceResponse) Size

func (m *UpdateNamespaceResponse) Size() (n int)

func (*UpdateNamespaceResponse) String

func (this *UpdateNamespaceResponse) String() string

func (*UpdateNamespaceResponse) Unmarshal

func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error

func (*UpdateNamespaceResponse) XXX_DiscardUnknown

func (m *UpdateNamespaceResponse) XXX_DiscardUnknown()

func (*UpdateNamespaceResponse) XXX_Marshal

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

func (*UpdateNamespaceResponse) XXX_Merge

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

func (*UpdateNamespaceResponse) XXX_Size

func (m *UpdateNamespaceResponse) XXX_Size() int

func (*UpdateNamespaceResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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