kubernetes: k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1 Index | Files

package v1alpha1

import "k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1"

Index

Package Files

api.pb.go

Variables

var (
    ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)

func RegisterPodResourcesListerServer Uses

func RegisterPodResourcesListerServer(s *grpc.Server, srv PodResourcesListerServer)

type ContainerDevices Uses

type ContainerDevices struct {
    ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
    DeviceIds            []string `protobuf:"bytes,2,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

ContainerDevices contains information about the devices assigned to a container

func (*ContainerDevices) Descriptor Uses

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

func (*ContainerDevices) GetDeviceIds Uses

func (m *ContainerDevices) GetDeviceIds() []string

func (*ContainerDevices) GetResourceName Uses

func (m *ContainerDevices) GetResourceName() string

func (*ContainerDevices) Marshal Uses

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

func (*ContainerDevices) MarshalTo Uses

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

func (*ContainerDevices) MarshalToSizedBuffer Uses

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

func (*ContainerDevices) ProtoMessage Uses

func (*ContainerDevices) ProtoMessage()

func (*ContainerDevices) Reset Uses

func (m *ContainerDevices) Reset()

func (*ContainerDevices) Size Uses

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

func (*ContainerDevices) String Uses

func (this *ContainerDevices) String() string

func (*ContainerDevices) Unmarshal Uses

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

func (*ContainerDevices) XXX_DiscardUnknown Uses

func (m *ContainerDevices) XXX_DiscardUnknown()

func (*ContainerDevices) XXX_Marshal Uses

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

func (*ContainerDevices) XXX_Merge Uses

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

func (*ContainerDevices) XXX_Size Uses

func (m *ContainerDevices) XXX_Size() int

func (*ContainerDevices) XXX_Unmarshal Uses

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

type ContainerResources Uses

type ContainerResources struct {
    Name                 string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Devices              []*ContainerDevices `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

ContainerResources contains information about the resources assigned to a container

func (*ContainerResources) Descriptor Uses

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

func (*ContainerResources) GetDevices Uses

func (m *ContainerResources) GetDevices() []*ContainerDevices

func (*ContainerResources) GetName Uses

func (m *ContainerResources) GetName() string

func (*ContainerResources) Marshal Uses

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

func (*ContainerResources) MarshalTo Uses

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

func (*ContainerResources) MarshalToSizedBuffer Uses

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

func (*ContainerResources) ProtoMessage Uses

func (*ContainerResources) ProtoMessage()

func (*ContainerResources) Reset Uses

func (m *ContainerResources) Reset()

func (*ContainerResources) Size Uses

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

func (*ContainerResources) String Uses

func (this *ContainerResources) String() string

func (*ContainerResources) Unmarshal Uses

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

func (*ContainerResources) XXX_DiscardUnknown Uses

func (m *ContainerResources) XXX_DiscardUnknown()

func (*ContainerResources) XXX_Marshal Uses

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

func (*ContainerResources) XXX_Merge Uses

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

func (*ContainerResources) XXX_Size Uses

func (m *ContainerResources) XXX_Size() int

func (*ContainerResources) XXX_Unmarshal Uses

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

type ListPodResourcesRequest Uses

type ListPodResourcesRequest struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

ListPodResourcesRequest is the request made to the PodResourcesLister service

func (*ListPodResourcesRequest) Descriptor Uses

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

func (*ListPodResourcesRequest) Marshal Uses

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

func (*ListPodResourcesRequest) MarshalTo Uses

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

func (*ListPodResourcesRequest) MarshalToSizedBuffer Uses

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

func (*ListPodResourcesRequest) ProtoMessage Uses

func (*ListPodResourcesRequest) ProtoMessage()

func (*ListPodResourcesRequest) Reset Uses

func (m *ListPodResourcesRequest) Reset()

func (*ListPodResourcesRequest) Size Uses

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

func (*ListPodResourcesRequest) String Uses

func (this *ListPodResourcesRequest) String() string

func (*ListPodResourcesRequest) Unmarshal Uses

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

func (*ListPodResourcesRequest) XXX_DiscardUnknown Uses

func (m *ListPodResourcesRequest) XXX_DiscardUnknown()

func (*ListPodResourcesRequest) XXX_Marshal Uses

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

func (*ListPodResourcesRequest) XXX_Merge Uses

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

func (*ListPodResourcesRequest) XXX_Size Uses

func (m *ListPodResourcesRequest) XXX_Size() int

func (*ListPodResourcesRequest) XXX_Unmarshal Uses

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

type ListPodResourcesResponse Uses

type ListPodResourcesResponse struct {
    PodResources         []*PodResources `protobuf:"bytes,1,rep,name=pod_resources,json=podResources,proto3" json:"pod_resources,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

ListPodResourcesResponse is the response returned by List function

func (*ListPodResourcesResponse) Descriptor Uses

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

func (*ListPodResourcesResponse) GetPodResources Uses

func (m *ListPodResourcesResponse) GetPodResources() []*PodResources

func (*ListPodResourcesResponse) Marshal Uses

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

func (*ListPodResourcesResponse) MarshalTo Uses

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

func (*ListPodResourcesResponse) MarshalToSizedBuffer Uses

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

func (*ListPodResourcesResponse) ProtoMessage Uses

func (*ListPodResourcesResponse) ProtoMessage()

func (*ListPodResourcesResponse) Reset Uses

func (m *ListPodResourcesResponse) Reset()

func (*ListPodResourcesResponse) Size Uses

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

func (*ListPodResourcesResponse) String Uses

func (this *ListPodResourcesResponse) String() string

func (*ListPodResourcesResponse) Unmarshal Uses

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

func (*ListPodResourcesResponse) XXX_DiscardUnknown Uses

func (m *ListPodResourcesResponse) XXX_DiscardUnknown()

func (*ListPodResourcesResponse) XXX_Marshal Uses

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

func (*ListPodResourcesResponse) XXX_Merge Uses

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

func (*ListPodResourcesResponse) XXX_Size Uses

func (m *ListPodResourcesResponse) XXX_Size() int

func (*ListPodResourcesResponse) XXX_Unmarshal Uses

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

type PodResources Uses

type PodResources struct {
    Name                 string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Namespace            string                `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
    Containers           []*ContainerResources `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

PodResources contains information about the node resources assigned to a pod

func (*PodResources) Descriptor Uses

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

func (*PodResources) GetContainers Uses

func (m *PodResources) GetContainers() []*ContainerResources

func (*PodResources) GetName Uses

func (m *PodResources) GetName() string

func (*PodResources) GetNamespace Uses

func (m *PodResources) GetNamespace() string

func (*PodResources) Marshal Uses

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

func (*PodResources) MarshalTo Uses

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

func (*PodResources) MarshalToSizedBuffer Uses

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

func (*PodResources) ProtoMessage Uses

func (*PodResources) ProtoMessage()

func (*PodResources) Reset Uses

func (m *PodResources) Reset()

func (*PodResources) Size Uses

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

func (*PodResources) String Uses

func (this *PodResources) String() string

func (*PodResources) Unmarshal Uses

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

func (*PodResources) XXX_DiscardUnknown Uses

func (m *PodResources) XXX_DiscardUnknown()

func (*PodResources) XXX_Marshal Uses

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

func (*PodResources) XXX_Merge Uses

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

func (*PodResources) XXX_Size Uses

func (m *PodResources) XXX_Size() int

func (*PodResources) XXX_Unmarshal Uses

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

type PodResourcesListerClient Uses

type PodResourcesListerClient interface {
    List(ctx context.Context, in *ListPodResourcesRequest, opts ...grpc.CallOption) (*ListPodResourcesResponse, error)
}

PodResourcesListerClient is the client API for PodResourcesLister service.

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

func NewPodResourcesListerClient Uses

func NewPodResourcesListerClient(cc *grpc.ClientConn) PodResourcesListerClient

type PodResourcesListerServer Uses

type PodResourcesListerServer interface {
    List(context.Context, *ListPodResourcesRequest) (*ListPodResourcesResponse, error)
}

PodResourcesListerServer is the server API for PodResourcesLister service.

type UnimplementedPodResourcesListerServer Uses

type UnimplementedPodResourcesListerServer struct {
}

UnimplementedPodResourcesListerServer can be embedded to have forward compatible implementations.

func (*UnimplementedPodResourcesListerServer) List Uses

func (*UnimplementedPodResourcesListerServer) List(ctx context.Context, req *ListPodResourcesRequest) (*ListPodResourcesResponse, error)

Package v1alpha1 imports 12 packages (graph) and is imported by 44 packages. Updated 2020-01-19. Refresh now. Tools for package owners.