Documentation ¶
Overview ¶
Package daemonsetstore is a generated protocol buffer package.
It is generated from these files:
pkg/grpc/daemonsetstore/protos/daemonsetstore.proto
It has these top-level messages:
DaemonSet ListDaemonSetsRequest ListDaemonSetsResponse DisableDaemonSetRequest DisableDaemonSetResponse WatchDaemonSetsRequest WatchDaemonSetsResponse
Index ¶
- func RegisterP2DaemonSetStoreServer(s *grpc.Server, srv P2DaemonSetStoreServer)
- type DaemonSet
- func (*DaemonSet) Descriptor() ([]byte, []int)
- func (m *DaemonSet) GetDisabled() bool
- func (m *DaemonSet) GetId() string
- func (m *DaemonSet) GetManifest() string
- func (m *DaemonSet) GetMinHealth() int64
- func (m *DaemonSet) GetName() string
- func (m *DaemonSet) GetNodeSelector() string
- func (m *DaemonSet) GetPodId() string
- func (m *DaemonSet) GetTimeout() int64
- func (*DaemonSet) ProtoMessage()
- func (m *DaemonSet) Reset()
- func (m *DaemonSet) String() string
- type DisableDaemonSetRequest
- type DisableDaemonSetResponse
- type ListDaemonSetsRequest
- type ListDaemonSetsResponse
- type P2DaemonSetStoreClient
- type P2DaemonSetStoreServer
- type P2DaemonSetStore_WatchDaemonSetsClient
- type P2DaemonSetStore_WatchDaemonSetsServer
- type WatchDaemonSetsRequest
- type WatchDaemonSetsResponse
- func (*WatchDaemonSetsResponse) Descriptor() ([]byte, []int)
- func (m *WatchDaemonSetsResponse) GetCreated() []*DaemonSet
- func (m *WatchDaemonSetsResponse) GetDeleted() []*DaemonSet
- func (m *WatchDaemonSetsResponse) GetError() string
- func (m *WatchDaemonSetsResponse) GetUpdated() []*DaemonSet
- func (*WatchDaemonSetsResponse) ProtoMessage()
- func (m *WatchDaemonSetsResponse) Reset()
- func (m *WatchDaemonSetsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterP2DaemonSetStoreServer ¶
func RegisterP2DaemonSetStoreServer(s *grpc.Server, srv P2DaemonSetStoreServer)
Types ¶
type DaemonSet ¶
type DaemonSet struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Disabled bool `protobuf:"varint,2,opt,name=disabled" json:"disabled,omitempty"` Manifest string `protobuf:"bytes,3,opt,name=manifest" json:"manifest,omitempty"` MinHealth int64 `protobuf:"varint,4,opt,name=min_health,json=minHealth" json:"min_health,omitempty"` Name string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"` NodeSelector string `protobuf:"bytes,6,opt,name=node_selector,json=nodeSelector" json:"node_selector,omitempty"` PodId string `protobuf:"bytes,7,opt,name=pod_id,json=podId" json:"pod_id,omitempty"` // expressed in nanoseconds (matches time.Duration) Timeout int64 `protobuf:"varint,8,opt,name=timeout" json:"timeout,omitempty"` }
models fields/DaemonSet
func (*DaemonSet) Descriptor ¶
func (*DaemonSet) GetDisabled ¶
func (*DaemonSet) GetManifest ¶
func (*DaemonSet) GetMinHealth ¶
func (*DaemonSet) GetNodeSelector ¶
func (*DaemonSet) GetTimeout ¶
func (*DaemonSet) ProtoMessage ¶
func (*DaemonSet) ProtoMessage()
type DisableDaemonSetRequest ¶
type DisableDaemonSetRequest struct {
DaemonSetId string `protobuf:"bytes,1,opt,name=daemon_set_id,json=daemonSetId" json:"daemon_set_id,omitempty"`
}
func (*DisableDaemonSetRequest) Descriptor ¶
func (*DisableDaemonSetRequest) Descriptor() ([]byte, []int)
func (*DisableDaemonSetRequest) GetDaemonSetId ¶
func (m *DisableDaemonSetRequest) GetDaemonSetId() string
func (*DisableDaemonSetRequest) ProtoMessage ¶
func (*DisableDaemonSetRequest) ProtoMessage()
func (*DisableDaemonSetRequest) Reset ¶
func (m *DisableDaemonSetRequest) Reset()
func (*DisableDaemonSetRequest) String ¶
func (m *DisableDaemonSetRequest) String() string
type DisableDaemonSetResponse ¶
type DisableDaemonSetResponse struct {
DaemonSet *DaemonSet `protobuf:"bytes,1,opt,name=daemon_set,json=daemonSet" json:"daemon_set,omitempty"`
}
func (*DisableDaemonSetResponse) Descriptor ¶
func (*DisableDaemonSetResponse) Descriptor() ([]byte, []int)
func (*DisableDaemonSetResponse) GetDaemonSet ¶
func (m *DisableDaemonSetResponse) GetDaemonSet() *DaemonSet
func (*DisableDaemonSetResponse) ProtoMessage ¶
func (*DisableDaemonSetResponse) ProtoMessage()
func (*DisableDaemonSetResponse) Reset ¶
func (m *DisableDaemonSetResponse) Reset()
func (*DisableDaemonSetResponse) String ¶
func (m *DisableDaemonSetResponse) String() string
type ListDaemonSetsRequest ¶
type ListDaemonSetsRequest struct { }
func (*ListDaemonSetsRequest) Descriptor ¶
func (*ListDaemonSetsRequest) Descriptor() ([]byte, []int)
func (*ListDaemonSetsRequest) ProtoMessage ¶
func (*ListDaemonSetsRequest) ProtoMessage()
func (*ListDaemonSetsRequest) Reset ¶
func (m *ListDaemonSetsRequest) Reset()
func (*ListDaemonSetsRequest) String ¶
func (m *ListDaemonSetsRequest) String() string
type ListDaemonSetsResponse ¶
type ListDaemonSetsResponse struct {
DaemonSets []*DaemonSet `protobuf:"bytes,1,rep,name=daemon_sets,json=daemonSets" json:"daemon_sets,omitempty"`
}
func (*ListDaemonSetsResponse) Descriptor ¶
func (*ListDaemonSetsResponse) Descriptor() ([]byte, []int)
func (*ListDaemonSetsResponse) GetDaemonSets ¶
func (m *ListDaemonSetsResponse) GetDaemonSets() []*DaemonSet
func (*ListDaemonSetsResponse) ProtoMessage ¶
func (*ListDaemonSetsResponse) ProtoMessage()
func (*ListDaemonSetsResponse) Reset ¶
func (m *ListDaemonSetsResponse) Reset()
func (*ListDaemonSetsResponse) String ¶
func (m *ListDaemonSetsResponse) String() string
type P2DaemonSetStoreClient ¶
type P2DaemonSetStoreClient interface { ListDaemonSets(ctx context.Context, in *ListDaemonSetsRequest, opts ...grpc.CallOption) (*ListDaemonSetsResponse, error) DisableDaemonSet(ctx context.Context, in *DisableDaemonSetRequest, opts ...grpc.CallOption) (*DisableDaemonSetResponse, error) WatchDaemonSets(ctx context.Context, in *WatchDaemonSetsRequest, opts ...grpc.CallOption) (P2DaemonSetStore_WatchDaemonSetsClient, error) }
func NewP2DaemonSetStoreClient ¶
func NewP2DaemonSetStoreClient(cc *grpc.ClientConn) P2DaemonSetStoreClient
type P2DaemonSetStoreServer ¶
type P2DaemonSetStoreServer interface { ListDaemonSets(context.Context, *ListDaemonSetsRequest) (*ListDaemonSetsResponse, error) DisableDaemonSet(context.Context, *DisableDaemonSetRequest) (*DisableDaemonSetResponse, error) WatchDaemonSets(*WatchDaemonSetsRequest, P2DaemonSetStore_WatchDaemonSetsServer) error }
type P2DaemonSetStore_WatchDaemonSetsClient ¶
type P2DaemonSetStore_WatchDaemonSetsClient interface { Recv() (*WatchDaemonSetsResponse, error) grpc.ClientStream }
type P2DaemonSetStore_WatchDaemonSetsServer ¶
type P2DaemonSetStore_WatchDaemonSetsServer interface { Send(*WatchDaemonSetsResponse) error grpc.ServerStream }
type WatchDaemonSetsRequest ¶
type WatchDaemonSetsRequest struct { }
func (*WatchDaemonSetsRequest) Descriptor ¶
func (*WatchDaemonSetsRequest) Descriptor() ([]byte, []int)
func (*WatchDaemonSetsRequest) ProtoMessage ¶
func (*WatchDaemonSetsRequest) ProtoMessage()
func (*WatchDaemonSetsRequest) Reset ¶
func (m *WatchDaemonSetsRequest) Reset()
func (*WatchDaemonSetsRequest) String ¶
func (m *WatchDaemonSetsRequest) String() string
type WatchDaemonSetsResponse ¶
type WatchDaemonSetsResponse struct { Created []*DaemonSet `protobuf:"bytes,1,rep,name=created" json:"created,omitempty"` Updated []*DaemonSet `protobuf:"bytes,2,rep,name=updated" json:"updated,omitempty"` Deleted []*DaemonSet `protobuf:"bytes,3,rep,name=deleted" json:"deleted,omitempty"` Error string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` }
models dsstore.WatchedDaemonSets
func (*WatchDaemonSetsResponse) Descriptor ¶
func (*WatchDaemonSetsResponse) Descriptor() ([]byte, []int)
func (*WatchDaemonSetsResponse) GetCreated ¶
func (m *WatchDaemonSetsResponse) GetCreated() []*DaemonSet
func (*WatchDaemonSetsResponse) GetDeleted ¶
func (m *WatchDaemonSetsResponse) GetDeleted() []*DaemonSet
func (*WatchDaemonSetsResponse) GetError ¶
func (m *WatchDaemonSetsResponse) GetError() string
func (*WatchDaemonSetsResponse) GetUpdated ¶
func (m *WatchDaemonSetsResponse) GetUpdated() []*DaemonSet
func (*WatchDaemonSetsResponse) ProtoMessage ¶
func (*WatchDaemonSetsResponse) ProtoMessage()
func (*WatchDaemonSetsResponse) Reset ¶
func (m *WatchDaemonSetsResponse) Reset()
func (*WatchDaemonSetsResponse) String ¶
func (m *WatchDaemonSetsResponse) String() string
Click to show internal directories.
Click to hide internal directories.