namespaces

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

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

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) 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) 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

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

Jump to

Keyboard shortcuts

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