Versions in this module Expand all Collapse all v1 v1.0.0 Aug 24, 2016 Changes in this version + var AppState_name = map[int32]string + var AppState_value = map[string]int32 + var EventType_name = map[int32]string + var EventType_value = map[string]int32 + var ImageType_name = map[int32]string + var ImageType_value = map[string]int32 + var PodState_name = map[int32]string + var PodState_value = map[string]int32 + func RegisterPublicAPIServer(s *grpc.Server, srv PublicAPIServer) + type App struct + Annotations []*KeyValue + ExitCode int32 + Image *Image + Name string + State AppState + func (*App) Descriptor() ([]byte, []int) + func (*App) ProtoMessage() + func (m *App) GetAnnotations() []*KeyValue + func (m *App) GetImage() *Image + func (m *App) Reset() + func (m *App) String() string + type AppState int32 + const AppState_APP_STATE_EXITED + const AppState_APP_STATE_RUNNING + const AppState_APP_STATE_UNDEFINED + func (AppState) EnumDescriptor() ([]byte, []int) + func (x AppState) String() string + type Event struct + Data []*KeyValue + From string + Id string + Time int64 + Type EventType + func (*Event) Descriptor() ([]byte, []int) + func (*Event) ProtoMessage() + func (m *Event) GetData() []*KeyValue + func (m *Event) Reset() + func (m *Event) String() string + type EventFilter struct + Ids []string + Names []string + SinceTime int64 + Types []EventType + UntilTime int64 + func (*EventFilter) Descriptor() ([]byte, []int) + func (*EventFilter) ProtoMessage() + func (m *EventFilter) Reset() + func (m *EventFilter) String() string + type EventType int32 + const EventType_EVENT_TYPE_APP_EXITED + const EventType_EVENT_TYPE_APP_STARTED + const EventType_EVENT_TYPE_IMAGE_IMPORTED + const EventType_EVENT_TYPE_IMAGE_REMOVED + const EventType_EVENT_TYPE_POD_EXITED + const EventType_EVENT_TYPE_POD_GARBAGE_COLLECTED + const EventType_EVENT_TYPE_POD_PREPARED + const EventType_EVENT_TYPE_POD_PREPARE_ABORTED + const EventType_EVENT_TYPE_POD_STARTED + const EventType_EVENT_TYPE_UNDEFINED + func (EventType) EnumDescriptor() ([]byte, []int) + func (x EventType) String() string + type GetInfoRequest struct + func (*GetInfoRequest) Descriptor() ([]byte, []int) + func (*GetInfoRequest) ProtoMessage() + func (m *GetInfoRequest) Reset() + func (m *GetInfoRequest) String() string + type GetInfoResponse struct + Info *Info + func (*GetInfoResponse) Descriptor() ([]byte, []int) + func (*GetInfoResponse) ProtoMessage() + func (m *GetInfoResponse) GetInfo() *Info + func (m *GetInfoResponse) Reset() + func (m *GetInfoResponse) String() string + type GetLogsRequest struct + AppName string + Follow bool + Lines int32 + PodId string + SinceTime int64 + UntilTime int64 + func (*GetLogsRequest) Descriptor() ([]byte, []int) + func (*GetLogsRequest) ProtoMessage() + func (m *GetLogsRequest) Reset() + func (m *GetLogsRequest) String() string + type GetLogsResponse struct + Lines []string + func (*GetLogsResponse) Descriptor() ([]byte, []int) + func (*GetLogsResponse) ProtoMessage() + func (m *GetLogsResponse) Reset() + func (m *GetLogsResponse) String() string + type GlobalFlags struct + Dir string + InsecureFlags string + LocalConfigDir string + SystemConfigDir string + TrustKeysFromHttps bool + UserConfigDir string + func (*GlobalFlags) Descriptor() ([]byte, []int) + func (*GlobalFlags) ProtoMessage() + func (m *GlobalFlags) Reset() + func (m *GlobalFlags) String() string + type Image struct + Annotations []*KeyValue + BaseFormat *ImageFormat + Id string + ImportTimestamp int64 + Manifest []byte + Name string + Size int64 + Version string + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (m *Image) GetAnnotations() []*KeyValue + func (m *Image) GetBaseFormat() *ImageFormat + func (m *Image) Reset() + func (m *Image) String() string + type ImageFilter struct + Annotations []*KeyValue + BaseNames []string + FullNames []string + Ids []string + ImportedAfter int64 + ImportedBefore int64 + Keywords []string + Labels []*KeyValue + Prefixes []string + func (*ImageFilter) Descriptor() ([]byte, []int) + func (*ImageFilter) ProtoMessage() + func (m *ImageFilter) GetAnnotations() []*KeyValue + func (m *ImageFilter) GetLabels() []*KeyValue + func (m *ImageFilter) Reset() + func (m *ImageFilter) String() string + type ImageFormat struct + Type ImageType + Version string + func (*ImageFormat) Descriptor() ([]byte, []int) + func (*ImageFormat) ProtoMessage() + func (m *ImageFormat) Reset() + func (m *ImageFormat) String() string + type ImageType int32 + const ImageType_IMAGE_TYPE_APPC + const ImageType_IMAGE_TYPE_DOCKER + const ImageType_IMAGE_TYPE_OCI + const ImageType_IMAGE_TYPE_UNDEFINED + func (ImageType) EnumDescriptor() ([]byte, []int) + func (x ImageType) String() string + type Info struct + ApiVersion string + AppcVersion string + GlobalFlags *GlobalFlags + RktVersion string + func (*Info) Descriptor() ([]byte, []int) + func (*Info) ProtoMessage() + func (m *Info) GetGlobalFlags() *GlobalFlags + func (m *Info) Reset() + func (m *Info) String() string + type InspectImageRequest struct + Id string + func (*InspectImageRequest) Descriptor() ([]byte, []int) + func (*InspectImageRequest) ProtoMessage() + func (m *InspectImageRequest) Reset() + func (m *InspectImageRequest) String() string + type InspectImageResponse struct + Image *Image + func (*InspectImageResponse) Descriptor() ([]byte, []int) + func (*InspectImageResponse) ProtoMessage() + func (m *InspectImageResponse) GetImage() *Image + func (m *InspectImageResponse) Reset() + func (m *InspectImageResponse) String() string + type InspectPodRequest struct + Id string + func (*InspectPodRequest) Descriptor() ([]byte, []int) + func (*InspectPodRequest) ProtoMessage() + func (m *InspectPodRequest) Reset() + func (m *InspectPodRequest) String() string + type InspectPodResponse struct + Pod *Pod + func (*InspectPodResponse) Descriptor() ([]byte, []int) + func (*InspectPodResponse) ProtoMessage() + func (m *InspectPodResponse) GetPod() *Pod + func (m *InspectPodResponse) Reset() + func (m *InspectPodResponse) String() string + type KeyValue struct + Key string + Value string + func (*KeyValue) Descriptor() ([]byte, []int) + func (*KeyValue) ProtoMessage() + func (m *KeyValue) Reset() + func (m *KeyValue) String() string + type ListImagesRequest struct + Detail bool + Filters []*ImageFilter + func (*ListImagesRequest) Descriptor() ([]byte, []int) + func (*ListImagesRequest) ProtoMessage() + func (m *ListImagesRequest) GetFilters() []*ImageFilter + func (m *ListImagesRequest) Reset() + func (m *ListImagesRequest) String() string + type ListImagesResponse struct + Images []*Image + func (*ListImagesResponse) Descriptor() ([]byte, []int) + func (*ListImagesResponse) ProtoMessage() + func (m *ListImagesResponse) GetImages() []*Image + func (m *ListImagesResponse) Reset() + func (m *ListImagesResponse) String() string + type ListPodsRequest struct + Detail bool + Filters []*PodFilter + func (*ListPodsRequest) Descriptor() ([]byte, []int) + func (*ListPodsRequest) ProtoMessage() + func (m *ListPodsRequest) GetFilters() []*PodFilter + func (m *ListPodsRequest) Reset() + func (m *ListPodsRequest) String() string + type ListPodsResponse struct + Pods []*Pod + func (*ListPodsResponse) Descriptor() ([]byte, []int) + func (*ListPodsResponse) ProtoMessage() + func (m *ListPodsResponse) GetPods() []*Pod + func (m *ListPodsResponse) Reset() + func (m *ListPodsResponse) String() string + type ListenEventsRequest struct + Filter *EventFilter + func (*ListenEventsRequest) Descriptor() ([]byte, []int) + func (*ListenEventsRequest) ProtoMessage() + func (m *ListenEventsRequest) GetFilter() *EventFilter + func (m *ListenEventsRequest) Reset() + func (m *ListenEventsRequest) String() string + type ListenEventsResponse struct + Events []*Event + func (*ListenEventsResponse) Descriptor() ([]byte, []int) + func (*ListenEventsResponse) ProtoMessage() + func (m *ListenEventsResponse) GetEvents() []*Event + func (m *ListenEventsResponse) Reset() + func (m *ListenEventsResponse) String() string + type Network struct + Ipv4 string + Ipv6 string + Name string + func (*Network) Descriptor() ([]byte, []int) + func (*Network) ProtoMessage() + func (m *Network) Reset() + func (m *Network) String() string + type Pod struct + Annotations []*KeyValue + Apps []*App + Cgroup string + CreatedAt int64 + GcMarkedAt int64 + Id string + Manifest []byte + Networks []*Network + Pid int32 + StartedAt int64 + State PodState + func (*Pod) Descriptor() ([]byte, []int) + func (*Pod) ProtoMessage() + func (m *Pod) GetAnnotations() []*KeyValue + func (m *Pod) GetApps() []*App + func (m *Pod) GetNetworks() []*Network + func (m *Pod) Reset() + func (m *Pod) String() string + type PodFilter struct + Annotations []*KeyValue + AppNames []string + Cgroups []string + Ids []string + ImageIds []string + NetworkNames []string + PodSubCgroups []string + States []PodState + func (*PodFilter) Descriptor() ([]byte, []int) + func (*PodFilter) ProtoMessage() + func (m *PodFilter) GetAnnotations() []*KeyValue + func (m *PodFilter) Reset() + func (m *PodFilter) String() string + type PodState int32 + const PodState_POD_STATE_ABORTED_PREPARE + const PodState_POD_STATE_DELETING + const PodState_POD_STATE_EMBRYO + const PodState_POD_STATE_EXITED + const PodState_POD_STATE_GARBAGE + const PodState_POD_STATE_PREPARED + const PodState_POD_STATE_PREPARING + const PodState_POD_STATE_RUNNING + const PodState_POD_STATE_UNDEFINED + func (PodState) EnumDescriptor() ([]byte, []int) + func (x PodState) String() string + type PublicAPIClient interface + GetInfo func(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) + GetLogs func(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (PublicAPI_GetLogsClient, error) + InspectImage func(ctx context.Context, in *InspectImageRequest, opts ...grpc.CallOption) (*InspectImageResponse, error) + InspectPod func(ctx context.Context, in *InspectPodRequest, opts ...grpc.CallOption) (*InspectPodResponse, error) + ListImages func(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) + ListPods func(ctx context.Context, in *ListPodsRequest, opts ...grpc.CallOption) (*ListPodsResponse, error) + ListenEvents func(ctx context.Context, in *ListenEventsRequest, opts ...grpc.CallOption) (PublicAPI_ListenEventsClient, error) + func NewPublicAPIClient(cc *grpc.ClientConn) PublicAPIClient + type PublicAPIServer interface + GetInfo func(context.Context, *GetInfoRequest) (*GetInfoResponse, error) + GetLogs func(*GetLogsRequest, PublicAPI_GetLogsServer) error + InspectImage func(context.Context, *InspectImageRequest) (*InspectImageResponse, error) + InspectPod func(context.Context, *InspectPodRequest) (*InspectPodResponse, error) + ListImages func(context.Context, *ListImagesRequest) (*ListImagesResponse, error) + ListPods func(context.Context, *ListPodsRequest) (*ListPodsResponse, error) + ListenEvents func(*ListenEventsRequest, PublicAPI_ListenEventsServer) error + type PublicAPI_GetLogsClient interface + Recv func() (*GetLogsResponse, error) + type PublicAPI_GetLogsServer interface + Send func(*GetLogsResponse) error + type PublicAPI_ListenEventsClient interface + Recv func() (*ListenEventsResponse, error) + type PublicAPI_ListenEventsServer interface + Send func(*ListenEventsResponse) error