Documentation ¶
Overview ¶
Package namespaces is a generated protocol buffer package.
It is generated from these files:
github.com/containerd/containerd/api/services/namespaces/v1/namespace.proto
It has these top-level messages:
Namespace GetNamespaceRequest GetNamespaceResponse ListNamespacesRequest ListNamespacesResponse CreateNamespaceRequest CreateNamespaceResponse UpdateNamespaceRequest UpdateNamespaceResponse DeleteNamespaceRequest
Index ¶
- Variables
- func RegisterNamespacesServer(s *grpc.Server, srv NamespacesServer)
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
- func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateNamespaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CreateNamespaceRequest) ProtoMessage()
- func (m *CreateNamespaceRequest) Reset()
- func (m *CreateNamespaceRequest) Size() (n int)
- func (this *CreateNamespaceRequest) String() string
- func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error
- type CreateNamespaceResponse
- func (*CreateNamespaceResponse) Descriptor() ([]byte, []int)
- func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateNamespaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*CreateNamespaceResponse) ProtoMessage()
- func (m *CreateNamespaceResponse) Reset()
- func (m *CreateNamespaceResponse) Size() (n int)
- func (this *CreateNamespaceResponse) String() string
- func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteNamespaceRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteNamespaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (m *DeleteNamespaceRequest) Reset()
- func (m *DeleteNamespaceRequest) Size() (n int)
- func (this *DeleteNamespaceRequest) String() string
- func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error
- type GetNamespaceRequest
- func (*GetNamespaceRequest) Descriptor() ([]byte, []int)
- func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error)
- func (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetNamespaceRequest) ProtoMessage()
- func (m *GetNamespaceRequest) Reset()
- func (m *GetNamespaceRequest) Size() (n int)
- func (this *GetNamespaceRequest) String() string
- func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error
- type GetNamespaceResponse
- func (*GetNamespaceResponse) Descriptor() ([]byte, []int)
- func (m *GetNamespaceResponse) Marshal() (dAtA []byte, err error)
- func (m *GetNamespaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetNamespaceResponse) ProtoMessage()
- func (m *GetNamespaceResponse) Reset()
- func (m *GetNamespaceResponse) Size() (n int)
- func (this *GetNamespaceResponse) String() string
- func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error
- type ListNamespacesRequest
- func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
- func (m *ListNamespacesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListNamespacesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListNamespacesRequest) ProtoMessage()
- func (m *ListNamespacesRequest) Reset()
- func (m *ListNamespacesRequest) Size() (n int)
- func (this *ListNamespacesRequest) String() string
- func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
- func (m *ListNamespacesResponse) Marshal() (dAtA []byte, err error)
- func (m *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListNamespacesResponse) ProtoMessage()
- func (m *ListNamespacesResponse) Reset()
- func (m *ListNamespacesResponse) Size() (n int)
- func (this *ListNamespacesResponse) String() string
- func (m *ListNamespacesResponse) Unmarshal(dAtA []byte) error
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)
- func (m *Namespace) Marshal() (dAtA []byte, err error)
- func (m *Namespace) MarshalTo(dAtA []byte) (int, error)
- func (*Namespace) ProtoMessage()
- func (m *Namespace) Reset()
- func (m *Namespace) Size() (n int)
- func (this *Namespace) String() string
- func (m *Namespace) Unmarshal(dAtA []byte) error
- type NamespacesClient
- type NamespacesServer
- type UpdateNamespaceRequest
- func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateNamespaceRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateNamespaceRequest) ProtoMessage()
- func (m *UpdateNamespaceRequest) Reset()
- func (m *UpdateNamespaceRequest) Size() (n int)
- func (this *UpdateNamespaceRequest) String() string
- func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error
- type UpdateNamespaceResponse
- func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int)
- func (m *UpdateNamespaceResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateNamespaceResponse) ProtoMessage()
- func (m *UpdateNamespaceResponse) Reset()
- func (m *UpdateNamespaceResponse) Size() (n int)
- func (this *UpdateNamespaceResponse) String() string
- func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNamespace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNamespace = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterNamespacesServer ¶
func RegisterNamespacesServer(s *grpc.Server, srv NamespacesServer)
Types ¶
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct {
Namespace Namespace `protobuf:"bytes,1,opt,name=namespace" json:"namespace"`
}
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) 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
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct {
Namespace Namespace `protobuf:"bytes,1,opt,name=namespace" json:"namespace"`
}
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) 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
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
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) 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
type GetNamespaceRequest ¶
type GetNamespaceRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
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) 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
type GetNamespaceResponse ¶
type GetNamespaceResponse struct {
Namespace Namespace `protobuf:"bytes,1,opt,name=namespace" json:"namespace"`
}
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) 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
type ListNamespacesRequest ¶
type ListNamespacesRequest struct {
Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
}
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) 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
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Namespaces []Namespace `protobuf:"bytes,1,rep,name=namespaces" json:"namespaces"`
}
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) 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
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 `` /* 146-byte string literal not displayed */ }
func (*Namespace) Descriptor ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
type NamespacesClient ¶
type NamespacesClient interface { Get(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) List(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) Create(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) Update(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) Delete(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) }
func NewNamespacesClient ¶
func NewNamespacesClient(cc *grpc.ClientConn) NamespacesClient
type NamespacesServer ¶
type NamespacesServer interface { Get(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) List(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) Create(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) Update(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) Delete(context.Context, *DeleteNamespaceRequest) (*google_protobuf1.Empty, error) }
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" 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 *google_protobuf2.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
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) 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
type UpdateNamespaceResponse ¶
type UpdateNamespaceResponse struct {
Namespace Namespace `protobuf:"bytes,1,opt,name=namespace" json:"namespace"`
}
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) 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
Click to show internal directories.
Click to hide internal directories.