diff --git a/README.md b/README.md
index aa7ca532..c6ef70a2 100644
--- a/README.md
+++ b/README.md
@@ -88,6 +88,22 @@ have requested to containers. This interface allows one to set up and enforce
cluster- or node-wide boundary conditions for changes NRI plugins are allowed
to make.
+### Deprecated Interfaces
+
+#### StateChange
+
+In the original wire protocol a single StateChange RPC call was used to multiplex
+most pod and container lifecycle events/requests on the wire. For externa plugins
+this RPC call has been replaced with proper dedicated calls for each request and
+is now deprecated. For the time being, the runtime adaptation transparently falls
+back to funneling requests through StateChange for plugins compiled against older
+versions of the NRI stub package. This support will be removed in a future version
+of NRI.
+
+Note that transparent fallback is only possible for external binary plugins using
+ttRPC. Old WASM plugins compiled against an old version of NRI will fail to load
+with new versions of NRI.
+
### Plugin Registration
Before a plugin can start receiving and processing container events, it needs
diff --git a/docs/nri-container-lifecycle.svg b/docs/nri-container-lifecycle.svg
index 67ffa39a..98de6796 100644
--- a/docs/nri-container-lifecycle.svg
+++ b/docs/nri-container-lifecycle.svg
@@ -37,6 +37,8 @@
inkscape:current-layer="svg480" />
Docs
+
+
diff --git a/docs/nri-pod-lifecycle.svg b/docs/nri-pod-lifecycle.svg
index d80e1663..77d5a373 100644
--- a/docs/nri-pod-lifecycle.svg
+++ b/docs/nri-pod-lifecycle.svg
@@ -37,6 +37,8 @@
inkscape:current-layer="svg304" />
Docs
+
+
diff --git a/pkg/adaptation/adaptation.go b/pkg/adaptation/adaptation.go
index 2644a7ea..bf0ca88a 100644
--- a/pkg/adaptation/adaptation.go
+++ b/pkg/adaptation/adaptation.go
@@ -75,6 +75,8 @@ type Adaptation struct {
builtin []*builtin.BuiltinPlugin
syncLock sync.RWMutex
wasmService *api.PluginPlugin
+ metrics Metrics
+ deprecation DeprecationRecorder
}
var (
@@ -137,6 +139,16 @@ func WithBuiltinPlugins(plugins ...*builtin.BuiltinPlugin) Option {
}
}
+// WithMetrics allows consumers to register an implementation of the Metrics interface.
+func WithMetrics(m Metrics) Option {
+ return func(r *Adaptation) error {
+ if m != nil {
+ r.metrics = m
+ }
+ return nil
+ }
+}
+
// WithDefaultValidator sets up builtin validator plugin if it is configured.
func WithDefaultValidator(cfg *validator.DefaultValidatorConfig) Option {
return func(r *Adaptation) error {
@@ -147,6 +159,15 @@ func WithDefaultValidator(cfg *validator.DefaultValidatorConfig) Option {
}
}
+// WithDeprecationRecorder sets up functions to record usage of deprecated
+// NRI interfaces or features.
+func WithDeprecationRecorder(d DeprecationRecorder) Option {
+ return func(r *Adaptation) error {
+ r.deprecation = d
+ return nil
+ }
+}
+
// New creates a new NRI Runtime.
func New(name, version string, syncFn SyncFn, updateFn UpdateFn, opts ...Option) (*Adaptation, error) {
var err error
@@ -177,6 +198,7 @@ func New(name, version string, syncFn SyncFn, updateFn UpdateFn, opts ...Option)
socketPath: DefaultSocketPath,
syncLock: sync.RWMutex{},
wasmService: wasmService,
+ metrics: &noopMetrics{},
}
for _, o := range opts {
@@ -219,10 +241,19 @@ func (r *Adaptation) Stop() {
r.stopPlugins()
}
-// RunPodSandbox relays the corresponding CRI event to plugins.
-func (r *Adaptation) RunPodSandbox(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_RUN_POD_SANDBOX
- return r.StateChange(ctx, evt)
+// RunPodSandbox relays the corresponding CRI request to plugins.
+func (r *Adaptation) RunPodSandbox(ctx context.Context, req *RunPodSandboxRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ if _, err := plugin.runPodSandbox(ctx, req); err != nil {
+ return err
+ }
+ }
+
+ return nil
}
// UpdatePodSandbox relays the corresponding CRI request to plugins.
@@ -241,22 +272,52 @@ func (r *Adaptation) UpdatePodSandbox(ctx context.Context, req *UpdatePodSandbox
return &UpdatePodSandboxResponse{}, nil
}
-// PostUpdatePodSandbox relays the corresponding CRI event to plugins.
-func (r *Adaptation) PostUpdatePodSandbox(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_POST_UPDATE_POD_SANDBOX
- return r.StateChange(ctx, evt)
+// PostUpdatePodSandbox relays the corresponding CRI request to plugins.
+func (r *Adaptation) PostUpdatePodSandbox(ctx context.Context, req *PostUpdatePodSandboxRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.postUpdatePodSandbox(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
-// StopPodSandbox relays the corresponding CRI event to plugins.
-func (r *Adaptation) StopPodSandbox(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_STOP_POD_SANDBOX
- return r.StateChange(ctx, evt)
+// StopPodSandbox relays the corresponding CRI request to plugins.
+func (r *Adaptation) StopPodSandbox(ctx context.Context, req *StopPodSandboxRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.stopPodSandbox(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
-// RemovePodSandbox relays the corresponding CRI event to plugins.
-func (r *Adaptation) RemovePodSandbox(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_REMOVE_POD_SANDBOX
- return r.StateChange(ctx, evt)
+// RemovePodSandbox relays the corresponding CRI request to plugins.
+func (r *Adaptation) RemovePodSandbox(ctx context.Context, req *RemovePodSandboxRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.removePodSandbox(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
// CreateContainer relays the corresponding CRI request to plugins.
@@ -294,22 +355,52 @@ func (r *Adaptation) CreateContainer(ctx context.Context, req *CreateContainerRe
return r.validateContainerAdjustment(ctx, validate, result)
}
-// PostCreateContainer relays the corresponding CRI event to plugins.
-func (r *Adaptation) PostCreateContainer(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_POST_CREATE_CONTAINER
- return r.StateChange(ctx, evt)
+// PostCreateContainer relays the corresponding CRI request to plugins.
+func (r *Adaptation) PostCreateContainer(ctx context.Context, req *PostCreateContainerRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.postCreateContainer(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
-// StartContainer relays the corresponding CRI event to plugins.
-func (r *Adaptation) StartContainer(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_START_CONTAINER
- return r.StateChange(ctx, evt)
+// StartContainer relays the corresponding CRI request to plugins.
+func (r *Adaptation) StartContainer(ctx context.Context, req *StartContainerRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.startContainer(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
-// PostStartContainer relays the corresponding CRI event to plugins.
-func (r *Adaptation) PostStartContainer(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_POST_START_CONTAINER
- return r.StateChange(ctx, evt)
+// PostStartContainer relays the corresponding CRI request to plugins.
+func (r *Adaptation) PostStartContainer(ctx context.Context, req *PostStartContainerRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.postStartContainer(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
// UpdateContainer relays the corresponding CRI request to plugins.
@@ -333,10 +424,20 @@ func (r *Adaptation) UpdateContainer(ctx context.Context, req *UpdateContainerRe
return result.updateContainerResponse(), nil
}
-// PostUpdateContainer relays the corresponding CRI event to plugins.
-func (r *Adaptation) PostUpdateContainer(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_POST_UPDATE_CONTAINER
- return r.StateChange(ctx, evt)
+// PostUpdateContainer relays the corresponding CRI request to plugins.
+func (r *Adaptation) PostUpdateContainer(ctx context.Context, req *PostUpdateContainerRequest) error {
+ r.Lock()
+ defer r.Unlock()
+ defer r.removeClosedPlugins()
+
+ for _, plugin := range r.plugins {
+ _, err := plugin.postUpdateContainer(ctx, req)
+ if err != nil {
+ return err
+ }
+ }
+
+ return nil
}
// StopContainer relays the corresponding CRI request to plugins.
@@ -360,24 +461,14 @@ func (r *Adaptation) StopContainer(ctx context.Context, req *StopContainerReques
return result.stopContainerResponse(), nil
}
-// RemoveContainer relays the corresponding CRI event to plugins.
-func (r *Adaptation) RemoveContainer(ctx context.Context, evt *StateChangeEvent) error {
- evt.Event = Event_REMOVE_CONTAINER
- return r.StateChange(ctx, evt)
-}
-
-// StateChange relays pod- or container events to plugins.
-func (r *Adaptation) StateChange(ctx context.Context, evt *StateChangeEvent) error {
- if evt.Event == Event_UNKNOWN {
- return errors.New("invalid (unset) event in state change notification")
- }
-
+// RemoveContainer relays the corresponding CRI request to plugins.
+func (r *Adaptation) RemoveContainer(ctx context.Context, req *RemoveContainerRequest) error {
r.Lock()
defer r.Unlock()
defer r.removeClosedPlugins()
for _, plugin := range r.plugins {
- err := plugin.StateChange(ctx, evt)
+ _, err := plugin.removeContainer(ctx, req)
if err != nil {
return err
}
@@ -540,6 +631,7 @@ func (r *Adaptation) removeClosedPlugins() {
r.plugins = active
r.validators = validators
+ r.metrics.UpdatePluginCount(len(r.plugins))
}
func (r *Adaptation) startListener() error {
@@ -607,7 +699,9 @@ func (r *Adaptation) acceptPluginConnections(l net.Listener) error {
r.validators = append(r.validators, p)
}
r.sortPlugins()
+ count := len(r.plugins)
r.Unlock()
+ r.metrics.UpdatePluginCount(count)
log.Infof(ctx, "plugin %q connected and synchronized", p.name())
}
r.finishedPluginSync()
diff --git a/pkg/adaptation/api.go b/pkg/adaptation/api.go
index bc176108..5ed04164 100644
--- a/pkg/adaptation/api.go
+++ b/pkg/adaptation/api.go
@@ -51,10 +51,13 @@ type (
StateChangeEvent = api.StateChangeEvent
StateChangeResponse = api.StateChangeResponse
RunPodSandboxRequest = api.RunPodSandboxRequest
+ RunPodSandboxResponse = api.RunPodSandboxResponse
UpdatePodSandboxRequest = api.UpdatePodSandboxRequest
UpdatePodSandboxResponse = api.UpdatePodSandboxResponse
StopPodSandboxRequest = api.StopPodSandboxRequest
+ StopPodSandboxResponse = api.StopPodSandboxResponse
RemovePodSandboxRequest = api.RemovePodSandboxRequest
+ RemovePodSandboxResponse = api.RemovePodSandboxResponse
PostUpdatePodSandboxRequest = api.PostUpdatePodSandboxRequest
PostUpdatePodSandboxResponse = api.PostUpdatePodSandboxResponse
StartContainerRequest = api.StartContainerRequest
@@ -106,6 +109,7 @@ type (
SecurityProfile = api.SecurityProfile
User = api.User
+ Event = api.Event
EventMask = api.EventMask
)
diff --git a/pkg/adaptation/builtin/plugin.go b/pkg/adaptation/builtin/plugin.go
index bc0c0058..4c76619d 100644
--- a/pkg/adaptation/builtin/plugin.go
+++ b/pkg/adaptation/builtin/plugin.go
@@ -131,6 +131,46 @@ func (b *BuiltinPlugin) Shutdown(context.Context, *api.ShutdownRequest) (*api.Sh
return &api.ShutdownResponse{}, nil
}
+// RunPodSandbox implements PluginService of the NRI API.
+func (b *BuiltinPlugin) RunPodSandbox(ctx context.Context, req *api.RunPodSandboxRequest) (*api.RunPodSandboxResponse, error) {
+ if b.Handlers.RunPodSandbox != nil {
+ return &api.RunPodSandboxResponse{}, b.Handlers.RunPodSandbox(ctx, req)
+ }
+ return &api.RunPodSandboxResponse{}, nil
+}
+
+// UpdatePodSandbox implements PluginService of the NRI API.
+func (b *BuiltinPlugin) UpdatePodSandbox(ctx context.Context, req *api.UpdatePodSandboxRequest) (*api.UpdatePodSandboxResponse, error) {
+ if b.Handlers.UpdatePodSandbox != nil {
+ return b.Handlers.UpdatePodSandbox(ctx, req)
+ }
+ return &api.UpdatePodSandboxResponse{}, nil
+}
+
+// PostUpdatePodSandbox is a handler for the PostUpdatePodSandbox event.
+func (b *BuiltinPlugin) PostUpdatePodSandbox(ctx context.Context, req *api.PostUpdatePodSandboxRequest) (*api.PostUpdatePodSandboxResponse, error) {
+ if b.Handlers.PostUpdatePodSandbox != nil {
+ return &api.PostUpdatePodSandboxResponse{}, b.Handlers.PostUpdatePodSandbox(ctx, req)
+ }
+ return &api.PostUpdatePodSandboxResponse{}, nil
+}
+
+// StopPodSandbox implements PluginService of the NRI API.
+func (b *BuiltinPlugin) StopPodSandbox(ctx context.Context, req *api.StopPodSandboxRequest) (*api.StopPodSandboxResponse, error) {
+ if b.Handlers.StopPodSandbox != nil {
+ return &api.StopPodSandboxResponse{}, b.Handlers.StopPodSandbox(ctx, req)
+ }
+ return &api.StopPodSandboxResponse{}, nil
+}
+
+// RemovePodSandbox implements PluginService of the NRI API.
+func (b *BuiltinPlugin) RemovePodSandbox(ctx context.Context, req *api.RemovePodSandboxRequest) (*api.RemovePodSandboxResponse, error) {
+ if b.Handlers.RemovePodSandbox != nil {
+ return &api.RemovePodSandboxResponse{}, b.Handlers.RemovePodSandbox(ctx, req)
+ }
+ return &api.RemovePodSandboxResponse{}, nil
+}
+
// CreateContainer implements PluginService of the NRI API.
func (b *BuiltinPlugin) CreateContainer(ctx context.Context, req *api.CreateContainerRequest) (*api.CreateContainerResponse, error) {
if b.Handlers.CreateContainer != nil {
@@ -139,6 +179,30 @@ func (b *BuiltinPlugin) CreateContainer(ctx context.Context, req *api.CreateCont
return &api.CreateContainerResponse{}, nil
}
+// PostCreateContainer implements PluginsService of the NRI API.
+func (b *BuiltinPlugin) PostCreateContainer(ctx context.Context, req *api.PostCreateContainerRequest) (*api.PostCreateContainerResponse, error) {
+ if b.Handlers.PostCreateContainer != nil {
+ return &api.PostCreateContainerResponse{}, b.Handlers.PostCreateContainer(ctx, req)
+ }
+ return &api.PostCreateContainerResponse{}, nil
+}
+
+// StartContainer implements PluginService of the NRI API.
+func (b *BuiltinPlugin) StartContainer(ctx context.Context, req *api.StartContainerRequest) (*api.StartContainerResponse, error) {
+ if b.Handlers.StartContainer != nil {
+ return &api.StartContainerResponse{}, b.Handlers.StartContainer(ctx, req)
+ }
+ return &api.StartContainerResponse{}, nil
+}
+
+// PostStartContainer implements PluginService of the NRI API.
+func (b *BuiltinPlugin) PostStartContainer(ctx context.Context, req *api.PostStartContainerRequest) (*api.PostStartContainerResponse, error) {
+ if b.Handlers.PostStartContainer != nil {
+ return &api.PostStartContainerResponse{}, b.Handlers.PostStartContainer(ctx, req)
+ }
+ return &api.PostStartContainerResponse{}, nil
+}
+
// UpdateContainer implements PluginService of the NRI API.
func (b *BuiltinPlugin) UpdateContainer(ctx context.Context, req *api.UpdateContainerRequest) (*api.UpdateContainerResponse, error) {
if b.Handlers.UpdateContainer != nil {
@@ -147,6 +211,14 @@ func (b *BuiltinPlugin) UpdateContainer(ctx context.Context, req *api.UpdateCont
return &api.UpdateContainerResponse{}, nil
}
+// PostUpdateContainer implements PluginService of the NRI API.
+func (b *BuiltinPlugin) PostUpdateContainer(ctx context.Context, req *api.PostUpdateContainerRequest) (*api.PostUpdateContainerResponse, error) {
+ if b.Handlers.PostUpdateContainer != nil {
+ return &api.PostUpdateContainerResponse{}, b.Handlers.PostUpdateContainer(ctx, req)
+ }
+ return &api.PostUpdateContainerResponse{}, nil
+}
+
// StopContainer implements PluginService of the NRI API.
func (b *BuiltinPlugin) StopContainer(ctx context.Context, req *api.StopContainerRequest) (*api.StopContainerResponse, error) {
if b.Handlers.StopContainer != nil {
@@ -155,61 +227,18 @@ func (b *BuiltinPlugin) StopContainer(ctx context.Context, req *api.StopContaine
return &api.StopContainerResponse{}, nil
}
-// StateChange implements PluginService of the NRI API.
-func (b *BuiltinPlugin) StateChange(ctx context.Context, evt *api.StateChangeEvent) (*api.StateChangeResponse, error) {
- var err error
- switch evt.Event {
- case api.Event_RUN_POD_SANDBOX:
- if b.Handlers.RunPodSandbox != nil {
- err = b.Handlers.RunPodSandbox(ctx, evt)
- }
- case api.Event_STOP_POD_SANDBOX:
- if b.Handlers.StopPodSandbox != nil {
- err = b.Handlers.StopPodSandbox(ctx, evt)
- }
- case api.Event_REMOVE_POD_SANDBOX:
- if b.Handlers.RemovePodSandbox != nil {
- err = b.Handlers.RemovePodSandbox(ctx, evt)
- }
- case api.Event_POST_CREATE_CONTAINER:
- if b.Handlers.PostCreateContainer != nil {
- err = b.Handlers.PostCreateContainer(ctx, evt)
- }
- case api.Event_START_CONTAINER:
- if b.Handlers.StartContainer != nil {
- err = b.Handlers.StartContainer(ctx, evt)
- }
- case api.Event_POST_START_CONTAINER:
- if b.Handlers.PostStartContainer != nil {
- err = b.Handlers.PostStartContainer(ctx, evt)
- }
- case api.Event_POST_UPDATE_CONTAINER:
- if b.Handlers.PostUpdateContainer != nil {
- err = b.Handlers.PostUpdateContainer(ctx, evt)
- }
- case api.Event_REMOVE_CONTAINER:
- if b.Handlers.RemoveContainer != nil {
- err = b.Handlers.RemoveContainer(ctx, evt)
- }
- }
-
- return &api.StateChangeResponse{}, err
-}
-
-// UpdatePodSandbox implements PluginService of the NRI API.
-func (b *BuiltinPlugin) UpdatePodSandbox(ctx context.Context, req *api.UpdatePodSandboxRequest) (*api.UpdatePodSandboxResponse, error) {
- if b.Handlers.UpdatePodSandbox != nil {
- return b.Handlers.UpdatePodSandbox(ctx, req)
+// RemoveContainer implements PluginService of the NRI API.
+func (b *BuiltinPlugin) RemoveContainer(ctx context.Context, req *api.RemoveContainerRequest) (*api.RemoveContainerResponse, error) {
+ if b.Handlers.RemoveContainer != nil {
+ return &api.RemoveContainerResponse{}, b.Handlers.RemoveContainer(ctx, req)
}
- return &api.UpdatePodSandboxResponse{}, nil
+ return &api.RemoveContainerResponse{}, nil
}
-// PostUpdatePodSandbox is a handler for the PostUpdatePodSandbox event.
-func (b *BuiltinPlugin) PostUpdatePodSandbox(ctx context.Context, req *api.PostUpdatePodSandboxRequest) error {
- if b.Handlers.PostUpdatePodSandbox != nil {
- return b.Handlers.PostUpdatePodSandbox(ctx, req)
- }
- return nil
+// StateChange implements PluginService of the NRI API.
+func (b *BuiltinPlugin) StateChange(_ context.Context, _ *api.StateChangeEvent) (*api.StateChangeResponse, error) {
+ // TODO: remove eventually once StateChange is removed from the wire protocol.
+ return &api.StateChangeResponse{}, nil
}
// ValidateContainerAdjustment implements PluginService of the NRI API.
diff --git a/pkg/adaptation/deprecations.go b/pkg/adaptation/deprecations.go
new file mode 100644
index 00000000..96cd3ab7
--- /dev/null
+++ b/pkg/adaptation/deprecations.go
@@ -0,0 +1,46 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package adaptation
+
+import (
+ "context"
+ "fmt"
+)
+
+// DeprecationRecorder is the interface for recording NRI deprecation warnings.
+type DeprecationRecorder interface {
+ // PluginWarning records a warning for a plugin.
+ PluginWarning(ctx context.Context, d Deprecation, plugin, details string)
+}
+
+// Deprecation is the type for NRI deprecations.
+type Deprecation int
+
+const (
+ // DeprecatedStateChange indicates that a plugin does not implement per
+ // request RPC calls, using the deprecated StateChange instead.
+ DeprecatedStateChange Deprecation = iota + 1
+)
+
+func (d Deprecation) String() string {
+ switch d {
+ case DeprecatedStateChange:
+ return "deprecated StateChange"
+ default:
+ return fmt.Sprintf("unknown deprecation (%d)", d)
+ }
+}
diff --git a/pkg/adaptation/metrics.go b/pkg/adaptation/metrics.go
new file mode 100644
index 00000000..a8d4b6fa
--- /dev/null
+++ b/pkg/adaptation/metrics.go
@@ -0,0 +1,47 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package adaptation
+
+import "time"
+
+// Metrics defines the interface that a consumer can implement to collect
+// and emit metrics regarding NRI plugin activity.
+// Implementations of this interface must be thread-safe, as these methods
+// are invoked concurrently across multiple goroutines handling plugin requests.
+type Metrics interface {
+ // RecordPluginInvocation records the invocation of a plugin for a specific operation.
+ RecordPluginInvocation(pluginName, operation string, err error)
+
+ // RecordPluginLatency records the latency of a plugin invocation.
+ RecordPluginLatency(pluginName, operation string, latency time.Duration)
+
+ // RecordPluginAdjustments records the adjustments returned by a plugin.
+ RecordPluginAdjustments(pluginName, operation string, adjust *ContainerAdjustment, updates, evicts int)
+
+ // UpdatePluginCount sets the number of currently active plugins.
+ UpdatePluginCount(count int)
+}
+
+// noopMetrics provides a default, no-operation implementation of the Metrics interface.
+type noopMetrics struct{}
+
+var _ Metrics = (*noopMetrics)(nil)
+
+func (n *noopMetrics) RecordPluginInvocation(_, _ string, _ error) {}
+func (n *noopMetrics) RecordPluginLatency(_, _ string, _ time.Duration) {}
+func (n *noopMetrics) RecordPluginAdjustments(_, _ string, _ *ContainerAdjustment, _, _ int) {}
+func (n *noopMetrics) UpdatePluginCount(_ int) {}
diff --git a/pkg/adaptation/metrics_test.go b/pkg/adaptation/metrics_test.go
new file mode 100644
index 00000000..42e6dcc5
--- /dev/null
+++ b/pkg/adaptation/metrics_test.go
@@ -0,0 +1,531 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package adaptation
+
+import (
+ "context"
+ "testing"
+ "time"
+
+ "github.com/containerd/nri/pkg/api"
+ "github.com/stretchr/testify/assert"
+)
+
+// mockMetrics provides a simple implementation of the Metrics interface for testing.
+type mockMetrics struct {
+ pluginCount int
+ invocations []mockInvocation
+ latencies []mockLatency
+ adjustments []mockAdjustment
+}
+
+type mockInvocation struct {
+ pluginName string
+ operation string
+ err error
+}
+
+type mockLatency struct {
+ pluginName string
+ operation string
+ latency time.Duration
+}
+
+type mockAdjustment struct {
+ pluginName string
+ operation string
+ adjust *ContainerAdjustment
+ updates int
+ evicts int
+}
+
+func (m *mockMetrics) RecordPluginInvocation(pluginName, operation string, err error) {
+ m.invocations = append(m.invocations, mockInvocation{
+ pluginName: pluginName,
+ operation: operation,
+ err: err,
+ })
+}
+
+func (m *mockMetrics) RecordPluginLatency(pluginName, operation string, latency time.Duration) {
+ m.latencies = append(m.latencies, mockLatency{
+ pluginName: pluginName,
+ operation: operation,
+ latency: latency,
+ })
+}
+
+func (m *mockMetrics) RecordPluginAdjustments(pluginName, operation string, adjust *ContainerAdjustment, updates, evicts int) {
+ m.adjustments = append(m.adjustments, mockAdjustment{
+ pluginName: pluginName,
+ operation: operation,
+ adjust: adjust,
+ updates: updates,
+ evicts: evicts,
+ })
+}
+
+func (m *mockMetrics) UpdatePluginCount(count int) {
+ m.pluginCount = count
+}
+
+type dummyPlugin struct {
+ api.PluginService
+}
+
+func (d *dummyPlugin) Synchronize(_ context.Context, _ *api.SynchronizeRequest) (*api.SynchronizeResponse, error) {
+ return &api.SynchronizeResponse{
+ Update: []*api.ContainerUpdate{
+ {ContainerId: "test-container"},
+ },
+ }, nil
+}
+
+func (d *dummyPlugin) RunPodSandbox(_ context.Context, _ *api.RunPodSandboxRequest) (*api.RunPodSandboxResponse, error) {
+ return &api.RunPodSandboxResponse{}, nil
+}
+
+func (d *dummyPlugin) UpdatePodSandbox(_ context.Context, _ *api.UpdatePodSandboxRequest) (*api.UpdatePodSandboxResponse, error) {
+ return &api.UpdatePodSandboxResponse{}, nil
+}
+
+func (d *dummyPlugin) PostUpdatePodSandbox(_ context.Context, _ *api.PostUpdatePodSandboxRequest) (*api.PostUpdatePodSandboxResponse, error) {
+ return &api.PostUpdatePodSandboxResponse{}, nil
+}
+
+func (d *dummyPlugin) StopPodSandbox(_ context.Context, _ *api.StopPodSandboxRequest) (*api.StopPodSandboxResponse, error) {
+ return &api.StopPodSandboxResponse{}, nil
+}
+
+func (d *dummyPlugin) RemovePodSandbox(_ context.Context, _ *api.RemovePodSandboxRequest) (*api.RemovePodSandboxResponse, error) {
+ return &api.RemovePodSandboxResponse{}, nil
+}
+
+func (d *dummyPlugin) CreateContainer(_ context.Context, _ *api.CreateContainerRequest) (*api.CreateContainerResponse, error) {
+ return &api.CreateContainerResponse{
+ Adjust: &api.ContainerAdjustment{},
+ Update: []*api.ContainerUpdate{
+ {ContainerId: "test-container"},
+ },
+ Evict: []*api.ContainerEviction{
+ {ContainerId: "test-container"},
+ },
+ }, nil
+}
+
+func (d *dummyPlugin) PostCreateContainer(_ context.Context, _ *api.PostCreateContainerRequest) (*api.PostCreateContainerResponse, error) {
+ return &api.PostCreateContainerResponse{}, nil
+}
+
+func (d *dummyPlugin) StartContainer(_ context.Context, _ *api.StartContainerRequest) (*api.StartContainerResponse, error) {
+ return &api.StartContainerResponse{}, nil
+}
+
+func (d *dummyPlugin) PostStartContainer(_ context.Context, _ *api.PostStartContainerRequest) (*api.PostStartContainerResponse, error) {
+ return &api.PostStartContainerResponse{}, nil
+}
+
+func (d *dummyPlugin) UpdateContainer(_ context.Context, _ *api.UpdateContainerRequest) (*api.UpdateContainerResponse, error) {
+ return &api.UpdateContainerResponse{
+ Update: []*api.ContainerUpdate{
+ {ContainerId: "test-container"},
+ },
+ Evict: []*api.ContainerEviction{
+ {ContainerId: "test-container"},
+ {ContainerId: "test-container-2"},
+ },
+ }, nil
+}
+
+func (d *dummyPlugin) PostUpdateContainer(_ context.Context, _ *api.PostUpdateContainerRequest) (*api.PostUpdateContainerResponse, error) {
+ return &api.PostUpdateContainerResponse{}, nil
+}
+
+func (d *dummyPlugin) StopContainer(_ context.Context, _ *api.StopContainerRequest) (*api.StopContainerResponse, error) {
+ return &api.StopContainerResponse{
+ Update: []*api.ContainerUpdate{
+ {ContainerId: "test-container"},
+ },
+ }, nil
+}
+
+func (d *dummyPlugin) RemoveContainer(_ context.Context, _ *api.RemoveContainerRequest) (*api.RemoveContainerResponse, error) {
+ return &api.RemoveContainerResponse{}, nil
+}
+
+func (d *dummyPlugin) StateChange(_ context.Context, _ *api.StateChangeEvent) (*api.Empty, error) {
+ return &api.Empty{}, nil
+}
+
+func (d *dummyPlugin) ValidateContainerAdjustment(_ context.Context, _ *api.ValidateContainerAdjustmentRequest) (*api.ValidateContainerAdjustmentResponse, error) {
+ return &api.ValidateContainerAdjustmentResponse{}, nil
+}
+
+func setupTestPlugin() (*mockMetrics, *plugin) {
+ m := &mockMetrics{}
+ adapt := &Adaptation{metrics: m}
+
+ impl := &pluginType{builtinImpl: &dummyPlugin{}}
+
+ var events api.EventMask
+ events.Set(api.Event_RUN_POD_SANDBOX)
+ events.Set(api.Event_UPDATE_POD_SANDBOX)
+ events.Set(api.Event_POST_UPDATE_POD_SANDBOX)
+ events.Set(api.Event_STOP_POD_SANDBOX)
+ events.Set(api.Event_REMOVE_POD_SANDBOX)
+ events.Set(api.Event_CREATE_CONTAINER)
+ events.Set(api.Event_POST_CREATE_CONTAINER)
+ events.Set(api.Event_START_CONTAINER)
+ events.Set(api.Event_POST_START_CONTAINER)
+ events.Set(api.Event_UPDATE_CONTAINER)
+ events.Set(api.Event_POST_UPDATE_CONTAINER)
+ events.Set(api.Event_STOP_CONTAINER)
+ events.Set(api.Event_REMOVE_CONTAINER)
+ events.Set(api.Event_VALIDATE_CONTAINER_ADJUSTMENT)
+
+ p := &plugin{
+ r: adapt,
+ events: events,
+ impl: impl,
+ idx: "00",
+ base: "test-plugin",
+ }
+
+ return m, p
+}
+
+func TestPluginSynchronizeMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ _, err := p.synchronize(context.Background(), nil, nil)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, "Synchronize", m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, "Synchronize", m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 1)
+ assert.Equal(t, p.name(), m.adjustments[0].pluginName)
+ assert.Equal(t, "Synchronize", m.adjustments[0].operation)
+ assert.Equal(t, 1, m.adjustments[0].updates)
+ assert.Equal(t, 0, m.adjustments[0].evicts)
+ assert.Nil(t, m.adjustments[0].adjust)
+}
+
+func TestPluginRunPodSandboxMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_RUN_POD_SANDBOX
+ req := &api.RunPodSandboxRequest{}
+
+ _, err := p.runPodSandbox(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+}
+
+func TestPluginUpdatePodSandboxMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_UPDATE_POD_SANDBOX
+ req := &api.UpdatePodSandboxRequest{}
+ _, err := p.updatePodSandbox(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 0)
+}
+
+func TestPluginPostUpdatePodSandboxMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_POST_UPDATE_POD_SANDBOX
+ req := &api.PostUpdatePodSandboxRequest{}
+ _, err := p.postUpdatePodSandbox(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 0)
+}
+
+func TestPluginStopPodSandboxMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_STOP_POD_SANDBOX
+ req := &api.StopPodSandboxRequest{}
+ _, err := p.stopPodSandbox(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 0)
+}
+
+func TestPluginRemovePodSandboxMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_REMOVE_POD_SANDBOX
+ req := &api.RemovePodSandboxRequest{}
+ _, err := p.removePodSandbox(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 0)
+}
+
+func TestPluginCreateContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_CREATE_CONTAINER
+ req := &api.CreateContainerRequest{}
+ _, err := p.createContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 1)
+ assert.Equal(t, p.name(), m.adjustments[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.adjustments[0].operation)
+ assert.Equal(t, 1, m.adjustments[0].updates)
+ assert.Equal(t, 1, m.adjustments[0].evicts)
+ assert.NotNil(t, m.adjustments[0].adjust)
+}
+
+func TestPluginPostCreateContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_POST_CREATE_CONTAINER
+ req := &api.PostCreateContainerRequest{}
+ _, err := p.postCreateContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+}
+
+func TestPluginStartContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_START_CONTAINER
+ req := &api.StartContainerRequest{}
+ _, err := p.startContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+}
+
+func TestPluginPostStartContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_POST_START_CONTAINER
+ req := &api.PostStartContainerRequest{}
+ _, err := p.postStartContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+}
+
+func TestPluginUpdateContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_UPDATE_CONTAINER
+ req := &api.UpdateContainerRequest{}
+ _, err := p.updateContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 1)
+ assert.Equal(t, p.name(), m.adjustments[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.adjustments[0].operation)
+ assert.Equal(t, 1, m.adjustments[0].updates)
+ assert.Equal(t, 2, m.adjustments[0].evicts)
+ assert.Nil(t, m.adjustments[0].adjust)
+}
+
+func TestPluginPostUpdateContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_POST_UPDATE_CONTAINER
+ req := &api.PostUpdateContainerRequest{}
+ _, err := p.postUpdateContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+}
+
+func TestPluginStopContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_STOP_CONTAINER
+ req := &api.StopContainerRequest{}
+ _, err := p.stopContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 1)
+ assert.Equal(t, p.name(), m.adjustments[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.adjustments[0].operation)
+ assert.Equal(t, 1, m.adjustments[0].updates)
+ assert.Equal(t, 0, m.adjustments[0].evicts)
+ assert.Nil(t, m.adjustments[0].adjust)
+}
+
+func TestPluginRemoveContainerMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_REMOVE_CONTAINER
+ req := &api.RemoveContainerRequest{}
+ _, err := p.removeContainer(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+}
+
+func TestPluginValidateContainerAdjustmentMetrics(t *testing.T) {
+ m, p := setupTestPlugin()
+
+ evt := api.Event_VALIDATE_CONTAINER_ADJUSTMENT
+ req := &api.ValidateContainerAdjustmentRequest{}
+ err := p.ValidateContainerAdjustment(context.Background(), req)
+ assert.NoError(t, err)
+
+ assert.Len(t, m.invocations, 1)
+ assert.Equal(t, p.name(), m.invocations[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.invocations[0].operation)
+ assert.Nil(t, m.invocations[0].err)
+
+ assert.Len(t, m.latencies, 1)
+ assert.Equal(t, p.name(), m.latencies[0].pluginName)
+ assert.Equal(t, evt.PrettyName(), m.latencies[0].operation)
+ assert.NotZero(t, m.latencies[0].latency)
+
+ assert.Len(t, m.adjustments, 0)
+}
diff --git a/pkg/adaptation/plugin.go b/pkg/adaptation/plugin.go
index bbdca5f3..b0cb95f6 100644
--- a/pkg/adaptation/plugin.go
+++ b/pkg/adaptation/plugin.go
@@ -527,8 +527,13 @@ func (p *plugin) synchronize(ctx context.Context, pods []*PodSandbox, containers
log.Debugf(ctx, "sending sync message, %d/%d, %d/%d (more: %v)",
len(req.Pods), len(podsToSend), len(req.Containers), len(ctrsToSend), req.More)
+ start := time.Now()
rpl, err = p.impl.Synchronize(ctx, req)
+ p.recordInvocation("Synchronize", start, err)
if err == nil {
+ if rpl != nil {
+ p.recordAdjustments("Synchronize", nil, len(rpl.Update), 0)
+ }
if !req.More {
break
}
@@ -602,130 +607,379 @@ func recalcObjsPerSyncMsg(pods, ctrs int, err error) (int, int, error) {
return pods, ctrs, nil
}
+// Relay RunPodSandbox request to plugin.
+func (p *plugin) runPodSandbox(ctx context.Context, req *RunPodSandboxRequest) (*RunPodSandboxResponse, error) {
+ event := Event_RUN_POD_SANDBOX
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ rpl, err := p.impl.RunPodSandbox(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return rpl, nil
+}
+
+// Relay UpdatePodSandbox request to plugin.
+func (p *plugin) updatePodSandbox(ctx context.Context, req *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
+ event := Event_UPDATE_POD_SANDBOX
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.UpdatePodSandbox(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+
+ return &UpdatePodSandboxResponse{}, nil
+}
+
+// Relay PostUpdatePodSandbox request to plugin.
+func (p *plugin) postUpdatePodSandbox(ctx context.Context, req *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error) {
+ event := Event_POST_UPDATE_POD_SANDBOX
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.PostUpdatePodSandbox(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return &PostUpdatePodSandboxResponse{}, nil
+}
+
+// Relay StopPodSandbox request to plugin.
+func (p *plugin) stopPodSandbox(ctx context.Context, req *StopPodSandboxRequest) (*StopPodSandboxResponse, error) {
+ event := Event_STOP_POD_SANDBOX
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.StopPodSandbox(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return &StopPodSandboxResponse{}, nil
+}
+
+// Relay RemovePodSandbox request to plugin.
+func (p *plugin) removePodSandbox(ctx context.Context, req *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error) {
+ event := Event_REMOVE_POD_SANDBOX
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.RemovePodSandbox(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return &RemovePodSandboxResponse{}, nil
+}
+
// Relay CreateContainer request to plugin.
func (p *plugin) createContainer(ctx context.Context, req *CreateContainerRequest) (*CreateContainerResponse, error) {
- if !p.events.IsSet(Event_CREATE_CONTAINER) {
+ event := Event_CREATE_CONTAINER
+ if !p.events.IsSet(event) {
return nil, nil
}
ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
defer cancel()
+ start := time.Now()
rpl, err := p.impl.CreateContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
if err != nil {
if isFatalError(err) {
- log.Errorf(ctx, "closing plugin %s, failed to handle CreateContainer request: %v",
- p.name(), err)
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
p.close()
return nil, nil
}
return nil, err
}
+ if rpl != nil {
+ p.recordAdjustments(event.PrettyName(), rpl.Adjust, len(rpl.Update), len(rpl.Evict))
+ }
return rpl, nil
}
+// Relay PostCreateContainer request to plugin.
+func (p *plugin) postCreateContainer(ctx context.Context, req *PostCreateContainerRequest) (*PostCreateContainerResponse, error) {
+ event := Event_POST_CREATE_CONTAINER
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.PostCreateContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return &PostCreateContainerResponse{}, nil
+}
+
+// Relay StartContainer request to plugin.
+func (p *plugin) startContainer(ctx context.Context, req *StartContainerRequest) (*StartContainerResponse, error) {
+ event := Event_START_CONTAINER
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.StartContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return &StartContainerResponse{}, nil
+}
+
+// Relay PostStartContainer request to plugin.
+func (p *plugin) postStartContainer(ctx context.Context, req *PostStartContainerRequest) (*PostStartContainerResponse, error) {
+ event := Event_POST_START_CONTAINER
+ if !p.events.IsSet(event) {
+ return nil, nil
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
+ defer cancel()
+
+ start := time.Now()
+ _, err := p.impl.PostStartContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
+ if isFatalError(err) {
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
+ p.close()
+ return nil, nil
+ }
+ return nil, err
+ }
+ p.warnDeprecatedEvent(ctx, event)
+
+ return &PostStartContainerResponse{}, nil
+}
+
// Relay UpdateContainer request to plugin.
func (p *plugin) updateContainer(ctx context.Context, req *UpdateContainerRequest) (*UpdateContainerResponse, error) {
- if !p.events.IsSet(Event_UPDATE_CONTAINER) {
+ event := Event_UPDATE_CONTAINER
+ if !p.events.IsSet(event) {
return nil, nil
}
ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
defer cancel()
+ start := time.Now()
rpl, err := p.impl.UpdateContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
if err != nil {
if isFatalError(err) {
- log.Errorf(ctx, "closing plugin %s, failed to handle UpdateContainer request: %v",
- p.name(), err)
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
p.close()
return nil, nil
}
return nil, err
}
+ if rpl != nil {
+ p.recordAdjustments(event.PrettyName(), nil, len(rpl.Update), len(rpl.Evict))
+ }
return rpl, nil
}
-// Relay StopContainer request to the plugin.
-func (p *plugin) stopContainer(ctx context.Context, req *StopContainerRequest) (rpl *StopContainerResponse, err error) {
- if !p.events.IsSet(Event_STOP_CONTAINER) {
+// Relay PostUpdateContainer request to plugin.
+func (p *plugin) postUpdateContainer(ctx context.Context, req *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error) {
+ event := Event_POST_UPDATE_CONTAINER
+ if !p.events.IsSet(event) {
return nil, nil
}
ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
defer cancel()
- rpl, err = p.impl.StopContainer(ctx, req)
+ start := time.Now()
+ _, err := p.impl.PostUpdateContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
if err != nil {
if isFatalError(err) {
- log.Errorf(ctx, "closing plugin %s, failed to handle StopContainer request: %v",
- p.name(), err)
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
p.close()
return nil, nil
}
return nil, err
}
+ p.warnDeprecatedEvent(ctx, event)
- return rpl, nil
+ return &PostUpdateContainerResponse{}, nil
}
-func (p *plugin) updatePodSandbox(ctx context.Context, req *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
- if !p.events.IsSet(Event_UPDATE_POD_SANDBOX) {
+// Relay StopContainer request to the plugin.
+func (p *plugin) stopContainer(ctx context.Context, req *StopContainerRequest) (rpl *StopContainerResponse, err error) {
+ event := Event_STOP_CONTAINER
+ if !p.events.IsSet(event) {
return nil, nil
}
ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
defer cancel()
- if _, err := p.impl.UpdatePodSandbox(ctx, req); err != nil {
+ start := time.Now()
+ rpl, err = p.impl.StopContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
if isFatalError(err) {
- log.Errorf(ctx, "closing plugin %s, failed to handle event %d: %v",
- p.name(), Event_UPDATE_POD_SANDBOX, err)
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
p.close()
return nil, nil
}
return nil, err
}
+ if rpl != nil {
+ p.recordAdjustments(event.PrettyName(), nil, len(rpl.Update), 0)
+ }
- return &UpdatePodSandboxResponse{}, nil
+ return rpl, nil
}
-// Relay other pod or container state change events to the plugin.
-func (p *plugin) StateChange(ctx context.Context, evt *StateChangeEvent) (err error) {
- if !p.events.IsSet(evt.Event) {
- return nil
+// Relay RemoveContainer request to plugin.
+func (p *plugin) removeContainer(ctx context.Context, req *RemoveContainerRequest) (*RemoveContainerResponse, error) {
+ event := Event_REMOVE_CONTAINER
+ if !p.events.IsSet(event) {
+ return nil, nil
}
ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
defer cancel()
- if err = p.impl.StateChange(ctx, evt); err != nil {
+ start := time.Now()
+ _, err := p.impl.RemoveContainer(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
+ if err != nil {
if isFatalError(err) {
- log.Errorf(ctx, "closing plugin %s, failed to handle event %d: %v",
- p.name(), evt.Event, err)
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
p.close()
- return nil
+ return nil, nil
}
- return err
+ return nil, err
}
+ p.warnDeprecatedEvent(ctx, event)
- return nil
+ return &RemoveContainerResponse{}, nil
}
+// Relay ValidateContainerAdjustment request to plugin.
func (p *plugin) ValidateContainerAdjustment(ctx context.Context, req *ValidateContainerAdjustmentRequest) error {
- if !p.events.IsSet(Event_VALIDATE_CONTAINER_ADJUSTMENT) {
+ event := Event_VALIDATE_CONTAINER_ADJUSTMENT
+ if !p.events.IsSet(event) {
return nil
}
ctx, cancel := context.WithTimeout(ctx, getPluginRequestTimeout())
defer cancel()
+ start := time.Now()
rpl, err := p.impl.ValidateContainerAdjustment(ctx, req)
+ p.recordInvocation(event.PrettyName(), start, err)
if err != nil {
if isFatalError(err) {
- log.Errorf(ctx, "closing plugin %s, failed to validate request: %v", p.name(), err)
+ log.Errorf(ctx, "closing plugin %s, failed to handle %s request: %v",
+ p.name(), event.PrettyName(), err)
p.close()
}
return fmt.Errorf("validator plugin %s failed: %v", p.name(), err)
@@ -734,6 +988,34 @@ func (p *plugin) ValidateContainerAdjustment(ctx context.Context, req *ValidateC
return rpl.ValidationResult(p.name())
}
+// Record metrics for a plugin invocation.
+func (p *plugin) recordInvocation(op string, since time.Time, err error) {
+ p.r.metrics.RecordPluginLatency(p.name(), op, time.Since(since))
+ p.r.metrics.RecordPluginInvocation(p.name(), op, err)
+}
+
+// Record metrics for adjustments requested by a plugin.
+func (p *plugin) recordAdjustments(op string, adjust *ContainerAdjustment, updates, evicts int) {
+ p.r.metrics.RecordPluginAdjustments(p.name(), op, adjust, updates, evicts)
+}
+
+// Warn about a plugins using deprecated StateChange for event handling.
+func (p *plugin) warnDeprecatedEvent(ctx context.Context, event Event) {
+ if !p.impl.deprecated[event] || p.impl.warned[event] {
+ return
+ }
+
+ if p.r.deprecation != nil {
+ p.r.deprecation.PluginWarning(ctx, DeprecatedStateChange, p.name(),
+ fmt.Sprintf("does not implement %s", event.PrettyName()))
+ } else {
+ log.Warnf(ctx, "plugin %s uses StateChange, does not implement %s",
+ p.name(), event.PrettyName())
+ }
+
+ p.impl.warned[event] = true
+}
+
// isFatalError returns true if the error is fatal and the plugin connection should be closed.
func isFatalError(err error) bool {
switch {
diff --git a/pkg/adaptation/plugin_type.go b/pkg/adaptation/plugin_type.go
index 43390291..9c5a39f9 100644
--- a/pkg/adaptation/plugin_type.go
+++ b/pkg/adaptation/plugin_type.go
@@ -21,12 +21,16 @@ import (
"errors"
"github.com/containerd/nri/pkg/api"
+ "google.golang.org/grpc/codes"
+ "google.golang.org/grpc/status"
)
type pluginType struct {
- wasmImpl api.Plugin
- ttrpcImpl api.PluginService
- builtinImpl api.PluginService
+ wasmImpl api.Plugin // WASM binary plugin loaded by the runtime
+ ttrpcImpl api.PluginService // external plugin connected over ttrpc
+ builtinImpl api.PluginService // in-process plugin built into the runtime
+ deprecated map[Event]bool // deprecations collected
+ warned map[Event]bool // deprecations we have warned about
}
var (
@@ -45,6 +49,8 @@ func (p *pluginType) isBuiltin() bool {
return p.builtinImpl != nil
}
+// Synchronize handles type-specific details of relaying a plugin Synchronize
+// request.
func (p *pluginType) Synchronize(ctx context.Context, req *SynchronizeRequest) (*SynchronizeResponse, error) {
switch {
case p.ttrpcImpl != nil:
@@ -58,6 +64,7 @@ func (p *pluginType) Synchronize(ctx context.Context, req *SynchronizeRequest) (
return nil, errUnknownImpl
}
+// Configure handles type-specific details of relaying a plugin Configure request.
func (p *pluginType) Configure(ctx context.Context, req *ConfigureRequest) (*ConfigureResponse, error) {
switch {
case p.ttrpcImpl != nil:
@@ -71,6 +78,96 @@ func (p *pluginType) Configure(ctx context.Context, req *ConfigureRequest) (*Con
return nil, errUnknownImpl
}
+// RunPodSandbox handles type-specific deails of relaying a RunPodSandbox request.
+func (p *pluginType) RunPodSandbox(ctx context.Context, req *RunPodSandboxRequest) (*RunPodSandboxResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.RunPodSandbox(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).RunPodSandbox(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.RunPodSandbox(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.RunPodSandbox(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// UpdatePodSandbox handles type-specific details of relaying an UpdatePodSandbox
+// request.
+func (p *pluginType) UpdatePodSandbox(ctx context.Context, req *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ return p.ttrpcImpl.UpdatePodSandbox(ctx, req)
+ case p.builtinImpl != nil:
+ return p.builtinImpl.UpdatePodSandbox(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.UpdatePodSandbox(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// PostUpdatePodSandbox handles type-specific details of relaying a
+// PostUpdatePodSandbox request.
+func (p *pluginType) PostUpdatePodSandbox(ctx context.Context, req *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.PostUpdatePodSandbox(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).PostUpdatePodSandbox(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.PostUpdatePodSandbox(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.PostUpdatePodSandbox(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// StopPodSandbox handles type-specific details of relaying a StopPodSandbox request.
+func (p *pluginType) StopPodSandbox(ctx context.Context, req *StopPodSandboxRequest) (*StopPodSandboxResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.StopPodSandbox(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).StopPodSandbox(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.StopPodSandbox(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.StopPodSandbox(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// RemovePodSandbox handles type-specific details of relaying a RemovePodSandbox
+// request.
+func (p *pluginType) RemovePodSandbox(ctx context.Context, req *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.RemovePodSandbox(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).RemovePodSandbox(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.RemovePodSandbox(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.RemovePodSandbox(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// CreateContainer handles type-specific details of relaying a CreateContainer request.
func (p *pluginType) CreateContainer(ctx context.Context, req *CreateContainerRequest) (*CreateContainerResponse, error) {
switch {
case p.ttrpcImpl != nil:
@@ -84,6 +181,63 @@ func (p *pluginType) CreateContainer(ctx context.Context, req *CreateContainerRe
return nil, errUnknownImpl
}
+// PostCreateContainer handles type-specific details of relaying a PostCreateContainer
+// request.
+func (p *pluginType) PostCreateContainer(ctx context.Context, req *PostCreateContainerRequest) (*PostCreateContainerResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.PostCreateContainer(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).PostCreateContainer(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.PostCreateContainer(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.PostCreateContainer(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// StartContainer handles type-specific details of relaying a StartContainer request.
+func (p *pluginType) StartContainer(ctx context.Context, req *StartContainerRequest) (*StartContainerResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.StartContainer(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).StartContainer(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.StartContainer(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.StartContainer(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// PostStartContainer handles type-specific details of relaying a PostStartContainer
+// request.
+func (p *pluginType) PostStartContainer(ctx context.Context, req *PostStartContainerRequest) (*PostStartContainerResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.PostStartContainer(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).PostStartContainer(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.PostStartContainer(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.PostStartContainer(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// UpdateContainer handles type-specific details of relaying an UpdateContainer request.
func (p *pluginType) UpdateContainer(ctx context.Context, req *UpdateContainerRequest) (*UpdateContainerResponse, error) {
switch {
case p.ttrpcImpl != nil:
@@ -97,6 +251,26 @@ func (p *pluginType) UpdateContainer(ctx context.Context, req *UpdateContainerRe
return nil, errUnknownImpl
}
+// PostUpdateContainer handles type-specific details of relaying a PostUpdateContainer
+// request.
+func (p *pluginType) PostUpdateContainer(ctx context.Context, req *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error) {
+ switch {
+ case p.ttrpcImpl != nil:
+ rpl, err := p.ttrpcImpl.PostUpdateContainer(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).PostUpdateContainer(ctx, req)
+ }
+ return rpl, err
+ case p.builtinImpl != nil:
+ return p.builtinImpl.PostUpdateContainer(ctx, req)
+ case p.wasmImpl != nil:
+ return p.wasmImpl.PostUpdateContainer(ctx, req)
+ }
+
+ return nil, errUnknownImpl
+}
+
+// StopContainer handles type-specific details of relaying a StopContainer request.
func (p *pluginType) StopContainer(ctx context.Context, req *StopContainerRequest) (*StopContainerResponse, error) {
switch {
case p.ttrpcImpl != nil:
@@ -110,19 +284,25 @@ func (p *pluginType) StopContainer(ctx context.Context, req *StopContainerReques
return nil, errUnknownImpl
}
-func (p *pluginType) UpdatePodSandbox(ctx context.Context, req *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
+// RemoveContainer handles type-specific details of relaying a RemoveContainer request.
+func (p *pluginType) RemoveContainer(ctx context.Context, req *RemoveContainerRequest) (*RemoveContainerResponse, error) {
switch {
case p.ttrpcImpl != nil:
- return p.ttrpcImpl.UpdatePodSandbox(ctx, req)
+ rpl, err := p.ttrpcImpl.RemoveContainer(ctx, req)
+ if err != nil && status.Code(err) == codes.Unimplemented {
+ rpl, err = wrapOrigImpl(p).RemoveContainer(ctx, req)
+ }
+ return rpl, err
case p.builtinImpl != nil:
- return p.builtinImpl.UpdatePodSandbox(ctx, req)
+ return p.builtinImpl.RemoveContainer(ctx, req)
case p.wasmImpl != nil:
- return p.wasmImpl.UpdatePodSandbox(ctx, req)
+ return p.wasmImpl.RemoveContainer(ctx, req)
}
return nil, errUnknownImpl
}
+// StateChange handles type-specific details of relaying a StateChange request.
func (p *pluginType) StateChange(ctx context.Context, req *StateChangeEvent) (err error) {
switch {
case p.ttrpcImpl != nil:
@@ -137,6 +317,8 @@ func (p *pluginType) StateChange(ctx context.Context, req *StateChangeEvent) (er
return err
}
+// ValidateContainerAdjustment handles type-specific details of relaying a
+// ValidateContainerAdjustment request.
func (p *pluginType) ValidateContainerAdjustment(ctx context.Context, req *ValidateContainerAdjustmentRequest) (*ValidateContainerAdjustmentResponse, error) {
switch {
case p.ttrpcImpl != nil:
@@ -149,3 +331,130 @@ func (p *pluginType) ValidateContainerAdjustment(ctx context.Context, req *Valid
return nil, errUnknownImpl
}
+
+type origImplWrapper struct {
+ p *pluginType
+ api.PluginService
+}
+
+var _ api.PluginService = (*origImplWrapper)(nil)
+
+func wrapOrigImpl(p *pluginType) *origImplWrapper {
+ if w, ok := p.ttrpcImpl.(*origImplWrapper); ok {
+ return w
+ }
+
+ p.deprecated = make(map[Event]bool)
+ p.warned = make(map[Event]bool)
+
+ w := &origImplWrapper{
+ PluginService: p.ttrpcImpl,
+ p: p,
+ }
+ p.ttrpcImpl = w
+
+ return w
+}
+
+// RunPodSandbox funnels RunPodSandbox for old plugins over StateChange.
+func (o *origImplWrapper) RunPodSandbox(ctx context.Context, req *RunPodSandboxRequest) (*RunPodSandboxResponse, error) {
+ event := Event_RUN_POD_SANDBOX
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ })
+ return &api.RunPodSandboxResponse{}, err
+}
+
+// PostUpdatePodSandbox funnels PostUpdatePodSandbox for old plugins over StateChange.
+func (o *origImplWrapper) PostUpdatePodSandbox(ctx context.Context, req *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error) {
+ event := Event_POST_UPDATE_POD_SANDBOX
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ })
+ return &api.PostUpdatePodSandboxResponse{}, err
+}
+
+// StopPodSandbox funnels StopPodSandbox for old plugins over StateChange.
+func (o *origImplWrapper) StopPodSandbox(ctx context.Context, req *StopPodSandboxRequest) (*StopPodSandboxResponse, error) {
+ event := Event_STOP_POD_SANDBOX
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ })
+ return &api.StopPodSandboxResponse{}, err
+}
+
+// RemovePodSandbox funnels RemovePodSandbox for old plugins over StateChange.
+func (o *origImplWrapper) RemovePodSandbox(ctx context.Context, req *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error) {
+ event := Event_REMOVE_POD_SANDBOX
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ })
+ return &api.RemovePodSandboxResponse{}, err
+}
+
+// PostCreateContainer funnels PostCreateContainer for old plugins over StateChange.
+func (o *origImplWrapper) PostCreateContainer(ctx context.Context, req *PostCreateContainerRequest) (*PostCreateContainerResponse, error) {
+ event := Event_POST_CREATE_CONTAINER
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.PostCreateContainerResponse{}, err
+}
+
+// StartContainer funnels StartContainer for old plugins over StateChange.
+func (o *origImplWrapper) StartContainer(ctx context.Context, req *StartContainerRequest) (*StartContainerResponse, error) {
+ event := Event_START_CONTAINER
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.StartContainerResponse{}, err
+}
+
+// PostStartContainer funnels PostStartContainer for old plugins over StateChange.
+func (o *origImplWrapper) PostStartContainer(ctx context.Context, req *PostStartContainerRequest) (*PostStartContainerResponse, error) {
+ event := Event_POST_START_CONTAINER
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.PostStartContainerResponse{}, err
+}
+
+func (o *origImplWrapper) PostUpdateContainer(ctx context.Context, req *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error) {
+ event := Event_POST_UPDATE_CONTAINER
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.PostUpdateContainerResponse{}, err
+}
+
+// RemoveContainer funnels RemoveContainer for old plugins over StateChange.
+func (o *origImplWrapper) RemoveContainer(ctx context.Context, req *RemoveContainerRequest) (*RemoveContainerResponse, error) {
+ event := Event_REMOVE_CONTAINER
+ o.p.deprecated[event] = true
+ _, err := o.PluginService.StateChange(ctx, &StateChangeEvent{
+ Event: event,
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.RemoveContainerResponse{}, err
+}
diff --git a/pkg/adaptation/suite_test.go b/pkg/adaptation/suite_test.go
index 2bc8f004..36c0830e 100644
--- a/pkg/adaptation/suite_test.go
+++ b/pkg/adaptation/suite_test.go
@@ -237,10 +237,10 @@ func (m *mockRuntime) synchronize(ctx context.Context, cb nri.SyncCB) error {
return err
}
-func (m *mockRuntime) RunPodSandbox(ctx context.Context, evt *api.StateChangeEvent) error {
+func (m *mockRuntime) RunPodSandbox(ctx context.Context, req *api.RunPodSandboxRequest) error {
b := m.runtime.BlockPluginSync()
defer b.Unblock()
- return m.runtime.RunPodSandbox(ctx, evt)
+ return m.runtime.RunPodSandbox(ctx, req)
}
func (m *mockRuntime) UpdatePodSandbox(ctx context.Context, req *api.UpdatePodSandboxRequest) (*api.UpdatePodSandboxResponse, error) {
@@ -262,7 +262,7 @@ func (m *mockRuntime) UpdateContainer(ctx context.Context, req *api.UpdateContai
}
func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) error {
- err := m.RunPodSandbox(ctx, &api.StateChangeEvent{
+ err := m.RunPodSandbox(ctx, &api.RunPodSandboxRequest{
Pod: pod,
})
if err != nil {
@@ -278,7 +278,7 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.PostUpdatePodSandbox(ctx, &api.StateChangeEvent{
+ err = m.runtime.PostUpdatePodSandbox(ctx, &api.PostUpdatePodSandboxRequest{
Pod: pod,
})
if err != nil {
@@ -293,7 +293,7 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.PostCreateContainer(ctx, &api.StateChangeEvent{
+ err = m.runtime.PostCreateContainer(ctx, &api.PostCreateContainerRequest{
Pod: pod,
Container: ctr,
})
@@ -301,7 +301,7 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.StartContainer(ctx, &api.StateChangeEvent{
+ err = m.runtime.StartContainer(ctx, &api.StartContainerRequest{
Pod: pod,
Container: ctr,
})
@@ -309,7 +309,7 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.PostStartContainer(ctx, &api.StateChangeEvent{
+ err = m.runtime.PostStartContainer(ctx, &api.PostStartContainerRequest{
Pod: pod,
Container: ctr,
})
@@ -326,7 +326,7 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.PostUpdateContainer(ctx, &api.StateChangeEvent{
+ err = m.runtime.PostUpdateContainer(ctx, &api.PostUpdateContainerRequest{
Pod: pod,
Container: ctr,
})
@@ -342,7 +342,7 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.RemoveContainer(ctx, &api.StateChangeEvent{
+ err = m.runtime.RemoveContainer(ctx, &api.RemoveContainerRequest{
Pod: pod,
Container: ctr,
})
@@ -350,14 +350,14 @@ func (m *mockRuntime) startStopPodAndContainer(ctx context.Context, pod *api.Pod
return err
}
- err = m.runtime.StopPodSandbox(ctx, &api.StateChangeEvent{
+ err = m.runtime.StopPodSandbox(ctx, &api.StopPodSandboxRequest{
Pod: pod,
})
if err != nil {
return err
}
- err = m.runtime.RemovePodSandbox(ctx, &api.StateChangeEvent{
+ err = m.runtime.RemovePodSandbox(ctx, &api.RemovePodSandboxRequest{
Pod: pod,
})
if err != nil {
diff --git a/pkg/api/api.pb.go b/pkg/api/api.pb.go
index 95ab3072..eb65931e 100644
--- a/pkg/api/api.pb.go
+++ b/pkg/api/api.pb.go
@@ -734,7 +734,7 @@ func (x SecurityProfile_ProfileType) Number() protoreflect.EnumNumber {
// Deprecated: Use SecurityProfile_ProfileType.Descriptor instead.
func (SecurityProfile_ProfileType) EnumDescriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{37, 0}
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{55, 0}
}
type RegisterPluginRequest struct {
@@ -1228,19 +1228,17 @@ func (x *SynchronizeResponse) GetMore() bool {
return false
}
-type CreateContainerRequest struct {
+type RunPodSandboxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Pod of container being created.
+ // Pod being created.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
- // Container being created.
- Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *CreateContainerRequest) Reset() {
- *x = CreateContainerRequest{}
+func (x *RunPodSandboxRequest) Reset() {
+ *x = RunPodSandboxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1248,13 +1246,13 @@ func (x *CreateContainerRequest) Reset() {
}
}
-func (x *CreateContainerRequest) String() string {
+func (x *RunPodSandboxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*CreateContainerRequest) ProtoMessage() {}
+func (*RunPodSandboxRequest) ProtoMessage() {}
-func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message {
+func (x *RunPodSandboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1266,40 +1264,26 @@ func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
-func (*CreateContainerRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use RunPodSandboxRequest.ProtoReflect.Descriptor instead.
+func (*RunPodSandboxRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{8}
}
-func (x *CreateContainerRequest) GetPod() *PodSandbox {
+func (x *RunPodSandboxRequest) GetPod() *PodSandbox {
if x != nil {
return x.Pod
}
return nil
}
-func (x *CreateContainerRequest) GetContainer() *Container {
- if x != nil {
- return x.Container
- }
- return nil
-}
-
-type CreateContainerResponse struct {
+type RunPodSandboxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- // Requested adjustments to container being created.
- Adjust *ContainerAdjustment `protobuf:"bytes,1,opt,name=adjust,proto3" json:"adjust,omitempty"`
- // Requested updates to other existing containers.
- Update []*ContainerUpdate `protobuf:"bytes,2,rep,name=update,proto3" json:"update,omitempty"`
- // Requested eviction of existing containers.
- Evict []*ContainerEviction `protobuf:"bytes,3,rep,name=evict,proto3" json:"evict,omitempty"`
}
-func (x *CreateContainerResponse) Reset() {
- *x = CreateContainerResponse{}
+func (x *RunPodSandboxResponse) Reset() {
+ *x = RunPodSandboxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1307,13 +1291,13 @@ func (x *CreateContainerResponse) Reset() {
}
}
-func (x *CreateContainerResponse) String() string {
+func (x *RunPodSandboxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*CreateContainerResponse) ProtoMessage() {}
+func (*RunPodSandboxResponse) ProtoMessage() {}
-func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message {
+func (x *RunPodSandboxResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1325,47 +1309,26 @@ func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
-func (*CreateContainerResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use RunPodSandboxResponse.ProtoReflect.Descriptor instead.
+func (*RunPodSandboxResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{9}
}
-func (x *CreateContainerResponse) GetAdjust() *ContainerAdjustment {
- if x != nil {
- return x.Adjust
- }
- return nil
-}
-
-func (x *CreateContainerResponse) GetUpdate() []*ContainerUpdate {
- if x != nil {
- return x.Update
- }
- return nil
-}
-
-func (x *CreateContainerResponse) GetEvict() []*ContainerEviction {
- if x != nil {
- return x.Evict
- }
- return nil
-}
-
-type UpdateContainerRequest struct {
+type UpdatePodSandboxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Pod of container being updated.
+ // Pod being updated.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
- // Container being updated.
- Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
- // Resources to update.
+ // Overhead associated with this pod.
+ OverheadLinuxResources *LinuxResources `protobuf:"bytes,2,opt,name=overhead_linux_resources,json=overheadLinuxResources,proto3" json:"overhead_linux_resources,omitempty"`
+ // Sum of container resources for this pod.
LinuxResources *LinuxResources `protobuf:"bytes,3,opt,name=linux_resources,json=linuxResources,proto3" json:"linux_resources,omitempty"`
}
-func (x *UpdateContainerRequest) Reset() {
- *x = UpdateContainerRequest{}
+func (x *UpdatePodSandboxRequest) Reset() {
+ *x = UpdatePodSandboxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1373,13 +1336,13 @@ func (x *UpdateContainerRequest) Reset() {
}
}
-func (x *UpdateContainerRequest) String() string {
+func (x *UpdatePodSandboxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*UpdateContainerRequest) ProtoMessage() {}
+func (*UpdatePodSandboxRequest) ProtoMessage() {}
-func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message {
+func (x *UpdatePodSandboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1391,45 +1354,40 @@ func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use UpdateContainerRequest.ProtoReflect.Descriptor instead.
-func (*UpdateContainerRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use UpdatePodSandboxRequest.ProtoReflect.Descriptor instead.
+func (*UpdatePodSandboxRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{10}
}
-func (x *UpdateContainerRequest) GetPod() *PodSandbox {
+func (x *UpdatePodSandboxRequest) GetPod() *PodSandbox {
if x != nil {
return x.Pod
}
return nil
}
-func (x *UpdateContainerRequest) GetContainer() *Container {
+func (x *UpdatePodSandboxRequest) GetOverheadLinuxResources() *LinuxResources {
if x != nil {
- return x.Container
+ return x.OverheadLinuxResources
}
return nil
}
-func (x *UpdateContainerRequest) GetLinuxResources() *LinuxResources {
+func (x *UpdatePodSandboxRequest) GetLinuxResources() *LinuxResources {
if x != nil {
return x.LinuxResources
}
return nil
}
-type UpdateContainerResponse struct {
+type UpdatePodSandboxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- // Requested updates to containers.
- Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
- // Requested eviction of containers.
- Evict []*ContainerEviction `protobuf:"bytes,2,rep,name=evict,proto3" json:"evict,omitempty"`
}
-func (x *UpdateContainerResponse) Reset() {
- *x = UpdateContainerResponse{}
+func (x *UpdatePodSandboxResponse) Reset() {
+ *x = UpdatePodSandboxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1437,13 +1395,13 @@ func (x *UpdateContainerResponse) Reset() {
}
}
-func (x *UpdateContainerResponse) String() string {
+func (x *UpdatePodSandboxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*UpdateContainerResponse) ProtoMessage() {}
+func (*UpdatePodSandboxResponse) ProtoMessage() {}
-func (x *UpdateContainerResponse) ProtoReflect() protoreflect.Message {
+func (x *UpdatePodSandboxResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1455,38 +1413,22 @@ func (x *UpdateContainerResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use UpdateContainerResponse.ProtoReflect.Descriptor instead.
-func (*UpdateContainerResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use UpdatePodSandboxResponse.ProtoReflect.Descriptor instead.
+func (*UpdatePodSandboxResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{11}
}
-func (x *UpdateContainerResponse) GetUpdate() []*ContainerUpdate {
- if x != nil {
- return x.Update
- }
- return nil
-}
-
-func (x *UpdateContainerResponse) GetEvict() []*ContainerEviction {
- if x != nil {
- return x.Evict
- }
- return nil
-}
-
-type StopContainerRequest struct {
+type PostUpdatePodSandboxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Pod of container being stopped.
+ // Updated pod.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
- // Container being stopped.
- Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *StopContainerRequest) Reset() {
- *x = StopContainerRequest{}
+func (x *PostUpdatePodSandboxRequest) Reset() {
+ *x = PostUpdatePodSandboxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1494,13 +1436,13 @@ func (x *StopContainerRequest) Reset() {
}
}
-func (x *StopContainerRequest) String() string {
+func (x *PostUpdatePodSandboxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StopContainerRequest) ProtoMessage() {}
+func (*PostUpdatePodSandboxRequest) ProtoMessage() {}
-func (x *StopContainerRequest) ProtoReflect() protoreflect.Message {
+func (x *PostUpdatePodSandboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1512,36 +1454,26 @@ func (x *StopContainerRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.
-func (*StopContainerRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use PostUpdatePodSandboxRequest.ProtoReflect.Descriptor instead.
+func (*PostUpdatePodSandboxRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{12}
}
-func (x *StopContainerRequest) GetPod() *PodSandbox {
+func (x *PostUpdatePodSandboxRequest) GetPod() *PodSandbox {
if x != nil {
return x.Pod
}
return nil
}
-func (x *StopContainerRequest) GetContainer() *Container {
- if x != nil {
- return x.Container
- }
- return nil
-}
-
-type StopContainerResponse struct {
+type PostUpdatePodSandboxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- // Requested updates to containers.
- Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
}
-func (x *StopContainerResponse) Reset() {
- *x = StopContainerResponse{}
+func (x *PostUpdatePodSandboxResponse) Reset() {
+ *x = PostUpdatePodSandboxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1549,13 +1481,13 @@ func (x *StopContainerResponse) Reset() {
}
}
-func (x *StopContainerResponse) String() string {
+func (x *PostUpdatePodSandboxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StopContainerResponse) ProtoMessage() {}
+func (*PostUpdatePodSandboxResponse) ProtoMessage() {}
-func (x *StopContainerResponse) ProtoReflect() protoreflect.Message {
+func (x *PostUpdatePodSandboxResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1567,33 +1499,22 @@ func (x *StopContainerResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.
-func (*StopContainerResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use PostUpdatePodSandboxResponse.ProtoReflect.Descriptor instead.
+func (*PostUpdatePodSandboxResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{13}
}
-func (x *StopContainerResponse) GetUpdate() []*ContainerUpdate {
- if x != nil {
- return x.Update
- }
- return nil
-}
-
-type UpdatePodSandboxRequest struct {
+type StopPodSandboxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Pod being updated.
+ // Pod being stopped.
Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
- // Overhead associated with this pod.
- OverheadLinuxResources *LinuxResources `protobuf:"bytes,2,opt,name=overhead_linux_resources,json=overheadLinuxResources,proto3" json:"overhead_linux_resources,omitempty"`
- // Sum of container resources for this pod.
- LinuxResources *LinuxResources `protobuf:"bytes,3,opt,name=linux_resources,json=linuxResources,proto3" json:"linux_resources,omitempty"`
}
-func (x *UpdatePodSandboxRequest) Reset() {
- *x = UpdatePodSandboxRequest{}
+func (x *StopPodSandboxRequest) Reset() {
+ *x = StopPodSandboxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1601,13 +1522,13 @@ func (x *UpdatePodSandboxRequest) Reset() {
}
}
-func (x *UpdatePodSandboxRequest) String() string {
+func (x *StopPodSandboxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*UpdatePodSandboxRequest) ProtoMessage() {}
+func (*StopPodSandboxRequest) ProtoMessage() {}
-func (x *UpdatePodSandboxRequest) ProtoReflect() protoreflect.Message {
+func (x *StopPodSandboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1619,40 +1540,26 @@ func (x *UpdatePodSandboxRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use UpdatePodSandboxRequest.ProtoReflect.Descriptor instead.
-func (*UpdatePodSandboxRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use StopPodSandboxRequest.ProtoReflect.Descriptor instead.
+func (*StopPodSandboxRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{14}
}
-func (x *UpdatePodSandboxRequest) GetPod() *PodSandbox {
+func (x *StopPodSandboxRequest) GetPod() *PodSandbox {
if x != nil {
return x.Pod
}
return nil
}
-func (x *UpdatePodSandboxRequest) GetOverheadLinuxResources() *LinuxResources {
- if x != nil {
- return x.OverheadLinuxResources
- }
- return nil
-}
-
-func (x *UpdatePodSandboxRequest) GetLinuxResources() *LinuxResources {
- if x != nil {
- return x.LinuxResources
- }
- return nil
-}
-
-type UpdatePodSandboxResponse struct {
+type StopPodSandboxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
-func (x *UpdatePodSandboxResponse) Reset() {
- *x = UpdatePodSandboxResponse{}
+func (x *StopPodSandboxResponse) Reset() {
+ *x = StopPodSandboxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1660,13 +1567,13 @@ func (x *UpdatePodSandboxResponse) Reset() {
}
}
-func (x *UpdatePodSandboxResponse) String() string {
+func (x *StopPodSandboxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*UpdatePodSandboxResponse) ProtoMessage() {}
+func (*StopPodSandboxResponse) ProtoMessage() {}
-func (x *UpdatePodSandboxResponse) ProtoReflect() protoreflect.Message {
+func (x *StopPodSandboxResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1678,28 +1585,22 @@ func (x *UpdatePodSandboxResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use UpdatePodSandboxResponse.ProtoReflect.Descriptor instead.
-func (*UpdatePodSandboxResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use StopPodSandboxResponse.ProtoReflect.Descriptor instead.
+func (*StopPodSandboxResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{15}
}
-type StateChangeEvent struct {
+type RemovePodSandboxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Event type of notification.
- Event Event `protobuf:"varint,1,opt,name=event,proto3,enum=nri.pkg.api.v1alpha1.Event" json:"event,omitempty"`
- // Pod this notification is sent for. If this event is related to a container,
- // pod is set to the pod of the container.
- Pod *PodSandbox `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"`
- // Container this notification is sent for. If the event is related to a pod,
- // container is nil.
- Container *Container `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
+ // Pod being removed.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
}
-func (x *StateChangeEvent) Reset() {
- *x = StateChangeEvent{}
+func (x *RemovePodSandboxRequest) Reset() {
+ *x = RemovePodSandboxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1707,13 +1608,13 @@ func (x *StateChangeEvent) Reset() {
}
}
-func (x *StateChangeEvent) String() string {
+func (x *RemovePodSandboxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StateChangeEvent) ProtoMessage() {}
+func (*RemovePodSandboxRequest) ProtoMessage() {}
-func (x *StateChangeEvent) ProtoReflect() protoreflect.Message {
+func (x *RemovePodSandboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1725,53 +1626,26 @@ func (x *StateChangeEvent) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StateChangeEvent.ProtoReflect.Descriptor instead.
-func (*StateChangeEvent) Descriptor() ([]byte, []int) {
+// Deprecated: Use RemovePodSandboxRequest.ProtoReflect.Descriptor instead.
+func (*RemovePodSandboxRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{16}
}
-func (x *StateChangeEvent) GetEvent() Event {
- if x != nil {
- return x.Event
- }
- return Event_UNKNOWN
-}
-
-func (x *StateChangeEvent) GetPod() *PodSandbox {
+func (x *RemovePodSandboxRequest) GetPod() *PodSandbox {
if x != nil {
return x.Pod
}
return nil
}
-func (x *StateChangeEvent) GetContainer() *Container {
- if x != nil {
- return x.Container
- }
- return nil
-}
-
-type ValidateContainerAdjustmentRequest struct {
+type RemovePodSandboxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- // Pod of container being adjusted.
- Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
- // Container being adjusted in its pristine state.
- Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
- // Pending container adjustments.
- Adjust *ContainerAdjustment `protobuf:"bytes,3,opt,name=adjust,proto3" json:"adjust,omitempty"`
- // Pending updates to other containers.
- Update []*ContainerUpdate `protobuf:"bytes,4,rep,name=update,proto3" json:"update,omitempty"`
- // Plugins that made the adjustments and updates.
- Owners *OwningPlugins `protobuf:"bytes,5,opt,name=owners,proto3" json:"owners,omitempty"`
- // Plugins consulted for adjustments and updates.
- Plugins []*PluginInstance `protobuf:"bytes,6,rep,name=plugins,proto3" json:"plugins,omitempty"`
}
-func (x *ValidateContainerAdjustmentRequest) Reset() {
- *x = ValidateContainerAdjustmentRequest{}
+func (x *RemovePodSandboxResponse) Reset() {
+ *x = RemovePodSandboxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1779,13 +1653,13 @@ func (x *ValidateContainerAdjustmentRequest) Reset() {
}
}
-func (x *ValidateContainerAdjustmentRequest) String() string {
+func (x *RemovePodSandboxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ValidateContainerAdjustmentRequest) ProtoMessage() {}
+func (*RemovePodSandboxResponse) ProtoMessage() {}
-func (x *ValidateContainerAdjustmentRequest) ProtoReflect() protoreflect.Message {
+func (x *RemovePodSandboxResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1797,64 +1671,24 @@ func (x *ValidateContainerAdjustmentRequest) ProtoReflect() protoreflect.Message
return mi.MessageOf(x)
}
-// Deprecated: Use ValidateContainerAdjustmentRequest.ProtoReflect.Descriptor instead.
-func (*ValidateContainerAdjustmentRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use RemovePodSandboxResponse.ProtoReflect.Descriptor instead.
+func (*RemovePodSandboxResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{17}
}
-func (x *ValidateContainerAdjustmentRequest) GetPod() *PodSandbox {
- if x != nil {
- return x.Pod
- }
- return nil
-}
-
-func (x *ValidateContainerAdjustmentRequest) GetContainer() *Container {
- if x != nil {
- return x.Container
- }
- return nil
-}
-
-func (x *ValidateContainerAdjustmentRequest) GetAdjust() *ContainerAdjustment {
- if x != nil {
- return x.Adjust
- }
- return nil
-}
-
-func (x *ValidateContainerAdjustmentRequest) GetUpdate() []*ContainerUpdate {
- if x != nil {
- return x.Update
- }
- return nil
-}
-
-func (x *ValidateContainerAdjustmentRequest) GetOwners() *OwningPlugins {
- if x != nil {
- return x.Owners
- }
- return nil
-}
-
-func (x *ValidateContainerAdjustmentRequest) GetPlugins() []*PluginInstance {
- if x != nil {
- return x.Plugins
- }
- return nil
-}
-
-type PluginInstance struct {
+type CreateContainerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
+ // Pod of container being created.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Container being created.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *PluginInstance) Reset() {
- *x = PluginInstance{}
+func (x *CreateContainerRequest) Reset() {
+ *x = CreateContainerRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1862,13 +1696,13 @@ func (x *PluginInstance) Reset() {
}
}
-func (x *PluginInstance) String() string {
+func (x *CreateContainerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PluginInstance) ProtoMessage() {}
+func (*CreateContainerRequest) ProtoMessage() {}
-func (x *PluginInstance) ProtoReflect() protoreflect.Message {
+func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1880,36 +1714,40 @@ func (x *PluginInstance) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PluginInstance.ProtoReflect.Descriptor instead.
-func (*PluginInstance) Descriptor() ([]byte, []int) {
+// Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
+func (*CreateContainerRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{18}
}
-func (x *PluginInstance) GetName() string {
+func (x *CreateContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Name
+ return x.Pod
}
- return ""
+ return nil
}
-func (x *PluginInstance) GetIndex() string {
+func (x *CreateContainerRequest) GetContainer() *Container {
if x != nil {
- return x.Index
+ return x.Container
}
- return ""
+ return nil
}
-type ValidateContainerAdjustmentResponse struct {
+type CreateContainerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Reject bool `protobuf:"varint,1,opt,name=reject,proto3" json:"reject,omitempty"`
- Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
+ // Requested adjustments to container being created.
+ Adjust *ContainerAdjustment `protobuf:"bytes,1,opt,name=adjust,proto3" json:"adjust,omitempty"`
+ // Requested updates to other existing containers.
+ Update []*ContainerUpdate `protobuf:"bytes,2,rep,name=update,proto3" json:"update,omitempty"`
+ // Requested eviction of existing containers.
+ Evict []*ContainerEviction `protobuf:"bytes,3,rep,name=evict,proto3" json:"evict,omitempty"`
}
-func (x *ValidateContainerAdjustmentResponse) Reset() {
- *x = ValidateContainerAdjustmentResponse{}
+func (x *CreateContainerResponse) Reset() {
+ *x = CreateContainerResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1917,13 +1755,13 @@ func (x *ValidateContainerAdjustmentResponse) Reset() {
}
}
-func (x *ValidateContainerAdjustmentResponse) String() string {
+func (x *CreateContainerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ValidateContainerAdjustmentResponse) ProtoMessage() {}
+func (*CreateContainerResponse) ProtoMessage() {}
-func (x *ValidateContainerAdjustmentResponse) ProtoReflect() protoreflect.Message {
+func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1935,34 +1773,45 @@ func (x *ValidateContainerAdjustmentResponse) ProtoReflect() protoreflect.Messag
return mi.MessageOf(x)
}
-// Deprecated: Use ValidateContainerAdjustmentResponse.ProtoReflect.Descriptor instead.
-func (*ValidateContainerAdjustmentResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
+func (*CreateContainerResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{19}
}
-func (x *ValidateContainerAdjustmentResponse) GetReject() bool {
+func (x *CreateContainerResponse) GetAdjust() *ContainerAdjustment {
if x != nil {
- return x.Reject
+ return x.Adjust
}
- return false
+ return nil
}
-func (x *ValidateContainerAdjustmentResponse) GetReason() string {
+func (x *CreateContainerResponse) GetUpdate() []*ContainerUpdate {
if x != nil {
- return x.Reason
+ return x.Update
}
- return ""
+ return nil
}
-// Empty response for those *Requests that are semantically events.
-type Empty struct {
+func (x *CreateContainerResponse) GetEvict() []*ContainerEviction {
+ if x != nil {
+ return x.Evict
+ }
+ return nil
+}
+
+type PostCreateContainerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+
+ // Pod of created container.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Created container.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *Empty) Reset() {
- *x = Empty{}
+func (x *PostCreateContainerRequest) Reset() {
+ *x = PostCreateContainerRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1970,13 +1819,13 @@ func (x *Empty) Reset() {
}
}
-func (x *Empty) String() string {
+func (x *PostCreateContainerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*Empty) ProtoMessage() {}
+func (*PostCreateContainerRequest) ProtoMessage() {}
-func (x *Empty) ProtoReflect() protoreflect.Message {
+func (x *PostCreateContainerRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1988,31 +1837,33 @@ func (x *Empty) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
-func (*Empty) Descriptor() ([]byte, []int) {
+// Deprecated: Use PostCreateContainerRequest.ProtoReflect.Descriptor instead.
+func (*PostCreateContainerRequest) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{20}
}
-// Pod metadata that is considered relevant for a plugin.
-type PodSandbox struct {
+func (x *PostCreateContainerRequest) GetPod() *PodSandbox {
+ if x != nil {
+ return x.Pod
+ }
+ return nil
+}
+
+func (x *PostCreateContainerRequest) GetContainer() *Container {
+ if x != nil {
+ return x.Container
+ }
+ return nil
+}
+
+type PostCreateContainerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
- Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
- Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- RuntimeHandler string `protobuf:"bytes,7,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
- Linux *LinuxPodSandbox `protobuf:"bytes,8,opt,name=linux,proto3" json:"linux,omitempty"`
- Pid uint32 `protobuf:"varint,9,opt,name=pid,proto3" json:"pid,omitempty"` // for NRI v1 emulation
- Ips []string `protobuf:"bytes,10,rep,name=ips,proto3" json:"ips,omitempty"`
}
-func (x *PodSandbox) Reset() {
- *x = PodSandbox{}
+func (x *PostCreateContainerResponse) Reset() {
+ *x = PostCreateContainerResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_api_api_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2020,13 +1871,13 @@ func (x *PodSandbox) Reset() {
}
}
-func (x *PodSandbox) String() string {
+func (x *PostCreateContainerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PodSandbox) ProtoMessage() {}
+func (*PostCreateContainerResponse) ProtoMessage() {}
-func (x *PodSandbox) ProtoReflect() protoreflect.Message {
+func (x *PostCreateContainerResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_api_api_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2038,112 +1889,91 @@ func (x *PodSandbox) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PodSandbox.ProtoReflect.Descriptor instead.
-func (*PodSandbox) Descriptor() ([]byte, []int) {
+// Deprecated: Use PostCreateContainerResponse.ProtoReflect.Descriptor instead.
+func (*PostCreateContainerResponse) Descriptor() ([]byte, []int) {
return file_pkg_api_api_proto_rawDescGZIP(), []int{21}
}
-func (x *PodSandbox) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
+type StartContainerRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (x *PodSandbox) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
+ // Pod of container being started.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Container being started.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *PodSandbox) GetUid() string {
- if x != nil {
- return x.Uid
+func (x *StartContainerRequest) Reset() {
+ *x = StartContainerRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *PodSandbox) GetNamespace() string {
- if x != nil {
- return x.Namespace
- }
- return ""
+func (x *StartContainerRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *PodSandbox) GetLabels() map[string]string {
- if x != nil {
- return x.Labels
- }
- return nil
-}
+func (*StartContainerRequest) ProtoMessage() {}
-func (x *PodSandbox) GetAnnotations() map[string]string {
- if x != nil {
- return x.Annotations
+func (x *StartContainerRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[22]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-func (x *PodSandbox) GetRuntimeHandler() string {
- if x != nil {
- return x.RuntimeHandler
- }
- return ""
+// Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.
+func (*StartContainerRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{22}
}
-func (x *PodSandbox) GetLinux() *LinuxPodSandbox {
+func (x *StartContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Linux
+ return x.Pod
}
return nil
}
-func (x *PodSandbox) GetPid() uint32 {
- if x != nil {
- return x.Pid
- }
- return 0
-}
-
-func (x *PodSandbox) GetIps() []string {
+func (x *StartContainerRequest) GetContainer() *Container {
if x != nil {
- return x.Ips
+ return x.Container
}
return nil
}
-// PodSandbox linux-specific metadata
-type LinuxPodSandbox struct {
+type StartContainerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- PodOverhead *LinuxResources `protobuf:"bytes,1,opt,name=pod_overhead,json=podOverhead,proto3" json:"pod_overhead,omitempty"`
- PodResources *LinuxResources `protobuf:"bytes,2,opt,name=pod_resources,json=podResources,proto3" json:"pod_resources,omitempty"`
- CgroupParent string `protobuf:"bytes,3,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"`
- CgroupsPath string `protobuf:"bytes,4,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"` // for NRI v1 emulation
- Namespaces []*LinuxNamespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // for NRI v1 emulation
- Resources *LinuxResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // for NRI v1 emulation
}
-func (x *LinuxPodSandbox) Reset() {
- *x = LinuxPodSandbox{}
+func (x *StartContainerResponse) Reset() {
+ *x = StartContainerResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[22]
+ mi := &file_pkg_api_api_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxPodSandbox) String() string {
+func (x *StartContainerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxPodSandbox) ProtoMessage() {}
+func (*StartContainerResponse) ProtoMessage() {}
-func (x *LinuxPodSandbox) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[22]
+func (x *StartContainerResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2154,99 +1984,91 @@ func (x *LinuxPodSandbox) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxPodSandbox.ProtoReflect.Descriptor instead.
-func (*LinuxPodSandbox) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{22}
+// Deprecated: Use StartContainerResponse.ProtoReflect.Descriptor instead.
+func (*StartContainerResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{23}
}
-func (x *LinuxPodSandbox) GetPodOverhead() *LinuxResources {
- if x != nil {
- return x.PodOverhead
- }
- return nil
+type PostStartContainerRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Pod of started container.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Started container.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *LinuxPodSandbox) GetPodResources() *LinuxResources {
- if x != nil {
- return x.PodResources
+func (x *PostStartContainerRequest) Reset() {
+ *x = PostStartContainerRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return nil
}
-func (x *LinuxPodSandbox) GetCgroupParent() string {
- if x != nil {
- return x.CgroupParent
- }
- return ""
+func (x *PostStartContainerRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *LinuxPodSandbox) GetCgroupsPath() string {
- if x != nil {
- return x.CgroupsPath
+func (*PostStartContainerRequest) ProtoMessage() {}
+
+func (x *PostStartContainerRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[24]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-func (x *LinuxPodSandbox) GetNamespaces() []*LinuxNamespace {
+// Deprecated: Use PostStartContainerRequest.ProtoReflect.Descriptor instead.
+func (*PostStartContainerRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{24}
+}
+
+func (x *PostStartContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Namespaces
+ return x.Pod
}
return nil
}
-func (x *LinuxPodSandbox) GetResources() *LinuxResources {
+func (x *PostStartContainerRequest) GetContainer() *Container {
if x != nil {
- return x.Resources
+ return x.Container
}
return nil
}
-// Container metadata that is considered relevant for a plugin.
-type Container struct {
+type PostStartContainerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- State ContainerState `protobuf:"varint,4,opt,name=state,proto3,enum=nri.pkg.api.v1alpha1.ContainerState" json:"state,omitempty"`
- Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Args []string `protobuf:"bytes,7,rep,name=args,proto3" json:"args,omitempty"`
- Env []string `protobuf:"bytes,8,rep,name=env,proto3" json:"env,omitempty"`
- Mounts []*Mount `protobuf:"bytes,9,rep,name=mounts,proto3" json:"mounts,omitempty"`
- Hooks *Hooks `protobuf:"bytes,10,opt,name=hooks,proto3" json:"hooks,omitempty"`
- Linux *LinuxContainer `protobuf:"bytes,11,opt,name=linux,proto3" json:"linux,omitempty"`
- Pid uint32 `protobuf:"varint,12,opt,name=pid,proto3" json:"pid,omitempty"` // for NRI v1 emulation
- Rlimits []*POSIXRlimit `protobuf:"bytes,13,rep,name=rlimits,proto3" json:"rlimits,omitempty"`
- CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- StartedAt int64 `protobuf:"varint,15,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
- FinishedAt int64 `protobuf:"varint,16,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
- ExitCode int32 `protobuf:"varint,17,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
- StatusReason string `protobuf:"bytes,18,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
- StatusMessage string `protobuf:"bytes,19,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
- CDIDevices []*CDIDevice `protobuf:"bytes,20,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
- User *User `protobuf:"bytes,21,opt,name=user,proto3" json:"user,omitempty"`
}
-func (x *Container) Reset() {
- *x = Container{}
+func (x *PostStartContainerResponse) Reset() {
+ *x = PostStartContainerResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[23]
+ mi := &file_pkg_api_api_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *Container) String() string {
+func (x *PostStartContainerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*Container) ProtoMessage() {}
+func (*PostStartContainerResponse) ProtoMessage() {}
-func (x *Container) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[23]
+func (x *PostStartContainerResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2257,187 +2079,162 @@ func (x *Container) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use Container.ProtoReflect.Descriptor instead.
-func (*Container) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{23}
-}
-
-func (x *Container) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
+// Deprecated: Use PostStartContainerResponse.ProtoReflect.Descriptor instead.
+func (*PostStartContainerResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{25}
}
-func (x *Container) GetPodSandboxId() string {
- if x != nil {
- return x.PodSandboxId
- }
- return ""
-}
+type UpdateContainerRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (x *Container) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
+ // Pod of container being updated.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Container being updated.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
+ // Resources to update.
+ LinuxResources *LinuxResources `protobuf:"bytes,3,opt,name=linux_resources,json=linuxResources,proto3" json:"linux_resources,omitempty"`
}
-func (x *Container) GetState() ContainerState {
- if x != nil {
- return x.State
+func (x *UpdateContainerRequest) Reset() {
+ *x = UpdateContainerRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ContainerState_CONTAINER_UNKNOWN
}
-func (x *Container) GetLabels() map[string]string {
- if x != nil {
- return x.Labels
- }
- return nil
+func (x *UpdateContainerRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *Container) GetAnnotations() map[string]string {
- if x != nil {
- return x.Annotations
- }
- return nil
-}
+func (*UpdateContainerRequest) ProtoMessage() {}
-func (x *Container) GetArgs() []string {
- if x != nil {
- return x.Args
+func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[26]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-func (x *Container) GetEnv() []string {
- if x != nil {
- return x.Env
- }
- return nil
+// Deprecated: Use UpdateContainerRequest.ProtoReflect.Descriptor instead.
+func (*UpdateContainerRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{26}
}
-func (x *Container) GetMounts() []*Mount {
+func (x *UpdateContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Mounts
+ return x.Pod
}
return nil
}
-func (x *Container) GetHooks() *Hooks {
+func (x *UpdateContainerRequest) GetContainer() *Container {
if x != nil {
- return x.Hooks
+ return x.Container
}
return nil
}
-func (x *Container) GetLinux() *LinuxContainer {
+func (x *UpdateContainerRequest) GetLinuxResources() *LinuxResources {
if x != nil {
- return x.Linux
+ return x.LinuxResources
}
return nil
}
-func (x *Container) GetPid() uint32 {
- if x != nil {
- return x.Pid
- }
- return 0
-}
-
-func (x *Container) GetRlimits() []*POSIXRlimit {
- if x != nil {
- return x.Rlimits
- }
- return nil
-}
+type UpdateContainerResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (x *Container) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
+ // Requested updates to containers.
+ Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
+ // Requested eviction of containers.
+ Evict []*ContainerEviction `protobuf:"bytes,2,rep,name=evict,proto3" json:"evict,omitempty"`
}
-func (x *Container) GetStartedAt() int64 {
- if x != nil {
- return x.StartedAt
+func (x *UpdateContainerResponse) Reset() {
+ *x = UpdateContainerResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return 0
}
-func (x *Container) GetFinishedAt() int64 {
- if x != nil {
- return x.FinishedAt
- }
- return 0
+func (x *UpdateContainerResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *Container) GetExitCode() int32 {
- if x != nil {
- return x.ExitCode
- }
- return 0
-}
+func (*UpdateContainerResponse) ProtoMessage() {}
-func (x *Container) GetStatusReason() string {
- if x != nil {
- return x.StatusReason
+func (x *UpdateContainerResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[27]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-func (x *Container) GetStatusMessage() string {
- if x != nil {
- return x.StatusMessage
- }
- return ""
+// Deprecated: Use UpdateContainerResponse.ProtoReflect.Descriptor instead.
+func (*UpdateContainerResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{27}
}
-func (x *Container) GetCDIDevices() []*CDIDevice {
+func (x *UpdateContainerResponse) GetUpdate() []*ContainerUpdate {
if x != nil {
- return x.CDIDevices
+ return x.Update
}
return nil
}
-func (x *Container) GetUser() *User {
+func (x *UpdateContainerResponse) GetEvict() []*ContainerEviction {
if x != nil {
- return x.User
+ return x.Evict
}
return nil
}
-// A container mount.
-type Mount struct {
+type PostUpdateContainerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
- Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
+ // Pod of updated container.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Updated container.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *Mount) Reset() {
- *x = Mount{}
+func (x *PostUpdateContainerRequest) Reset() {
+ *x = PostUpdateContainerRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[24]
+ mi := &file_pkg_api_api_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *Mount) String() string {
+func (x *PostUpdateContainerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*Mount) ProtoMessage() {}
+func (*PostUpdateContainerRequest) ProtoMessage() {}
-func (x *Mount) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[24]
+func (x *PostUpdateContainerRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2448,70 +2245,91 @@ func (x *Mount) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use Mount.ProtoReflect.Descriptor instead.
-func (*Mount) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{24}
+// Deprecated: Use PostUpdateContainerRequest.ProtoReflect.Descriptor instead.
+func (*PostUpdateContainerRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{28}
}
-func (x *Mount) GetDestination() string {
+func (x *PostUpdateContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Destination
+ return x.Pod
}
- return ""
+ return nil
}
-func (x *Mount) GetType() string {
+func (x *PostUpdateContainerRequest) GetContainer() *Container {
if x != nil {
- return x.Type
+ return x.Container
}
- return ""
+ return nil
}
-func (x *Mount) GetSource() string {
- if x != nil {
- return x.Source
+type PostUpdateContainerResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *PostUpdateContainerResponse) Reset() {
+ *x = PostUpdateContainerResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *Mount) GetOptions() []string {
- if x != nil {
- return x.Options
+func (x *PostUpdateContainerResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PostUpdateContainerResponse) ProtoMessage() {}
+
+func (x *PostUpdateContainerResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[29]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-// Container OCI hooks.
-type Hooks struct {
+// Deprecated: Use PostUpdateContainerResponse.ProtoReflect.Descriptor instead.
+func (*PostUpdateContainerResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{29}
+}
+
+type StopContainerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Prestart []*Hook `protobuf:"bytes,1,rep,name=prestart,proto3" json:"prestart,omitempty"`
- CreateRuntime []*Hook `protobuf:"bytes,2,rep,name=create_runtime,json=createRuntime,proto3" json:"create_runtime,omitempty"`
- CreateContainer []*Hook `protobuf:"bytes,3,rep,name=create_container,json=createContainer,proto3" json:"create_container,omitempty"`
- StartContainer []*Hook `protobuf:"bytes,4,rep,name=start_container,json=startContainer,proto3" json:"start_container,omitempty"`
- Poststart []*Hook `protobuf:"bytes,5,rep,name=poststart,proto3" json:"poststart,omitempty"`
- Poststop []*Hook `protobuf:"bytes,6,rep,name=poststop,proto3" json:"poststop,omitempty"`
+ // Pod of container being stopped.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Container being stopped.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *Hooks) Reset() {
- *x = Hooks{}
+func (x *StopContainerRequest) Reset() {
+ *x = StopContainerRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[25]
+ mi := &file_pkg_api_api_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *Hooks) String() string {
+func (x *StopContainerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*Hooks) ProtoMessage() {}
+func (*StopContainerRequest) ProtoMessage() {}
-func (x *Hooks) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[25]
+func (x *StopContainerRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2522,82 +2340,101 @@ func (x *Hooks) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use Hooks.ProtoReflect.Descriptor instead.
-func (*Hooks) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{25}
+// Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.
+func (*StopContainerRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{30}
}
-func (x *Hooks) GetPrestart() []*Hook {
+func (x *StopContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Prestart
+ return x.Pod
}
return nil
}
-func (x *Hooks) GetCreateRuntime() []*Hook {
+func (x *StopContainerRequest) GetContainer() *Container {
if x != nil {
- return x.CreateRuntime
+ return x.Container
}
return nil
}
-func (x *Hooks) GetCreateContainer() []*Hook {
- if x != nil {
- return x.CreateContainer
- }
- return nil
+type StopContainerResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Requested updates to containers.
+ Update []*ContainerUpdate `protobuf:"bytes,1,rep,name=update,proto3" json:"update,omitempty"`
}
-func (x *Hooks) GetStartContainer() []*Hook {
- if x != nil {
- return x.StartContainer
+func (x *StopContainerResponse) Reset() {
+ *x = StopContainerResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[31]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return nil
}
-func (x *Hooks) GetPoststart() []*Hook {
- if x != nil {
- return x.Poststart
+func (x *StopContainerResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StopContainerResponse) ProtoMessage() {}
+
+func (x *StopContainerResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[31]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-func (x *Hooks) GetPoststop() []*Hook {
+// Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.
+func (*StopContainerResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{31}
+}
+
+func (x *StopContainerResponse) GetUpdate() []*ContainerUpdate {
if x != nil {
- return x.Poststop
+ return x.Update
}
return nil
}
-// One OCI hook.
-type Hook struct {
+type RemoveContainerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
- Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
- Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
- Timeout *OptionalInt `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
+ // Pod of removed container.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Removed container.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *Hook) Reset() {
- *x = Hook{}
+func (x *RemoveContainerRequest) Reset() {
+ *x = RemoveContainerRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[26]
+ mi := &file_pkg_api_api_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *Hook) String() string {
+func (x *RemoveContainerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*Hook) ProtoMessage() {}
+func (*RemoveContainerRequest) ProtoMessage() {}
-func (x *Hook) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[26]
+func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2608,76 +2445,95 @@ func (x *Hook) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use Hook.ProtoReflect.Descriptor instead.
-func (*Hook) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{26}
+// Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.
+func (*RemoveContainerRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{32}
}
-func (x *Hook) GetPath() string {
+func (x *RemoveContainerRequest) GetPod() *PodSandbox {
if x != nil {
- return x.Path
+ return x.Pod
}
- return ""
+ return nil
}
-func (x *Hook) GetArgs() []string {
+func (x *RemoveContainerRequest) GetContainer() *Container {
if x != nil {
- return x.Args
+ return x.Container
}
return nil
}
-func (x *Hook) GetEnv() []string {
- if x != nil {
- return x.Env
+type RemoveContainerResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveContainerResponse) Reset() {
+ *x = RemoveContainerResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[33]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return nil
}
-func (x *Hook) GetTimeout() *OptionalInt {
- if x != nil {
- return x.Timeout
+func (x *RemoveContainerResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveContainerResponse) ProtoMessage() {}
+
+func (x *RemoveContainerResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[33]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-// Container (linux) metadata.
-type LinuxContainer struct {
+// Deprecated: Use RemoveContainerResponse.ProtoReflect.Descriptor instead.
+func (*RemoveContainerResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{33}
+}
+
+type StateChangeEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Namespaces []*LinuxNamespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
- Devices []*LinuxDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
- Resources *LinuxResources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
- OomScoreAdj *OptionalInt `protobuf:"bytes,4,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
- CgroupsPath string `protobuf:"bytes,5,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"`
- IoPriority *LinuxIOPriority `protobuf:"bytes,6,opt,name=io_priority,json=ioPriority,proto3" json:"io_priority,omitempty"`
- SeccompProfile *SecurityProfile `protobuf:"bytes,7,opt,name=seccomp_profile,json=seccompProfile,proto3" json:"seccomp_profile,omitempty"`
- SeccompPolicy *LinuxSeccomp `protobuf:"bytes,8,opt,name=seccomp_policy,json=seccompPolicy,proto3" json:"seccomp_policy,omitempty"`
- Sysctl map[string]string `protobuf:"bytes,9,rep,name=sysctl,proto3" json:"sysctl,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- NetDevices map[string]*LinuxNetDevice `protobuf:"bytes,10,rep,name=net_devices,json=netDevices,proto3" json:"net_devices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Scheduler *LinuxScheduler `protobuf:"bytes,11,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
- Rdt *LinuxRdt `protobuf:"bytes,12,opt,name=rdt,proto3" json:"rdt,omitempty"`
+ // Event type of notification.
+ Event Event `protobuf:"varint,1,opt,name=event,proto3,enum=nri.pkg.api.v1alpha1.Event" json:"event,omitempty"`
+ // Pod this notification is sent for. If this event is related to a container,
+ // pod is set to the pod of the container.
+ Pod *PodSandbox `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Container this notification is sent for. If the event is related to a pod,
+ // container is nil.
+ Container *Container `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
}
-func (x *LinuxContainer) Reset() {
- *x = LinuxContainer{}
+func (x *StateChangeEvent) Reset() {
+ *x = StateChangeEvent{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[27]
+ mi := &file_pkg_api_api_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxContainer) String() string {
+func (x *StateChangeEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxContainer) ProtoMessage() {}
+func (*StateChangeEvent) ProtoMessage() {}
-func (x *LinuxContainer) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[27]
+func (x *StateChangeEvent) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2688,122 +2544,151 @@ func (x *LinuxContainer) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxContainer.ProtoReflect.Descriptor instead.
-func (*LinuxContainer) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{27}
+// Deprecated: Use StateChangeEvent.ProtoReflect.Descriptor instead.
+func (*StateChangeEvent) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{34}
}
-func (x *LinuxContainer) GetNamespaces() []*LinuxNamespace {
+func (x *StateChangeEvent) GetEvent() Event {
if x != nil {
- return x.Namespaces
+ return x.Event
}
- return nil
+ return Event_UNKNOWN
}
-func (x *LinuxContainer) GetDevices() []*LinuxDevice {
+func (x *StateChangeEvent) GetPod() *PodSandbox {
if x != nil {
- return x.Devices
+ return x.Pod
}
return nil
}
-func (x *LinuxContainer) GetResources() *LinuxResources {
+func (x *StateChangeEvent) GetContainer() *Container {
if x != nil {
- return x.Resources
+ return x.Container
}
return nil
}
-func (x *LinuxContainer) GetOomScoreAdj() *OptionalInt {
- if x != nil {
- return x.OomScoreAdj
- }
- return nil
+type ValidateContainerAdjustmentRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Pod of container being adjusted.
+ Pod *PodSandbox `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
+ // Container being adjusted in its pristine state.
+ Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
+ // Pending container adjustments.
+ Adjust *ContainerAdjustment `protobuf:"bytes,3,opt,name=adjust,proto3" json:"adjust,omitempty"`
+ // Pending updates to other containers.
+ Update []*ContainerUpdate `protobuf:"bytes,4,rep,name=update,proto3" json:"update,omitempty"`
+ // Plugins that made the adjustments and updates.
+ Owners *OwningPlugins `protobuf:"bytes,5,opt,name=owners,proto3" json:"owners,omitempty"`
+ // Plugins consulted for adjustments and updates.
+ Plugins []*PluginInstance `protobuf:"bytes,6,rep,name=plugins,proto3" json:"plugins,omitempty"`
}
-func (x *LinuxContainer) GetCgroupsPath() string {
- if x != nil {
- return x.CgroupsPath
+func (x *ValidateContainerAdjustmentRequest) Reset() {
+ *x = ValidateContainerAdjustmentRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[35]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *LinuxContainer) GetIoPriority() *LinuxIOPriority {
- if x != nil {
- return x.IoPriority
+func (x *ValidateContainerAdjustmentRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ValidateContainerAdjustmentRequest) ProtoMessage() {}
+
+func (x *ValidateContainerAdjustmentRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[35]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-func (x *LinuxContainer) GetSeccompProfile() *SecurityProfile {
+// Deprecated: Use ValidateContainerAdjustmentRequest.ProtoReflect.Descriptor instead.
+func (*ValidateContainerAdjustmentRequest) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{35}
+}
+
+func (x *ValidateContainerAdjustmentRequest) GetPod() *PodSandbox {
if x != nil {
- return x.SeccompProfile
+ return x.Pod
}
return nil
}
-func (x *LinuxContainer) GetSeccompPolicy() *LinuxSeccomp {
+func (x *ValidateContainerAdjustmentRequest) GetContainer() *Container {
if x != nil {
- return x.SeccompPolicy
+ return x.Container
}
return nil
}
-func (x *LinuxContainer) GetSysctl() map[string]string {
+func (x *ValidateContainerAdjustmentRequest) GetAdjust() *ContainerAdjustment {
if x != nil {
- return x.Sysctl
+ return x.Adjust
}
return nil
}
-func (x *LinuxContainer) GetNetDevices() map[string]*LinuxNetDevice {
+func (x *ValidateContainerAdjustmentRequest) GetUpdate() []*ContainerUpdate {
if x != nil {
- return x.NetDevices
+ return x.Update
}
return nil
}
-func (x *LinuxContainer) GetScheduler() *LinuxScheduler {
+func (x *ValidateContainerAdjustmentRequest) GetOwners() *OwningPlugins {
if x != nil {
- return x.Scheduler
+ return x.Owners
}
return nil
}
-func (x *LinuxContainer) GetRdt() *LinuxRdt {
+func (x *ValidateContainerAdjustmentRequest) GetPlugins() []*PluginInstance {
if x != nil {
- return x.Rdt
+ return x.Plugins
}
return nil
}
-// A linux namespace.
-type LinuxNamespace struct {
+type PluginInstance struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
}
-func (x *LinuxNamespace) Reset() {
- *x = LinuxNamespace{}
+func (x *PluginInstance) Reset() {
+ *x = PluginInstance{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[28]
+ mi := &file_pkg_api_api_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxNamespace) String() string {
+func (x *PluginInstance) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxNamespace) ProtoMessage() {}
+func (*PluginInstance) ProtoMessage() {}
-func (x *LinuxNamespace) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[28]
+func (x *PluginInstance) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2814,57 +2699,51 @@ func (x *LinuxNamespace) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxNamespace.ProtoReflect.Descriptor instead.
-func (*LinuxNamespace) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{28}
+// Deprecated: Use PluginInstance.ProtoReflect.Descriptor instead.
+func (*PluginInstance) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{36}
}
-func (x *LinuxNamespace) GetType() string {
+func (x *PluginInstance) GetName() string {
if x != nil {
- return x.Type
+ return x.Name
}
return ""
}
-func (x *LinuxNamespace) GetPath() string {
+func (x *PluginInstance) GetIndex() string {
if x != nil {
- return x.Path
+ return x.Index
}
return ""
}
-// A container (linux) device.
-type LinuxDevice struct {
+type ValidateContainerAdjustmentResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- Major int64 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
- Minor int64 `protobuf:"varint,4,opt,name=minor,proto3" json:"minor,omitempty"`
- FileMode *OptionalFileMode `protobuf:"bytes,5,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
- Uid *OptionalUInt32 `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
- Gid *OptionalUInt32 `protobuf:"bytes,7,opt,name=gid,proto3" json:"gid,omitempty"`
+ Reject bool `protobuf:"varint,1,opt,name=reject,proto3" json:"reject,omitempty"`
+ Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}
-func (x *LinuxDevice) Reset() {
- *x = LinuxDevice{}
+func (x *ValidateContainerAdjustmentResponse) Reset() {
+ *x = ValidateContainerAdjustmentResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[29]
+ mi := &file_pkg_api_api_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxDevice) String() string {
+func (x *ValidateContainerAdjustmentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxDevice) ProtoMessage() {}
+func (*ValidateContainerAdjustmentResponse) ProtoMessage() {}
-func (x *LinuxDevice) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[29]
+func (x *ValidateContainerAdjustmentResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2875,90 +2754,99 @@ func (x *LinuxDevice) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxDevice.ProtoReflect.Descriptor instead.
-func (*LinuxDevice) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{29}
+// Deprecated: Use ValidateContainerAdjustmentResponse.ProtoReflect.Descriptor instead.
+func (*ValidateContainerAdjustmentResponse) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{37}
}
-func (x *LinuxDevice) GetPath() string {
+func (x *ValidateContainerAdjustmentResponse) GetReject() bool {
if x != nil {
- return x.Path
+ return x.Reject
}
- return ""
+ return false
}
-func (x *LinuxDevice) GetType() string {
+func (x *ValidateContainerAdjustmentResponse) GetReason() string {
if x != nil {
- return x.Type
+ return x.Reason
}
return ""
}
-func (x *LinuxDevice) GetMajor() int64 {
- if x != nil {
- return x.Major
- }
- return 0
+// Empty response for those *Requests that are semantically events.
+type Empty struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (x *LinuxDevice) GetMinor() int64 {
- if x != nil {
- return x.Minor
+func (x *Empty) Reset() {
+ *x = Empty{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[38]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return 0
}
-func (x *LinuxDevice) GetFileMode() *OptionalFileMode {
- if x != nil {
- return x.FileMode
- }
- return nil
+func (x *Empty) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *LinuxDevice) GetUid() *OptionalUInt32 {
- if x != nil {
- return x.Uid
+func (*Empty) ProtoMessage() {}
+
+func (x *Empty) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[38]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-func (x *LinuxDevice) GetGid() *OptionalUInt32 {
- if x != nil {
- return x.Gid
- }
- return nil
+// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
+func (*Empty) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{38}
}
-// A linux device cgroup controller rule.
-type LinuxDeviceCgroup struct {
+// Pod metadata that is considered relevant for a plugin.
+type PodSandbox struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- Major *OptionalInt64 `protobuf:"bytes,3,opt,name=major,proto3" json:"major,omitempty"`
- Minor *OptionalInt64 `protobuf:"bytes,4,opt,name=minor,proto3" json:"minor,omitempty"`
- Access string `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
+ Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
+ Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ RuntimeHandler string `protobuf:"bytes,7,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
+ Linux *LinuxPodSandbox `protobuf:"bytes,8,opt,name=linux,proto3" json:"linux,omitempty"`
+ Pid uint32 `protobuf:"varint,9,opt,name=pid,proto3" json:"pid,omitempty"` // for NRI v1 emulation
+ Ips []string `protobuf:"bytes,10,rep,name=ips,proto3" json:"ips,omitempty"`
}
-func (x *LinuxDeviceCgroup) Reset() {
- *x = LinuxDeviceCgroup{}
+func (x *PodSandbox) Reset() {
+ *x = PodSandbox{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[30]
+ mi := &file_pkg_api_api_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxDeviceCgroup) String() string {
+func (x *PodSandbox) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxDeviceCgroup) ProtoMessage() {}
+func (*PodSandbox) ProtoMessage() {}
-func (x *LinuxDeviceCgroup) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[30]
+func (x *PodSandbox) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2969,122 +2857,112 @@ func (x *LinuxDeviceCgroup) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxDeviceCgroup.ProtoReflect.Descriptor instead.
-func (*LinuxDeviceCgroup) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{30}
+// Deprecated: Use PodSandbox.ProtoReflect.Descriptor instead.
+func (*PodSandbox) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{39}
}
-func (x *LinuxDeviceCgroup) GetAllow() bool {
+func (x *PodSandbox) GetId() string {
if x != nil {
- return x.Allow
+ return x.Id
}
- return false
+ return ""
}
-func (x *LinuxDeviceCgroup) GetType() string {
+func (x *PodSandbox) GetName() string {
if x != nil {
- return x.Type
+ return x.Name
}
return ""
}
-func (x *LinuxDeviceCgroup) GetMajor() *OptionalInt64 {
+func (x *PodSandbox) GetUid() string {
if x != nil {
- return x.Major
+ return x.Uid
}
- return nil
+ return ""
}
-func (x *LinuxDeviceCgroup) GetMinor() *OptionalInt64 {
+func (x *PodSandbox) GetNamespace() string {
if x != nil {
- return x.Minor
+ return x.Namespace
}
- return nil
+ return ""
}
-func (x *LinuxDeviceCgroup) GetAccess() string {
+func (x *PodSandbox) GetLabels() map[string]string {
if x != nil {
- return x.Access
+ return x.Labels
}
- return ""
-}
-
-// A CDI device reference.
-type CDIDevice struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ return nil
}
-func (x *CDIDevice) Reset() {
- *x = CDIDevice{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *PodSandbox) GetAnnotations() map[string]string {
+ if x != nil {
+ return x.Annotations
}
+ return nil
}
-func (x *CDIDevice) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *PodSandbox) GetRuntimeHandler() string {
+ if x != nil {
+ return x.RuntimeHandler
+ }
+ return ""
}
-func (*CDIDevice) ProtoMessage() {}
-
-func (x *CDIDevice) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[31]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *PodSandbox) GetLinux() *LinuxPodSandbox {
+ if x != nil {
+ return x.Linux
}
- return mi.MessageOf(x)
+ return nil
}
-// Deprecated: Use CDIDevice.ProtoReflect.Descriptor instead.
-func (*CDIDevice) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{31}
+func (x *PodSandbox) GetPid() uint32 {
+ if x != nil {
+ return x.Pid
+ }
+ return 0
}
-func (x *CDIDevice) GetName() string {
+func (x *PodSandbox) GetIps() []string {
if x != nil {
- return x.Name
+ return x.Ips
}
- return ""
+ return nil
}
-// User and group IDs for the container.
-type User struct {
+// PodSandbox linux-specific metadata
+type LinuxPodSandbox struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
- Gid uint32 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
- AdditionalGids []uint32 `protobuf:"varint,3,rep,packed,name=additional_gids,json=additionalGids,proto3" json:"additional_gids,omitempty"`
+ PodOverhead *LinuxResources `protobuf:"bytes,1,opt,name=pod_overhead,json=podOverhead,proto3" json:"pod_overhead,omitempty"`
+ PodResources *LinuxResources `protobuf:"bytes,2,opt,name=pod_resources,json=podResources,proto3" json:"pod_resources,omitempty"`
+ CgroupParent string `protobuf:"bytes,3,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"`
+ CgroupsPath string `protobuf:"bytes,4,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"` // for NRI v1 emulation
+ Namespaces []*LinuxNamespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // for NRI v1 emulation
+ Resources *LinuxResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // for NRI v1 emulation
}
-func (x *User) Reset() {
- *x = User{}
+func (x *LinuxPodSandbox) Reset() {
+ *x = LinuxPodSandbox{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[32]
+ mi := &file_pkg_api_api_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *User) String() string {
+func (x *LinuxPodSandbox) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*User) ProtoMessage() {}
+func (*LinuxPodSandbox) ProtoMessage() {}
-func (x *User) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[32]
+func (x *LinuxPodSandbox) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3095,65 +2973,99 @@ func (x *User) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use User.ProtoReflect.Descriptor instead.
-func (*User) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{32}
+// Deprecated: Use LinuxPodSandbox.ProtoReflect.Descriptor instead.
+func (*LinuxPodSandbox) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{40}
}
-func (x *User) GetUid() uint32 {
+func (x *LinuxPodSandbox) GetPodOverhead() *LinuxResources {
if x != nil {
- return x.Uid
+ return x.PodOverhead
}
- return 0
+ return nil
}
-func (x *User) GetGid() uint32 {
+func (x *LinuxPodSandbox) GetPodResources() *LinuxResources {
if x != nil {
- return x.Gid
+ return x.PodResources
}
- return 0
+ return nil
}
-func (x *User) GetAdditionalGids() []uint32 {
+func (x *LinuxPodSandbox) GetCgroupParent() string {
if x != nil {
- return x.AdditionalGids
+ return x.CgroupParent
+ }
+ return ""
+}
+
+func (x *LinuxPodSandbox) GetCgroupsPath() string {
+ if x != nil {
+ return x.CgroupsPath
+ }
+ return ""
+}
+
+func (x *LinuxPodSandbox) GetNamespaces() []*LinuxNamespace {
+ if x != nil {
+ return x.Namespaces
}
return nil
}
-// Container (linux) resources.
-type LinuxResources struct {
+func (x *LinuxPodSandbox) GetResources() *LinuxResources {
+ if x != nil {
+ return x.Resources
+ }
+ return nil
+}
+
+// Container metadata that is considered relevant for a plugin.
+type Container struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Memory *LinuxMemory `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"`
- Cpu *LinuxCPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
- HugepageLimits []*HugepageLimit `protobuf:"bytes,3,rep,name=hugepage_limits,json=hugepageLimits,proto3" json:"hugepage_limits,omitempty"`
- BlockioClass *OptionalString `protobuf:"bytes,4,opt,name=blockio_class,json=blockioClass,proto3" json:"blockio_class,omitempty"`
- RdtClass *OptionalString `protobuf:"bytes,5,opt,name=rdt_class,json=rdtClass,proto3" json:"rdt_class,omitempty"`
- Unified map[string]string `protobuf:"bytes,6,rep,name=unified,proto3" json:"unified,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Devices []*LinuxDeviceCgroup `protobuf:"bytes,7,rep,name=devices,proto3" json:"devices,omitempty"` // for NRI v1 emulation
- Pids *LinuxPids `protobuf:"bytes,8,opt,name=pids,proto3" json:"pids,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
+ State ContainerState `protobuf:"varint,4,opt,name=state,proto3,enum=nri.pkg.api.v1alpha1.ContainerState" json:"state,omitempty"`
+ Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Args []string `protobuf:"bytes,7,rep,name=args,proto3" json:"args,omitempty"`
+ Env []string `protobuf:"bytes,8,rep,name=env,proto3" json:"env,omitempty"`
+ Mounts []*Mount `protobuf:"bytes,9,rep,name=mounts,proto3" json:"mounts,omitempty"`
+ Hooks *Hooks `protobuf:"bytes,10,opt,name=hooks,proto3" json:"hooks,omitempty"`
+ Linux *LinuxContainer `protobuf:"bytes,11,opt,name=linux,proto3" json:"linux,omitempty"`
+ Pid uint32 `protobuf:"varint,12,opt,name=pid,proto3" json:"pid,omitempty"` // for NRI v1 emulation
+ Rlimits []*POSIXRlimit `protobuf:"bytes,13,rep,name=rlimits,proto3" json:"rlimits,omitempty"`
+ CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
+ StartedAt int64 `protobuf:"varint,15,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
+ FinishedAt int64 `protobuf:"varint,16,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
+ ExitCode int32 `protobuf:"varint,17,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
+ StatusReason string `protobuf:"bytes,18,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
+ StatusMessage string `protobuf:"bytes,19,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
+ CDIDevices []*CDIDevice `protobuf:"bytes,20,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
+ User *User `protobuf:"bytes,21,opt,name=user,proto3" json:"user,omitempty"`
}
-func (x *LinuxResources) Reset() {
- *x = LinuxResources{}
+func (x *Container) Reset() {
+ *x = Container{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[33]
+ mi := &file_pkg_api_api_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxResources) String() string {
+func (x *Container) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxResources) ProtoMessage() {}
+func (*Container) ProtoMessage() {}
-func (x *LinuxResources) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[33]
+func (x *Container) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3164,203 +3076,187 @@ func (x *LinuxResources) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxResources.ProtoReflect.Descriptor instead.
-func (*LinuxResources) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{33}
+// Deprecated: Use Container.ProtoReflect.Descriptor instead.
+func (*Container) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{41}
}
-func (x *LinuxResources) GetMemory() *LinuxMemory {
+func (x *Container) GetId() string {
if x != nil {
- return x.Memory
+ return x.Id
}
- return nil
+ return ""
}
-func (x *LinuxResources) GetCpu() *LinuxCPU {
+func (x *Container) GetPodSandboxId() string {
if x != nil {
- return x.Cpu
+ return x.PodSandboxId
}
- return nil
+ return ""
}
-func (x *LinuxResources) GetHugepageLimits() []*HugepageLimit {
+func (x *Container) GetName() string {
if x != nil {
- return x.HugepageLimits
+ return x.Name
}
- return nil
+ return ""
}
-func (x *LinuxResources) GetBlockioClass() *OptionalString {
+func (x *Container) GetState() ContainerState {
if x != nil {
- return x.BlockioClass
+ return x.State
}
- return nil
+ return ContainerState_CONTAINER_UNKNOWN
}
-func (x *LinuxResources) GetRdtClass() *OptionalString {
+func (x *Container) GetLabels() map[string]string {
if x != nil {
- return x.RdtClass
+ return x.Labels
}
return nil
}
-func (x *LinuxResources) GetUnified() map[string]string {
+func (x *Container) GetAnnotations() map[string]string {
if x != nil {
- return x.Unified
+ return x.Annotations
}
return nil
}
-func (x *LinuxResources) GetDevices() []*LinuxDeviceCgroup {
+func (x *Container) GetArgs() []string {
if x != nil {
- return x.Devices
+ return x.Args
}
return nil
}
-func (x *LinuxResources) GetPids() *LinuxPids {
+func (x *Container) GetEnv() []string {
if x != nil {
- return x.Pids
+ return x.Env
}
return nil
}
-// Memory-related parts of (linux) resources.
-type LinuxMemory struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
+func (x *Container) GetMounts() []*Mount {
+ if x != nil {
+ return x.Mounts
+ }
+ return nil
+}
- Limit *OptionalInt64 `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
- Reservation *OptionalInt64 `protobuf:"bytes,2,opt,name=reservation,proto3" json:"reservation,omitempty"`
- Swap *OptionalInt64 `protobuf:"bytes,3,opt,name=swap,proto3" json:"swap,omitempty"`
- Kernel *OptionalInt64 `protobuf:"bytes,4,opt,name=kernel,proto3" json:"kernel,omitempty"`
- KernelTcp *OptionalInt64 `protobuf:"bytes,5,opt,name=kernel_tcp,json=kernelTcp,proto3" json:"kernel_tcp,omitempty"`
- Swappiness *OptionalUInt64 `protobuf:"bytes,6,opt,name=swappiness,proto3" json:"swappiness,omitempty"`
- DisableOomKiller *OptionalBool `protobuf:"bytes,7,opt,name=disable_oom_killer,json=disableOomKiller,proto3" json:"disable_oom_killer,omitempty"`
- UseHierarchy *OptionalBool `protobuf:"bytes,8,opt,name=use_hierarchy,json=useHierarchy,proto3" json:"use_hierarchy,omitempty"`
+func (x *Container) GetHooks() *Hooks {
+ if x != nil {
+ return x.Hooks
+ }
+ return nil
}
-func (x *LinuxMemory) Reset() {
- *x = LinuxMemory{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *Container) GetLinux() *LinuxContainer {
+ if x != nil {
+ return x.Linux
}
+ return nil
}
-func (x *LinuxMemory) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*LinuxMemory) ProtoMessage() {}
-
-func (x *LinuxMemory) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[34]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *Container) GetPid() uint32 {
+ if x != nil {
+ return x.Pid
}
- return mi.MessageOf(x)
+ return 0
}
-// Deprecated: Use LinuxMemory.ProtoReflect.Descriptor instead.
-func (*LinuxMemory) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{34}
+func (x *Container) GetRlimits() []*POSIXRlimit {
+ if x != nil {
+ return x.Rlimits
+ }
+ return nil
}
-func (x *LinuxMemory) GetLimit() *OptionalInt64 {
+func (x *Container) GetCreatedAt() int64 {
if x != nil {
- return x.Limit
+ return x.CreatedAt
}
- return nil
+ return 0
}
-func (x *LinuxMemory) GetReservation() *OptionalInt64 {
+func (x *Container) GetStartedAt() int64 {
if x != nil {
- return x.Reservation
+ return x.StartedAt
}
- return nil
+ return 0
}
-func (x *LinuxMemory) GetSwap() *OptionalInt64 {
+func (x *Container) GetFinishedAt() int64 {
if x != nil {
- return x.Swap
+ return x.FinishedAt
}
- return nil
+ return 0
}
-func (x *LinuxMemory) GetKernel() *OptionalInt64 {
+func (x *Container) GetExitCode() int32 {
if x != nil {
- return x.Kernel
+ return x.ExitCode
}
- return nil
+ return 0
}
-func (x *LinuxMemory) GetKernelTcp() *OptionalInt64 {
+func (x *Container) GetStatusReason() string {
if x != nil {
- return x.KernelTcp
+ return x.StatusReason
}
- return nil
+ return ""
}
-func (x *LinuxMemory) GetSwappiness() *OptionalUInt64 {
+func (x *Container) GetStatusMessage() string {
if x != nil {
- return x.Swappiness
+ return x.StatusMessage
}
- return nil
+ return ""
}
-func (x *LinuxMemory) GetDisableOomKiller() *OptionalBool {
+func (x *Container) GetCDIDevices() []*CDIDevice {
if x != nil {
- return x.DisableOomKiller
+ return x.CDIDevices
}
return nil
}
-func (x *LinuxMemory) GetUseHierarchy() *OptionalBool {
+func (x *Container) GetUser() *User {
if x != nil {
- return x.UseHierarchy
+ return x.User
}
return nil
}
-// CPU-related parts of (linux) resources.
-type LinuxCPU struct {
+// A container mount.
+type Mount struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Shares *OptionalUInt64 `protobuf:"bytes,1,opt,name=shares,proto3" json:"shares,omitempty"`
- Quota *OptionalInt64 `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"`
- Period *OptionalUInt64 `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"`
- RealtimeRuntime *OptionalInt64 `protobuf:"bytes,4,opt,name=realtime_runtime,json=realtimeRuntime,proto3" json:"realtime_runtime,omitempty"`
- RealtimePeriod *OptionalUInt64 `protobuf:"bytes,5,opt,name=realtime_period,json=realtimePeriod,proto3" json:"realtime_period,omitempty"`
- Cpus string `protobuf:"bytes,6,opt,name=cpus,proto3" json:"cpus,omitempty"`
- Mems string `protobuf:"bytes,7,opt,name=mems,proto3" json:"mems,omitempty"`
+ Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
+ Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
+ Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
}
-func (x *LinuxCPU) Reset() {
- *x = LinuxCPU{}
+func (x *Mount) Reset() {
+ *x = Mount{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[35]
+ mi := &file_pkg_api_api_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxCPU) String() string {
+func (x *Mount) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxCPU) ProtoMessage() {}
+func (*Mount) ProtoMessage() {}
-func (x *LinuxCPU) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[35]
+func (x *Mount) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3371,87 +3267,70 @@ func (x *LinuxCPU) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxCPU.ProtoReflect.Descriptor instead.
-func (*LinuxCPU) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{35}
-}
-
-func (x *LinuxCPU) GetShares() *OptionalUInt64 {
- if x != nil {
- return x.Shares
- }
- return nil
-}
-
-func (x *LinuxCPU) GetQuota() *OptionalInt64 {
- if x != nil {
- return x.Quota
- }
- return nil
-}
-
-func (x *LinuxCPU) GetPeriod() *OptionalUInt64 {
- if x != nil {
- return x.Period
- }
- return nil
+// Deprecated: Use Mount.ProtoReflect.Descriptor instead.
+func (*Mount) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{42}
}
-func (x *LinuxCPU) GetRealtimeRuntime() *OptionalInt64 {
+func (x *Mount) GetDestination() string {
if x != nil {
- return x.RealtimeRuntime
+ return x.Destination
}
- return nil
+ return ""
}
-func (x *LinuxCPU) GetRealtimePeriod() *OptionalUInt64 {
+func (x *Mount) GetType() string {
if x != nil {
- return x.RealtimePeriod
+ return x.Type
}
- return nil
+ return ""
}
-func (x *LinuxCPU) GetCpus() string {
+func (x *Mount) GetSource() string {
if x != nil {
- return x.Cpus
+ return x.Source
}
return ""
}
-func (x *LinuxCPU) GetMems() string {
+func (x *Mount) GetOptions() []string {
if x != nil {
- return x.Mems
+ return x.Options
}
- return ""
+ return nil
}
-// Container huge page limit.
-type HugepageLimit struct {
+// Container OCI hooks.
+type Hooks struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- PageSize string `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
+ Prestart []*Hook `protobuf:"bytes,1,rep,name=prestart,proto3" json:"prestart,omitempty"`
+ CreateRuntime []*Hook `protobuf:"bytes,2,rep,name=create_runtime,json=createRuntime,proto3" json:"create_runtime,omitempty"`
+ CreateContainer []*Hook `protobuf:"bytes,3,rep,name=create_container,json=createContainer,proto3" json:"create_container,omitempty"`
+ StartContainer []*Hook `protobuf:"bytes,4,rep,name=start_container,json=startContainer,proto3" json:"start_container,omitempty"`
+ Poststart []*Hook `protobuf:"bytes,5,rep,name=poststart,proto3" json:"poststart,omitempty"`
+ Poststop []*Hook `protobuf:"bytes,6,rep,name=poststop,proto3" json:"poststop,omitempty"`
}
-func (x *HugepageLimit) Reset() {
- *x = HugepageLimit{}
+func (x *Hooks) Reset() {
+ *x = Hooks{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[36]
+ mi := &file_pkg_api_api_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *HugepageLimit) String() string {
+func (x *Hooks) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*HugepageLimit) ProtoMessage() {}
+func (*Hooks) ProtoMessage() {}
-func (x *HugepageLimit) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[36]
+func (x *Hooks) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3462,52 +3341,82 @@ func (x *HugepageLimit) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use HugepageLimit.ProtoReflect.Descriptor instead.
-func (*HugepageLimit) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{36}
+// Deprecated: Use Hooks.ProtoReflect.Descriptor instead.
+func (*Hooks) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{43}
}
-func (x *HugepageLimit) GetPageSize() string {
+func (x *Hooks) GetPrestart() []*Hook {
if x != nil {
- return x.PageSize
+ return x.Prestart
}
- return ""
+ return nil
}
-func (x *HugepageLimit) GetLimit() uint64 {
+func (x *Hooks) GetCreateRuntime() []*Hook {
if x != nil {
- return x.Limit
+ return x.CreateRuntime
}
- return 0
+ return nil
}
-// SecurityProfile for container.
-type SecurityProfile struct {
+func (x *Hooks) GetCreateContainer() []*Hook {
+ if x != nil {
+ return x.CreateContainer
+ }
+ return nil
+}
+
+func (x *Hooks) GetStartContainer() []*Hook {
+ if x != nil {
+ return x.StartContainer
+ }
+ return nil
+}
+
+func (x *Hooks) GetPoststart() []*Hook {
+ if x != nil {
+ return x.Poststart
+ }
+ return nil
+}
+
+func (x *Hooks) GetPoststop() []*Hook {
+ if x != nil {
+ return x.Poststop
+ }
+ return nil
+}
+
+// One OCI hook.
+type Hook struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- ProfileType SecurityProfile_ProfileType `protobuf:"varint,1,opt,name=profile_type,json=profileType,proto3,enum=nri.pkg.api.v1alpha1.SecurityProfile_ProfileType" json:"profile_type,omitempty"`
- LocalhostRef string `protobuf:"bytes,2,opt,name=localhost_ref,json=localhostRef,proto3" json:"localhost_ref,omitempty"`
+ Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
+ Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
+ Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
+ Timeout *OptionalInt `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
}
-func (x *SecurityProfile) Reset() {
- *x = SecurityProfile{}
+func (x *Hook) Reset() {
+ *x = Hook{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[37]
+ mi := &file_pkg_api_api_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *SecurityProfile) String() string {
+func (x *Hook) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SecurityProfile) ProtoMessage() {}
+func (*Hook) ProtoMessage() {}
-func (x *SecurityProfile) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[37]
+func (x *Hook) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3518,53 +3427,76 @@ func (x *SecurityProfile) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.
-func (*SecurityProfile) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{37}
+// Deprecated: Use Hook.ProtoReflect.Descriptor instead.
+func (*Hook) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{44}
}
-func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType {
+func (x *Hook) GetPath() string {
if x != nil {
- return x.ProfileType
+ return x.Path
}
- return SecurityProfile_RUNTIME_DEFAULT
+ return ""
}
-func (x *SecurityProfile) GetLocalhostRef() string {
+func (x *Hook) GetArgs() []string {
if x != nil {
- return x.LocalhostRef
+ return x.Args
}
- return ""
+ return nil
}
-// Container rlimits
-type POSIXRlimit struct {
+func (x *Hook) GetEnv() []string {
+ if x != nil {
+ return x.Env
+ }
+ return nil
+}
+
+func (x *Hook) GetTimeout() *OptionalInt {
+ if x != nil {
+ return x.Timeout
+ }
+ return nil
+}
+
+// Container (linux) metadata.
+type LinuxContainer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- Hard uint64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"`
- Soft uint64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"`
+ Namespaces []*LinuxNamespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
+ Devices []*LinuxDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
+ Resources *LinuxResources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
+ OomScoreAdj *OptionalInt `protobuf:"bytes,4,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
+ CgroupsPath string `protobuf:"bytes,5,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"`
+ IoPriority *LinuxIOPriority `protobuf:"bytes,6,opt,name=io_priority,json=ioPriority,proto3" json:"io_priority,omitempty"`
+ SeccompProfile *SecurityProfile `protobuf:"bytes,7,opt,name=seccomp_profile,json=seccompProfile,proto3" json:"seccomp_profile,omitempty"`
+ SeccompPolicy *LinuxSeccomp `protobuf:"bytes,8,opt,name=seccomp_policy,json=seccompPolicy,proto3" json:"seccomp_policy,omitempty"`
+ Sysctl map[string]string `protobuf:"bytes,9,rep,name=sysctl,proto3" json:"sysctl,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ NetDevices map[string]*LinuxNetDevice `protobuf:"bytes,10,rep,name=net_devices,json=netDevices,proto3" json:"net_devices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Scheduler *LinuxScheduler `protobuf:"bytes,11,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
+ Rdt *LinuxRdt `protobuf:"bytes,12,opt,name=rdt,proto3" json:"rdt,omitempty"`
}
-func (x *POSIXRlimit) Reset() {
- *x = POSIXRlimit{}
+func (x *LinuxContainer) Reset() {
+ *x = LinuxContainer{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[38]
+ mi := &file_pkg_api_api_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *POSIXRlimit) String() string {
+func (x *LinuxContainer) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*POSIXRlimit) ProtoMessage() {}
+func (*LinuxContainer) ProtoMessage() {}
-func (x *POSIXRlimit) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[38]
+func (x *LinuxContainer) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3575,108 +3507,122 @@ func (x *POSIXRlimit) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use POSIXRlimit.ProtoReflect.Descriptor instead.
-func (*POSIXRlimit) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{38}
+// Deprecated: Use LinuxContainer.ProtoReflect.Descriptor instead.
+func (*LinuxContainer) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{45}
}
-func (x *POSIXRlimit) GetType() string {
+func (x *LinuxContainer) GetNamespaces() []*LinuxNamespace {
if x != nil {
- return x.Type
+ return x.Namespaces
}
- return ""
+ return nil
}
-func (x *POSIXRlimit) GetHard() uint64 {
+func (x *LinuxContainer) GetDevices() []*LinuxDevice {
if x != nil {
- return x.Hard
+ return x.Devices
}
- return 0
+ return nil
}
-func (x *POSIXRlimit) GetSoft() uint64 {
+func (x *LinuxContainer) GetResources() *LinuxResources {
if x != nil {
- return x.Soft
+ return x.Resources
}
- return 0
+ return nil
}
-// Pids-related parts of (linux) resources.
-type LinuxPids struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
+func (x *LinuxContainer) GetOomScoreAdj() *OptionalInt {
+ if x != nil {
+ return x.OomScoreAdj
+ }
+ return nil
+}
- Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
+func (x *LinuxContainer) GetCgroupsPath() string {
+ if x != nil {
+ return x.CgroupsPath
+ }
+ return ""
}
-func (x *LinuxPids) Reset() {
- *x = LinuxPids{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[39]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *LinuxContainer) GetIoPriority() *LinuxIOPriority {
+ if x != nil {
+ return x.IoPriority
}
+ return nil
}
-func (x *LinuxPids) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *LinuxContainer) GetSeccompProfile() *SecurityProfile {
+ if x != nil {
+ return x.SeccompProfile
+ }
+ return nil
}
-func (*LinuxPids) ProtoMessage() {}
+func (x *LinuxContainer) GetSeccompPolicy() *LinuxSeccomp {
+ if x != nil {
+ return x.SeccompPolicy
+ }
+ return nil
+}
-func (x *LinuxPids) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[39]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *LinuxContainer) GetSysctl() map[string]string {
+ if x != nil {
+ return x.Sysctl
}
- return mi.MessageOf(x)
+ return nil
}
-// Deprecated: Use LinuxPids.ProtoReflect.Descriptor instead.
-func (*LinuxPids) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{39}
+func (x *LinuxContainer) GetNetDevices() map[string]*LinuxNetDevice {
+ if x != nil {
+ return x.NetDevices
+ }
+ return nil
}
-func (x *LinuxPids) GetLimit() int64 {
+func (x *LinuxContainer) GetScheduler() *LinuxScheduler {
if x != nil {
- return x.Limit
+ return x.Scheduler
}
- return 0
+ return nil
}
-type LinuxIOPriority struct {
+func (x *LinuxContainer) GetRdt() *LinuxRdt {
+ if x != nil {
+ return x.Rdt
+ }
+ return nil
+}
+
+// A linux namespace.
+type LinuxNamespace struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Scheduling class of the IO priority.
- Class IOPrioClass `protobuf:"varint,1,opt,name=class,proto3,enum=nri.pkg.api.v1alpha1.IOPrioClass" json:"class,omitempty"`
- // The value of the IO priority.
- Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
+ Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
+ Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
}
-func (x *LinuxIOPriority) Reset() {
- *x = LinuxIOPriority{}
+func (x *LinuxNamespace) Reset() {
+ *x = LinuxNamespace{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[40]
+ mi := &file_pkg_api_api_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxIOPriority) String() string {
+func (x *LinuxNamespace) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxIOPriority) ProtoMessage() {}
+func (*LinuxNamespace) ProtoMessage() {}
-func (x *LinuxIOPriority) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[40]
+func (x *LinuxNamespace) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3687,51 +3633,57 @@ func (x *LinuxIOPriority) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxIOPriority.ProtoReflect.Descriptor instead.
-func (*LinuxIOPriority) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{40}
+// Deprecated: Use LinuxNamespace.ProtoReflect.Descriptor instead.
+func (*LinuxNamespace) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{46}
}
-func (x *LinuxIOPriority) GetClass() IOPrioClass {
+func (x *LinuxNamespace) GetType() string {
if x != nil {
- return x.Class
+ return x.Type
}
- return IOPrioClass_IOPRIO_CLASS_NONE
+ return ""
}
-func (x *LinuxIOPriority) GetPriority() int32 {
+func (x *LinuxNamespace) GetPath() string {
if x != nil {
- return x.Priority
+ return x.Path
}
- return 0
+ return ""
}
-// A linux network device.
-type LinuxNetDevice struct {
+// A container (linux) device.
+type LinuxDevice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
+ Major int64 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
+ Minor int64 `protobuf:"varint,4,opt,name=minor,proto3" json:"minor,omitempty"`
+ FileMode *OptionalFileMode `protobuf:"bytes,5,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
+ Uid *OptionalUInt32 `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
+ Gid *OptionalUInt32 `protobuf:"bytes,7,opt,name=gid,proto3" json:"gid,omitempty"`
}
-func (x *LinuxNetDevice) Reset() {
- *x = LinuxNetDevice{}
+func (x *LinuxDevice) Reset() {
+ *x = LinuxDevice{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[41]
+ mi := &file_pkg_api_api_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxNetDevice) String() string {
+func (x *LinuxDevice) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxNetDevice) ProtoMessage() {}
+func (*LinuxDevice) ProtoMessage() {}
-func (x *LinuxNetDevice) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[41]
+func (x *LinuxDevice) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3742,50 +3694,90 @@ func (x *LinuxNetDevice) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxNetDevice.ProtoReflect.Descriptor instead.
-func (*LinuxNetDevice) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{41}
+// Deprecated: Use LinuxDevice.ProtoReflect.Descriptor instead.
+func (*LinuxDevice) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{47}
}
-func (x *LinuxNetDevice) GetName() string {
+func (x *LinuxDevice) GetPath() string {
if x != nil {
- return x.Name
+ return x.Path
}
return ""
}
-// Linux process scheduling attributes.
-type LinuxScheduler struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
+func (x *LinuxDevice) GetType() string {
+ if x != nil {
+ return x.Type
+ }
+ return ""
+}
- Policy LinuxSchedulerPolicy `protobuf:"varint,1,opt,name=policy,proto3,enum=nri.pkg.api.v1alpha1.LinuxSchedulerPolicy" json:"policy,omitempty"`
- Nice int32 `protobuf:"varint,2,opt,name=nice,proto3" json:"nice,omitempty"`
- Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
- Flags []LinuxSchedulerFlag `protobuf:"varint,4,rep,packed,name=flags,proto3,enum=nri.pkg.api.v1alpha1.LinuxSchedulerFlag" json:"flags,omitempty"`
- Runtime uint64 `protobuf:"varint,5,opt,name=runtime,proto3" json:"runtime,omitempty"`
- Deadline uint64 `protobuf:"varint,6,opt,name=deadline,proto3" json:"deadline,omitempty"`
- Period uint64 `protobuf:"varint,7,opt,name=period,proto3" json:"period,omitempty"`
+func (x *LinuxDevice) GetMajor() int64 {
+ if x != nil {
+ return x.Major
+ }
+ return 0
}
-func (x *LinuxScheduler) Reset() {
- *x = LinuxScheduler{}
+func (x *LinuxDevice) GetMinor() int64 {
+ if x != nil {
+ return x.Minor
+ }
+ return 0
+}
+
+func (x *LinuxDevice) GetFileMode() *OptionalFileMode {
+ if x != nil {
+ return x.FileMode
+ }
+ return nil
+}
+
+func (x *LinuxDevice) GetUid() *OptionalUInt32 {
+ if x != nil {
+ return x.Uid
+ }
+ return nil
+}
+
+func (x *LinuxDevice) GetGid() *OptionalUInt32 {
+ if x != nil {
+ return x.Gid
+ }
+ return nil
+}
+
+// A linux device cgroup controller rule.
+type LinuxDeviceCgroup struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"`
+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
+ Major *OptionalInt64 `protobuf:"bytes,3,opt,name=major,proto3" json:"major,omitempty"`
+ Minor *OptionalInt64 `protobuf:"bytes,4,opt,name=minor,proto3" json:"minor,omitempty"`
+ Access string `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
+}
+
+func (x *LinuxDeviceCgroup) Reset() {
+ *x = LinuxDeviceCgroup{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[42]
+ mi := &file_pkg_api_api_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxScheduler) String() string {
+func (x *LinuxDeviceCgroup) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxScheduler) ProtoMessage() {}
+func (*LinuxDeviceCgroup) ProtoMessage() {}
-func (x *LinuxScheduler) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[42]
+func (x *LinuxDeviceCgroup) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3796,93 +3788,72 @@ func (x *LinuxScheduler) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxScheduler.ProtoReflect.Descriptor instead.
-func (*LinuxScheduler) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{42}
-}
-
-func (x *LinuxScheduler) GetPolicy() LinuxSchedulerPolicy {
- if x != nil {
- return x.Policy
- }
- return LinuxSchedulerPolicy_SCHED_NONE
+// Deprecated: Use LinuxDeviceCgroup.ProtoReflect.Descriptor instead.
+func (*LinuxDeviceCgroup) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{48}
}
-func (x *LinuxScheduler) GetNice() int32 {
+func (x *LinuxDeviceCgroup) GetAllow() bool {
if x != nil {
- return x.Nice
+ return x.Allow
}
- return 0
+ return false
}
-func (x *LinuxScheduler) GetPriority() int32 {
+func (x *LinuxDeviceCgroup) GetType() string {
if x != nil {
- return x.Priority
+ return x.Type
}
- return 0
+ return ""
}
-func (x *LinuxScheduler) GetFlags() []LinuxSchedulerFlag {
+func (x *LinuxDeviceCgroup) GetMajor() *OptionalInt64 {
if x != nil {
- return x.Flags
+ return x.Major
}
return nil
}
-func (x *LinuxScheduler) GetRuntime() uint64 {
- if x != nil {
- return x.Runtime
- }
- return 0
-}
-
-func (x *LinuxScheduler) GetDeadline() uint64 {
+func (x *LinuxDeviceCgroup) GetMinor() *OptionalInt64 {
if x != nil {
- return x.Deadline
+ return x.Minor
}
- return 0
+ return nil
}
-func (x *LinuxScheduler) GetPeriod() uint64 {
+func (x *LinuxDeviceCgroup) GetAccess() string {
if x != nil {
- return x.Period
+ return x.Access
}
- return 0
+ return ""
}
-// Requested adjustments to a container being created.
-type ContainerAdjustment struct {
+// A CDI device reference.
+type CDIDevice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Annotations map[string]string `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Mounts []*Mount `protobuf:"bytes,3,rep,name=mounts,proto3" json:"mounts,omitempty"`
- Env []*KeyValue `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
- Hooks *Hooks `protobuf:"bytes,5,opt,name=hooks,proto3" json:"hooks,omitempty"`
- Linux *LinuxContainerAdjustment `protobuf:"bytes,6,opt,name=linux,proto3" json:"linux,omitempty"`
- Rlimits []*POSIXRlimit `protobuf:"bytes,7,rep,name=rlimits,proto3" json:"rlimits,omitempty"`
- CDIDevices []*CDIDevice `protobuf:"bytes,8,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
- Args []string `protobuf:"bytes,9,rep,name=args,proto3" json:"args,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
-func (x *ContainerAdjustment) Reset() {
- *x = ContainerAdjustment{}
+func (x *CDIDevice) Reset() {
+ *x = CDIDevice{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[43]
+ mi := &file_pkg_api_api_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *ContainerAdjustment) String() string {
+func (x *CDIDevice) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ContainerAdjustment) ProtoMessage() {}
+func (*CDIDevice) ProtoMessage() {}
-func (x *ContainerAdjustment) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[43]
+func (x *CDIDevice) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[49]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3893,104 +3864,115 @@ func (x *ContainerAdjustment) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ContainerAdjustment.ProtoReflect.Descriptor instead.
-func (*ContainerAdjustment) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{43}
+// Deprecated: Use CDIDevice.ProtoReflect.Descriptor instead.
+func (*CDIDevice) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{49}
}
-func (x *ContainerAdjustment) GetAnnotations() map[string]string {
+func (x *CDIDevice) GetName() string {
if x != nil {
- return x.Annotations
+ return x.Name
}
- return nil
+ return ""
}
-func (x *ContainerAdjustment) GetMounts() []*Mount {
- if x != nil {
- return x.Mounts
- }
- return nil
+// User and group IDs for the container.
+type User struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
+ Gid uint32 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
+ AdditionalGids []uint32 `protobuf:"varint,3,rep,packed,name=additional_gids,json=additionalGids,proto3" json:"additional_gids,omitempty"`
}
-func (x *ContainerAdjustment) GetEnv() []*KeyValue {
- if x != nil {
- return x.Env
+func (x *User) Reset() {
+ *x = User{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[50]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return nil
}
-func (x *ContainerAdjustment) GetHooks() *Hooks {
- if x != nil {
- return x.Hooks
- }
- return nil
+func (x *User) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *ContainerAdjustment) GetLinux() *LinuxContainerAdjustment {
- if x != nil {
- return x.Linux
+func (*User) ProtoMessage() {}
+
+func (x *User) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[50]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return nil
+ return mi.MessageOf(x)
}
-func (x *ContainerAdjustment) GetRlimits() []*POSIXRlimit {
+// Deprecated: Use User.ProtoReflect.Descriptor instead.
+func (*User) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{50}
+}
+
+func (x *User) GetUid() uint32 {
if x != nil {
- return x.Rlimits
+ return x.Uid
}
- return nil
+ return 0
}
-func (x *ContainerAdjustment) GetCDIDevices() []*CDIDevice {
+func (x *User) GetGid() uint32 {
if x != nil {
- return x.CDIDevices
+ return x.Gid
}
- return nil
+ return 0
}
-func (x *ContainerAdjustment) GetArgs() []string {
+func (x *User) GetAdditionalGids() []uint32 {
if x != nil {
- return x.Args
+ return x.AdditionalGids
}
return nil
}
-// Adjustments to (linux) resources.
-type LinuxContainerAdjustment struct {
+// Container (linux) resources.
+type LinuxResources struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Devices []*LinuxDevice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
- Resources *LinuxResources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
- CgroupsPath string `protobuf:"bytes,3,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"`
- OomScoreAdj *OptionalInt `protobuf:"bytes,4,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
- IoPriority *LinuxIOPriority `protobuf:"bytes,5,opt,name=io_priority,json=ioPriority,proto3" json:"io_priority,omitempty"`
- SeccompPolicy *LinuxSeccomp `protobuf:"bytes,6,opt,name=seccomp_policy,json=seccompPolicy,proto3" json:"seccomp_policy,omitempty"`
- Namespaces []*LinuxNamespace `protobuf:"bytes,7,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
- Sysctl map[string]string `protobuf:"bytes,8,rep,name=sysctl,proto3" json:"sysctl,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- NetDevices map[string]*LinuxNetDevice `protobuf:"bytes,9,rep,name=net_devices,json=netDevices,proto3" json:"net_devices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Scheduler *LinuxScheduler `protobuf:"bytes,10,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
- Rdt *LinuxRdt `protobuf:"bytes,11,opt,name=rdt,proto3" json:"rdt,omitempty"`
- MemoryPolicy *LinuxMemoryPolicy `protobuf:"bytes,12,opt,name=memory_policy,json=memoryPolicy,proto3" json:"memory_policy,omitempty"`
+ Memory *LinuxMemory `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"`
+ Cpu *LinuxCPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
+ HugepageLimits []*HugepageLimit `protobuf:"bytes,3,rep,name=hugepage_limits,json=hugepageLimits,proto3" json:"hugepage_limits,omitempty"`
+ BlockioClass *OptionalString `protobuf:"bytes,4,opt,name=blockio_class,json=blockioClass,proto3" json:"blockio_class,omitempty"`
+ RdtClass *OptionalString `protobuf:"bytes,5,opt,name=rdt_class,json=rdtClass,proto3" json:"rdt_class,omitempty"`
+ Unified map[string]string `protobuf:"bytes,6,rep,name=unified,proto3" json:"unified,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Devices []*LinuxDeviceCgroup `protobuf:"bytes,7,rep,name=devices,proto3" json:"devices,omitempty"` // for NRI v1 emulation
+ Pids *LinuxPids `protobuf:"bytes,8,opt,name=pids,proto3" json:"pids,omitempty"`
}
-func (x *LinuxContainerAdjustment) Reset() {
- *x = LinuxContainerAdjustment{}
+func (x *LinuxResources) Reset() {
+ *x = LinuxResources{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[44]
+ mi := &file_pkg_api_api_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxContainerAdjustment) String() string {
+func (x *LinuxResources) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxContainerAdjustment) ProtoMessage() {}
+func (*LinuxResources) ProtoMessage() {}
-func (x *LinuxContainerAdjustment) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[44]
+func (x *LinuxResources) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[51]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4001,126 +3983,100 @@ func (x *LinuxContainerAdjustment) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxContainerAdjustment.ProtoReflect.Descriptor instead.
-func (*LinuxContainerAdjustment) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{44}
-}
-
-func (x *LinuxContainerAdjustment) GetDevices() []*LinuxDevice {
- if x != nil {
- return x.Devices
- }
- return nil
-}
-
-func (x *LinuxContainerAdjustment) GetResources() *LinuxResources {
- if x != nil {
- return x.Resources
- }
- return nil
-}
-
-func (x *LinuxContainerAdjustment) GetCgroupsPath() string {
- if x != nil {
- return x.CgroupsPath
- }
- return ""
-}
-
-func (x *LinuxContainerAdjustment) GetOomScoreAdj() *OptionalInt {
- if x != nil {
- return x.OomScoreAdj
- }
- return nil
+// Deprecated: Use LinuxResources.ProtoReflect.Descriptor instead.
+func (*LinuxResources) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{51}
}
-func (x *LinuxContainerAdjustment) GetIoPriority() *LinuxIOPriority {
+func (x *LinuxResources) GetMemory() *LinuxMemory {
if x != nil {
- return x.IoPriority
+ return x.Memory
}
return nil
}
-func (x *LinuxContainerAdjustment) GetSeccompPolicy() *LinuxSeccomp {
+func (x *LinuxResources) GetCpu() *LinuxCPU {
if x != nil {
- return x.SeccompPolicy
+ return x.Cpu
}
return nil
}
-func (x *LinuxContainerAdjustment) GetNamespaces() []*LinuxNamespace {
+func (x *LinuxResources) GetHugepageLimits() []*HugepageLimit {
if x != nil {
- return x.Namespaces
+ return x.HugepageLimits
}
return nil
}
-func (x *LinuxContainerAdjustment) GetSysctl() map[string]string {
+func (x *LinuxResources) GetBlockioClass() *OptionalString {
if x != nil {
- return x.Sysctl
+ return x.BlockioClass
}
return nil
}
-func (x *LinuxContainerAdjustment) GetNetDevices() map[string]*LinuxNetDevice {
+func (x *LinuxResources) GetRdtClass() *OptionalString {
if x != nil {
- return x.NetDevices
+ return x.RdtClass
}
return nil
}
-func (x *LinuxContainerAdjustment) GetScheduler() *LinuxScheduler {
+func (x *LinuxResources) GetUnified() map[string]string {
if x != nil {
- return x.Scheduler
+ return x.Unified
}
return nil
}
-func (x *LinuxContainerAdjustment) GetRdt() *LinuxRdt {
+func (x *LinuxResources) GetDevices() []*LinuxDeviceCgroup {
if x != nil {
- return x.Rdt
+ return x.Devices
}
return nil
}
-func (x *LinuxContainerAdjustment) GetMemoryPolicy() *LinuxMemoryPolicy {
+func (x *LinuxResources) GetPids() *LinuxPids {
if x != nil {
- return x.MemoryPolicy
+ return x.Pids
}
return nil
}
-type LinuxSeccomp struct {
+// Memory-related parts of (linux) resources.
+type LinuxMemory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- DefaultAction string `protobuf:"bytes,1,opt,name=default_action,json=defaultAction,proto3" json:"default_action,omitempty"`
- DefaultErrno *OptionalUInt32 `protobuf:"bytes,2,opt,name=default_errno,json=defaultErrno,proto3" json:"default_errno,omitempty"`
- Architectures []string `protobuf:"bytes,3,rep,name=architectures,proto3" json:"architectures,omitempty"`
- Flags []string `protobuf:"bytes,4,rep,name=flags,proto3" json:"flags,omitempty"`
- ListenerPath string `protobuf:"bytes,5,opt,name=listener_path,json=listenerPath,proto3" json:"listener_path,omitempty"`
- ListenerMetadata string `protobuf:"bytes,6,opt,name=listener_metadata,json=listenerMetadata,proto3" json:"listener_metadata,omitempty"`
- Syscalls []*LinuxSyscall `protobuf:"bytes,7,rep,name=syscalls,proto3" json:"syscalls,omitempty"`
+ Limit *OptionalInt64 `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
+ Reservation *OptionalInt64 `protobuf:"bytes,2,opt,name=reservation,proto3" json:"reservation,omitempty"`
+ Swap *OptionalInt64 `protobuf:"bytes,3,opt,name=swap,proto3" json:"swap,omitempty"`
+ Kernel *OptionalInt64 `protobuf:"bytes,4,opt,name=kernel,proto3" json:"kernel,omitempty"`
+ KernelTcp *OptionalInt64 `protobuf:"bytes,5,opt,name=kernel_tcp,json=kernelTcp,proto3" json:"kernel_tcp,omitempty"`
+ Swappiness *OptionalUInt64 `protobuf:"bytes,6,opt,name=swappiness,proto3" json:"swappiness,omitempty"`
+ DisableOomKiller *OptionalBool `protobuf:"bytes,7,opt,name=disable_oom_killer,json=disableOomKiller,proto3" json:"disable_oom_killer,omitempty"`
+ UseHierarchy *OptionalBool `protobuf:"bytes,8,opt,name=use_hierarchy,json=useHierarchy,proto3" json:"use_hierarchy,omitempty"`
}
-func (x *LinuxSeccomp) Reset() {
- *x = LinuxSeccomp{}
+func (x *LinuxMemory) Reset() {
+ *x = LinuxMemory{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[45]
+ mi := &file_pkg_api_api_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxSeccomp) String() string {
+func (x *LinuxMemory) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxSeccomp) ProtoMessage() {}
+func (*LinuxMemory) ProtoMessage() {}
-func (x *LinuxSeccomp) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[45]
+func (x *LinuxMemory) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[52]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4131,88 +4087,99 @@ func (x *LinuxSeccomp) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxSeccomp.ProtoReflect.Descriptor instead.
-func (*LinuxSeccomp) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{45}
+// Deprecated: Use LinuxMemory.ProtoReflect.Descriptor instead.
+func (*LinuxMemory) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{52}
}
-func (x *LinuxSeccomp) GetDefaultAction() string {
+func (x *LinuxMemory) GetLimit() *OptionalInt64 {
if x != nil {
- return x.DefaultAction
+ return x.Limit
}
- return ""
+ return nil
}
-func (x *LinuxSeccomp) GetDefaultErrno() *OptionalUInt32 {
+func (x *LinuxMemory) GetReservation() *OptionalInt64 {
if x != nil {
- return x.DefaultErrno
+ return x.Reservation
}
return nil
}
-func (x *LinuxSeccomp) GetArchitectures() []string {
+func (x *LinuxMemory) GetSwap() *OptionalInt64 {
if x != nil {
- return x.Architectures
+ return x.Swap
}
return nil
}
-func (x *LinuxSeccomp) GetFlags() []string {
+func (x *LinuxMemory) GetKernel() *OptionalInt64 {
if x != nil {
- return x.Flags
+ return x.Kernel
}
return nil
}
-func (x *LinuxSeccomp) GetListenerPath() string {
+func (x *LinuxMemory) GetKernelTcp() *OptionalInt64 {
if x != nil {
- return x.ListenerPath
+ return x.KernelTcp
}
- return ""
+ return nil
}
-func (x *LinuxSeccomp) GetListenerMetadata() string {
+func (x *LinuxMemory) GetSwappiness() *OptionalUInt64 {
if x != nil {
- return x.ListenerMetadata
+ return x.Swappiness
}
- return ""
+ return nil
}
-func (x *LinuxSeccomp) GetSyscalls() []*LinuxSyscall {
+func (x *LinuxMemory) GetDisableOomKiller() *OptionalBool {
if x != nil {
- return x.Syscalls
+ return x.DisableOomKiller
}
return nil
}
-type LinuxSyscall struct {
+func (x *LinuxMemory) GetUseHierarchy() *OptionalBool {
+ if x != nil {
+ return x.UseHierarchy
+ }
+ return nil
+}
+
+// CPU-related parts of (linux) resources.
+type LinuxCPU struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
- Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
- ErrnoRet *OptionalUInt32 `protobuf:"bytes,3,opt,name=errno_ret,json=errnoRet,proto3" json:"errno_ret,omitempty"`
- Args []*LinuxSeccompArg `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
+ Shares *OptionalUInt64 `protobuf:"bytes,1,opt,name=shares,proto3" json:"shares,omitempty"`
+ Quota *OptionalInt64 `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"`
+ Period *OptionalUInt64 `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"`
+ RealtimeRuntime *OptionalInt64 `protobuf:"bytes,4,opt,name=realtime_runtime,json=realtimeRuntime,proto3" json:"realtime_runtime,omitempty"`
+ RealtimePeriod *OptionalUInt64 `protobuf:"bytes,5,opt,name=realtime_period,json=realtimePeriod,proto3" json:"realtime_period,omitempty"`
+ Cpus string `protobuf:"bytes,6,opt,name=cpus,proto3" json:"cpus,omitempty"`
+ Mems string `protobuf:"bytes,7,opt,name=mems,proto3" json:"mems,omitempty"`
}
-func (x *LinuxSyscall) Reset() {
- *x = LinuxSyscall{}
+func (x *LinuxCPU) Reset() {
+ *x = LinuxCPU{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[46]
+ mi := &file_pkg_api_api_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxSyscall) String() string {
+func (x *LinuxCPU) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxSyscall) ProtoMessage() {}
+func (*LinuxCPU) ProtoMessage() {}
-func (x *LinuxSyscall) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[46]
+func (x *LinuxCPU) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[53]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4223,67 +4190,87 @@ func (x *LinuxSyscall) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxSyscall.ProtoReflect.Descriptor instead.
-func (*LinuxSyscall) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{46}
+// Deprecated: Use LinuxCPU.ProtoReflect.Descriptor instead.
+func (*LinuxCPU) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{53}
}
-func (x *LinuxSyscall) GetNames() []string {
+func (x *LinuxCPU) GetShares() *OptionalUInt64 {
if x != nil {
- return x.Names
+ return x.Shares
}
return nil
}
-func (x *LinuxSyscall) GetAction() string {
+func (x *LinuxCPU) GetQuota() *OptionalInt64 {
if x != nil {
- return x.Action
+ return x.Quota
}
- return ""
+ return nil
}
-func (x *LinuxSyscall) GetErrnoRet() *OptionalUInt32 {
+func (x *LinuxCPU) GetPeriod() *OptionalUInt64 {
if x != nil {
- return x.ErrnoRet
+ return x.Period
}
return nil
}
-func (x *LinuxSyscall) GetArgs() []*LinuxSeccompArg {
+func (x *LinuxCPU) GetRealtimeRuntime() *OptionalInt64 {
if x != nil {
- return x.Args
+ return x.RealtimeRuntime
}
return nil
}
-type LinuxSeccompArg struct {
+func (x *LinuxCPU) GetRealtimePeriod() *OptionalUInt64 {
+ if x != nil {
+ return x.RealtimePeriod
+ }
+ return nil
+}
+
+func (x *LinuxCPU) GetCpus() string {
+ if x != nil {
+ return x.Cpus
+ }
+ return ""
+}
+
+func (x *LinuxCPU) GetMems() string {
+ if x != nil {
+ return x.Mems
+ }
+ return ""
+}
+
+// Container huge page limit.
+type HugepageLimit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
- Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
- ValueTwo uint64 `protobuf:"varint,3,opt,name=value_two,json=valueTwo,proto3" json:"value_two,omitempty"`
- Op string `protobuf:"bytes,4,opt,name=op,proto3" json:"op,omitempty"`
+ PageSize string `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
+ Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
}
-func (x *LinuxSeccompArg) Reset() {
- *x = LinuxSeccompArg{}
+func (x *HugepageLimit) Reset() {
+ *x = HugepageLimit{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[47]
+ mi := &file_pkg_api_api_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxSeccompArg) String() string {
+func (x *HugepageLimit) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxSeccompArg) ProtoMessage() {}
+func (*HugepageLimit) ProtoMessage() {}
-func (x *LinuxSeccompArg) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[47]
+func (x *HugepageLimit) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[54]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4294,67 +4281,52 @@ func (x *LinuxSeccompArg) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxSeccompArg.ProtoReflect.Descriptor instead.
-func (*LinuxSeccompArg) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{47}
+// Deprecated: Use HugepageLimit.ProtoReflect.Descriptor instead.
+func (*HugepageLimit) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{54}
}
-func (x *LinuxSeccompArg) GetIndex() uint32 {
+func (x *HugepageLimit) GetPageSize() string {
if x != nil {
- return x.Index
+ return x.PageSize
}
- return 0
+ return ""
}
-func (x *LinuxSeccompArg) GetValue() uint64 {
+func (x *HugepageLimit) GetLimit() uint64 {
if x != nil {
- return x.Value
+ return x.Limit
}
return 0
}
-func (x *LinuxSeccompArg) GetValueTwo() uint64 {
- if x != nil {
- return x.ValueTwo
- }
- return 0
-}
-
-func (x *LinuxSeccompArg) GetOp() string {
- if x != nil {
- return x.Op
- }
- return ""
-}
-
-// Memory policy of a container being created.
-type LinuxMemoryPolicy struct {
+// SecurityProfile for container.
+type SecurityProfile struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Mode MpolMode `protobuf:"varint,1,opt,name=mode,proto3,enum=nri.pkg.api.v1alpha1.MpolMode" json:"mode,omitempty"`
- Nodes string `protobuf:"bytes,2,opt,name=nodes,proto3" json:"nodes,omitempty"`
- Flags []MpolFlag `protobuf:"varint,3,rep,packed,name=flags,proto3,enum=nri.pkg.api.v1alpha1.MpolFlag" json:"flags,omitempty"`
+ ProfileType SecurityProfile_ProfileType `protobuf:"varint,1,opt,name=profile_type,json=profileType,proto3,enum=nri.pkg.api.v1alpha1.SecurityProfile_ProfileType" json:"profile_type,omitempty"`
+ LocalhostRef string `protobuf:"bytes,2,opt,name=localhost_ref,json=localhostRef,proto3" json:"localhost_ref,omitempty"`
}
-func (x *LinuxMemoryPolicy) Reset() {
- *x = LinuxMemoryPolicy{}
+func (x *SecurityProfile) Reset() {
+ *x = SecurityProfile{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[48]
+ mi := &file_pkg_api_api_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxMemoryPolicy) String() string {
+func (x *SecurityProfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxMemoryPolicy) ProtoMessage() {}
+func (*SecurityProfile) ProtoMessage() {}
-func (x *LinuxMemoryPolicy) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[48]
+func (x *SecurityProfile) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[55]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4365,60 +4337,53 @@ func (x *LinuxMemoryPolicy) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxMemoryPolicy.ProtoReflect.Descriptor instead.
-func (*LinuxMemoryPolicy) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{48}
+// Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.
+func (*SecurityProfile) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{55}
}
-func (x *LinuxMemoryPolicy) GetMode() MpolMode {
+func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType {
if x != nil {
- return x.Mode
+ return x.ProfileType
}
- return MpolMode_MPOL_DEFAULT
+ return SecurityProfile_RUNTIME_DEFAULT
}
-func (x *LinuxMemoryPolicy) GetNodes() string {
+func (x *SecurityProfile) GetLocalhostRef() string {
if x != nil {
- return x.Nodes
+ return x.LocalhostRef
}
return ""
}
-func (x *LinuxMemoryPolicy) GetFlags() []MpolFlag {
- if x != nil {
- return x.Flags
- }
- return nil
-}
-
-// Requested update to an already created container.
-type ContainerUpdate struct {
+// Container rlimits
+type POSIXRlimit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
- Linux *LinuxContainerUpdate `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"`
- IgnoreFailure bool `protobuf:"varint,3,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty"`
+ Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
+ Hard uint64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"`
+ Soft uint64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"`
}
-func (x *ContainerUpdate) Reset() {
- *x = ContainerUpdate{}
+func (x *POSIXRlimit) Reset() {
+ *x = POSIXRlimit{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[49]
+ mi := &file_pkg_api_api_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *ContainerUpdate) String() string {
+func (x *POSIXRlimit) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ContainerUpdate) ProtoMessage() {}
+func (*POSIXRlimit) ProtoMessage() {}
-func (x *ContainerUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[49]
+func (x *POSIXRlimit) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[56]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4429,58 +4394,58 @@ func (x *ContainerUpdate) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ContainerUpdate.ProtoReflect.Descriptor instead.
-func (*ContainerUpdate) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{49}
+// Deprecated: Use POSIXRlimit.ProtoReflect.Descriptor instead.
+func (*POSIXRlimit) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{56}
}
-func (x *ContainerUpdate) GetContainerId() string {
+func (x *POSIXRlimit) GetType() string {
if x != nil {
- return x.ContainerId
+ return x.Type
}
return ""
}
-func (x *ContainerUpdate) GetLinux() *LinuxContainerUpdate {
+func (x *POSIXRlimit) GetHard() uint64 {
if x != nil {
- return x.Linux
+ return x.Hard
}
- return nil
+ return 0
}
-func (x *ContainerUpdate) GetIgnoreFailure() bool {
+func (x *POSIXRlimit) GetSoft() uint64 {
if x != nil {
- return x.IgnoreFailure
+ return x.Soft
}
- return false
+ return 0
}
-// Updates to (linux) resources.
-type LinuxContainerUpdate struct {
+// Pids-related parts of (linux) resources.
+type LinuxPids struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Resources *LinuxResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
+ Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
}
-func (x *LinuxContainerUpdate) Reset() {
- *x = LinuxContainerUpdate{}
+func (x *LinuxPids) Reset() {
+ *x = LinuxPids{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[50]
+ mi := &file_pkg_api_api_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxContainerUpdate) String() string {
+func (x *LinuxPids) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxContainerUpdate) ProtoMessage() {}
+func (*LinuxPids) ProtoMessage() {}
-func (x *LinuxContainerUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[50]
+func (x *LinuxPids) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[57]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4491,47 +4456,46 @@ func (x *LinuxContainerUpdate) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxContainerUpdate.ProtoReflect.Descriptor instead.
-func (*LinuxContainerUpdate) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{50}
+// Deprecated: Use LinuxPids.ProtoReflect.Descriptor instead.
+func (*LinuxPids) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{57}
}
-func (x *LinuxContainerUpdate) GetResources() *LinuxResources {
+func (x *LinuxPids) GetLimit() int64 {
if x != nil {
- return x.Resources
+ return x.Limit
}
- return nil
+ return 0
}
-// Request to evict (IOW unsolicitedly stop) a container.
-type ContainerEviction struct {
+type LinuxIOPriority struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Container to evict.
- ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
- // Human-readable reason for eviction.
- Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
+ // Scheduling class of the IO priority.
+ Class IOPrioClass `protobuf:"varint,1,opt,name=class,proto3,enum=nri.pkg.api.v1alpha1.IOPrioClass" json:"class,omitempty"`
+ // The value of the IO priority.
+ Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
}
-func (x *ContainerEviction) Reset() {
- *x = ContainerEviction{}
+func (x *LinuxIOPriority) Reset() {
+ *x = LinuxIOPriority{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[51]
+ mi := &file_pkg_api_api_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *ContainerEviction) String() string {
+func (x *LinuxIOPriority) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ContainerEviction) ProtoMessage() {}
+func (*LinuxIOPriority) ProtoMessage() {}
-func (x *ContainerEviction) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[51]
+func (x *LinuxIOPriority) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[58]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4542,54 +4506,51 @@ func (x *ContainerEviction) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ContainerEviction.ProtoReflect.Descriptor instead.
-func (*ContainerEviction) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{51}
+// Deprecated: Use LinuxIOPriority.ProtoReflect.Descriptor instead.
+func (*LinuxIOPriority) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{58}
}
-func (x *ContainerEviction) GetContainerId() string {
+func (x *LinuxIOPriority) GetClass() IOPrioClass {
if x != nil {
- return x.ContainerId
+ return x.Class
}
- return ""
+ return IOPrioClass_IOPRIO_CLASS_NONE
}
-func (x *ContainerEviction) GetReason() string {
+func (x *LinuxIOPriority) GetPriority() int32 {
if x != nil {
- return x.Reason
+ return x.Priority
}
- return ""
+ return 0
}
-type LinuxRdt struct {
+// A linux network device.
+type LinuxNetDevice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- ClosId *OptionalString `protobuf:"bytes,1,opt,name=clos_id,json=closId,proto3" json:"clos_id,omitempty"`
- Schemata *OptionalRepeatedString `protobuf:"bytes,2,opt,name=schemata,proto3" json:"schemata,omitempty"`
- EnableMonitoring *OptionalBool `protobuf:"bytes,3,opt,name=enable_monitoring,json=enableMonitoring,proto3" json:"enable_monitoring,omitempty"`
- // NRI specific field to mark the RDT config for removal.
- Remove bool `protobuf:"varint,4,opt,name=remove,proto3" json:"remove,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
-func (x *LinuxRdt) Reset() {
- *x = LinuxRdt{}
+func (x *LinuxNetDevice) Reset() {
+ *x = LinuxNetDevice{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[52]
+ mi := &file_pkg_api_api_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LinuxRdt) String() string {
+func (x *LinuxNetDevice) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LinuxRdt) ProtoMessage() {}
+func (*LinuxNetDevice) ProtoMessage() {}
-func (x *LinuxRdt) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[52]
+func (x *LinuxNetDevice) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[59]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4600,66 +4561,50 @@ func (x *LinuxRdt) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LinuxRdt.ProtoReflect.Descriptor instead.
-func (*LinuxRdt) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{52}
-}
-
-func (x *LinuxRdt) GetClosId() *OptionalString {
- if x != nil {
- return x.ClosId
- }
- return nil
-}
-
-func (x *LinuxRdt) GetSchemata() *OptionalRepeatedString {
- if x != nil {
- return x.Schemata
- }
- return nil
-}
-
-func (x *LinuxRdt) GetEnableMonitoring() *OptionalBool {
- if x != nil {
- return x.EnableMonitoring
- }
- return nil
+// Deprecated: Use LinuxNetDevice.ProtoReflect.Descriptor instead.
+func (*LinuxNetDevice) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{59}
}
-func (x *LinuxRdt) GetRemove() bool {
+func (x *LinuxNetDevice) GetName() string {
if x != nil {
- return x.Remove
+ return x.Name
}
- return false
+ return ""
}
-// KeyValue represents an environment variable.
-type KeyValue struct {
+// Linux process scheduling attributes.
+type LinuxScheduler struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
- Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
+ Policy LinuxSchedulerPolicy `protobuf:"varint,1,opt,name=policy,proto3,enum=nri.pkg.api.v1alpha1.LinuxSchedulerPolicy" json:"policy,omitempty"`
+ Nice int32 `protobuf:"varint,2,opt,name=nice,proto3" json:"nice,omitempty"`
+ Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
+ Flags []LinuxSchedulerFlag `protobuf:"varint,4,rep,packed,name=flags,proto3,enum=nri.pkg.api.v1alpha1.LinuxSchedulerFlag" json:"flags,omitempty"`
+ Runtime uint64 `protobuf:"varint,5,opt,name=runtime,proto3" json:"runtime,omitempty"`
+ Deadline uint64 `protobuf:"varint,6,opt,name=deadline,proto3" json:"deadline,omitempty"`
+ Period uint64 `protobuf:"varint,7,opt,name=period,proto3" json:"period,omitempty"`
}
-func (x *KeyValue) Reset() {
- *x = KeyValue{}
+func (x *LinuxScheduler) Reset() {
+ *x = LinuxScheduler{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[53]
+ mi := &file_pkg_api_api_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *KeyValue) String() string {
+func (x *LinuxScheduler) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*KeyValue) ProtoMessage() {}
+func (*LinuxScheduler) ProtoMessage() {}
-func (x *KeyValue) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[53]
+func (x *LinuxScheduler) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[60]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4670,99 +4615,93 @@ func (x *KeyValue) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.
-func (*KeyValue) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{53}
+// Deprecated: Use LinuxScheduler.ProtoReflect.Descriptor instead.
+func (*LinuxScheduler) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{60}
}
-func (x *KeyValue) GetKey() string {
+func (x *LinuxScheduler) GetPolicy() LinuxSchedulerPolicy {
if x != nil {
- return x.Key
+ return x.Policy
}
- return ""
+ return LinuxSchedulerPolicy_SCHED_NONE
}
-func (x *KeyValue) GetValue() string {
+func (x *LinuxScheduler) GetNice() int32 {
if x != nil {
- return x.Value
+ return x.Nice
}
- return ""
-}
-
-// An optional string value.
-type OptionalString struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
+ return 0
}
-func (x *OptionalString) Reset() {
- *x = OptionalString{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[54]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *LinuxScheduler) GetPriority() int32 {
+ if x != nil {
+ return x.Priority
}
+ return 0
}
-func (x *OptionalString) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *LinuxScheduler) GetFlags() []LinuxSchedulerFlag {
+ if x != nil {
+ return x.Flags
+ }
+ return nil
}
-func (*OptionalString) ProtoMessage() {}
-
-func (x *OptionalString) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[54]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *LinuxScheduler) GetRuntime() uint64 {
+ if x != nil {
+ return x.Runtime
}
- return mi.MessageOf(x)
+ return 0
}
-// Deprecated: Use OptionalString.ProtoReflect.Descriptor instead.
-func (*OptionalString) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{54}
+func (x *LinuxScheduler) GetDeadline() uint64 {
+ if x != nil {
+ return x.Deadline
+ }
+ return 0
}
-func (x *OptionalString) GetValue() string {
+func (x *LinuxScheduler) GetPeriod() uint64 {
if x != nil {
- return x.Value
+ return x.Period
}
- return ""
+ return 0
}
-// An optional collection of strings.
-type OptionalRepeatedString struct {
+// Requested adjustments to a container being created.
+type ContainerAdjustment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
+ Annotations map[string]string `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Mounts []*Mount `protobuf:"bytes,3,rep,name=mounts,proto3" json:"mounts,omitempty"`
+ Env []*KeyValue `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
+ Hooks *Hooks `protobuf:"bytes,5,opt,name=hooks,proto3" json:"hooks,omitempty"`
+ Linux *LinuxContainerAdjustment `protobuf:"bytes,6,opt,name=linux,proto3" json:"linux,omitempty"`
+ Rlimits []*POSIXRlimit `protobuf:"bytes,7,rep,name=rlimits,proto3" json:"rlimits,omitempty"`
+ CDIDevices []*CDIDevice `protobuf:"bytes,8,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
+ Args []string `protobuf:"bytes,9,rep,name=args,proto3" json:"args,omitempty"`
}
-func (x *OptionalRepeatedString) Reset() {
- *x = OptionalRepeatedString{}
+func (x *ContainerAdjustment) Reset() {
+ *x = ContainerAdjustment{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[55]
+ mi := &file_pkg_api_api_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OptionalRepeatedString) String() string {
+func (x *ContainerAdjustment) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OptionalRepeatedString) ProtoMessage() {}
+func (*ContainerAdjustment) ProtoMessage() {}
-func (x *OptionalRepeatedString) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[55]
+func (x *ContainerAdjustment) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[61]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4773,92 +4712,104 @@ func (x *OptionalRepeatedString) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OptionalRepeatedString.ProtoReflect.Descriptor instead.
-func (*OptionalRepeatedString) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{55}
+// Deprecated: Use ContainerAdjustment.ProtoReflect.Descriptor instead.
+func (*ContainerAdjustment) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{61}
}
-func (x *OptionalRepeatedString) GetValue() []string {
+func (x *ContainerAdjustment) GetAnnotations() map[string]string {
if x != nil {
- return x.Value
+ return x.Annotations
}
return nil
}
-// An optional signed integer value.
-type OptionalInt struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+func (x *ContainerAdjustment) GetMounts() []*Mount {
+ if x != nil {
+ return x.Mounts
+ }
+ return nil
}
-func (x *OptionalInt) Reset() {
- *x = OptionalInt{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[56]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *ContainerAdjustment) GetEnv() []*KeyValue {
+ if x != nil {
+ return x.Env
}
+ return nil
}
-func (x *OptionalInt) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *ContainerAdjustment) GetHooks() *Hooks {
+ if x != nil {
+ return x.Hooks
+ }
+ return nil
}
-func (*OptionalInt) ProtoMessage() {}
+func (x *ContainerAdjustment) GetLinux() *LinuxContainerAdjustment {
+ if x != nil {
+ return x.Linux
+ }
+ return nil
+}
-func (x *OptionalInt) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[56]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *ContainerAdjustment) GetRlimits() []*POSIXRlimit {
+ if x != nil {
+ return x.Rlimits
}
- return mi.MessageOf(x)
+ return nil
}
-// Deprecated: Use OptionalInt.ProtoReflect.Descriptor instead.
-func (*OptionalInt) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{56}
+func (x *ContainerAdjustment) GetCDIDevices() []*CDIDevice {
+ if x != nil {
+ return x.CDIDevices
+ }
+ return nil
}
-func (x *OptionalInt) GetValue() int64 {
+func (x *ContainerAdjustment) GetArgs() []string {
if x != nil {
- return x.Value
+ return x.Args
}
- return 0
+ return nil
}
-// An optional 32-bit signed integer value.
-type OptionalInt32 struct {
+// Adjustments to (linux) resources.
+type LinuxContainerAdjustment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+ Devices []*LinuxDevice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
+ Resources *LinuxResources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
+ CgroupsPath string `protobuf:"bytes,3,opt,name=cgroups_path,json=cgroupsPath,proto3" json:"cgroups_path,omitempty"`
+ OomScoreAdj *OptionalInt `protobuf:"bytes,4,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
+ IoPriority *LinuxIOPriority `protobuf:"bytes,5,opt,name=io_priority,json=ioPriority,proto3" json:"io_priority,omitempty"`
+ SeccompPolicy *LinuxSeccomp `protobuf:"bytes,6,opt,name=seccomp_policy,json=seccompPolicy,proto3" json:"seccomp_policy,omitempty"`
+ Namespaces []*LinuxNamespace `protobuf:"bytes,7,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
+ Sysctl map[string]string `protobuf:"bytes,8,rep,name=sysctl,proto3" json:"sysctl,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ NetDevices map[string]*LinuxNetDevice `protobuf:"bytes,9,rep,name=net_devices,json=netDevices,proto3" json:"net_devices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Scheduler *LinuxScheduler `protobuf:"bytes,10,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
+ Rdt *LinuxRdt `protobuf:"bytes,11,opt,name=rdt,proto3" json:"rdt,omitempty"`
+ MemoryPolicy *LinuxMemoryPolicy `protobuf:"bytes,12,opt,name=memory_policy,json=memoryPolicy,proto3" json:"memory_policy,omitempty"`
}
-func (x *OptionalInt32) Reset() {
- *x = OptionalInt32{}
+func (x *LinuxContainerAdjustment) Reset() {
+ *x = LinuxContainerAdjustment{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[57]
+ mi := &file_pkg_api_api_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OptionalInt32) String() string {
+func (x *LinuxContainerAdjustment) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OptionalInt32) ProtoMessage() {}
+func (*LinuxContainerAdjustment) ProtoMessage() {}
-func (x *OptionalInt32) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[57]
+func (x *LinuxContainerAdjustment) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[62]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4869,92 +4820,126 @@ func (x *OptionalInt32) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OptionalInt32.ProtoReflect.Descriptor instead.
-func (*OptionalInt32) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{57}
+// Deprecated: Use LinuxContainerAdjustment.ProtoReflect.Descriptor instead.
+func (*LinuxContainerAdjustment) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{62}
}
-func (x *OptionalInt32) GetValue() int32 {
+func (x *LinuxContainerAdjustment) GetDevices() []*LinuxDevice {
if x != nil {
- return x.Value
+ return x.Devices
}
- return 0
+ return nil
}
-// An optional 32-bit unsigned integer value.
-type OptionalUInt32 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+func (x *LinuxContainerAdjustment) GetResources() *LinuxResources {
+ if x != nil {
+ return x.Resources
+ }
+ return nil
}
-func (x *OptionalUInt32) Reset() {
- *x = OptionalUInt32{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[58]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *LinuxContainerAdjustment) GetCgroupsPath() string {
+ if x != nil {
+ return x.CgroupsPath
}
+ return ""
}
-func (x *OptionalUInt32) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *LinuxContainerAdjustment) GetOomScoreAdj() *OptionalInt {
+ if x != nil {
+ return x.OomScoreAdj
+ }
+ return nil
}
-func (*OptionalUInt32) ProtoMessage() {}
-
-func (x *OptionalUInt32) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[58]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *LinuxContainerAdjustment) GetIoPriority() *LinuxIOPriority {
+ if x != nil {
+ return x.IoPriority
}
- return mi.MessageOf(x)
+ return nil
}
-// Deprecated: Use OptionalUInt32.ProtoReflect.Descriptor instead.
-func (*OptionalUInt32) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{58}
+func (x *LinuxContainerAdjustment) GetSeccompPolicy() *LinuxSeccomp {
+ if x != nil {
+ return x.SeccompPolicy
+ }
+ return nil
}
-func (x *OptionalUInt32) GetValue() uint32 {
+func (x *LinuxContainerAdjustment) GetNamespaces() []*LinuxNamespace {
if x != nil {
- return x.Value
+ return x.Namespaces
}
- return 0
+ return nil
}
-// An optional 64-bit signed integer value.
-type OptionalInt64 struct {
+func (x *LinuxContainerAdjustment) GetSysctl() map[string]string {
+ if x != nil {
+ return x.Sysctl
+ }
+ return nil
+}
+
+func (x *LinuxContainerAdjustment) GetNetDevices() map[string]*LinuxNetDevice {
+ if x != nil {
+ return x.NetDevices
+ }
+ return nil
+}
+
+func (x *LinuxContainerAdjustment) GetScheduler() *LinuxScheduler {
+ if x != nil {
+ return x.Scheduler
+ }
+ return nil
+}
+
+func (x *LinuxContainerAdjustment) GetRdt() *LinuxRdt {
+ if x != nil {
+ return x.Rdt
+ }
+ return nil
+}
+
+func (x *LinuxContainerAdjustment) GetMemoryPolicy() *LinuxMemoryPolicy {
+ if x != nil {
+ return x.MemoryPolicy
+ }
+ return nil
+}
+
+type LinuxSeccomp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+ DefaultAction string `protobuf:"bytes,1,opt,name=default_action,json=defaultAction,proto3" json:"default_action,omitempty"`
+ DefaultErrno *OptionalUInt32 `protobuf:"bytes,2,opt,name=default_errno,json=defaultErrno,proto3" json:"default_errno,omitempty"`
+ Architectures []string `protobuf:"bytes,3,rep,name=architectures,proto3" json:"architectures,omitempty"`
+ Flags []string `protobuf:"bytes,4,rep,name=flags,proto3" json:"flags,omitempty"`
+ ListenerPath string `protobuf:"bytes,5,opt,name=listener_path,json=listenerPath,proto3" json:"listener_path,omitempty"`
+ ListenerMetadata string `protobuf:"bytes,6,opt,name=listener_metadata,json=listenerMetadata,proto3" json:"listener_metadata,omitempty"`
+ Syscalls []*LinuxSyscall `protobuf:"bytes,7,rep,name=syscalls,proto3" json:"syscalls,omitempty"`
}
-func (x *OptionalInt64) Reset() {
- *x = OptionalInt64{}
+func (x *LinuxSeccomp) Reset() {
+ *x = LinuxSeccomp{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[59]
+ mi := &file_pkg_api_api_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OptionalInt64) String() string {
+func (x *LinuxSeccomp) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OptionalInt64) ProtoMessage() {}
+func (*LinuxSeccomp) ProtoMessage() {}
-func (x *OptionalInt64) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[59]
+func (x *LinuxSeccomp) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[63]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4965,92 +4950,88 @@ func (x *OptionalInt64) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OptionalInt64.ProtoReflect.Descriptor instead.
-func (*OptionalInt64) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{59}
+// Deprecated: Use LinuxSeccomp.ProtoReflect.Descriptor instead.
+func (*LinuxSeccomp) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{63}
}
-func (x *OptionalInt64) GetValue() int64 {
+func (x *LinuxSeccomp) GetDefaultAction() string {
if x != nil {
- return x.Value
+ return x.DefaultAction
}
- return 0
+ return ""
}
-// An optional 64-bit unsigned integer value.
-type OptionalUInt64 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+func (x *LinuxSeccomp) GetDefaultErrno() *OptionalUInt32 {
+ if x != nil {
+ return x.DefaultErrno
+ }
+ return nil
}
-func (x *OptionalUInt64) Reset() {
- *x = OptionalUInt64{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[60]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *LinuxSeccomp) GetArchitectures() []string {
+ if x != nil {
+ return x.Architectures
}
+ return nil
}
-func (x *OptionalUInt64) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *LinuxSeccomp) GetFlags() []string {
+ if x != nil {
+ return x.Flags
+ }
+ return nil
}
-func (*OptionalUInt64) ProtoMessage() {}
-
-func (x *OptionalUInt64) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[60]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *LinuxSeccomp) GetListenerPath() string {
+ if x != nil {
+ return x.ListenerPath
}
- return mi.MessageOf(x)
+ return ""
}
-// Deprecated: Use OptionalUInt64.ProtoReflect.Descriptor instead.
-func (*OptionalUInt64) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{60}
+func (x *LinuxSeccomp) GetListenerMetadata() string {
+ if x != nil {
+ return x.ListenerMetadata
+ }
+ return ""
}
-func (x *OptionalUInt64) GetValue() uint64 {
+func (x *LinuxSeccomp) GetSyscalls() []*LinuxSyscall {
if x != nil {
- return x.Value
+ return x.Syscalls
}
- return 0
+ return nil
}
-// An optional boolean value.
-type OptionalBool struct {
+type LinuxSyscall struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+ Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
+ Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
+ ErrnoRet *OptionalUInt32 `protobuf:"bytes,3,opt,name=errno_ret,json=errnoRet,proto3" json:"errno_ret,omitempty"`
+ Args []*LinuxSeccompArg `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
}
-func (x *OptionalBool) Reset() {
- *x = OptionalBool{}
+func (x *LinuxSyscall) Reset() {
+ *x = LinuxSyscall{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[61]
+ mi := &file_pkg_api_api_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OptionalBool) String() string {
+func (x *LinuxSyscall) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OptionalBool) ProtoMessage() {}
+func (*LinuxSyscall) ProtoMessage() {}
-func (x *OptionalBool) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[61]
+func (x *LinuxSyscall) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[64]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5061,44 +5042,67 @@ func (x *OptionalBool) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OptionalBool.ProtoReflect.Descriptor instead.
-func (*OptionalBool) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{61}
+// Deprecated: Use LinuxSyscall.ProtoReflect.Descriptor instead.
+func (*LinuxSyscall) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{64}
}
-func (x *OptionalBool) GetValue() bool {
+func (x *LinuxSyscall) GetNames() []string {
if x != nil {
- return x.Value
+ return x.Names
}
- return false
+ return nil
}
-// An optional value of file permissions.
-type OptionalFileMode struct {
+func (x *LinuxSyscall) GetAction() string {
+ if x != nil {
+ return x.Action
+ }
+ return ""
+}
+
+func (x *LinuxSyscall) GetErrnoRet() *OptionalUInt32 {
+ if x != nil {
+ return x.ErrnoRet
+ }
+ return nil
+}
+
+func (x *LinuxSyscall) GetArgs() []*LinuxSeccompArg {
+ if x != nil {
+ return x.Args
+ }
+ return nil
+}
+
+type LinuxSeccompArg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+ Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
+ Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
+ ValueTwo uint64 `protobuf:"varint,3,opt,name=value_two,json=valueTwo,proto3" json:"value_two,omitempty"`
+ Op string `protobuf:"bytes,4,opt,name=op,proto3" json:"op,omitempty"`
}
-func (x *OptionalFileMode) Reset() {
- *x = OptionalFileMode{}
+func (x *LinuxSeccompArg) Reset() {
+ *x = LinuxSeccompArg{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[62]
+ mi := &file_pkg_api_api_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OptionalFileMode) String() string {
+func (x *LinuxSeccompArg) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OptionalFileMode) ProtoMessage() {}
+func (*LinuxSeccompArg) ProtoMessage() {}
-func (x *OptionalFileMode) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[62]
+func (x *LinuxSeccompArg) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[65]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5109,49 +5113,67 @@ func (x *OptionalFileMode) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OptionalFileMode.ProtoReflect.Descriptor instead.
-func (*OptionalFileMode) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{62}
+// Deprecated: Use LinuxSeccompArg.ProtoReflect.Descriptor instead.
+func (*LinuxSeccompArg) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{65}
}
-func (x *OptionalFileMode) GetValue() uint32 {
+func (x *LinuxSeccompArg) GetIndex() uint32 {
+ if x != nil {
+ return x.Index
+ }
+ return 0
+}
+
+func (x *LinuxSeccompArg) GetValue() uint64 {
if x != nil {
return x.Value
}
return 0
}
-// CompoundFieldOwners tracks 'plugin ownership' of compound fields
-// which can be adjusted entry by entry, typically maps or slices.
-// It is used to track ownership for annotations, mounts, devices,
-// environment variables, hugepage limits, etc. The key identifies
-// the owned entry (annotation key, mount destination, device path,
-// environment variable name, etc.). The value is the owning plugin.
-type CompoundFieldOwners struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
+func (x *LinuxSeccompArg) GetValueTwo() uint64 {
+ if x != nil {
+ return x.ValueTwo
+ }
+ return 0
+}
+
+func (x *LinuxSeccompArg) GetOp() string {
+ if x != nil {
+ return x.Op
+ }
+ return ""
+}
+
+// Memory policy of a container being created.
+type LinuxMemoryPolicy struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Owners map[string]string `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Mode MpolMode `protobuf:"varint,1,opt,name=mode,proto3,enum=nri.pkg.api.v1alpha1.MpolMode" json:"mode,omitempty"`
+ Nodes string `protobuf:"bytes,2,opt,name=nodes,proto3" json:"nodes,omitempty"`
+ Flags []MpolFlag `protobuf:"varint,3,rep,packed,name=flags,proto3,enum=nri.pkg.api.v1alpha1.MpolFlag" json:"flags,omitempty"`
}
-func (x *CompoundFieldOwners) Reset() {
- *x = CompoundFieldOwners{}
+func (x *LinuxMemoryPolicy) Reset() {
+ *x = LinuxMemoryPolicy{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[63]
+ mi := &file_pkg_api_api_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *CompoundFieldOwners) String() string {
+func (x *LinuxMemoryPolicy) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*CompoundFieldOwners) ProtoMessage() {}
+func (*LinuxMemoryPolicy) ProtoMessage() {}
-func (x *CompoundFieldOwners) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[63]
+func (x *LinuxMemoryPolicy) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[66]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5162,51 +5184,60 @@ func (x *CompoundFieldOwners) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use CompoundFieldOwners.ProtoReflect.Descriptor instead.
-func (*CompoundFieldOwners) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{63}
+// Deprecated: Use LinuxMemoryPolicy.ProtoReflect.Descriptor instead.
+func (*LinuxMemoryPolicy) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{66}
}
-func (x *CompoundFieldOwners) GetOwners() map[string]string {
+func (x *LinuxMemoryPolicy) GetMode() MpolMode {
if x != nil {
- return x.Owners
+ return x.Mode
+ }
+ return MpolMode_MPOL_DEFAULT
+}
+
+func (x *LinuxMemoryPolicy) GetNodes() string {
+ if x != nil {
+ return x.Nodes
+ }
+ return ""
+}
+
+func (x *LinuxMemoryPolicy) GetFlags() []MpolFlag {
+ if x != nil {
+ return x.Flags
}
return nil
}
-// FieldOwners tracks field 'plugin ownership' for a single container.
-// Keys represent adjustable fields of a container. For simple fields,
-// the value is the plugin that last modified the field. For compound
-// fields, the value is a CompoundFieldOwners which provides tracking
-// 'plugin ownership' per field for compound data, typically maps and
-// slices. Field enum values are used to index both maps, using Key()
-// to get the int32 for the Field.
-type FieldOwners struct {
+// Requested update to an already created container.
+type ContainerUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Simple map[int32]string `protobuf:"bytes,1,rep,name=simple,proto3" json:"simple,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Compound map[int32]*CompoundFieldOwners `protobuf:"bytes,2,rep,name=compound,proto3" json:"compound,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
+ Linux *LinuxContainerUpdate `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"`
+ IgnoreFailure bool `protobuf:"varint,3,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty"`
}
-func (x *FieldOwners) Reset() {
- *x = FieldOwners{}
+func (x *ContainerUpdate) Reset() {
+ *x = ContainerUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[64]
+ mi := &file_pkg_api_api_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *FieldOwners) String() string {
+func (x *ContainerUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*FieldOwners) ProtoMessage() {}
+func (*ContainerUpdate) ProtoMessage() {}
-func (x *FieldOwners) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[64]
+func (x *ContainerUpdate) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[67]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5217,53 +5248,109 @@ func (x *FieldOwners) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use FieldOwners.ProtoReflect.Descriptor instead.
-func (*FieldOwners) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{64}
+// Deprecated: Use ContainerUpdate.ProtoReflect.Descriptor instead.
+func (*ContainerUpdate) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{67}
}
-func (x *FieldOwners) GetSimple() map[int32]string {
+func (x *ContainerUpdate) GetContainerId() string {
if x != nil {
- return x.Simple
+ return x.ContainerId
+ }
+ return ""
+}
+
+func (x *ContainerUpdate) GetLinux() *LinuxContainerUpdate {
+ if x != nil {
+ return x.Linux
}
return nil
}
-func (x *FieldOwners) GetCompound() map[int32]*CompoundFieldOwners {
+func (x *ContainerUpdate) GetIgnoreFailure() bool {
if x != nil {
- return x.Compound
+ return x.IgnoreFailure
+ }
+ return false
+}
+
+// Updates to (linux) resources.
+type LinuxContainerUpdate struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Resources *LinuxResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
+}
+
+func (x *LinuxContainerUpdate) Reset() {
+ *x = LinuxContainerUpdate{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[68]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *LinuxContainerUpdate) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LinuxContainerUpdate) ProtoMessage() {}
+
+func (x *LinuxContainerUpdate) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[68]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use LinuxContainerUpdate.ProtoReflect.Descriptor instead.
+func (*LinuxContainerUpdate) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{68}
+}
+
+func (x *LinuxContainerUpdate) GetResources() *LinuxResources {
+ if x != nil {
+ return x.Resources
}
return nil
}
-// OwningPlugins tracks field 'plugin ownership' for multiple containers.
-// The string keys are container IDs. The values are FieldOwners which
-// track 'plugin ownership' per adjustable field for the container.
-type OwningPlugins struct {
+// Request to evict (IOW unsolicitedly stop) a container.
+type ContainerEviction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Owners map[string]*FieldOwners `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // Container to evict.
+ ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
+ // Human-readable reason for eviction.
+ Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}
-func (x *OwningPlugins) Reset() {
- *x = OwningPlugins{}
+func (x *ContainerEviction) Reset() {
+ *x = ContainerEviction{}
if protoimpl.UnsafeEnabled {
- mi := &file_pkg_api_api_proto_msgTypes[65]
+ mi := &file_pkg_api_api_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OwningPlugins) String() string {
+func (x *ContainerEviction) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OwningPlugins) ProtoMessage() {}
+func (*ContainerEviction) ProtoMessage() {}
-func (x *OwningPlugins) ProtoReflect() protoreflect.Message {
- mi := &file_pkg_api_api_proto_msgTypes[65]
+func (x *ContainerEviction) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[69]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5274,33 +5361,765 @@ func (x *OwningPlugins) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OwningPlugins.ProtoReflect.Descriptor instead.
-func (*OwningPlugins) Descriptor() ([]byte, []int) {
- return file_pkg_api_api_proto_rawDescGZIP(), []int{65}
+// Deprecated: Use ContainerEviction.ProtoReflect.Descriptor instead.
+func (*ContainerEviction) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{69}
}
-func (x *OwningPlugins) GetOwners() map[string]*FieldOwners {
+func (x *ContainerEviction) GetContainerId() string {
if x != nil {
- return x.Owners
+ return x.ContainerId
+ }
+ return ""
+}
+
+func (x *ContainerEviction) GetReason() string {
+ if x != nil {
+ return x.Reason
+ }
+ return ""
+}
+
+type LinuxRdt struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ClosId *OptionalString `protobuf:"bytes,1,opt,name=clos_id,json=closId,proto3" json:"clos_id,omitempty"`
+ Schemata *OptionalRepeatedString `protobuf:"bytes,2,opt,name=schemata,proto3" json:"schemata,omitempty"`
+ EnableMonitoring *OptionalBool `protobuf:"bytes,3,opt,name=enable_monitoring,json=enableMonitoring,proto3" json:"enable_monitoring,omitempty"`
+ // NRI specific field to mark the RDT config for removal.
+ Remove bool `protobuf:"varint,4,opt,name=remove,proto3" json:"remove,omitempty"`
+}
+
+func (x *LinuxRdt) Reset() {
+ *x = LinuxRdt{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[70]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *LinuxRdt) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LinuxRdt) ProtoMessage() {}
+
+func (x *LinuxRdt) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[70]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use LinuxRdt.ProtoReflect.Descriptor instead.
+func (*LinuxRdt) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{70}
+}
+
+func (x *LinuxRdt) GetClosId() *OptionalString {
+ if x != nil {
+ return x.ClosId
}
return nil
}
-var File_pkg_api_api_proto protoreflect.FileDescriptor
+func (x *LinuxRdt) GetSchemata() *OptionalRepeatedString {
+ if x != nil {
+ return x.Schemata
+ }
+ return nil
+}
-var file_pkg_api_api_proto_rawDesc = []byte{
- 0x0a, 0x11, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x78, 0x0a, 0x15, 0x52, 0x65, 0x67,
- 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4e,
- 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64,
- 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49,
- 0x64, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x4e, 0x52, 0x49, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x4e, 0x52, 0x49, 0x56, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+func (x *LinuxRdt) GetEnableMonitoring() *OptionalBool {
+ if x != nil {
+ return x.EnableMonitoring
+ }
+ return nil
+}
+
+func (x *LinuxRdt) GetRemove() bool {
+ if x != nil {
+ return x.Remove
+ }
+ return false
+}
+
+// KeyValue represents an environment variable.
+type KeyValue struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
+ Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *KeyValue) Reset() {
+ *x = KeyValue{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[71]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *KeyValue) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*KeyValue) ProtoMessage() {}
+
+func (x *KeyValue) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[71]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.
+func (*KeyValue) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{71}
+}
+
+func (x *KeyValue) GetKey() string {
+ if x != nil {
+ return x.Key
+ }
+ return ""
+}
+
+func (x *KeyValue) GetValue() string {
+ if x != nil {
+ return x.Value
+ }
+ return ""
+}
+
+// An optional string value.
+type OptionalString struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalString) Reset() {
+ *x = OptionalString{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[72]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalString) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalString) ProtoMessage() {}
+
+func (x *OptionalString) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[72]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalString.ProtoReflect.Descriptor instead.
+func (*OptionalString) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{72}
+}
+
+func (x *OptionalString) GetValue() string {
+ if x != nil {
+ return x.Value
+ }
+ return ""
+}
+
+// An optional collection of strings.
+type OptionalRepeatedString struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalRepeatedString) Reset() {
+ *x = OptionalRepeatedString{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[73]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalRepeatedString) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalRepeatedString) ProtoMessage() {}
+
+func (x *OptionalRepeatedString) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[73]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalRepeatedString.ProtoReflect.Descriptor instead.
+func (*OptionalRepeatedString) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{73}
+}
+
+func (x *OptionalRepeatedString) GetValue() []string {
+ if x != nil {
+ return x.Value
+ }
+ return nil
+}
+
+// An optional signed integer value.
+type OptionalInt struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalInt) Reset() {
+ *x = OptionalInt{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[74]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalInt) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalInt) ProtoMessage() {}
+
+func (x *OptionalInt) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[74]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalInt.ProtoReflect.Descriptor instead.
+func (*OptionalInt) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{74}
+}
+
+func (x *OptionalInt) GetValue() int64 {
+ if x != nil {
+ return x.Value
+ }
+ return 0
+}
+
+// An optional 32-bit signed integer value.
+type OptionalInt32 struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalInt32) Reset() {
+ *x = OptionalInt32{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[75]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalInt32) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalInt32) ProtoMessage() {}
+
+func (x *OptionalInt32) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[75]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalInt32.ProtoReflect.Descriptor instead.
+func (*OptionalInt32) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{75}
+}
+
+func (x *OptionalInt32) GetValue() int32 {
+ if x != nil {
+ return x.Value
+ }
+ return 0
+}
+
+// An optional 32-bit unsigned integer value.
+type OptionalUInt32 struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalUInt32) Reset() {
+ *x = OptionalUInt32{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[76]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalUInt32) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalUInt32) ProtoMessage() {}
+
+func (x *OptionalUInt32) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[76]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalUInt32.ProtoReflect.Descriptor instead.
+func (*OptionalUInt32) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{76}
+}
+
+func (x *OptionalUInt32) GetValue() uint32 {
+ if x != nil {
+ return x.Value
+ }
+ return 0
+}
+
+// An optional 64-bit signed integer value.
+type OptionalInt64 struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalInt64) Reset() {
+ *x = OptionalInt64{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[77]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalInt64) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalInt64) ProtoMessage() {}
+
+func (x *OptionalInt64) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[77]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalInt64.ProtoReflect.Descriptor instead.
+func (*OptionalInt64) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{77}
+}
+
+func (x *OptionalInt64) GetValue() int64 {
+ if x != nil {
+ return x.Value
+ }
+ return 0
+}
+
+// An optional 64-bit unsigned integer value.
+type OptionalUInt64 struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalUInt64) Reset() {
+ *x = OptionalUInt64{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[78]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalUInt64) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalUInt64) ProtoMessage() {}
+
+func (x *OptionalUInt64) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[78]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalUInt64.ProtoReflect.Descriptor instead.
+func (*OptionalUInt64) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{78}
+}
+
+func (x *OptionalUInt64) GetValue() uint64 {
+ if x != nil {
+ return x.Value
+ }
+ return 0
+}
+
+// An optional boolean value.
+type OptionalBool struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalBool) Reset() {
+ *x = OptionalBool{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[79]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalBool) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalBool) ProtoMessage() {}
+
+func (x *OptionalBool) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[79]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalBool.ProtoReflect.Descriptor instead.
+func (*OptionalBool) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{79}
+}
+
+func (x *OptionalBool) GetValue() bool {
+ if x != nil {
+ return x.Value
+ }
+ return false
+}
+
+// An optional value of file permissions.
+type OptionalFileMode struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
+}
+
+func (x *OptionalFileMode) Reset() {
+ *x = OptionalFileMode{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[80]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OptionalFileMode) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OptionalFileMode) ProtoMessage() {}
+
+func (x *OptionalFileMode) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[80]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OptionalFileMode.ProtoReflect.Descriptor instead.
+func (*OptionalFileMode) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{80}
+}
+
+func (x *OptionalFileMode) GetValue() uint32 {
+ if x != nil {
+ return x.Value
+ }
+ return 0
+}
+
+// CompoundFieldOwners tracks 'plugin ownership' of compound fields
+// which can be adjusted entry by entry, typically maps or slices.
+// It is used to track ownership for annotations, mounts, devices,
+// environment variables, hugepage limits, etc. The key identifies
+// the owned entry (annotation key, mount destination, device path,
+// environment variable name, etc.). The value is the owning plugin.
+type CompoundFieldOwners struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Owners map[string]string `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+}
+
+func (x *CompoundFieldOwners) Reset() {
+ *x = CompoundFieldOwners{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[81]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CompoundFieldOwners) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompoundFieldOwners) ProtoMessage() {}
+
+func (x *CompoundFieldOwners) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[81]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CompoundFieldOwners.ProtoReflect.Descriptor instead.
+func (*CompoundFieldOwners) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{81}
+}
+
+func (x *CompoundFieldOwners) GetOwners() map[string]string {
+ if x != nil {
+ return x.Owners
+ }
+ return nil
+}
+
+// FieldOwners tracks field 'plugin ownership' for a single container.
+// Keys represent adjustable fields of a container. For simple fields,
+// the value is the plugin that last modified the field. For compound
+// fields, the value is a CompoundFieldOwners which provides tracking
+// 'plugin ownership' per field for compound data, typically maps and
+// slices. Field enum values are used to index both maps, using Key()
+// to get the int32 for the Field.
+type FieldOwners struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Simple map[int32]string `protobuf:"bytes,1,rep,name=simple,proto3" json:"simple,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Compound map[int32]*CompoundFieldOwners `protobuf:"bytes,2,rep,name=compound,proto3" json:"compound,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+}
+
+func (x *FieldOwners) Reset() {
+ *x = FieldOwners{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[82]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FieldOwners) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FieldOwners) ProtoMessage() {}
+
+func (x *FieldOwners) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[82]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FieldOwners.ProtoReflect.Descriptor instead.
+func (*FieldOwners) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{82}
+}
+
+func (x *FieldOwners) GetSimple() map[int32]string {
+ if x != nil {
+ return x.Simple
+ }
+ return nil
+}
+
+func (x *FieldOwners) GetCompound() map[int32]*CompoundFieldOwners {
+ if x != nil {
+ return x.Compound
+ }
+ return nil
+}
+
+// OwningPlugins tracks field 'plugin ownership' for multiple containers.
+// The string keys are container IDs. The values are FieldOwners which
+// track 'plugin ownership' per adjustable field for the container.
+type OwningPlugins struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Owners map[string]*FieldOwners `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+}
+
+func (x *OwningPlugins) Reset() {
+ *x = OwningPlugins{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_pkg_api_api_proto_msgTypes[83]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OwningPlugins) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OwningPlugins) ProtoMessage() {}
+
+func (x *OwningPlugins) ProtoReflect() protoreflect.Message {
+ mi := &file_pkg_api_api_proto_msgTypes[83]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OwningPlugins.ProtoReflect.Descriptor instead.
+func (*OwningPlugins) Descriptor() ([]byte, []int) {
+ return file_pkg_api_api_proto_rawDescGZIP(), []int{83}
+}
+
+func (x *OwningPlugins) GetOwners() map[string]*FieldOwners {
+ if x != nil {
+ return x.Owners
+ }
+ return nil
+}
+
+var File_pkg_api_api_proto protoreflect.FileDescriptor
+
+var file_pkg_api_api_proto_rawDesc = []byte{
+ 0x0a, 0x11, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x78, 0x0a, 0x15, 0x52, 0x65, 0x67,
+ 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4e,
+ 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64,
+ 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49,
+ 0x64, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x4e, 0x52, 0x49, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
+ 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x4e, 0x52, 0x49, 0x56, 0x65, 0x72, 0x73,
+ 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x3d, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
@@ -5361,8 +6180,86 @@ var file_pkg_api_api_proto_rawDesc = []byte{
0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70,
0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x04, 0x6d, 0x6f, 0x72, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
+ 0x28, 0x08, 0x52, 0x04, 0x6d, 0x6f, 0x72, 0x65, 0x22, 0x4a, 0x0a, 0x14, 0x52, 0x75, 0x6e, 0x50,
+ 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
+ 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52,
+ 0x03, 0x70, 0x6f, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x64, 0x53, 0x61,
+ 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfc, 0x01,
+ 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62,
+ 0x6f, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f,
+ 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x5e, 0x0a,
+ 0x18, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f,
+ 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x16, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x4c,
+ 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4d, 0x0a,
+ 0x0f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0e, 0x6c, 0x69,
+ 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x1a, 0x0a, 0x18,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x1b, 0x50, 0x6f, 0x73, 0x74,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53,
+ 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x50,
+ 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64,
+ 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53,
+ 0x74, 0x6f, 0x70, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64,
+ 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70,
+ 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x6f, 0x64, 0x53,
+ 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a,
+ 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f,
+ 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61,
+ 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8b, 0x01,
+ 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64,
+ 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09,
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0xda, 0x01, 0x0a, 0x17,
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x61, 0x64, 0x6a, 0x75, 0x73,
+ 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65,
+ 0x6e, 0x74, 0x52, 0x06, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x65, 0x76, 0x69,
+ 0x63, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x05, 0x65, 0x76, 0x69, 0x63, 0x74, 0x22, 0x8f, 0x01, 0x0a, 0x1a, 0x50, 0x6f, 0x73,
+ 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53,
+ 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,
+ 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52,
+ 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x50, 0x6f,
+ 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x15, 0x53, 0x74,
+ 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62,
@@ -5370,21 +6267,9 @@ var file_pkg_api_api_proto_rawDesc = []byte{
0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69,
0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0xda, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61,
- 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18,
- 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x65, 0x76, 0x69, 0x63, 0x74, 0x18, 0x03, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x65, 0x76,
- 0x69, 0x63, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x22, 0x8e, 0x01, 0x0a, 0x19, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f,
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32,
0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72,
0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
@@ -5393,964 +6278,1045 @@ var file_pkg_api_api_proto_rawDesc = []byte{
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
- 0x72, 0x12, 0x4d, 0x0a, 0x0f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69,
- 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
- 0x52, 0x0e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
- 0x22, 0x97, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61,
+ 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+ 0xda, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
+ 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50,
+ 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d,
+ 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
+ 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x4d, 0x0a,
+ 0x0f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0e, 0x6c, 0x69,
+ 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x97, 0x01, 0x0a,
+ 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
+ 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x65, 0x76, 0x69, 0x63, 0x74,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
+ 0x05, 0x65, 0x76, 0x69, 0x63, 0x74, 0x22, 0x8f, 0x01, 0x0a, 0x1a, 0x50, 0x6f, 0x73, 0x74, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e,
+ 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6e,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x50, 0x6f, 0x73, 0x74,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x6f, 0x70,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
+ 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52,
+ 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
+ 0x6e, 0x65, 0x72, 0x22, 0x56, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x61,
0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06,
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e,
0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x65,
- 0x76, 0x69, 0x63, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x72, 0x69,
- 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x69, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x65, 0x76, 0x69, 0x63, 0x74, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x53,
- 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62,
- 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69,
- 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x56, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x3d, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0xfc,
- 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64,
- 0x62, 0x6f, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x16,
+ 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61,
+ 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
+ 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09,
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6d,
+ 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x65, 0x76, 0x65,
+ 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x03,
+ 0x70, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64,
+ 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61,
+ 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22,
+ 0x96, 0x03, 0x0a, 0x22, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
+ 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61,
+ 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
+ 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09,
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x06, 0x61, 0x64, 0x6a,
+ 0x75, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74,
+ 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x6f,
+ 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72,
+ 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
+ 0x61, 0x31, 0x2e, 0x4f, 0x77, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73,
+ 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67,
+ 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
+ 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0x3a, 0x0a, 0x0e, 0x50, 0x6c, 0x75, 0x67,
+ 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14,
+ 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69,
+ 0x6e, 0x64, 0x65, 0x78, 0x22, 0x55, 0x0a, 0x23, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d,
+ 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72,
+ 0x65, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6a,
+ 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x07, 0x0a, 0x05, 0x45,
+ 0x6d, 0x70, 0x74, 0x79, 0x22, 0x80, 0x04, 0x0a, 0x0a, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64,
+ 0x62, 0x6f, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
+ 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61,
+ 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
+ 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50,
- 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x5e,
- 0x0a, 0x18, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x75, 0x78,
- 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x53, 0x0a,
+ 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e,
+ 0x64, 0x62, 0x6f, 0x78, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x68, 0x61,
+ 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x75, 0x6e,
+ 0x74, 0x69, 0x6d, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x05, 0x6c,
+ 0x69, 0x6e, 0x75, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f,
+ 0x78, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18,
+ 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x70,
+ 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x70, 0x73, 0x1a, 0x39, 0x0a, 0x0b,
+ 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7, 0x02, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x75,
+ 0x78, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x47, 0x0a, 0x0c, 0x70,
+ 0x6f, 0x64, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0b, 0x70, 0x6f, 0x64, 0x4f, 0x76, 0x65, 0x72,
+ 0x68, 0x65, 0x61, 0x64, 0x12, 0x49, 0x0a, 0x0d, 0x70, 0x6f, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
+ 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
+ 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
+ 0x73, 0x52, 0x0c, 0x70, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,
+ 0x23, 0x0a, 0x0d, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61,
+ 0x72, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x5f,
+ 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x67, 0x72, 0x6f,
+ 0x75, 0x70, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x44, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73,
+ 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
+ 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
+ 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
+ 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a,
+ 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x16, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64,
- 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4d,
- 0x0a, 0x0f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
- 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c,
- 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0e, 0x6c,
- 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x1a, 0x0a,
- 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f,
- 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x10, 0x53, 0x74,
- 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x31,
- 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e,
- 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
- 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
- 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
- 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
+ 0x73, 0x22, 0xf8, 0x07, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12,
+ 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
+ 0x24, 0x0a, 0x0e, 0x70, 0x6f, 0x64, 0x5f, 0x73, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x5f, 0x69,
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64,
+ 0x62, 0x6f, 0x78, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
- 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x22, 0x96, 0x03, 0x0a, 0x22, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
- 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74,
- 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x70,
- 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
+ 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
+ 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x52, 0x0a, 0x0b, 0x61, 0x6e,
+ 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x30, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12,
+ 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72,
+ 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52,
+ 0x03, 0x65, 0x6e, 0x76, 0x12, 0x33, 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x09,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e,
+ 0x74, 0x52, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x68, 0x6f, 0x6f,
+ 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
- 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12,
- 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x41,
- 0x0a, 0x06, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
- 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41,
- 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61, 0x64, 0x6a, 0x75, 0x73,
- 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
- 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x3b, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x77, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6c,
- 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x3e, 0x0a,
- 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
- 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0x3a, 0x0a,
- 0x0e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x55, 0x0a, 0x23, 0x56, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64,
- 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x06, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
- 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
- 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x80, 0x04, 0x0a, 0x0a, 0x50, 0x6f,
- 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03,
- 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c,
- 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x06,
- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e,
- 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x2e, 0x4c,
- 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
- 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
- 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50,
- 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72,
- 0x12, 0x3b, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x50, 0x6f, 0x64, 0x53,
- 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x10, 0x0a,
- 0x03, 0x70, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12,
- 0x10, 0x0a, 0x03, 0x69, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x70,
- 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
+ 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x05, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x05,
+ 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
+ 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
+ 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18,
+ 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x6c,
+ 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72,
+ 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
+ 0x61, 0x31, 0x2e, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x52, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x07,
+ 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65,
+ 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72,
+ 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
+ 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69,
+ 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63,
+ 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43,
+ 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x72, 0x65,
+ 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
+ 0x40, 0x0a, 0x0b, 0x43, 0x44, 0x49, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x14,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x44, 0x49, 0x44,
+ 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0a, 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
+ 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
+ 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10,
0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7, 0x02, 0x0a,
- 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
- 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x6f, 0x64, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6f, 0x0a, 0x05,
+ 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74,
+ 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04,
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x80, 0x03,
+ 0x0a, 0x05, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x73, 0x74,
+ 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x70, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12,
+ 0x41, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48,
+ 0x6f, 0x6f, 0x6b, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6e, 0x74, 0x69,
+ 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61,
+ 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x0e,
+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x38,
+ 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x09, 0x70,
+ 0x6f, 0x73, 0x74, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x74,
+ 0x73, 0x74, 0x6f, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x74, 0x6f, 0x70,
+ 0x22, 0x7d, 0x0a, 0x04, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04,
+ 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73,
+ 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65,
+ 0x6e, 0x76, 0x12, 0x3b, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22,
+ 0xdb, 0x07, 0x0a, 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
+ 0x65, 0x72, 0x12, 0x44, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0b, 0x70, 0x6f,
- 0x64, 0x4f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x12, 0x49, 0x0a, 0x0d, 0x70, 0x6f, 0x64,
- 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0c, 0x70, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x44, 0x0a, 0x0a,
- 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d,
- 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
- 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
+ 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61,
+ 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69,
+ 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65,
+ 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
+ 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09,
+ 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x6f, 0x6f, 0x6d,
+ 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6a, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x49, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x6f, 0x6d, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6a,
+ 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x50,
+ 0x61, 0x74, 0x68, 0x12, 0x46, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
+ 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52,
+ 0x0a, 0x69, 0x6f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x0f, 0x73,
+ 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75,
+ 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0e, 0x73, 0x65, 0x63,
+ 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x49, 0x0a, 0x0e, 0x73,
+ 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78,
+ 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x48, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x63, 0x74, 0x6c,
+ 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x53, 0x79, 0x73,
+ 0x63, 0x74, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x79, 0x73, 0x63, 0x74, 0x6c,
+ 0x12, 0x55, 0x0a, 0x0b, 0x6e, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18,
+ 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e,
- 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0xf8, 0x07, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x6f, 0x64, 0x5f, 0x73, 0x61, 0x6e, 0x64,
- 0x62, 0x6f, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6f,
- 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a,
- 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
+ 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x4e, 0x65, 0x74, 0x44,
+ 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6e, 0x65, 0x74,
+ 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64,
+ 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
+ 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x03, 0x72,
+ 0x64, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x64, 0x74, 0x52, 0x03, 0x72, 0x64, 0x74, 0x1a, 0x39, 0x0a,
+ 0x0b, 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
+ 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
+ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
+ 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63, 0x0a, 0x0f, 0x4e, 0x65, 0x74, 0x44,
+ 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69,
+ 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x38, 0x0a,
+ 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
+ 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
+ 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x96, 0x02, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x75,
+ 0x78, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74,
+ 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
+ 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
+ 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x09, 0x66,
+ 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26,
+ 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69,
+ 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65,
+ 0x12, 0x36, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74,
- 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61,
- 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6e, 0x72, 0x69,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e,
+ 0x74, 0x33, 0x32, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x03, 0x67, 0x69, 0x64,
+ 0x22, 0xcb, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
+ 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
+ 0x12, 0x39, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49,
+ 0x6e, 0x74, 0x36, 0x34, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x39, 0x0a, 0x05, 0x6d,
+ 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69,
0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65,
- 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,
- 0x52, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
- 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x08,
- 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x33, 0x0a, 0x06, 0x6d, 0x6f, 0x75,
- 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
- 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
- 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x31,
- 0x0a, 0x05, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
+ 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52,
+ 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x1f,
+ 0x0a, 0x09, 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
+ 0x53, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61,
+ 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x67, 0x69, 0x64, 0x73, 0x18, 0x03,
+ 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x47, 0x69, 0x64, 0x73, 0x22, 0xda, 0x04, 0x0a, 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
+ 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c,
+ 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f,
+ 0x72, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x50, 0x55, 0x52,
+ 0x03, 0x63, 0x70, 0x75, 0x12, 0x4c, 0x0a, 0x0f, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65,
+ 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e,
0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x05, 0x68, 0x6f, 0x6f, 0x6b,
- 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x10, 0x0a,
- 0x03, 0x70, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12,
- 0x3b, 0x0a, 0x07, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x52, 0x6c, 0x69,
- 0x6d, 0x69, 0x74, 0x52, 0x07, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
- 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69,
- 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65,
- 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
- 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x25, 0x0a,
- 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
- 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x43, 0x44, 0x49, 0x5f, 0x64, 0x65, 0x76, 0x69,
- 0x63, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d,
+ 0x69, 0x74, 0x52, 0x0e, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69,
+ 0x74, 0x73, 0x12, 0x49, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6f, 0x5f, 0x63, 0x6c,
+ 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
- 0x2e, 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0a, 0x43, 0x44, 0x49, 0x44,
- 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x15,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52,
+ 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x41, 0x0a,
+ 0x09, 0x72, 0x64, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x72, 0x64, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73,
+ 0x12, 0x4b, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x55, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x45,
+ 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x41, 0x0a,
+ 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
+ 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63,
+ 0x65, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
+ 0x12, 0x33, 0x0a, 0x04, 0x70, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,
+ 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x50, 0x69, 0x64, 0x73, 0x52,
+ 0x04, 0x70, 0x69, 0x64, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x55, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x22, 0x6f, 0x0a, 0x05, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
- 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x05, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x36, 0x0a, 0x08,
- 0x70, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x70, 0x72, 0x65, 0x73,
- 0x74, 0x61, 0x72, 0x74, 0x12, 0x41, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72,
- 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e,
+ 0x01, 0x22, 0xaa, 0x04, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
+ 0x79, 0x12, 0x39, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x45, 0x0a, 0x0b,
+ 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
+ 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, 0x73, 0x77, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
+ 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x04, 0x73, 0x77, 0x61, 0x70, 0x12, 0x3b, 0x0a, 0x06,
+ 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e,
0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x0f, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x43,
- 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
- 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
- 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48,
- 0x6f, 0x6f, 0x6b, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x74, 0x61, 0x72, 0x74,
- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f,
- 0x6f, 0x6b, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x36, 0x0a,
- 0x08, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x70, 0x6f, 0x73,
- 0x74, 0x73, 0x74, 0x6f, 0x70, 0x22, 0x7d, 0x0a, 0x04, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a,
- 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
- 0x68, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
- 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x3b, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f,
- 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36,
+ 0x34, 0x52, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x12, 0x42, 0x0a, 0x0a, 0x6b, 0x65, 0x72,
+ 0x6e, 0x65, 0x6c, 0x5f, 0x74, 0x63, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
+ 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74,
+ 0x36, 0x34, 0x52, 0x09, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x54, 0x63, 0x70, 0x12, 0x44, 0x0a,
+ 0x0a, 0x73, 0x77, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
+ 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x70, 0x69, 0x6e,
+ 0x65, 0x73, 0x73, 0x12, 0x50, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f,
+ 0x6f, 0x6d, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42,
+ 0x6f, 0x6f, 0x6c, 0x52, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x6f, 0x6d, 0x4b,
+ 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x5f, 0x68, 0x69, 0x65,
+ 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c,
+ 0x52, 0x0c, 0x75, 0x73, 0x65, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x22, 0x88,
+ 0x03, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x50, 0x55, 0x12, 0x3c, 0x0a, 0x06, 0x73,
+ 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
+ 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
+ 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36,
+ 0x34, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x71, 0x75, 0x6f,
+ 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x52, 0x07, 0x74, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x22, 0xdb, 0x07, 0x0a, 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73,
- 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x05, 0x71,
+ 0x75, 0x6f, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69,
+ 0x6f, 0x64, 0x12, 0x4e, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72,
+ 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36,
+ 0x34, 0x52, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x75, 0x6e, 0x74, 0x69,
+ 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70,
+ 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
- 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x3b, 0x0a,
- 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
+ 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36,
+ 0x34, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f,
+ 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x70, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x63, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x73, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x73, 0x22, 0x42, 0x0a, 0x0d, 0x48, 0x75, 0x67,
+ 0x65, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
+ 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
+ 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xcf, 0x01,
+ 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
+ 0x65, 0x12, 0x54, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53,
+ 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x50,
+ 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x66,
+ 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
+ 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
+ 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x66, 0x22, 0x41, 0x0a, 0x0b,
+ 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x52,
+ 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00,
+ 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01,
+ 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x22,
+ 0x49, 0x0a, 0x0b, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x52, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12,
+ 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,
+ 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
+ 0x52, 0x04, 0x68, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x66, 0x74, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6f, 0x66, 0x74, 0x22, 0x21, 0x0a, 0x09, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x50, 0x69, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x66, 0x0a,
+ 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
+ 0x12, 0x37, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x43, 0x6c, 0x61,
+ 0x73, 0x73, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69,
+ 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69,
+ 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x24, 0x0a, 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x65,
+ 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x92, 0x02, 0x0a, 0x0e,
+ 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x42,
+ 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a,
0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63,
- 0x65, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x45,
- 0x0a, 0x0d, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6a, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x6f, 0x6d, 0x53, 0x63, 0x6f,
- 0x72, 0x65, 0x41, 0x64, 0x6a, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73,
- 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x46, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x70,
- 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64,
+ 0x75, 0x6c, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
+ 0x52, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
+ 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
+ 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
+ 0x0e, 0x32, 0x28, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63,
+ 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x05, 0x66, 0x6c, 0x61,
+ 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20,
+ 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
+ 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
+ 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69,
+ 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64,
+ 0x22, 0xa6, 0x04, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64,
+ 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f,
+ 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e,
0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f,
- 0x72, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x6f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
- 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x66,
- 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
- 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
- 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
- 0x52, 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
- 0x12, 0x49, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
- 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64,
+ 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73,
+ 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f,
+ 0x75, 0x6e, 0x74, 0x52, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x03, 0x65,
+ 0x6e, 0x76, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
- 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x52, 0x0d, 0x73, 0x65,
- 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x48, 0x0a, 0x06, 0x73,
- 0x79, 0x73, 0x63, 0x74, 0x6c, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 0x72,
- 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
- 0x72, 0x2e, 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73,
- 0x79, 0x73, 0x63, 0x74, 0x6c, 0x12, 0x55, 0x0a, 0x0b, 0x6e, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x76,
- 0x69, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6e, 0x72, 0x69,
+ 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x31, 0x0a,
+ 0x05, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x05, 0x68, 0x6f, 0x6f, 0x6b, 0x73,
+ 0x12, 0x44, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x2e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74,
+ 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52,
+ 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50,
+ 0x4f, 0x53, 0x49, 0x58, 0x52, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x72, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x43, 0x44, 0x49, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63,
+ 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0a, 0x43, 0x44, 0x49, 0x44, 0x65,
+ 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x09, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e,
+ 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
+ 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
+ 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7, 0x07, 0x0a, 0x18, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75,
+ 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c,
+ 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69,
+ 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75,
+ 0x70, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x45, 0x0a, 0x0d, 0x6f, 0x6f,
+ 0x6d, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6a, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
+ 0x6c, 0x49, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x6f, 0x6d, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x64,
+ 0x6a, 0x12, 0x46, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
+ 0x6e, 0x75, 0x78, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69,
+ 0x6f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x73, 0x65, 0x63,
+ 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x65,
+ 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
+ 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a,
+ 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x06, 0x73, 0x79,
+ 0x73, 0x63, 0x74, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6e, 0x72, 0x69,
0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
- 0x2e, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09,
- 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65,
- 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
- 0x12, 0x30, 0x0a, 0x03, 0x72, 0x64, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x64, 0x74, 0x52, 0x03, 0x72,
- 0x64, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x45, 0x6e, 0x74, 0x72,
+ 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x79, 0x73, 0x63, 0x74,
+ 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x12, 0x5f,
+ 0x0a, 0x0b, 0x6e, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d,
+ 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12,
+ 0x42, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53,
+ 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
+ 0x6c, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x03, 0x72, 0x64, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x64, 0x74,
+ 0x52, 0x03, 0x72, 0x64, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f,
+ 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50,
+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x45, 0x6e, 0x74,
+ 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63,
+ 0x0a, 0x0f, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63, 0x0a,
- 0x0f, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x65,
- 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x22, 0x38, 0x0a, 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73,
- 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x96, 0x02, 0x0a,
- 0x0b, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04,
- 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68,
- 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69,
- 0x6e, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72,
- 0x12, 0x43, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x66, 0x69, 0x6c,
- 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01,
+ 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e,
+ 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
+ 0x02, 0x38, 0x01, 0x22, 0xce, 0x02, 0x0a, 0x0c, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x65, 0x63,
+ 0x63, 0x6f, 0x6d, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
+ 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65,
+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0d, 0x64,
+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x36, 0x0a,
- 0x03, 0x67, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69,
- 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32,
- 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0xcb, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44,
- 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x61,
- 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x6c, 0x6f,
- 0x77, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72,
- 0x12, 0x39, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61,
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x22, 0x1f, 0x0a, 0x09, 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x53, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03,
- 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10,
- 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64,
- 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x67,
- 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x69, 0x64, 0x73, 0x22, 0xda, 0x04, 0x0a, 0x0e, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x06,
- 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e,
- 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52,
- 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75,
- 0x78, 0x43, 0x50, 0x55, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x4c, 0x0a, 0x0f, 0x68, 0x75, 0x67,
- 0x65, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x75, 0x67, 0x65, 0x70, 0x61,
- 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x0e, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67,
- 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x49, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
- 0x69, 0x6f, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
- 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6f, 0x43, 0x6c, 0x61,
- 0x73, 0x73, 0x12, 0x41, 0x0a, 0x09, 0x72, 0x64, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x72, 0x64, 0x74,
- 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x4b, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64,
- 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
+ 0x74, 0x45, 0x72, 0x72, 0x6e, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74,
+ 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61,
+ 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05,
+ 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61,
+ 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x5f, 0x70,
+ 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x65,
+ 0x6e, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74, 0x65,
+ 0x6e, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73,
+ 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x55, 0x6e, 0x69,
- 0x66, 0x69, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x66, 0x69,
- 0x65, 0x64, 0x12, 0x41, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78,
- 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x07, 0x64, 0x65,
- 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x04, 0x70, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78,
- 0x50, 0x69, 0x64, 0x73, 0x52, 0x04, 0x70, 0x69, 0x64, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x55, 0x6e,
- 0x69, 0x66, 0x69, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xaa, 0x04, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x75, 0x78,
- 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
- 0x74, 0x12, 0x45, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x0b, 0x72, 0x65, 0x73,
- 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, 0x73, 0x77, 0x61, 0x70,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x04, 0x73, 0x77, 0x61,
- 0x70, 0x12, 0x3b, 0x0a, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x12, 0x42,
- 0x0a, 0x0a, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x74, 0x63, 0x70, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x09, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x54,
- 0x63, 0x70, 0x12, 0x44, 0x0a, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x65, 0x73, 0x73,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x6e, 0x75, 0x78, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x52, 0x08, 0x73, 0x79, 0x73, 0x63,
+ 0x61, 0x6c, 0x6c, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x79,
+ 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01,
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6e, 0x6f, 0x5f, 0x72, 0x65, 0x74,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x0a, 0x73, 0x77,
- 0x61, 0x70, 0x70, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x50, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x61,
- 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x6f, 0x6d, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
- 0x65, 0x4f, 0x6f, 0x6d, 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x75, 0x73,
- 0x65, 0x5f, 0x68, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72,
- 0x63, 0x68, 0x79, 0x22, 0x88, 0x03, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x50, 0x55,
- 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x39,
- 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x65, 0x72,
- 0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
- 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
- 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52,
- 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x4e, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x6c, 0x74,
- 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65,
- 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x74,
- 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65,
- 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x70, 0x75, 0x73, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65,
- 0x6d, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x73, 0x22, 0x42,
- 0x0a, 0x0d, 0x48, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12,
- 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x22, 0xcf, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50,
- 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x54, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
- 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x6e,
- 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66,
- 0x69, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
- 0x0b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d,
- 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x52, 0x65,
- 0x66, 0x22, 0x41, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41,
- 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x43, 0x4f, 0x4e, 0x46, 0x49,
- 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x48, 0x4f,
- 0x53, 0x54, 0x10, 0x02, 0x22, 0x49, 0x0a, 0x0b, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x52, 0x6c, 0x69,
- 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x72, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x68, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73,
- 0x6f, 0x66, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6f, 0x66, 0x74, 0x22,
- 0x21, 0x0a, 0x09, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x50, 0x69, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x22, 0x66, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x49, 0x4f, 0x50, 0x72, 0x69,
- 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x4f, 0x50, 0x72,
- 0x69, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x1a,
- 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x24, 0x0a, 0x0e, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x22, 0x92, 0x02, 0x0a, 0x0e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,
- 0x6c, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78,
- 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
- 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70,
- 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
- 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73,
- 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67,
- 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d,
- 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a,
- 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x70,
- 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0xa6, 0x04, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a,
- 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x06, 0x6d,
- 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x72,
- 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73,
- 0x12, 0x30, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x65,
- 0x6e, 0x76, 0x12, 0x31, 0x0a, 0x05, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x05,
- 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x44, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x08, 0x65, 0x72,
+ 0x72, 0x6e, 0x6f, 0x52, 0x65, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75,
- 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74,
- 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x3b, 0x0a, 0x07, 0x72,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e,
+ 0x78, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x41, 0x72, 0x67, 0x52, 0x04, 0x61, 0x72, 0x67,
+ 0x73, 0x22, 0x6a, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d,
+ 0x70, 0x41, 0x72, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x77, 0x6f, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x04, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x77, 0x6f, 0x12, 0x0e, 0x0a,
+ 0x02, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x70, 0x22, 0x93, 0x01,
+ 0x0a, 0x11, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x12, 0x32, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x70, 0x6f, 0x6c, 0x4d, 0x6f, 0x64,
+ 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x34, 0x0a,
+ 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e,
0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x52, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x52,
- 0x07, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x43, 0x44, 0x49, 0x5f,
- 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
+ 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x70, 0x6f, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x05, 0x66, 0x6c,
+ 0x61, 0x67, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61,
+ 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x05, 0x6c, 0x69,
+ 0x6e, 0x75, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x12, 0x25, 0x0a, 0x0e,
+ 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c,
+ 0x75, 0x72, 0x65, 0x22, 0x5a, 0x0a, 0x14, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74,
+ 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x72,
+ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
+ 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22,
+ 0x4e, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x69, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74,
+ 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f,
+ 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22,
+ 0xfc, 0x01, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x64, 0x74, 0x12, 0x3d, 0x0a, 0x07,
+ 0x63, 0x6c, 0x6f, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0a,
- 0x43, 0x44, 0x49, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72,
- 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x1a, 0x3e,
- 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7,
- 0x07, 0x0a, 0x18, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
- 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x64,
- 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e,
- 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52,
- 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
- 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c,
- 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12,
- 0x45, 0x0a, 0x0d, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6a,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x6f, 0x6d, 0x53, 0x63,
- 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6a, 0x12, 0x46, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x70, 0x72, 0x69,
- 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72,
- 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69,
- 0x74, 0x79, 0x52, 0x0a, 0x69, 0x6f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x49,
- 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x63,
- 0x6f, 0x6d, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, 0x0a, 0x6e, 0x61, 0x6d,
- 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72,
+ 0x69, 0x6e, 0x67, 0x52, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x08, 0x73,
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
- 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12,
- 0x52, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x3a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74,
- 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
- 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x79, 0x73,
- 0x63, 0x74, 0x6c, 0x12, 0x5f, 0x0a, 0x0b, 0x6e, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63,
- 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70,
+ 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f,
+ 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x6f, 0x6e, 0x69,
+ 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x22, 0x32,
+ 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
+ 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74,
+ 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2e, 0x0a, 0x16, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74,
+ 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, 0x0a, 0x0b, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
+ 0x25, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x33, 0x32,
+ 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x25,
+ 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
+ 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
+ 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x24, 0x0a,
+ 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x14, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x22, 0x28, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46,
+ 0x69, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9f, 0x01,
+ 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f,
+ 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x4d, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d,
+ 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73,
+ 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x77,
+ 0x6e, 0x65, 0x72, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
+ 0xc4, 0x02, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12,
+ 0x45, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
+ 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65,
+ 0x72, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
+ 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75,
+ 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
- 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64,
- 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69,
- 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6e, 0x65, 0x74, 0x44, 0x65, 0x76,
- 0x69, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
- 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
- 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c,
- 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x09, 0x73,
- 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x03, 0x72, 0x64, 0x74, 0x18,
- 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e,
- 0x75, 0x78, 0x52, 0x64, 0x74, 0x52, 0x03, 0x72, 0x64, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x6d, 0x65,
- 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65,
- 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f,
- 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x63,
- 0x74, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
- 0x02, 0x38, 0x01, 0x1a, 0x63, 0x0a, 0x0f, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
- 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c,
- 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xce, 0x02, 0x0a, 0x0c, 0x4c, 0x69, 0x6e,
- 0x75, 0x78, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x49, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6e,
- 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
- 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x0c, 0x64,
- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x72, 0x72, 0x6e, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x61,
- 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65,
- 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x65,
- 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2b, 0x0a, 0x11,
- 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65,
- 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x79, 0x73,
- 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72,
- 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x52,
- 0x08, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x0c, 0x4c, 0x69,
- 0x6e, 0x75, 0x78, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61,
- 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73,
- 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6e,
- 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72,
+ 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
+ 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
+ 0x75, 0x6e, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x45, 0x6e, 0x74,
+ 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
+ 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x66,
+ 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
+ 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65,
+ 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x29, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64,
+ 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb6, 0x01, 0x0a, 0x0d, 0x4f, 0x77, 0x6e, 0x69, 0x6e,
+ 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65,
+ 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x4f, 0x77, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x4f, 0x77,
+ 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72,
+ 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
+ 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
+ 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77,
+ 0x6e, 0x65, 0x72, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a,
+ 0xf4, 0x02, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
+ 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x5f, 0x50, 0x4f,
+ 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53,
+ 0x54, 0x4f, 0x50, 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10,
+ 0x02, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x50, 0x4f, 0x44, 0x5f,
+ 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x52, 0x45,
+ 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x04, 0x12,
+ 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x43,
+ 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54,
+ 0x41, 0x52, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x06, 0x12,
+ 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x43, 0x4f,
+ 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x50, 0x44,
+ 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x08, 0x12,
+ 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x43,
+ 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54,
+ 0x4f, 0x50, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x14,
+ 0x0a, 0x10, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e,
+ 0x45, 0x52, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x50,
+ 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x0c, 0x12, 0x1b, 0x0a, 0x17,
+ 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x4f, 0x44, 0x5f,
+ 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x0d, 0x12, 0x21, 0x0a, 0x1d, 0x56, 0x41, 0x4c,
+ 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f,
+ 0x41, 0x44, 0x4a, 0x55, 0x53, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x0e, 0x12, 0x08, 0x0a, 0x04,
+ 0x4c, 0x41, 0x53, 0x54, 0x10, 0x0f, 0x2a, 0x82, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61,
+ 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e,
+ 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
+ 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x43, 0x52,
+ 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x54, 0x41,
+ 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a,
+ 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49,
+ 0x4e, 0x47, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45,
+ 0x52, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x04, 0x2a, 0x65, 0x0a, 0x0b, 0x49,
+ 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4f,
+ 0x50, 0x52, 0x49, 0x4f, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10,
+ 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4f, 0x50, 0x52, 0x49, 0x4f, 0x5f, 0x43, 0x4c, 0x41, 0x53,
+ 0x53, 0x5f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4f, 0x50, 0x52, 0x49, 0x4f,
+ 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x42, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x49,
+ 0x4f, 0x50, 0x52, 0x49, 0x4f, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x49, 0x44, 0x4c, 0x45,
+ 0x10, 0x03, 0x2a, 0x99, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65,
+ 0x64, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x0a, 0x53,
+ 0x43, 0x48, 0x45, 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53,
+ 0x43, 0x48, 0x45, 0x44, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,
+ 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x46, 0x4f, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08,
+ 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x52, 0x52, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x43,
+ 0x48, 0x45, 0x44, 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x53,
+ 0x43, 0x48, 0x45, 0x44, 0x5f, 0x49, 0x53, 0x4f, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x43,
+ 0x48, 0x45, 0x44, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x06, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x43,
+ 0x48, 0x45, 0x44, 0x5f, 0x44, 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x07, 0x2a, 0xdb,
+ 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
+ 0x72, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46,
+ 0x4c, 0x41, 0x47, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52,
+ 0x4b, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41,
+ 0x47, 0x5f, 0x52, 0x45, 0x43, 0x4c, 0x41, 0x49, 0x4d, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x53,
+ 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x44, 0x4c, 0x5f, 0x4f, 0x56, 0x45,
+ 0x52, 0x52, 0x55, 0x4e, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f,
+ 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x4b, 0x45, 0x45, 0x50, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59,
+ 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47,
+ 0x5f, 0x4b, 0x45, 0x45, 0x50, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x53, 0x10, 0x04, 0x12, 0x1d,
+ 0x0a, 0x19, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x54, 0x49,
+ 0x4c, 0x5f, 0x43, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x05, 0x12, 0x1d, 0x0a,
+ 0x19, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x54, 0x49, 0x4c,
+ 0x5f, 0x43, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x06, 0x2a, 0x9b, 0x01, 0x0a,
+ 0x08, 0x4d, 0x70, 0x6f, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x50, 0x4f,
+ 0x4c, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4d,
+ 0x50, 0x4f, 0x4c, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 0x52, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12,
+ 0x0d, 0x0a, 0x09, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x13,
+ 0x0a, 0x0f, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4c, 0x45, 0x41, 0x56,
+ 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x4c, 0x4f, 0x43, 0x41,
+ 0x4c, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x50, 0x52, 0x45, 0x46,
+ 0x45, 0x52, 0x52, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18,
+ 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x57, 0x45, 0x49, 0x47, 0x48, 0x54, 0x45, 0x44, 0x5f, 0x49, 0x4e,
+ 0x54, 0x45, 0x52, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x06, 0x2a, 0x59, 0x0a, 0x08, 0x4d, 0x70,
+ 0x6f, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x46,
+ 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x53, 0x10, 0x00, 0x12,
+ 0x19, 0x0a, 0x15, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x46, 0x5f, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49,
+ 0x56, 0x45, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x53, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x50,
+ 0x4f, 0x4c, 0x5f, 0x46, 0x5f, 0x4e, 0x55, 0x4d, 0x41, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43,
+ 0x49, 0x4e, 0x47, 0x10, 0x02, 0x2a, 0xb5, 0x05, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12,
+ 0x08, 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x6e, 0x6e,
+ 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x6f,
+ 0x75, 0x6e, 0x74, 0x73, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x63, 0x69, 0x48, 0x6f, 0x6f,
+ 0x6b, 0x73, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x10,
+ 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x64, 0x69, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x10,
+ 0x05, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x6e, 0x76, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x72,
+ 0x67, 0x73, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x65, 0x6d, 0x4c, 0x69, 0x6d, 0x69, 0x74,
+ 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x53, 0x77, 0x61,
+ 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x4b,
+ 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b,
+ 0x4d, 0x65, 0x6d, 0x54, 0x43, 0x50, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x0c, 0x12, 0x11, 0x0a,
+ 0x0d, 0x4d, 0x65, 0x6d, 0x53, 0x77, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x10, 0x0d,
+ 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x65, 0x6d, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x6f,
+ 0x6d, 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x10, 0x0e, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x65, 0x6d,
+ 0x55, 0x73, 0x65, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x10, 0x0f, 0x12, 0x0d,
+ 0x0a, 0x09, 0x43, 0x50, 0x55, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x10, 0x10, 0x12, 0x0c, 0x0a,
+ 0x08, 0x43, 0x50, 0x55, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, 0x43,
+ 0x50, 0x55, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x10, 0x12, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x50,
+ 0x55, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
+ 0x10, 0x13, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x50, 0x55, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d,
+ 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x10, 0x14, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x50, 0x55,
+ 0x53, 0x65, 0x74, 0x43, 0x50, 0x55, 0x73, 0x10, 0x15, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x50, 0x55,
+ 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x73, 0x10, 0x16, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x69, 0x64,
+ 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x17, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x75, 0x67, 0x65,
+ 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x10, 0x18, 0x12, 0x10, 0x0a, 0x0c,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x10, 0x19, 0x12, 0x0c,
+ 0x0a, 0x08, 0x52, 0x64, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x10, 0x1a, 0x12, 0x12, 0x0a, 0x0e,
+ 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x55, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x1b,
+ 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x50, 0x61, 0x74, 0x68, 0x10,
+ 0x1c, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x6f, 0x6d, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6a,
+ 0x10, 0x1d, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x10, 0x1e, 0x12,
+ 0x0e, 0x0a, 0x0a, 0x49, 0x6f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x10, 0x1f, 0x12,
+ 0x11, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x10, 0x20, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x10,
+ 0x21, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x10, 0x22, 0x12, 0x13, 0x0a,
+ 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
+ 0x10, 0x23, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68, 0x65, 0x64,
+ 0x10, 0x24, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x64, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x49, 0x44, 0x10,
+ 0x25, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x64, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x74, 0x61,
+ 0x10, 0x26, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x64, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4d,
+ 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x10, 0x27, 0x12, 0x10, 0x0a, 0x0c, 0x4d,
+ 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0x28, 0x32, 0xd8, 0x01,
+ 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x0e, 0x52, 0x65, 0x67,
+ 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x2e, 0x6e, 0x72,
0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6e, 0x6f, 0x52, 0x65, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x61,
- 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x61, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69,
+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x71, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43,
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
- 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x41, 0x72, 0x67,
- 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0x6a, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53,
- 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x41, 0x72, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64,
- 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12,
- 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74,
- 0x77, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54,
- 0x77, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
- 0x6f, 0x70, 0x22, 0x93, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4d, 0x65, 0x6d, 0x6f,
- 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x32, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x70,
- 0x6f, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x64,
- 0x65, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
- 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x70, 0x6f, 0x6c, 0x46, 0x6c, 0x61,
- 0x67, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c,
- 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x40, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
+ 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xcd, 0x0f, 0x0a, 0x06, 0x50, 0x6c, 0x75,
+ 0x67, 0x69, 0x6e, 0x12, 0x5c, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65,
+ 0x12, 0x26, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x12, 0x62, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x65,
+ 0x12, 0x28, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e,
+ 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77,
+ 0x6e, 0x12, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b,
0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75,
- 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c,
- 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72,
- 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x22, 0x5a, 0x0a, 0x14, 0x4c, 0x69, 0x6e, 0x75,
- 0x78, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78,
- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
- 0x72, 0x45, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
- 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65,
- 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xfc, 0x01, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x52, 0x64,
- 0x74, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x49, 0x64,
- 0x12, 0x48, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x11, 0x65, 0x6e,
- 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72,
- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d,
- 0x6f, 0x76, 0x65, 0x22, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
- 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
- 0x2e, 0x0a, 0x16, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
- 0x23, 0x0a, 0x0b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x14, 0x0a,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f,
- 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x28, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x4d, 0x0a, 0x06, 0x6f, 0x77,
- 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6e, 0x72, 0x69,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x68, 0x0a, 0x0d, 0x52,
+ 0x75, 0x6e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x2a, 0x2e, 0x6e,
+ 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f,
+ 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
+ 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f,
+ 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x14, 0x50, 0x6f, 0x73, 0x74,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
+ 0x12, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x70, 0x50,
+ 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x2b, 0x2e, 0x6e, 0x72, 0x69, 0x2e,
+ 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74,
+ 0x6f, 0x70, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x6f,
+ 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x6e, 0x72, 0x69,
0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f,
- 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4f, 0x77, 0x6e,
- 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc4, 0x02, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77,
- 0x6e, 0x65, 0x72, 0x73, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x63,
- 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73,
- 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08,
- 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x69, 0x6d, 0x70,
- 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
- 0x02, 0x38, 0x01, 0x1a, 0x66, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d,
- 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb6, 0x01, 0x0a, 0x0d,
- 0x4f, 0x77, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x47, 0x0a,
- 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x77, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69,
- 0x6e, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
- 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xf4, 0x02, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0b,
- 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x52,
- 0x55, 0x4e, 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x01,
- 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e,
- 0x44, 0x42, 0x4f, 0x58, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45,
- 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x03, 0x12, 0x14,
- 0x0a, 0x10, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e,
- 0x45, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x52, 0x45,
- 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x05, 0x12,
- 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e,
- 0x45, 0x52, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x54, 0x41,
- 0x52, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x07, 0x12, 0x14,
- 0x0a, 0x10, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e,
- 0x45, 0x52, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x55, 0x50, 0x44,
- 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x09, 0x12,
- 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45,
- 0x52, 0x10, 0x0a, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x43, 0x4f,
- 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x50, 0x44,
- 0x41, 0x54, 0x45, 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10,
- 0x0c, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
- 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x41, 0x4e, 0x44, 0x42, 0x4f, 0x58, 0x10, 0x0d, 0x12, 0x21,
- 0x0a, 0x1d, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41,
- 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x41, 0x44, 0x4a, 0x55, 0x53, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x10,
- 0x0e, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x0f, 0x2a, 0x82, 0x01, 0x0a, 0x0e,
- 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15,
- 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
- 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e,
- 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10,
- 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44,
- 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f,
- 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e,
- 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x04,
- 0x2a, 0x65, 0x0a, 0x0b, 0x49, 0x4f, 0x50, 0x72, 0x69, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12,
- 0x15, 0x0a, 0x11, 0x49, 0x4f, 0x50, 0x52, 0x49, 0x4f, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f,
- 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4f, 0x50, 0x52, 0x49, 0x4f,
- 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x49,
- 0x4f, 0x50, 0x52, 0x49, 0x4f, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x42, 0x45, 0x10, 0x02,
- 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4f, 0x50, 0x52, 0x49, 0x4f, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53,
- 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x03, 0x2a, 0x99, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x6e, 0x75,
- 0x78, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00,
- 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10,
- 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x46, 0x4f, 0x10,
- 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x52, 0x52, 0x10, 0x03, 0x12,
- 0x0f, 0x0a, 0x0b, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x10, 0x04,
- 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x49, 0x53, 0x4f, 0x10, 0x05, 0x12,
- 0x0e, 0x0a, 0x0a, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x06, 0x12,
- 0x12, 0x0a, 0x0e, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x44, 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e,
- 0x45, 0x10, 0x07, 0x2a, 0xdb, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x53, 0x63, 0x68,
- 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x43,
- 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x4f,
- 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4b, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x43, 0x48, 0x45,
- 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x52, 0x45, 0x43, 0x4c, 0x41, 0x49, 0x4d, 0x10, 0x01,
- 0x12, 0x19, 0x0a, 0x15, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x44,
- 0x4c, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x52, 0x55, 0x4e, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x53,
- 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x4b, 0x45, 0x45, 0x50, 0x5f, 0x50,
- 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x48, 0x45, 0x44,
- 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x4b, 0x45, 0x45, 0x50, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d,
- 0x53, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41,
- 0x47, 0x5f, 0x55, 0x54, 0x49, 0x4c, 0x5f, 0x43, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4e,
- 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x43, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47,
- 0x5f, 0x55, 0x54, 0x49, 0x4c, 0x5f, 0x43, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x41, 0x58, 0x10,
- 0x06, 0x2a, 0x9b, 0x01, 0x0a, 0x08, 0x4d, 0x70, 0x6f, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x10,
- 0x0a, 0x0c, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00,
- 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 0x52, 0x52,
- 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x42, 0x49, 0x4e,
- 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x49, 0x4e, 0x54, 0x45,
- 0x52, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x50, 0x4f, 0x4c,
- 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x50, 0x4f, 0x4c,
- 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 0x52, 0x52, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x10,
- 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x57, 0x45, 0x49, 0x47, 0x48, 0x54,
- 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x06, 0x2a,
- 0x59, 0x0a, 0x08, 0x4d, 0x70, 0x6f, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x17, 0x0a, 0x13, 0x4d,
- 0x50, 0x4f, 0x4c, 0x5f, 0x46, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x4e, 0x4f, 0x44,
- 0x45, 0x53, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x46, 0x5f, 0x52,
- 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x53, 0x10, 0x01, 0x12,
- 0x19, 0x0a, 0x15, 0x4d, 0x50, 0x4f, 0x4c, 0x5f, 0x46, 0x5f, 0x4e, 0x55, 0x4d, 0x41, 0x5f, 0x42,
- 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x2a, 0xb5, 0x05, 0x0a, 0x05, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0f,
- 0x0a, 0x0b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x10, 0x01, 0x12,
- 0x0a, 0x0a, 0x06, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f,
- 0x63, 0x69, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x76,
- 0x69, 0x63, 0x65, 0x73, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x64, 0x69, 0x44, 0x65, 0x76,
- 0x69, 0x63, 0x65, 0x73, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x6e, 0x76, 0x10, 0x06, 0x12,
- 0x08, 0x0a, 0x04, 0x41, 0x72, 0x67, 0x73, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x65, 0x6d,
- 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x52, 0x65,
- 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, 0x4d,
- 0x65, 0x6d, 0x53, 0x77, 0x61, 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x0a, 0x12, 0x12, 0x0a,
- 0x0e, 0x4d, 0x65, 0x6d, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10,
- 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x54, 0x43, 0x50, 0x4c, 0x69, 0x6d, 0x69, 0x74,
- 0x10, 0x0c, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x65, 0x6d, 0x53, 0x77, 0x61, 0x70, 0x70, 0x69, 0x6e,
- 0x65, 0x73, 0x73, 0x10, 0x0d, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x65, 0x6d, 0x44, 0x69, 0x73, 0x61,
- 0x62, 0x6c, 0x65, 0x4f, 0x6f, 0x6d, 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x10, 0x0e, 0x12, 0x13,
- 0x0a, 0x0f, 0x4d, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68,
- 0x79, 0x10, 0x0f, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x50, 0x55, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73,
- 0x10, 0x10, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x50, 0x55, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x10, 0x11,
- 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x50, 0x55, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x10, 0x12, 0x12,
- 0x16, 0x0a, 0x12, 0x43, 0x50, 0x55, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x75,
- 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x10, 0x13, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x50, 0x55, 0x52, 0x65,
- 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x10, 0x14, 0x12, 0x0e,
- 0x0a, 0x0a, 0x43, 0x50, 0x55, 0x53, 0x65, 0x74, 0x43, 0x50, 0x55, 0x73, 0x10, 0x15, 0x12, 0x0e,
- 0x0a, 0x0a, 0x43, 0x50, 0x55, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x73, 0x10, 0x16, 0x12, 0x0d,
- 0x0a, 0x09, 0x50, 0x69, 0x64, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x17, 0x12, 0x12, 0x0a,
- 0x0e, 0x48, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x10,
- 0x18, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6f, 0x43, 0x6c, 0x61, 0x73,
- 0x73, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x64, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x10,
- 0x1a, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x55, 0x6e, 0x69, 0x66,
- 0x69, 0x65, 0x64, 0x10, 0x1b, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73,
- 0x50, 0x61, 0x74, 0x68, 0x10, 0x1c, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x6f, 0x6d, 0x53, 0x63, 0x6f,
- 0x72, 0x65, 0x41, 0x64, 0x6a, 0x10, 0x1d, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x6c, 0x69, 0x6d, 0x69,
- 0x74, 0x73, 0x10, 0x1e, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x6f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69,
- 0x74, 0x79, 0x10, 0x1f, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50,
- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0x20, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73,
- 0x70, 0x61, 0x63, 0x65, 0x10, 0x21, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x63, 0x74, 0x6c,
- 0x10, 0x22, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4e, 0x65, 0x74, 0x44, 0x65,
- 0x76, 0x69, 0x63, 0x65, 0x73, 0x10, 0x23, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x69, 0x6e, 0x75, 0x78,
- 0x53, 0x63, 0x68, 0x65, 0x64, 0x10, 0x24, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x64, 0x74, 0x43, 0x6c,
- 0x6f, 0x73, 0x49, 0x44, 0x10, 0x25, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x64, 0x74, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x74, 0x61, 0x10, 0x26, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x64, 0x74, 0x45, 0x6e,
- 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x10, 0x27,
- 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x10, 0x28, 0x32, 0xd8, 0x01, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x5a,
- 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e,
- 0x12, 0x2b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72,
- 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x71, 0x0a, 0x10, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x2d,
+ 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70,
+ 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, 0x43,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x30,
0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
- 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb6, 0x07,
- 0x0a, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x5c, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x26, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72,
- 0x6f, 0x6e, 0x69, 0x7a, 0x65, 0x12, 0x28, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e,
- 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x29, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69,
- 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x53, 0x68,
- 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
- 0x12, 0x6e, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
- 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x6e, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74,
+ 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e,
+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61,
+ 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43,
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x68, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
- 0x72, 0x12, 0x2a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x10, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x12, 0x2d,
- 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53,
- 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e,
- 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x64, 0x53, 0x61,
- 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a,
- 0x0b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x6e,
+ 0x12, 0x77, 0x0a, 0x12, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f,
+ 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b,
+ 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50,
+ 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0f, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x6e,
0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45,
- 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74,
- 0x79, 0x12, 0x92, 0x01, 0x0a, 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e,
- 0x74, 0x12, 0x38, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
- 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74,
- 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x6e, 0x72,
- 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61,
- 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x57, 0x0a, 0x0d, 0x48, 0x6f, 0x73, 0x74, 0x46, 0x75,
- 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x20,
+ 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
+ 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6e, 0x72, 0x69,
+ 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x13, 0x50, 0x6f, 0x73,
+ 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
+ 0x12, 0x30, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74,
+ 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x43, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x6e, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
+ 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x2d, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f,
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x52, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x26,
0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42,
- 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x6e, 0x72, 0x69, 0x2f, 0x70, 0x6b, 0x67,
- 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67,
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d,
+ 0x70, 0x74, 0x79, 0x12, 0x92, 0x01, 0x0a, 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
+ 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d,
+ 0x65, 0x6e, 0x74, 0x12, 0x38, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70,
+ 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64,
+ 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75,
+ 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e,
+ 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e,
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x57, 0x0a, 0x0d, 0x48, 0x6f, 0x73, 0x74,
+ 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x03, 0x4c, 0x6f, 0x67,
+ 0x12, 0x20, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6e, 0x72, 0x69, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
+ 0x00, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x6e, 0x72, 0x69, 0x2f, 0x70,
+ 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x33,
}
var (
@@ -6366,7 +7332,7 @@ func file_pkg_api_api_proto_rawDescGZIP() []byte {
}
var file_pkg_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 10)
-var file_pkg_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 80)
+var file_pkg_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 98)
var file_pkg_api_api_proto_goTypes = []interface{}{
(Event)(0), // 0: nri.pkg.api.v1alpha1.Event
(ContainerState)(0), // 1: nri.pkg.api.v1alpha1.ContainerState
@@ -6386,242 +7352,292 @@ var file_pkg_api_api_proto_goTypes = []interface{}{
(*ConfigureResponse)(nil), // 15: nri.pkg.api.v1alpha1.ConfigureResponse
(*SynchronizeRequest)(nil), // 16: nri.pkg.api.v1alpha1.SynchronizeRequest
(*SynchronizeResponse)(nil), // 17: nri.pkg.api.v1alpha1.SynchronizeResponse
- (*CreateContainerRequest)(nil), // 18: nri.pkg.api.v1alpha1.CreateContainerRequest
- (*CreateContainerResponse)(nil), // 19: nri.pkg.api.v1alpha1.CreateContainerResponse
- (*UpdateContainerRequest)(nil), // 20: nri.pkg.api.v1alpha1.UpdateContainerRequest
- (*UpdateContainerResponse)(nil), // 21: nri.pkg.api.v1alpha1.UpdateContainerResponse
- (*StopContainerRequest)(nil), // 22: nri.pkg.api.v1alpha1.StopContainerRequest
- (*StopContainerResponse)(nil), // 23: nri.pkg.api.v1alpha1.StopContainerResponse
- (*UpdatePodSandboxRequest)(nil), // 24: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest
- (*UpdatePodSandboxResponse)(nil), // 25: nri.pkg.api.v1alpha1.UpdatePodSandboxResponse
- (*StateChangeEvent)(nil), // 26: nri.pkg.api.v1alpha1.StateChangeEvent
- (*ValidateContainerAdjustmentRequest)(nil), // 27: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest
- (*PluginInstance)(nil), // 28: nri.pkg.api.v1alpha1.PluginInstance
- (*ValidateContainerAdjustmentResponse)(nil), // 29: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentResponse
- (*Empty)(nil), // 30: nri.pkg.api.v1alpha1.Empty
- (*PodSandbox)(nil), // 31: nri.pkg.api.v1alpha1.PodSandbox
- (*LinuxPodSandbox)(nil), // 32: nri.pkg.api.v1alpha1.LinuxPodSandbox
- (*Container)(nil), // 33: nri.pkg.api.v1alpha1.Container
- (*Mount)(nil), // 34: nri.pkg.api.v1alpha1.Mount
- (*Hooks)(nil), // 35: nri.pkg.api.v1alpha1.Hooks
- (*Hook)(nil), // 36: nri.pkg.api.v1alpha1.Hook
- (*LinuxContainer)(nil), // 37: nri.pkg.api.v1alpha1.LinuxContainer
- (*LinuxNamespace)(nil), // 38: nri.pkg.api.v1alpha1.LinuxNamespace
- (*LinuxDevice)(nil), // 39: nri.pkg.api.v1alpha1.LinuxDevice
- (*LinuxDeviceCgroup)(nil), // 40: nri.pkg.api.v1alpha1.LinuxDeviceCgroup
- (*CDIDevice)(nil), // 41: nri.pkg.api.v1alpha1.CDIDevice
- (*User)(nil), // 42: nri.pkg.api.v1alpha1.User
- (*LinuxResources)(nil), // 43: nri.pkg.api.v1alpha1.LinuxResources
- (*LinuxMemory)(nil), // 44: nri.pkg.api.v1alpha1.LinuxMemory
- (*LinuxCPU)(nil), // 45: nri.pkg.api.v1alpha1.LinuxCPU
- (*HugepageLimit)(nil), // 46: nri.pkg.api.v1alpha1.HugepageLimit
- (*SecurityProfile)(nil), // 47: nri.pkg.api.v1alpha1.SecurityProfile
- (*POSIXRlimit)(nil), // 48: nri.pkg.api.v1alpha1.POSIXRlimit
- (*LinuxPids)(nil), // 49: nri.pkg.api.v1alpha1.LinuxPids
- (*LinuxIOPriority)(nil), // 50: nri.pkg.api.v1alpha1.LinuxIOPriority
- (*LinuxNetDevice)(nil), // 51: nri.pkg.api.v1alpha1.LinuxNetDevice
- (*LinuxScheduler)(nil), // 52: nri.pkg.api.v1alpha1.LinuxScheduler
- (*ContainerAdjustment)(nil), // 53: nri.pkg.api.v1alpha1.ContainerAdjustment
- (*LinuxContainerAdjustment)(nil), // 54: nri.pkg.api.v1alpha1.LinuxContainerAdjustment
- (*LinuxSeccomp)(nil), // 55: nri.pkg.api.v1alpha1.LinuxSeccomp
- (*LinuxSyscall)(nil), // 56: nri.pkg.api.v1alpha1.LinuxSyscall
- (*LinuxSeccompArg)(nil), // 57: nri.pkg.api.v1alpha1.LinuxSeccompArg
- (*LinuxMemoryPolicy)(nil), // 58: nri.pkg.api.v1alpha1.LinuxMemoryPolicy
- (*ContainerUpdate)(nil), // 59: nri.pkg.api.v1alpha1.ContainerUpdate
- (*LinuxContainerUpdate)(nil), // 60: nri.pkg.api.v1alpha1.LinuxContainerUpdate
- (*ContainerEviction)(nil), // 61: nri.pkg.api.v1alpha1.ContainerEviction
- (*LinuxRdt)(nil), // 62: nri.pkg.api.v1alpha1.LinuxRdt
- (*KeyValue)(nil), // 63: nri.pkg.api.v1alpha1.KeyValue
- (*OptionalString)(nil), // 64: nri.pkg.api.v1alpha1.OptionalString
- (*OptionalRepeatedString)(nil), // 65: nri.pkg.api.v1alpha1.OptionalRepeatedString
- (*OptionalInt)(nil), // 66: nri.pkg.api.v1alpha1.OptionalInt
- (*OptionalInt32)(nil), // 67: nri.pkg.api.v1alpha1.OptionalInt32
- (*OptionalUInt32)(nil), // 68: nri.pkg.api.v1alpha1.OptionalUInt32
- (*OptionalInt64)(nil), // 69: nri.pkg.api.v1alpha1.OptionalInt64
- (*OptionalUInt64)(nil), // 70: nri.pkg.api.v1alpha1.OptionalUInt64
- (*OptionalBool)(nil), // 71: nri.pkg.api.v1alpha1.OptionalBool
- (*OptionalFileMode)(nil), // 72: nri.pkg.api.v1alpha1.OptionalFileMode
- (*CompoundFieldOwners)(nil), // 73: nri.pkg.api.v1alpha1.CompoundFieldOwners
- (*FieldOwners)(nil), // 74: nri.pkg.api.v1alpha1.FieldOwners
- (*OwningPlugins)(nil), // 75: nri.pkg.api.v1alpha1.OwningPlugins
- nil, // 76: nri.pkg.api.v1alpha1.PodSandbox.LabelsEntry
- nil, // 77: nri.pkg.api.v1alpha1.PodSandbox.AnnotationsEntry
- nil, // 78: nri.pkg.api.v1alpha1.Container.LabelsEntry
- nil, // 79: nri.pkg.api.v1alpha1.Container.AnnotationsEntry
- nil, // 80: nri.pkg.api.v1alpha1.LinuxContainer.SysctlEntry
- nil, // 81: nri.pkg.api.v1alpha1.LinuxContainer.NetDevicesEntry
- nil, // 82: nri.pkg.api.v1alpha1.LinuxResources.UnifiedEntry
- nil, // 83: nri.pkg.api.v1alpha1.ContainerAdjustment.AnnotationsEntry
- nil, // 84: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.SysctlEntry
- nil, // 85: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.NetDevicesEntry
- nil, // 86: nri.pkg.api.v1alpha1.CompoundFieldOwners.OwnersEntry
- nil, // 87: nri.pkg.api.v1alpha1.FieldOwners.SimpleEntry
- nil, // 88: nri.pkg.api.v1alpha1.FieldOwners.CompoundEntry
- nil, // 89: nri.pkg.api.v1alpha1.OwningPlugins.OwnersEntry
+ (*RunPodSandboxRequest)(nil), // 18: nri.pkg.api.v1alpha1.RunPodSandboxRequest
+ (*RunPodSandboxResponse)(nil), // 19: nri.pkg.api.v1alpha1.RunPodSandboxResponse
+ (*UpdatePodSandboxRequest)(nil), // 20: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest
+ (*UpdatePodSandboxResponse)(nil), // 21: nri.pkg.api.v1alpha1.UpdatePodSandboxResponse
+ (*PostUpdatePodSandboxRequest)(nil), // 22: nri.pkg.api.v1alpha1.PostUpdatePodSandboxRequest
+ (*PostUpdatePodSandboxResponse)(nil), // 23: nri.pkg.api.v1alpha1.PostUpdatePodSandboxResponse
+ (*StopPodSandboxRequest)(nil), // 24: nri.pkg.api.v1alpha1.StopPodSandboxRequest
+ (*StopPodSandboxResponse)(nil), // 25: nri.pkg.api.v1alpha1.StopPodSandboxResponse
+ (*RemovePodSandboxRequest)(nil), // 26: nri.pkg.api.v1alpha1.RemovePodSandboxRequest
+ (*RemovePodSandboxResponse)(nil), // 27: nri.pkg.api.v1alpha1.RemovePodSandboxResponse
+ (*CreateContainerRequest)(nil), // 28: nri.pkg.api.v1alpha1.CreateContainerRequest
+ (*CreateContainerResponse)(nil), // 29: nri.pkg.api.v1alpha1.CreateContainerResponse
+ (*PostCreateContainerRequest)(nil), // 30: nri.pkg.api.v1alpha1.PostCreateContainerRequest
+ (*PostCreateContainerResponse)(nil), // 31: nri.pkg.api.v1alpha1.PostCreateContainerResponse
+ (*StartContainerRequest)(nil), // 32: nri.pkg.api.v1alpha1.StartContainerRequest
+ (*StartContainerResponse)(nil), // 33: nri.pkg.api.v1alpha1.StartContainerResponse
+ (*PostStartContainerRequest)(nil), // 34: nri.pkg.api.v1alpha1.PostStartContainerRequest
+ (*PostStartContainerResponse)(nil), // 35: nri.pkg.api.v1alpha1.PostStartContainerResponse
+ (*UpdateContainerRequest)(nil), // 36: nri.pkg.api.v1alpha1.UpdateContainerRequest
+ (*UpdateContainerResponse)(nil), // 37: nri.pkg.api.v1alpha1.UpdateContainerResponse
+ (*PostUpdateContainerRequest)(nil), // 38: nri.pkg.api.v1alpha1.PostUpdateContainerRequest
+ (*PostUpdateContainerResponse)(nil), // 39: nri.pkg.api.v1alpha1.PostUpdateContainerResponse
+ (*StopContainerRequest)(nil), // 40: nri.pkg.api.v1alpha1.StopContainerRequest
+ (*StopContainerResponse)(nil), // 41: nri.pkg.api.v1alpha1.StopContainerResponse
+ (*RemoveContainerRequest)(nil), // 42: nri.pkg.api.v1alpha1.RemoveContainerRequest
+ (*RemoveContainerResponse)(nil), // 43: nri.pkg.api.v1alpha1.RemoveContainerResponse
+ (*StateChangeEvent)(nil), // 44: nri.pkg.api.v1alpha1.StateChangeEvent
+ (*ValidateContainerAdjustmentRequest)(nil), // 45: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest
+ (*PluginInstance)(nil), // 46: nri.pkg.api.v1alpha1.PluginInstance
+ (*ValidateContainerAdjustmentResponse)(nil), // 47: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentResponse
+ (*Empty)(nil), // 48: nri.pkg.api.v1alpha1.Empty
+ (*PodSandbox)(nil), // 49: nri.pkg.api.v1alpha1.PodSandbox
+ (*LinuxPodSandbox)(nil), // 50: nri.pkg.api.v1alpha1.LinuxPodSandbox
+ (*Container)(nil), // 51: nri.pkg.api.v1alpha1.Container
+ (*Mount)(nil), // 52: nri.pkg.api.v1alpha1.Mount
+ (*Hooks)(nil), // 53: nri.pkg.api.v1alpha1.Hooks
+ (*Hook)(nil), // 54: nri.pkg.api.v1alpha1.Hook
+ (*LinuxContainer)(nil), // 55: nri.pkg.api.v1alpha1.LinuxContainer
+ (*LinuxNamespace)(nil), // 56: nri.pkg.api.v1alpha1.LinuxNamespace
+ (*LinuxDevice)(nil), // 57: nri.pkg.api.v1alpha1.LinuxDevice
+ (*LinuxDeviceCgroup)(nil), // 58: nri.pkg.api.v1alpha1.LinuxDeviceCgroup
+ (*CDIDevice)(nil), // 59: nri.pkg.api.v1alpha1.CDIDevice
+ (*User)(nil), // 60: nri.pkg.api.v1alpha1.User
+ (*LinuxResources)(nil), // 61: nri.pkg.api.v1alpha1.LinuxResources
+ (*LinuxMemory)(nil), // 62: nri.pkg.api.v1alpha1.LinuxMemory
+ (*LinuxCPU)(nil), // 63: nri.pkg.api.v1alpha1.LinuxCPU
+ (*HugepageLimit)(nil), // 64: nri.pkg.api.v1alpha1.HugepageLimit
+ (*SecurityProfile)(nil), // 65: nri.pkg.api.v1alpha1.SecurityProfile
+ (*POSIXRlimit)(nil), // 66: nri.pkg.api.v1alpha1.POSIXRlimit
+ (*LinuxPids)(nil), // 67: nri.pkg.api.v1alpha1.LinuxPids
+ (*LinuxIOPriority)(nil), // 68: nri.pkg.api.v1alpha1.LinuxIOPriority
+ (*LinuxNetDevice)(nil), // 69: nri.pkg.api.v1alpha1.LinuxNetDevice
+ (*LinuxScheduler)(nil), // 70: nri.pkg.api.v1alpha1.LinuxScheduler
+ (*ContainerAdjustment)(nil), // 71: nri.pkg.api.v1alpha1.ContainerAdjustment
+ (*LinuxContainerAdjustment)(nil), // 72: nri.pkg.api.v1alpha1.LinuxContainerAdjustment
+ (*LinuxSeccomp)(nil), // 73: nri.pkg.api.v1alpha1.LinuxSeccomp
+ (*LinuxSyscall)(nil), // 74: nri.pkg.api.v1alpha1.LinuxSyscall
+ (*LinuxSeccompArg)(nil), // 75: nri.pkg.api.v1alpha1.LinuxSeccompArg
+ (*LinuxMemoryPolicy)(nil), // 76: nri.pkg.api.v1alpha1.LinuxMemoryPolicy
+ (*ContainerUpdate)(nil), // 77: nri.pkg.api.v1alpha1.ContainerUpdate
+ (*LinuxContainerUpdate)(nil), // 78: nri.pkg.api.v1alpha1.LinuxContainerUpdate
+ (*ContainerEviction)(nil), // 79: nri.pkg.api.v1alpha1.ContainerEviction
+ (*LinuxRdt)(nil), // 80: nri.pkg.api.v1alpha1.LinuxRdt
+ (*KeyValue)(nil), // 81: nri.pkg.api.v1alpha1.KeyValue
+ (*OptionalString)(nil), // 82: nri.pkg.api.v1alpha1.OptionalString
+ (*OptionalRepeatedString)(nil), // 83: nri.pkg.api.v1alpha1.OptionalRepeatedString
+ (*OptionalInt)(nil), // 84: nri.pkg.api.v1alpha1.OptionalInt
+ (*OptionalInt32)(nil), // 85: nri.pkg.api.v1alpha1.OptionalInt32
+ (*OptionalUInt32)(nil), // 86: nri.pkg.api.v1alpha1.OptionalUInt32
+ (*OptionalInt64)(nil), // 87: nri.pkg.api.v1alpha1.OptionalInt64
+ (*OptionalUInt64)(nil), // 88: nri.pkg.api.v1alpha1.OptionalUInt64
+ (*OptionalBool)(nil), // 89: nri.pkg.api.v1alpha1.OptionalBool
+ (*OptionalFileMode)(nil), // 90: nri.pkg.api.v1alpha1.OptionalFileMode
+ (*CompoundFieldOwners)(nil), // 91: nri.pkg.api.v1alpha1.CompoundFieldOwners
+ (*FieldOwners)(nil), // 92: nri.pkg.api.v1alpha1.FieldOwners
+ (*OwningPlugins)(nil), // 93: nri.pkg.api.v1alpha1.OwningPlugins
+ nil, // 94: nri.pkg.api.v1alpha1.PodSandbox.LabelsEntry
+ nil, // 95: nri.pkg.api.v1alpha1.PodSandbox.AnnotationsEntry
+ nil, // 96: nri.pkg.api.v1alpha1.Container.LabelsEntry
+ nil, // 97: nri.pkg.api.v1alpha1.Container.AnnotationsEntry
+ nil, // 98: nri.pkg.api.v1alpha1.LinuxContainer.SysctlEntry
+ nil, // 99: nri.pkg.api.v1alpha1.LinuxContainer.NetDevicesEntry
+ nil, // 100: nri.pkg.api.v1alpha1.LinuxResources.UnifiedEntry
+ nil, // 101: nri.pkg.api.v1alpha1.ContainerAdjustment.AnnotationsEntry
+ nil, // 102: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.SysctlEntry
+ nil, // 103: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.NetDevicesEntry
+ nil, // 104: nri.pkg.api.v1alpha1.CompoundFieldOwners.OwnersEntry
+ nil, // 105: nri.pkg.api.v1alpha1.FieldOwners.SimpleEntry
+ nil, // 106: nri.pkg.api.v1alpha1.FieldOwners.CompoundEntry
+ nil, // 107: nri.pkg.api.v1alpha1.OwningPlugins.OwnersEntry
}
var file_pkg_api_api_proto_depIdxs = []int32{
- 59, // 0: nri.pkg.api.v1alpha1.UpdateContainersRequest.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
- 61, // 1: nri.pkg.api.v1alpha1.UpdateContainersRequest.evict:type_name -> nri.pkg.api.v1alpha1.ContainerEviction
- 59, // 2: nri.pkg.api.v1alpha1.UpdateContainersResponse.failed:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 77, // 0: nri.pkg.api.v1alpha1.UpdateContainersRequest.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 79, // 1: nri.pkg.api.v1alpha1.UpdateContainersRequest.evict:type_name -> nri.pkg.api.v1alpha1.ContainerEviction
+ 77, // 2: nri.pkg.api.v1alpha1.UpdateContainersResponse.failed:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
8, // 3: nri.pkg.api.v1alpha1.LogRequest.level:type_name -> nri.pkg.api.v1alpha1.LogRequest.Level
- 31, // 4: nri.pkg.api.v1alpha1.SynchronizeRequest.pods:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 33, // 5: nri.pkg.api.v1alpha1.SynchronizeRequest.containers:type_name -> nri.pkg.api.v1alpha1.Container
- 59, // 6: nri.pkg.api.v1alpha1.SynchronizeResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
- 31, // 7: nri.pkg.api.v1alpha1.CreateContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 33, // 8: nri.pkg.api.v1alpha1.CreateContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
- 53, // 9: nri.pkg.api.v1alpha1.CreateContainerResponse.adjust:type_name -> nri.pkg.api.v1alpha1.ContainerAdjustment
- 59, // 10: nri.pkg.api.v1alpha1.CreateContainerResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
- 61, // 11: nri.pkg.api.v1alpha1.CreateContainerResponse.evict:type_name -> nri.pkg.api.v1alpha1.ContainerEviction
- 31, // 12: nri.pkg.api.v1alpha1.UpdateContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 33, // 13: nri.pkg.api.v1alpha1.UpdateContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
- 43, // 14: nri.pkg.api.v1alpha1.UpdateContainerRequest.linux_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 59, // 15: nri.pkg.api.v1alpha1.UpdateContainerResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
- 61, // 16: nri.pkg.api.v1alpha1.UpdateContainerResponse.evict:type_name -> nri.pkg.api.v1alpha1.ContainerEviction
- 31, // 17: nri.pkg.api.v1alpha1.StopContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 33, // 18: nri.pkg.api.v1alpha1.StopContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
- 59, // 19: nri.pkg.api.v1alpha1.StopContainerResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
- 31, // 20: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 43, // 21: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest.overhead_linux_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 43, // 22: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest.linux_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 0, // 23: nri.pkg.api.v1alpha1.StateChangeEvent.event:type_name -> nri.pkg.api.v1alpha1.Event
- 31, // 24: nri.pkg.api.v1alpha1.StateChangeEvent.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 33, // 25: nri.pkg.api.v1alpha1.StateChangeEvent.container:type_name -> nri.pkg.api.v1alpha1.Container
- 31, // 26: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
- 33, // 27: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
- 53, // 28: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.adjust:type_name -> nri.pkg.api.v1alpha1.ContainerAdjustment
- 59, // 29: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
- 75, // 30: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.owners:type_name -> nri.pkg.api.v1alpha1.OwningPlugins
- 28, // 31: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.plugins:type_name -> nri.pkg.api.v1alpha1.PluginInstance
- 76, // 32: nri.pkg.api.v1alpha1.PodSandbox.labels:type_name -> nri.pkg.api.v1alpha1.PodSandbox.LabelsEntry
- 77, // 33: nri.pkg.api.v1alpha1.PodSandbox.annotations:type_name -> nri.pkg.api.v1alpha1.PodSandbox.AnnotationsEntry
- 32, // 34: nri.pkg.api.v1alpha1.PodSandbox.linux:type_name -> nri.pkg.api.v1alpha1.LinuxPodSandbox
- 43, // 35: nri.pkg.api.v1alpha1.LinuxPodSandbox.pod_overhead:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 43, // 36: nri.pkg.api.v1alpha1.LinuxPodSandbox.pod_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 38, // 37: nri.pkg.api.v1alpha1.LinuxPodSandbox.namespaces:type_name -> nri.pkg.api.v1alpha1.LinuxNamespace
- 43, // 38: nri.pkg.api.v1alpha1.LinuxPodSandbox.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 1, // 39: nri.pkg.api.v1alpha1.Container.state:type_name -> nri.pkg.api.v1alpha1.ContainerState
- 78, // 40: nri.pkg.api.v1alpha1.Container.labels:type_name -> nri.pkg.api.v1alpha1.Container.LabelsEntry
- 79, // 41: nri.pkg.api.v1alpha1.Container.annotations:type_name -> nri.pkg.api.v1alpha1.Container.AnnotationsEntry
- 34, // 42: nri.pkg.api.v1alpha1.Container.mounts:type_name -> nri.pkg.api.v1alpha1.Mount
- 35, // 43: nri.pkg.api.v1alpha1.Container.hooks:type_name -> nri.pkg.api.v1alpha1.Hooks
- 37, // 44: nri.pkg.api.v1alpha1.Container.linux:type_name -> nri.pkg.api.v1alpha1.LinuxContainer
- 48, // 45: nri.pkg.api.v1alpha1.Container.rlimits:type_name -> nri.pkg.api.v1alpha1.POSIXRlimit
- 41, // 46: nri.pkg.api.v1alpha1.Container.CDI_devices:type_name -> nri.pkg.api.v1alpha1.CDIDevice
- 42, // 47: nri.pkg.api.v1alpha1.Container.user:type_name -> nri.pkg.api.v1alpha1.User
- 36, // 48: nri.pkg.api.v1alpha1.Hooks.prestart:type_name -> nri.pkg.api.v1alpha1.Hook
- 36, // 49: nri.pkg.api.v1alpha1.Hooks.create_runtime:type_name -> nri.pkg.api.v1alpha1.Hook
- 36, // 50: nri.pkg.api.v1alpha1.Hooks.create_container:type_name -> nri.pkg.api.v1alpha1.Hook
- 36, // 51: nri.pkg.api.v1alpha1.Hooks.start_container:type_name -> nri.pkg.api.v1alpha1.Hook
- 36, // 52: nri.pkg.api.v1alpha1.Hooks.poststart:type_name -> nri.pkg.api.v1alpha1.Hook
- 36, // 53: nri.pkg.api.v1alpha1.Hooks.poststop:type_name -> nri.pkg.api.v1alpha1.Hook
- 66, // 54: nri.pkg.api.v1alpha1.Hook.timeout:type_name -> nri.pkg.api.v1alpha1.OptionalInt
- 38, // 55: nri.pkg.api.v1alpha1.LinuxContainer.namespaces:type_name -> nri.pkg.api.v1alpha1.LinuxNamespace
- 39, // 56: nri.pkg.api.v1alpha1.LinuxContainer.devices:type_name -> nri.pkg.api.v1alpha1.LinuxDevice
- 43, // 57: nri.pkg.api.v1alpha1.LinuxContainer.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 66, // 58: nri.pkg.api.v1alpha1.LinuxContainer.oom_score_adj:type_name -> nri.pkg.api.v1alpha1.OptionalInt
- 50, // 59: nri.pkg.api.v1alpha1.LinuxContainer.io_priority:type_name -> nri.pkg.api.v1alpha1.LinuxIOPriority
- 47, // 60: nri.pkg.api.v1alpha1.LinuxContainer.seccomp_profile:type_name -> nri.pkg.api.v1alpha1.SecurityProfile
- 55, // 61: nri.pkg.api.v1alpha1.LinuxContainer.seccomp_policy:type_name -> nri.pkg.api.v1alpha1.LinuxSeccomp
- 80, // 62: nri.pkg.api.v1alpha1.LinuxContainer.sysctl:type_name -> nri.pkg.api.v1alpha1.LinuxContainer.SysctlEntry
- 81, // 63: nri.pkg.api.v1alpha1.LinuxContainer.net_devices:type_name -> nri.pkg.api.v1alpha1.LinuxContainer.NetDevicesEntry
- 52, // 64: nri.pkg.api.v1alpha1.LinuxContainer.scheduler:type_name -> nri.pkg.api.v1alpha1.LinuxScheduler
- 62, // 65: nri.pkg.api.v1alpha1.LinuxContainer.rdt:type_name -> nri.pkg.api.v1alpha1.LinuxRdt
- 72, // 66: nri.pkg.api.v1alpha1.LinuxDevice.file_mode:type_name -> nri.pkg.api.v1alpha1.OptionalFileMode
- 68, // 67: nri.pkg.api.v1alpha1.LinuxDevice.uid:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
- 68, // 68: nri.pkg.api.v1alpha1.LinuxDevice.gid:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
- 69, // 69: nri.pkg.api.v1alpha1.LinuxDeviceCgroup.major:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 69, // 70: nri.pkg.api.v1alpha1.LinuxDeviceCgroup.minor:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 44, // 71: nri.pkg.api.v1alpha1.LinuxResources.memory:type_name -> nri.pkg.api.v1alpha1.LinuxMemory
- 45, // 72: nri.pkg.api.v1alpha1.LinuxResources.cpu:type_name -> nri.pkg.api.v1alpha1.LinuxCPU
- 46, // 73: nri.pkg.api.v1alpha1.LinuxResources.hugepage_limits:type_name -> nri.pkg.api.v1alpha1.HugepageLimit
- 64, // 74: nri.pkg.api.v1alpha1.LinuxResources.blockio_class:type_name -> nri.pkg.api.v1alpha1.OptionalString
- 64, // 75: nri.pkg.api.v1alpha1.LinuxResources.rdt_class:type_name -> nri.pkg.api.v1alpha1.OptionalString
- 82, // 76: nri.pkg.api.v1alpha1.LinuxResources.unified:type_name -> nri.pkg.api.v1alpha1.LinuxResources.UnifiedEntry
- 40, // 77: nri.pkg.api.v1alpha1.LinuxResources.devices:type_name -> nri.pkg.api.v1alpha1.LinuxDeviceCgroup
- 49, // 78: nri.pkg.api.v1alpha1.LinuxResources.pids:type_name -> nri.pkg.api.v1alpha1.LinuxPids
- 69, // 79: nri.pkg.api.v1alpha1.LinuxMemory.limit:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 69, // 80: nri.pkg.api.v1alpha1.LinuxMemory.reservation:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 69, // 81: nri.pkg.api.v1alpha1.LinuxMemory.swap:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 69, // 82: nri.pkg.api.v1alpha1.LinuxMemory.kernel:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 69, // 83: nri.pkg.api.v1alpha1.LinuxMemory.kernel_tcp:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 70, // 84: nri.pkg.api.v1alpha1.LinuxMemory.swappiness:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
- 71, // 85: nri.pkg.api.v1alpha1.LinuxMemory.disable_oom_killer:type_name -> nri.pkg.api.v1alpha1.OptionalBool
- 71, // 86: nri.pkg.api.v1alpha1.LinuxMemory.use_hierarchy:type_name -> nri.pkg.api.v1alpha1.OptionalBool
- 70, // 87: nri.pkg.api.v1alpha1.LinuxCPU.shares:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
- 69, // 88: nri.pkg.api.v1alpha1.LinuxCPU.quota:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 70, // 89: nri.pkg.api.v1alpha1.LinuxCPU.period:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
- 69, // 90: nri.pkg.api.v1alpha1.LinuxCPU.realtime_runtime:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
- 70, // 91: nri.pkg.api.v1alpha1.LinuxCPU.realtime_period:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
- 9, // 92: nri.pkg.api.v1alpha1.SecurityProfile.profile_type:type_name -> nri.pkg.api.v1alpha1.SecurityProfile.ProfileType
- 2, // 93: nri.pkg.api.v1alpha1.LinuxIOPriority.class:type_name -> nri.pkg.api.v1alpha1.IOPrioClass
- 3, // 94: nri.pkg.api.v1alpha1.LinuxScheduler.policy:type_name -> nri.pkg.api.v1alpha1.LinuxSchedulerPolicy
- 4, // 95: nri.pkg.api.v1alpha1.LinuxScheduler.flags:type_name -> nri.pkg.api.v1alpha1.LinuxSchedulerFlag
- 83, // 96: nri.pkg.api.v1alpha1.ContainerAdjustment.annotations:type_name -> nri.pkg.api.v1alpha1.ContainerAdjustment.AnnotationsEntry
- 34, // 97: nri.pkg.api.v1alpha1.ContainerAdjustment.mounts:type_name -> nri.pkg.api.v1alpha1.Mount
- 63, // 98: nri.pkg.api.v1alpha1.ContainerAdjustment.env:type_name -> nri.pkg.api.v1alpha1.KeyValue
- 35, // 99: nri.pkg.api.v1alpha1.ContainerAdjustment.hooks:type_name -> nri.pkg.api.v1alpha1.Hooks
- 54, // 100: nri.pkg.api.v1alpha1.ContainerAdjustment.linux:type_name -> nri.pkg.api.v1alpha1.LinuxContainerAdjustment
- 48, // 101: nri.pkg.api.v1alpha1.ContainerAdjustment.rlimits:type_name -> nri.pkg.api.v1alpha1.POSIXRlimit
- 41, // 102: nri.pkg.api.v1alpha1.ContainerAdjustment.CDI_devices:type_name -> nri.pkg.api.v1alpha1.CDIDevice
- 39, // 103: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.devices:type_name -> nri.pkg.api.v1alpha1.LinuxDevice
- 43, // 104: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 66, // 105: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.oom_score_adj:type_name -> nri.pkg.api.v1alpha1.OptionalInt
- 50, // 106: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.io_priority:type_name -> nri.pkg.api.v1alpha1.LinuxIOPriority
- 55, // 107: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.seccomp_policy:type_name -> nri.pkg.api.v1alpha1.LinuxSeccomp
- 38, // 108: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.namespaces:type_name -> nri.pkg.api.v1alpha1.LinuxNamespace
- 84, // 109: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.sysctl:type_name -> nri.pkg.api.v1alpha1.LinuxContainerAdjustment.SysctlEntry
- 85, // 110: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.net_devices:type_name -> nri.pkg.api.v1alpha1.LinuxContainerAdjustment.NetDevicesEntry
- 52, // 111: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.scheduler:type_name -> nri.pkg.api.v1alpha1.LinuxScheduler
- 62, // 112: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.rdt:type_name -> nri.pkg.api.v1alpha1.LinuxRdt
- 58, // 113: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.memory_policy:type_name -> nri.pkg.api.v1alpha1.LinuxMemoryPolicy
- 68, // 114: nri.pkg.api.v1alpha1.LinuxSeccomp.default_errno:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
- 56, // 115: nri.pkg.api.v1alpha1.LinuxSeccomp.syscalls:type_name -> nri.pkg.api.v1alpha1.LinuxSyscall
- 68, // 116: nri.pkg.api.v1alpha1.LinuxSyscall.errno_ret:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
- 57, // 117: nri.pkg.api.v1alpha1.LinuxSyscall.args:type_name -> nri.pkg.api.v1alpha1.LinuxSeccompArg
- 5, // 118: nri.pkg.api.v1alpha1.LinuxMemoryPolicy.mode:type_name -> nri.pkg.api.v1alpha1.MpolMode
- 6, // 119: nri.pkg.api.v1alpha1.LinuxMemoryPolicy.flags:type_name -> nri.pkg.api.v1alpha1.MpolFlag
- 60, // 120: nri.pkg.api.v1alpha1.ContainerUpdate.linux:type_name -> nri.pkg.api.v1alpha1.LinuxContainerUpdate
- 43, // 121: nri.pkg.api.v1alpha1.LinuxContainerUpdate.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
- 64, // 122: nri.pkg.api.v1alpha1.LinuxRdt.clos_id:type_name -> nri.pkg.api.v1alpha1.OptionalString
- 65, // 123: nri.pkg.api.v1alpha1.LinuxRdt.schemata:type_name -> nri.pkg.api.v1alpha1.OptionalRepeatedString
- 71, // 124: nri.pkg.api.v1alpha1.LinuxRdt.enable_monitoring:type_name -> nri.pkg.api.v1alpha1.OptionalBool
- 86, // 125: nri.pkg.api.v1alpha1.CompoundFieldOwners.owners:type_name -> nri.pkg.api.v1alpha1.CompoundFieldOwners.OwnersEntry
- 87, // 126: nri.pkg.api.v1alpha1.FieldOwners.simple:type_name -> nri.pkg.api.v1alpha1.FieldOwners.SimpleEntry
- 88, // 127: nri.pkg.api.v1alpha1.FieldOwners.compound:type_name -> nri.pkg.api.v1alpha1.FieldOwners.CompoundEntry
- 89, // 128: nri.pkg.api.v1alpha1.OwningPlugins.owners:type_name -> nri.pkg.api.v1alpha1.OwningPlugins.OwnersEntry
- 51, // 129: nri.pkg.api.v1alpha1.LinuxContainer.NetDevicesEntry.value:type_name -> nri.pkg.api.v1alpha1.LinuxNetDevice
- 51, // 130: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.NetDevicesEntry.value:type_name -> nri.pkg.api.v1alpha1.LinuxNetDevice
- 73, // 131: nri.pkg.api.v1alpha1.FieldOwners.CompoundEntry.value:type_name -> nri.pkg.api.v1alpha1.CompoundFieldOwners
- 74, // 132: nri.pkg.api.v1alpha1.OwningPlugins.OwnersEntry.value:type_name -> nri.pkg.api.v1alpha1.FieldOwners
- 10, // 133: nri.pkg.api.v1alpha1.Runtime.RegisterPlugin:input_type -> nri.pkg.api.v1alpha1.RegisterPluginRequest
- 11, // 134: nri.pkg.api.v1alpha1.Runtime.UpdateContainers:input_type -> nri.pkg.api.v1alpha1.UpdateContainersRequest
- 14, // 135: nri.pkg.api.v1alpha1.Plugin.Configure:input_type -> nri.pkg.api.v1alpha1.ConfigureRequest
- 16, // 136: nri.pkg.api.v1alpha1.Plugin.Synchronize:input_type -> nri.pkg.api.v1alpha1.SynchronizeRequest
- 30, // 137: nri.pkg.api.v1alpha1.Plugin.Shutdown:input_type -> nri.pkg.api.v1alpha1.Empty
- 18, // 138: nri.pkg.api.v1alpha1.Plugin.CreateContainer:input_type -> nri.pkg.api.v1alpha1.CreateContainerRequest
- 20, // 139: nri.pkg.api.v1alpha1.Plugin.UpdateContainer:input_type -> nri.pkg.api.v1alpha1.UpdateContainerRequest
- 22, // 140: nri.pkg.api.v1alpha1.Plugin.StopContainer:input_type -> nri.pkg.api.v1alpha1.StopContainerRequest
- 24, // 141: nri.pkg.api.v1alpha1.Plugin.UpdatePodSandbox:input_type -> nri.pkg.api.v1alpha1.UpdatePodSandboxRequest
- 26, // 142: nri.pkg.api.v1alpha1.Plugin.StateChange:input_type -> nri.pkg.api.v1alpha1.StateChangeEvent
- 27, // 143: nri.pkg.api.v1alpha1.Plugin.ValidateContainerAdjustment:input_type -> nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest
- 13, // 144: nri.pkg.api.v1alpha1.HostFunctions.Log:input_type -> nri.pkg.api.v1alpha1.LogRequest
- 30, // 145: nri.pkg.api.v1alpha1.Runtime.RegisterPlugin:output_type -> nri.pkg.api.v1alpha1.Empty
- 12, // 146: nri.pkg.api.v1alpha1.Runtime.UpdateContainers:output_type -> nri.pkg.api.v1alpha1.UpdateContainersResponse
- 15, // 147: nri.pkg.api.v1alpha1.Plugin.Configure:output_type -> nri.pkg.api.v1alpha1.ConfigureResponse
- 17, // 148: nri.pkg.api.v1alpha1.Plugin.Synchronize:output_type -> nri.pkg.api.v1alpha1.SynchronizeResponse
- 30, // 149: nri.pkg.api.v1alpha1.Plugin.Shutdown:output_type -> nri.pkg.api.v1alpha1.Empty
- 19, // 150: nri.pkg.api.v1alpha1.Plugin.CreateContainer:output_type -> nri.pkg.api.v1alpha1.CreateContainerResponse
- 21, // 151: nri.pkg.api.v1alpha1.Plugin.UpdateContainer:output_type -> nri.pkg.api.v1alpha1.UpdateContainerResponse
- 23, // 152: nri.pkg.api.v1alpha1.Plugin.StopContainer:output_type -> nri.pkg.api.v1alpha1.StopContainerResponse
- 25, // 153: nri.pkg.api.v1alpha1.Plugin.UpdatePodSandbox:output_type -> nri.pkg.api.v1alpha1.UpdatePodSandboxResponse
- 30, // 154: nri.pkg.api.v1alpha1.Plugin.StateChange:output_type -> nri.pkg.api.v1alpha1.Empty
- 29, // 155: nri.pkg.api.v1alpha1.Plugin.ValidateContainerAdjustment:output_type -> nri.pkg.api.v1alpha1.ValidateContainerAdjustmentResponse
- 30, // 156: nri.pkg.api.v1alpha1.HostFunctions.Log:output_type -> nri.pkg.api.v1alpha1.Empty
- 145, // [145:157] is the sub-list for method output_type
- 133, // [133:145] is the sub-list for method input_type
- 133, // [133:133] is the sub-list for extension type_name
- 133, // [133:133] is the sub-list for extension extendee
- 0, // [0:133] is the sub-list for field type_name
+ 49, // 4: nri.pkg.api.v1alpha1.SynchronizeRequest.pods:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 5: nri.pkg.api.v1alpha1.SynchronizeRequest.containers:type_name -> nri.pkg.api.v1alpha1.Container
+ 77, // 6: nri.pkg.api.v1alpha1.SynchronizeResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 49, // 7: nri.pkg.api.v1alpha1.RunPodSandboxRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 49, // 8: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 61, // 9: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest.overhead_linux_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 61, // 10: nri.pkg.api.v1alpha1.UpdatePodSandboxRequest.linux_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 49, // 11: nri.pkg.api.v1alpha1.PostUpdatePodSandboxRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 49, // 12: nri.pkg.api.v1alpha1.StopPodSandboxRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 49, // 13: nri.pkg.api.v1alpha1.RemovePodSandboxRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 49, // 14: nri.pkg.api.v1alpha1.CreateContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 15: nri.pkg.api.v1alpha1.CreateContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 71, // 16: nri.pkg.api.v1alpha1.CreateContainerResponse.adjust:type_name -> nri.pkg.api.v1alpha1.ContainerAdjustment
+ 77, // 17: nri.pkg.api.v1alpha1.CreateContainerResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 79, // 18: nri.pkg.api.v1alpha1.CreateContainerResponse.evict:type_name -> nri.pkg.api.v1alpha1.ContainerEviction
+ 49, // 19: nri.pkg.api.v1alpha1.PostCreateContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 20: nri.pkg.api.v1alpha1.PostCreateContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 49, // 21: nri.pkg.api.v1alpha1.StartContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 22: nri.pkg.api.v1alpha1.StartContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 49, // 23: nri.pkg.api.v1alpha1.PostStartContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 24: nri.pkg.api.v1alpha1.PostStartContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 49, // 25: nri.pkg.api.v1alpha1.UpdateContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 26: nri.pkg.api.v1alpha1.UpdateContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 61, // 27: nri.pkg.api.v1alpha1.UpdateContainerRequest.linux_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 77, // 28: nri.pkg.api.v1alpha1.UpdateContainerResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 79, // 29: nri.pkg.api.v1alpha1.UpdateContainerResponse.evict:type_name -> nri.pkg.api.v1alpha1.ContainerEviction
+ 49, // 30: nri.pkg.api.v1alpha1.PostUpdateContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 31: nri.pkg.api.v1alpha1.PostUpdateContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 49, // 32: nri.pkg.api.v1alpha1.StopContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 33: nri.pkg.api.v1alpha1.StopContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 77, // 34: nri.pkg.api.v1alpha1.StopContainerResponse.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 49, // 35: nri.pkg.api.v1alpha1.RemoveContainerRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 36: nri.pkg.api.v1alpha1.RemoveContainerRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 0, // 37: nri.pkg.api.v1alpha1.StateChangeEvent.event:type_name -> nri.pkg.api.v1alpha1.Event
+ 49, // 38: nri.pkg.api.v1alpha1.StateChangeEvent.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 39: nri.pkg.api.v1alpha1.StateChangeEvent.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 49, // 40: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.pod:type_name -> nri.pkg.api.v1alpha1.PodSandbox
+ 51, // 41: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.container:type_name -> nri.pkg.api.v1alpha1.Container
+ 71, // 42: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.adjust:type_name -> nri.pkg.api.v1alpha1.ContainerAdjustment
+ 77, // 43: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.update:type_name -> nri.pkg.api.v1alpha1.ContainerUpdate
+ 93, // 44: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.owners:type_name -> nri.pkg.api.v1alpha1.OwningPlugins
+ 46, // 45: nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest.plugins:type_name -> nri.pkg.api.v1alpha1.PluginInstance
+ 94, // 46: nri.pkg.api.v1alpha1.PodSandbox.labels:type_name -> nri.pkg.api.v1alpha1.PodSandbox.LabelsEntry
+ 95, // 47: nri.pkg.api.v1alpha1.PodSandbox.annotations:type_name -> nri.pkg.api.v1alpha1.PodSandbox.AnnotationsEntry
+ 50, // 48: nri.pkg.api.v1alpha1.PodSandbox.linux:type_name -> nri.pkg.api.v1alpha1.LinuxPodSandbox
+ 61, // 49: nri.pkg.api.v1alpha1.LinuxPodSandbox.pod_overhead:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 61, // 50: nri.pkg.api.v1alpha1.LinuxPodSandbox.pod_resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 56, // 51: nri.pkg.api.v1alpha1.LinuxPodSandbox.namespaces:type_name -> nri.pkg.api.v1alpha1.LinuxNamespace
+ 61, // 52: nri.pkg.api.v1alpha1.LinuxPodSandbox.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 1, // 53: nri.pkg.api.v1alpha1.Container.state:type_name -> nri.pkg.api.v1alpha1.ContainerState
+ 96, // 54: nri.pkg.api.v1alpha1.Container.labels:type_name -> nri.pkg.api.v1alpha1.Container.LabelsEntry
+ 97, // 55: nri.pkg.api.v1alpha1.Container.annotations:type_name -> nri.pkg.api.v1alpha1.Container.AnnotationsEntry
+ 52, // 56: nri.pkg.api.v1alpha1.Container.mounts:type_name -> nri.pkg.api.v1alpha1.Mount
+ 53, // 57: nri.pkg.api.v1alpha1.Container.hooks:type_name -> nri.pkg.api.v1alpha1.Hooks
+ 55, // 58: nri.pkg.api.v1alpha1.Container.linux:type_name -> nri.pkg.api.v1alpha1.LinuxContainer
+ 66, // 59: nri.pkg.api.v1alpha1.Container.rlimits:type_name -> nri.pkg.api.v1alpha1.POSIXRlimit
+ 59, // 60: nri.pkg.api.v1alpha1.Container.CDI_devices:type_name -> nri.pkg.api.v1alpha1.CDIDevice
+ 60, // 61: nri.pkg.api.v1alpha1.Container.user:type_name -> nri.pkg.api.v1alpha1.User
+ 54, // 62: nri.pkg.api.v1alpha1.Hooks.prestart:type_name -> nri.pkg.api.v1alpha1.Hook
+ 54, // 63: nri.pkg.api.v1alpha1.Hooks.create_runtime:type_name -> nri.pkg.api.v1alpha1.Hook
+ 54, // 64: nri.pkg.api.v1alpha1.Hooks.create_container:type_name -> nri.pkg.api.v1alpha1.Hook
+ 54, // 65: nri.pkg.api.v1alpha1.Hooks.start_container:type_name -> nri.pkg.api.v1alpha1.Hook
+ 54, // 66: nri.pkg.api.v1alpha1.Hooks.poststart:type_name -> nri.pkg.api.v1alpha1.Hook
+ 54, // 67: nri.pkg.api.v1alpha1.Hooks.poststop:type_name -> nri.pkg.api.v1alpha1.Hook
+ 84, // 68: nri.pkg.api.v1alpha1.Hook.timeout:type_name -> nri.pkg.api.v1alpha1.OptionalInt
+ 56, // 69: nri.pkg.api.v1alpha1.LinuxContainer.namespaces:type_name -> nri.pkg.api.v1alpha1.LinuxNamespace
+ 57, // 70: nri.pkg.api.v1alpha1.LinuxContainer.devices:type_name -> nri.pkg.api.v1alpha1.LinuxDevice
+ 61, // 71: nri.pkg.api.v1alpha1.LinuxContainer.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 84, // 72: nri.pkg.api.v1alpha1.LinuxContainer.oom_score_adj:type_name -> nri.pkg.api.v1alpha1.OptionalInt
+ 68, // 73: nri.pkg.api.v1alpha1.LinuxContainer.io_priority:type_name -> nri.pkg.api.v1alpha1.LinuxIOPriority
+ 65, // 74: nri.pkg.api.v1alpha1.LinuxContainer.seccomp_profile:type_name -> nri.pkg.api.v1alpha1.SecurityProfile
+ 73, // 75: nri.pkg.api.v1alpha1.LinuxContainer.seccomp_policy:type_name -> nri.pkg.api.v1alpha1.LinuxSeccomp
+ 98, // 76: nri.pkg.api.v1alpha1.LinuxContainer.sysctl:type_name -> nri.pkg.api.v1alpha1.LinuxContainer.SysctlEntry
+ 99, // 77: nri.pkg.api.v1alpha1.LinuxContainer.net_devices:type_name -> nri.pkg.api.v1alpha1.LinuxContainer.NetDevicesEntry
+ 70, // 78: nri.pkg.api.v1alpha1.LinuxContainer.scheduler:type_name -> nri.pkg.api.v1alpha1.LinuxScheduler
+ 80, // 79: nri.pkg.api.v1alpha1.LinuxContainer.rdt:type_name -> nri.pkg.api.v1alpha1.LinuxRdt
+ 90, // 80: nri.pkg.api.v1alpha1.LinuxDevice.file_mode:type_name -> nri.pkg.api.v1alpha1.OptionalFileMode
+ 86, // 81: nri.pkg.api.v1alpha1.LinuxDevice.uid:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
+ 86, // 82: nri.pkg.api.v1alpha1.LinuxDevice.gid:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
+ 87, // 83: nri.pkg.api.v1alpha1.LinuxDeviceCgroup.major:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 87, // 84: nri.pkg.api.v1alpha1.LinuxDeviceCgroup.minor:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 62, // 85: nri.pkg.api.v1alpha1.LinuxResources.memory:type_name -> nri.pkg.api.v1alpha1.LinuxMemory
+ 63, // 86: nri.pkg.api.v1alpha1.LinuxResources.cpu:type_name -> nri.pkg.api.v1alpha1.LinuxCPU
+ 64, // 87: nri.pkg.api.v1alpha1.LinuxResources.hugepage_limits:type_name -> nri.pkg.api.v1alpha1.HugepageLimit
+ 82, // 88: nri.pkg.api.v1alpha1.LinuxResources.blockio_class:type_name -> nri.pkg.api.v1alpha1.OptionalString
+ 82, // 89: nri.pkg.api.v1alpha1.LinuxResources.rdt_class:type_name -> nri.pkg.api.v1alpha1.OptionalString
+ 100, // 90: nri.pkg.api.v1alpha1.LinuxResources.unified:type_name -> nri.pkg.api.v1alpha1.LinuxResources.UnifiedEntry
+ 58, // 91: nri.pkg.api.v1alpha1.LinuxResources.devices:type_name -> nri.pkg.api.v1alpha1.LinuxDeviceCgroup
+ 67, // 92: nri.pkg.api.v1alpha1.LinuxResources.pids:type_name -> nri.pkg.api.v1alpha1.LinuxPids
+ 87, // 93: nri.pkg.api.v1alpha1.LinuxMemory.limit:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 87, // 94: nri.pkg.api.v1alpha1.LinuxMemory.reservation:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 87, // 95: nri.pkg.api.v1alpha1.LinuxMemory.swap:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 87, // 96: nri.pkg.api.v1alpha1.LinuxMemory.kernel:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 87, // 97: nri.pkg.api.v1alpha1.LinuxMemory.kernel_tcp:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 88, // 98: nri.pkg.api.v1alpha1.LinuxMemory.swappiness:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
+ 89, // 99: nri.pkg.api.v1alpha1.LinuxMemory.disable_oom_killer:type_name -> nri.pkg.api.v1alpha1.OptionalBool
+ 89, // 100: nri.pkg.api.v1alpha1.LinuxMemory.use_hierarchy:type_name -> nri.pkg.api.v1alpha1.OptionalBool
+ 88, // 101: nri.pkg.api.v1alpha1.LinuxCPU.shares:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
+ 87, // 102: nri.pkg.api.v1alpha1.LinuxCPU.quota:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 88, // 103: nri.pkg.api.v1alpha1.LinuxCPU.period:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
+ 87, // 104: nri.pkg.api.v1alpha1.LinuxCPU.realtime_runtime:type_name -> nri.pkg.api.v1alpha1.OptionalInt64
+ 88, // 105: nri.pkg.api.v1alpha1.LinuxCPU.realtime_period:type_name -> nri.pkg.api.v1alpha1.OptionalUInt64
+ 9, // 106: nri.pkg.api.v1alpha1.SecurityProfile.profile_type:type_name -> nri.pkg.api.v1alpha1.SecurityProfile.ProfileType
+ 2, // 107: nri.pkg.api.v1alpha1.LinuxIOPriority.class:type_name -> nri.pkg.api.v1alpha1.IOPrioClass
+ 3, // 108: nri.pkg.api.v1alpha1.LinuxScheduler.policy:type_name -> nri.pkg.api.v1alpha1.LinuxSchedulerPolicy
+ 4, // 109: nri.pkg.api.v1alpha1.LinuxScheduler.flags:type_name -> nri.pkg.api.v1alpha1.LinuxSchedulerFlag
+ 101, // 110: nri.pkg.api.v1alpha1.ContainerAdjustment.annotations:type_name -> nri.pkg.api.v1alpha1.ContainerAdjustment.AnnotationsEntry
+ 52, // 111: nri.pkg.api.v1alpha1.ContainerAdjustment.mounts:type_name -> nri.pkg.api.v1alpha1.Mount
+ 81, // 112: nri.pkg.api.v1alpha1.ContainerAdjustment.env:type_name -> nri.pkg.api.v1alpha1.KeyValue
+ 53, // 113: nri.pkg.api.v1alpha1.ContainerAdjustment.hooks:type_name -> nri.pkg.api.v1alpha1.Hooks
+ 72, // 114: nri.pkg.api.v1alpha1.ContainerAdjustment.linux:type_name -> nri.pkg.api.v1alpha1.LinuxContainerAdjustment
+ 66, // 115: nri.pkg.api.v1alpha1.ContainerAdjustment.rlimits:type_name -> nri.pkg.api.v1alpha1.POSIXRlimit
+ 59, // 116: nri.pkg.api.v1alpha1.ContainerAdjustment.CDI_devices:type_name -> nri.pkg.api.v1alpha1.CDIDevice
+ 57, // 117: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.devices:type_name -> nri.pkg.api.v1alpha1.LinuxDevice
+ 61, // 118: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 84, // 119: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.oom_score_adj:type_name -> nri.pkg.api.v1alpha1.OptionalInt
+ 68, // 120: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.io_priority:type_name -> nri.pkg.api.v1alpha1.LinuxIOPriority
+ 73, // 121: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.seccomp_policy:type_name -> nri.pkg.api.v1alpha1.LinuxSeccomp
+ 56, // 122: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.namespaces:type_name -> nri.pkg.api.v1alpha1.LinuxNamespace
+ 102, // 123: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.sysctl:type_name -> nri.pkg.api.v1alpha1.LinuxContainerAdjustment.SysctlEntry
+ 103, // 124: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.net_devices:type_name -> nri.pkg.api.v1alpha1.LinuxContainerAdjustment.NetDevicesEntry
+ 70, // 125: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.scheduler:type_name -> nri.pkg.api.v1alpha1.LinuxScheduler
+ 80, // 126: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.rdt:type_name -> nri.pkg.api.v1alpha1.LinuxRdt
+ 76, // 127: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.memory_policy:type_name -> nri.pkg.api.v1alpha1.LinuxMemoryPolicy
+ 86, // 128: nri.pkg.api.v1alpha1.LinuxSeccomp.default_errno:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
+ 74, // 129: nri.pkg.api.v1alpha1.LinuxSeccomp.syscalls:type_name -> nri.pkg.api.v1alpha1.LinuxSyscall
+ 86, // 130: nri.pkg.api.v1alpha1.LinuxSyscall.errno_ret:type_name -> nri.pkg.api.v1alpha1.OptionalUInt32
+ 75, // 131: nri.pkg.api.v1alpha1.LinuxSyscall.args:type_name -> nri.pkg.api.v1alpha1.LinuxSeccompArg
+ 5, // 132: nri.pkg.api.v1alpha1.LinuxMemoryPolicy.mode:type_name -> nri.pkg.api.v1alpha1.MpolMode
+ 6, // 133: nri.pkg.api.v1alpha1.LinuxMemoryPolicy.flags:type_name -> nri.pkg.api.v1alpha1.MpolFlag
+ 78, // 134: nri.pkg.api.v1alpha1.ContainerUpdate.linux:type_name -> nri.pkg.api.v1alpha1.LinuxContainerUpdate
+ 61, // 135: nri.pkg.api.v1alpha1.LinuxContainerUpdate.resources:type_name -> nri.pkg.api.v1alpha1.LinuxResources
+ 82, // 136: nri.pkg.api.v1alpha1.LinuxRdt.clos_id:type_name -> nri.pkg.api.v1alpha1.OptionalString
+ 83, // 137: nri.pkg.api.v1alpha1.LinuxRdt.schemata:type_name -> nri.pkg.api.v1alpha1.OptionalRepeatedString
+ 89, // 138: nri.pkg.api.v1alpha1.LinuxRdt.enable_monitoring:type_name -> nri.pkg.api.v1alpha1.OptionalBool
+ 104, // 139: nri.pkg.api.v1alpha1.CompoundFieldOwners.owners:type_name -> nri.pkg.api.v1alpha1.CompoundFieldOwners.OwnersEntry
+ 105, // 140: nri.pkg.api.v1alpha1.FieldOwners.simple:type_name -> nri.pkg.api.v1alpha1.FieldOwners.SimpleEntry
+ 106, // 141: nri.pkg.api.v1alpha1.FieldOwners.compound:type_name -> nri.pkg.api.v1alpha1.FieldOwners.CompoundEntry
+ 107, // 142: nri.pkg.api.v1alpha1.OwningPlugins.owners:type_name -> nri.pkg.api.v1alpha1.OwningPlugins.OwnersEntry
+ 69, // 143: nri.pkg.api.v1alpha1.LinuxContainer.NetDevicesEntry.value:type_name -> nri.pkg.api.v1alpha1.LinuxNetDevice
+ 69, // 144: nri.pkg.api.v1alpha1.LinuxContainerAdjustment.NetDevicesEntry.value:type_name -> nri.pkg.api.v1alpha1.LinuxNetDevice
+ 91, // 145: nri.pkg.api.v1alpha1.FieldOwners.CompoundEntry.value:type_name -> nri.pkg.api.v1alpha1.CompoundFieldOwners
+ 92, // 146: nri.pkg.api.v1alpha1.OwningPlugins.OwnersEntry.value:type_name -> nri.pkg.api.v1alpha1.FieldOwners
+ 10, // 147: nri.pkg.api.v1alpha1.Runtime.RegisterPlugin:input_type -> nri.pkg.api.v1alpha1.RegisterPluginRequest
+ 11, // 148: nri.pkg.api.v1alpha1.Runtime.UpdateContainers:input_type -> nri.pkg.api.v1alpha1.UpdateContainersRequest
+ 14, // 149: nri.pkg.api.v1alpha1.Plugin.Configure:input_type -> nri.pkg.api.v1alpha1.ConfigureRequest
+ 16, // 150: nri.pkg.api.v1alpha1.Plugin.Synchronize:input_type -> nri.pkg.api.v1alpha1.SynchronizeRequest
+ 48, // 151: nri.pkg.api.v1alpha1.Plugin.Shutdown:input_type -> nri.pkg.api.v1alpha1.Empty
+ 18, // 152: nri.pkg.api.v1alpha1.Plugin.RunPodSandbox:input_type -> nri.pkg.api.v1alpha1.RunPodSandboxRequest
+ 20, // 153: nri.pkg.api.v1alpha1.Plugin.UpdatePodSandbox:input_type -> nri.pkg.api.v1alpha1.UpdatePodSandboxRequest
+ 22, // 154: nri.pkg.api.v1alpha1.Plugin.PostUpdatePodSandbox:input_type -> nri.pkg.api.v1alpha1.PostUpdatePodSandboxRequest
+ 24, // 155: nri.pkg.api.v1alpha1.Plugin.StopPodSandbox:input_type -> nri.pkg.api.v1alpha1.StopPodSandboxRequest
+ 26, // 156: nri.pkg.api.v1alpha1.Plugin.RemovePodSandbox:input_type -> nri.pkg.api.v1alpha1.RemovePodSandboxRequest
+ 28, // 157: nri.pkg.api.v1alpha1.Plugin.CreateContainer:input_type -> nri.pkg.api.v1alpha1.CreateContainerRequest
+ 30, // 158: nri.pkg.api.v1alpha1.Plugin.PostCreateContainer:input_type -> nri.pkg.api.v1alpha1.PostCreateContainerRequest
+ 32, // 159: nri.pkg.api.v1alpha1.Plugin.StartContainer:input_type -> nri.pkg.api.v1alpha1.StartContainerRequest
+ 34, // 160: nri.pkg.api.v1alpha1.Plugin.PostStartContainer:input_type -> nri.pkg.api.v1alpha1.PostStartContainerRequest
+ 36, // 161: nri.pkg.api.v1alpha1.Plugin.UpdateContainer:input_type -> nri.pkg.api.v1alpha1.UpdateContainerRequest
+ 38, // 162: nri.pkg.api.v1alpha1.Plugin.PostUpdateContainer:input_type -> nri.pkg.api.v1alpha1.PostUpdateContainerRequest
+ 40, // 163: nri.pkg.api.v1alpha1.Plugin.StopContainer:input_type -> nri.pkg.api.v1alpha1.StopContainerRequest
+ 42, // 164: nri.pkg.api.v1alpha1.Plugin.RemoveContainer:input_type -> nri.pkg.api.v1alpha1.RemoveContainerRequest
+ 44, // 165: nri.pkg.api.v1alpha1.Plugin.StateChange:input_type -> nri.pkg.api.v1alpha1.StateChangeEvent
+ 45, // 166: nri.pkg.api.v1alpha1.Plugin.ValidateContainerAdjustment:input_type -> nri.pkg.api.v1alpha1.ValidateContainerAdjustmentRequest
+ 13, // 167: nri.pkg.api.v1alpha1.HostFunctions.Log:input_type -> nri.pkg.api.v1alpha1.LogRequest
+ 48, // 168: nri.pkg.api.v1alpha1.Runtime.RegisterPlugin:output_type -> nri.pkg.api.v1alpha1.Empty
+ 12, // 169: nri.pkg.api.v1alpha1.Runtime.UpdateContainers:output_type -> nri.pkg.api.v1alpha1.UpdateContainersResponse
+ 15, // 170: nri.pkg.api.v1alpha1.Plugin.Configure:output_type -> nri.pkg.api.v1alpha1.ConfigureResponse
+ 17, // 171: nri.pkg.api.v1alpha1.Plugin.Synchronize:output_type -> nri.pkg.api.v1alpha1.SynchronizeResponse
+ 48, // 172: nri.pkg.api.v1alpha1.Plugin.Shutdown:output_type -> nri.pkg.api.v1alpha1.Empty
+ 19, // 173: nri.pkg.api.v1alpha1.Plugin.RunPodSandbox:output_type -> nri.pkg.api.v1alpha1.RunPodSandboxResponse
+ 21, // 174: nri.pkg.api.v1alpha1.Plugin.UpdatePodSandbox:output_type -> nri.pkg.api.v1alpha1.UpdatePodSandboxResponse
+ 23, // 175: nri.pkg.api.v1alpha1.Plugin.PostUpdatePodSandbox:output_type -> nri.pkg.api.v1alpha1.PostUpdatePodSandboxResponse
+ 25, // 176: nri.pkg.api.v1alpha1.Plugin.StopPodSandbox:output_type -> nri.pkg.api.v1alpha1.StopPodSandboxResponse
+ 27, // 177: nri.pkg.api.v1alpha1.Plugin.RemovePodSandbox:output_type -> nri.pkg.api.v1alpha1.RemovePodSandboxResponse
+ 29, // 178: nri.pkg.api.v1alpha1.Plugin.CreateContainer:output_type -> nri.pkg.api.v1alpha1.CreateContainerResponse
+ 31, // 179: nri.pkg.api.v1alpha1.Plugin.PostCreateContainer:output_type -> nri.pkg.api.v1alpha1.PostCreateContainerResponse
+ 33, // 180: nri.pkg.api.v1alpha1.Plugin.StartContainer:output_type -> nri.pkg.api.v1alpha1.StartContainerResponse
+ 35, // 181: nri.pkg.api.v1alpha1.Plugin.PostStartContainer:output_type -> nri.pkg.api.v1alpha1.PostStartContainerResponse
+ 37, // 182: nri.pkg.api.v1alpha1.Plugin.UpdateContainer:output_type -> nri.pkg.api.v1alpha1.UpdateContainerResponse
+ 39, // 183: nri.pkg.api.v1alpha1.Plugin.PostUpdateContainer:output_type -> nri.pkg.api.v1alpha1.PostUpdateContainerResponse
+ 41, // 184: nri.pkg.api.v1alpha1.Plugin.StopContainer:output_type -> nri.pkg.api.v1alpha1.StopContainerResponse
+ 43, // 185: nri.pkg.api.v1alpha1.Plugin.RemoveContainer:output_type -> nri.pkg.api.v1alpha1.RemoveContainerResponse
+ 48, // 186: nri.pkg.api.v1alpha1.Plugin.StateChange:output_type -> nri.pkg.api.v1alpha1.Empty
+ 47, // 187: nri.pkg.api.v1alpha1.Plugin.ValidateContainerAdjustment:output_type -> nri.pkg.api.v1alpha1.ValidateContainerAdjustmentResponse
+ 48, // 188: nri.pkg.api.v1alpha1.HostFunctions.Log:output_type -> nri.pkg.api.v1alpha1.Empty
+ 168, // [168:189] is the sub-list for method output_type
+ 147, // [147:168] is the sub-list for method input_type
+ 147, // [147:147] is the sub-list for extension type_name
+ 147, // [147:147] is the sub-list for extension extendee
+ 0, // [0:147] is the sub-list for field type_name
}
func init() { file_pkg_api_api_proto_init() }
@@ -6642,8 +7658,80 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateContainersRequest); i {
+ file_pkg_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateContainersRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateContainersResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*LogRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConfigureRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConfigureResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SynchronizeRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SynchronizeResponse); i {
case 0:
return &v.state
case 1:
@@ -6654,8 +7742,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateContainersResponse); i {
+ file_pkg_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RunPodSandboxRequest); i {
case 0:
return &v.state
case 1:
@@ -6666,8 +7754,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LogRequest); i {
+ file_pkg_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RunPodSandboxResponse); i {
case 0:
return &v.state
case 1:
@@ -6678,8 +7766,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConfigureRequest); i {
+ file_pkg_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdatePodSandboxRequest); i {
case 0:
return &v.state
case 1:
@@ -6690,8 +7778,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConfigureResponse); i {
+ file_pkg_api_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdatePodSandboxResponse); i {
case 0:
return &v.state
case 1:
@@ -6702,8 +7790,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SynchronizeRequest); i {
+ file_pkg_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostUpdatePodSandboxRequest); i {
case 0:
return &v.state
case 1:
@@ -6714,8 +7802,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SynchronizeResponse); i {
+ file_pkg_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostUpdatePodSandboxResponse); i {
case 0:
return &v.state
case 1:
@@ -6726,7 +7814,55 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StopPodSandboxRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StopPodSandboxResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemovePodSandboxRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemovePodSandboxResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateContainerRequest); i {
case 0:
return &v.state
@@ -6738,7 +7874,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateContainerResponse); i {
case 0:
return &v.state
@@ -6750,7 +7886,79 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostCreateContainerRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostCreateContainerResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StartContainerRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StartContainerResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostStartContainerRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostStartContainerResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateContainerRequest); i {
case 0:
return &v.state
@@ -6762,7 +7970,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateContainerResponse); i {
case 0:
return &v.state
@@ -6774,7 +7982,31 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostUpdateContainerRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PostUpdateContainerResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_pkg_api_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StopContainerRequest); i {
case 0:
return &v.state
@@ -6786,7 +8018,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StopContainerResponse); i {
case 0:
return &v.state
@@ -6798,8 +8030,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdatePodSandboxRequest); i {
+ file_pkg_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveContainerRequest); i {
case 0:
return &v.state
case 1:
@@ -6810,8 +8042,8 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdatePodSandboxResponse); i {
+ file_pkg_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveContainerResponse); i {
case 0:
return &v.state
case 1:
@@ -6822,7 +8054,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StateChangeEvent); i {
case 0:
return &v.state
@@ -6834,7 +8066,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValidateContainerAdjustmentRequest); i {
case 0:
return &v.state
@@ -6846,7 +8078,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PluginInstance); i {
case 0:
return &v.state
@@ -6858,7 +8090,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValidateContainerAdjustmentResponse); i {
case 0:
return &v.state
@@ -6870,7 +8102,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Empty); i {
case 0:
return &v.state
@@ -6882,7 +8114,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PodSandbox); i {
case 0:
return &v.state
@@ -6894,7 +8126,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxPodSandbox); i {
case 0:
return &v.state
@@ -6906,7 +8138,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Container); i {
case 0:
return &v.state
@@ -6918,7 +8150,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Mount); i {
case 0:
return &v.state
@@ -6930,7 +8162,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Hooks); i {
case 0:
return &v.state
@@ -6942,7 +8174,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Hook); i {
case 0:
return &v.state
@@ -6954,7 +8186,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxContainer); i {
case 0:
return &v.state
@@ -6966,7 +8198,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxNamespace); i {
case 0:
return &v.state
@@ -6978,7 +8210,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxDevice); i {
case 0:
return &v.state
@@ -6990,7 +8222,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxDeviceCgroup); i {
case 0:
return &v.state
@@ -7002,7 +8234,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CDIDevice); i {
case 0:
return &v.state
@@ -7014,7 +8246,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*User); i {
case 0:
return &v.state
@@ -7026,7 +8258,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxResources); i {
case 0:
return &v.state
@@ -7038,7 +8270,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxMemory); i {
case 0:
return &v.state
@@ -7050,7 +8282,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxCPU); i {
case 0:
return &v.state
@@ -7062,7 +8294,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HugepageLimit); i {
case 0:
return &v.state
@@ -7074,7 +8306,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SecurityProfile); i {
case 0:
return &v.state
@@ -7086,7 +8318,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*POSIXRlimit); i {
case 0:
return &v.state
@@ -7098,7 +8330,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxPids); i {
case 0:
return &v.state
@@ -7110,7 +8342,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxIOPriority); i {
case 0:
return &v.state
@@ -7122,7 +8354,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxNetDevice); i {
case 0:
return &v.state
@@ -7134,7 +8366,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxScheduler); i {
case 0:
return &v.state
@@ -7146,7 +8378,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContainerAdjustment); i {
case 0:
return &v.state
@@ -7158,7 +8390,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxContainerAdjustment); i {
case 0:
return &v.state
@@ -7170,7 +8402,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxSeccomp); i {
case 0:
return &v.state
@@ -7182,7 +8414,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxSyscall); i {
case 0:
return &v.state
@@ -7194,7 +8426,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxSeccompArg); i {
case 0:
return &v.state
@@ -7206,7 +8438,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxMemoryPolicy); i {
case 0:
return &v.state
@@ -7218,7 +8450,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContainerUpdate); i {
case 0:
return &v.state
@@ -7230,7 +8462,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxContainerUpdate); i {
case 0:
return &v.state
@@ -7242,7 +8474,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContainerEviction); i {
case 0:
return &v.state
@@ -7254,7 +8486,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LinuxRdt); i {
case 0:
return &v.state
@@ -7266,7 +8498,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*KeyValue); i {
case 0:
return &v.state
@@ -7278,7 +8510,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalString); i {
case 0:
return &v.state
@@ -7290,7 +8522,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalRepeatedString); i {
case 0:
return &v.state
@@ -7302,7 +8534,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalInt); i {
case 0:
return &v.state
@@ -7314,7 +8546,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalInt32); i {
case 0:
return &v.state
@@ -7326,7 +8558,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalUInt32); i {
case 0:
return &v.state
@@ -7338,7 +8570,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalInt64); i {
case 0:
return &v.state
@@ -7350,7 +8582,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalUInt64); i {
case 0:
return &v.state
@@ -7362,7 +8594,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalBool); i {
case 0:
return &v.state
@@ -7374,7 +8606,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OptionalFileMode); i {
case 0:
return &v.state
@@ -7386,7 +8618,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CompoundFieldOwners); i {
case 0:
return &v.state
@@ -7398,7 +8630,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FieldOwners); i {
case 0:
return &v.state
@@ -7410,7 +8642,7 @@ func file_pkg_api_api_proto_init() {
return nil
}
}
- file_pkg_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
+ file_pkg_api_api_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OwningPlugins); i {
case 0:
return &v.state
@@ -7429,7 +8661,7 @@ func file_pkg_api_api_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pkg_api_api_proto_rawDesc,
NumEnums: 10,
- NumMessages: 80,
+ NumMessages: 98,
NumExtensions: 0,
NumServices: 3,
},
diff --git a/pkg/api/api.proto b/pkg/api/api.proto
index 6c35d105..bb5dbd75 100644
--- a/pkg/api/api.proto
+++ b/pkg/api/api.proto
@@ -86,6 +86,21 @@ service Plugin {
// Shutdown a plugin (let it know the runtime is going down).
rpc Shutdown(Empty) returns (Empty);
+ // RunPodSandbox relays the corresponding request to the plugin.
+ rpc RunPodSandbox(RunPodSandboxRequest) returns (RunPodSandboxResponse);
+
+ // UpdatePodSandbox relays the corresponding request to the plugin.
+ rpc UpdatePodSandbox(UpdatePodSandboxRequest) returns (UpdatePodSandboxResponse);
+
+ // PostUpdatePodSandbox relays the corresponding request to the plugin.
+ rpc PostUpdatePodSandbox(PostUpdatePodSandboxRequest) returns (PostUpdatePodSandboxResponse);
+
+ // StopPodSandbox relays the corresponding request to the plugin.
+ rpc StopPodSandbox(StopPodSandboxRequest) returns (StopPodSandboxResponse);
+
+ // RemovePodSandbox relays the corresponding request to the plugin.
+ rpc RemovePodSandbox(RemovePodSandboxRequest) returns (RemovePodSandboxResponse);
+
// CreateContainer relays the corresponding request to the plugin. In
// response, the plugin can adjust the container being created, and
// update other containers in the runtime. Container adjustment can
@@ -94,17 +109,30 @@ service Plugin {
// assigned container resources.
rpc CreateContainer(CreateContainerRequest) returns (CreateContainerResponse);
+ // PostCreateContainer relays the corresponding container request to the plugin.
+ rpc PostCreateContainer(PostCreateContainerRequest) returns (PostCreateContainerResponse);
+
+ // StartContainer relays the corresponding container request to the plugin.
+ rpc StartContainer(StartContainerRequest) returns (StartContainerResponse);
+
+ // PostStartContainer relays the corresponding container request to the plugin.
+ rpc PostStartContainer(PostStartContainerRequest) returns (PostStartContainerResponse);
+
// UpdateContainer relays the corresponding request to the plugin.
// The plugin can alter how the container is updated and request updates
// to additional containers in the runtime.
rpc UpdateContainer(UpdateContainerRequest) returns (UpdateContainerResponse);
+ // PostUpdateContainer relays the corresponding container request to the plugin.
+ rpc PostUpdateContainer(PostUpdateContainerRequest) returns (PostUpdateContainerResponse);
+
// StopContainer relays the corresponding request to the plugin. The plugin
// can update any of the remaining containers in the runtime in response.
rpc StopContainer(StopContainerRequest) returns (StopContainerResponse);
- // UpdatePodSandbox relays the corresponding request to the plugin.
- rpc UpdatePodSandbox(UpdatePodSandboxRequest) returns (UpdatePodSandboxResponse);
+ // RemoveContainer relays the corresponding container request to the plugin.
+ rpc RemoveContainer(RemoveContainerRequest) returns (RemoveContainerResponse);
+
// StateChange relays any remaining pod or container lifecycle/state change
// events the plugin has subscribed for. These can be used to trigger any
@@ -173,6 +201,45 @@ message SynchronizeResponse {
bool more = 2;
}
+message RunPodSandboxRequest {
+ // Pod being created.
+ PodSandbox pod = 1;
+}
+
+message RunPodSandboxResponse{}
+
+message UpdatePodSandboxRequest {
+ // Pod being updated.
+ PodSandbox pod = 1;
+ // Overhead associated with this pod.
+ LinuxResources overhead_linux_resources = 2;
+ // Sum of container resources for this pod.
+ LinuxResources linux_resources = 3;
+}
+
+message UpdatePodSandboxResponse {}
+
+message PostUpdatePodSandboxRequest {
+ // Updated pod.
+ PodSandbox pod = 1;
+}
+
+message PostUpdatePodSandboxResponse {}
+
+message StopPodSandboxRequest {
+ // Pod being stopped.
+ PodSandbox pod = 1;
+}
+
+message StopPodSandboxResponse{}
+
+message RemovePodSandboxRequest {
+ // Pod being removed.
+ PodSandbox pod = 1;
+}
+
+message RemovePodSandboxResponse{}
+
message CreateContainerRequest {
// Pod of container being created.
PodSandbox pod = 1;
@@ -189,6 +256,33 @@ message CreateContainerResponse {
repeated ContainerEviction evict = 3;
}
+message PostCreateContainerRequest {
+ // Pod of created container.
+ PodSandbox pod = 1;
+ // Created container.
+ Container container = 2;
+}
+
+message PostCreateContainerResponse{}
+
+message StartContainerRequest {
+ // Pod of container being started.
+ PodSandbox pod = 1;
+ // Container being started.
+ Container container = 2;
+}
+
+message StartContainerResponse {}
+
+message PostStartContainerRequest {
+ // Pod of started container.
+ PodSandbox pod = 1;
+ // Started container.
+ Container container = 2;
+}
+
+message PostStartContainerResponse {}
+
message UpdateContainerRequest {
// Pod of container being updated.
PodSandbox pod = 1;
@@ -205,6 +299,15 @@ message UpdateContainerResponse {
repeated ContainerEviction evict = 2;
}
+message PostUpdateContainerRequest {
+ // Pod of updated container.
+ PodSandbox pod = 1;
+ // Updated container.
+ Container container = 2;
+}
+
+message PostUpdateContainerResponse {}
+
message StopContainerRequest {
// Pod of container being stopped.
PodSandbox pod = 1;
@@ -217,16 +320,14 @@ message StopContainerResponse {
repeated ContainerUpdate update = 1;
}
-message UpdatePodSandboxRequest {
- // Pod being updated.
+message RemoveContainerRequest {
+ // Pod of removed container.
PodSandbox pod = 1;
- // Overhead associated with this pod.
- LinuxResources overhead_linux_resources = 2;
- // Sum of container resources for this pod.
- LinuxResources linux_resources = 3;
+ // Removed container.
+ Container container = 2;
}
-message UpdatePodSandboxResponse {}
+message RemoveContainerResponse {}
message StateChangeEvent {
// Event type of notification.
diff --git a/pkg/api/api_host.pb.go b/pkg/api/api_host.pb.go
index a2f901ea..5b25aef7 100644
--- a/pkg/api/api_host.pb.go
+++ b/pkg/api/api_host.pb.go
@@ -176,21 +176,57 @@ func (p *PluginPlugin) Load(ctx context.Context, pluginPath string, hostFunction
if shutdown == nil {
return nil, errors.New("plugin_shutdown is not exported")
}
+ runpodsandbox := module.ExportedFunction("plugin_run_pod_sandbox")
+ if runpodsandbox == nil {
+ return nil, errors.New("plugin_run_pod_sandbox is not exported")
+ }
+ updatepodsandbox := module.ExportedFunction("plugin_update_pod_sandbox")
+ if updatepodsandbox == nil {
+ return nil, errors.New("plugin_update_pod_sandbox is not exported")
+ }
+ postupdatepodsandbox := module.ExportedFunction("plugin_post_update_pod_sandbox")
+ if postupdatepodsandbox == nil {
+ return nil, errors.New("plugin_post_update_pod_sandbox is not exported")
+ }
+ stoppodsandbox := module.ExportedFunction("plugin_stop_pod_sandbox")
+ if stoppodsandbox == nil {
+ return nil, errors.New("plugin_stop_pod_sandbox is not exported")
+ }
+ removepodsandbox := module.ExportedFunction("plugin_remove_pod_sandbox")
+ if removepodsandbox == nil {
+ return nil, errors.New("plugin_remove_pod_sandbox is not exported")
+ }
createcontainer := module.ExportedFunction("plugin_create_container")
if createcontainer == nil {
return nil, errors.New("plugin_create_container is not exported")
}
+ postcreatecontainer := module.ExportedFunction("plugin_post_create_container")
+ if postcreatecontainer == nil {
+ return nil, errors.New("plugin_post_create_container is not exported")
+ }
+ startcontainer := module.ExportedFunction("plugin_start_container")
+ if startcontainer == nil {
+ return nil, errors.New("plugin_start_container is not exported")
+ }
+ poststartcontainer := module.ExportedFunction("plugin_post_start_container")
+ if poststartcontainer == nil {
+ return nil, errors.New("plugin_post_start_container is not exported")
+ }
updatecontainer := module.ExportedFunction("plugin_update_container")
if updatecontainer == nil {
return nil, errors.New("plugin_update_container is not exported")
}
+ postupdatecontainer := module.ExportedFunction("plugin_post_update_container")
+ if postupdatecontainer == nil {
+ return nil, errors.New("plugin_post_update_container is not exported")
+ }
stopcontainer := module.ExportedFunction("plugin_stop_container")
if stopcontainer == nil {
return nil, errors.New("plugin_stop_container is not exported")
}
- updatepodsandbox := module.ExportedFunction("plugin_update_pod_sandbox")
- if updatepodsandbox == nil {
- return nil, errors.New("plugin_update_pod_sandbox is not exported")
+ removecontainer := module.ExportedFunction("plugin_remove_container")
+ if removecontainer == nil {
+ return nil, errors.New("plugin_remove_container is not exported")
}
statechange := module.ExportedFunction("plugin_state_change")
if statechange == nil {
@@ -218,10 +254,19 @@ func (p *PluginPlugin) Load(ctx context.Context, pluginPath string, hostFunction
configure: configure,
synchronize: synchronize,
shutdown: shutdown,
+ runpodsandbox: runpodsandbox,
+ updatepodsandbox: updatepodsandbox,
+ postupdatepodsandbox: postupdatepodsandbox,
+ stoppodsandbox: stoppodsandbox,
+ removepodsandbox: removepodsandbox,
createcontainer: createcontainer,
+ postcreatecontainer: postcreatecontainer,
+ startcontainer: startcontainer,
+ poststartcontainer: poststartcontainer,
updatecontainer: updatecontainer,
+ postupdatecontainer: postupdatecontainer,
stopcontainer: stopcontainer,
- updatepodsandbox: updatepodsandbox,
+ removecontainer: removecontainer,
statechange: statechange,
validatecontaineradjustment: validatecontaineradjustment,
}, nil
@@ -242,10 +287,19 @@ type pluginPlugin struct {
configure api.Function
synchronize api.Function
shutdown api.Function
+ runpodsandbox api.Function
+ updatepodsandbox api.Function
+ postupdatepodsandbox api.Function
+ stoppodsandbox api.Function
+ removepodsandbox api.Function
createcontainer api.Function
+ postcreatecontainer api.Function
+ startcontainer api.Function
+ poststartcontainer api.Function
updatecontainer api.Function
+ postupdatecontainer api.Function
stopcontainer api.Function
- updatepodsandbox api.Function
+ removecontainer api.Function
statechange api.Function
validatecontaineradjustment api.Function
}
@@ -433,7 +487,7 @@ func (p *pluginPlugin) Shutdown(ctx context.Context, request *Empty) (*Empty, er
return response, nil
}
-func (p *pluginPlugin) CreateContainer(ctx context.Context, request *CreateContainerRequest) (*CreateContainerResponse, error) {
+func (p *pluginPlugin) RunPodSandbox(ctx context.Context, request *RunPodSandboxRequest) (*RunPodSandboxResponse, error) {
data, err := request.MarshalVT()
if err != nil {
return nil, err
@@ -458,7 +512,7 @@ func (p *pluginPlugin) CreateContainer(ctx context.Context, request *CreateConta
}
}
- ptrSize, err := p.createcontainer.Call(ctx, dataPtr, dataSize)
+ ptrSize, err := p.runpodsandbox.Call(ctx, dataPtr, dataSize)
if err != nil {
return nil, err
}
@@ -487,14 +541,14 @@ func (p *pluginPlugin) CreateContainer(ctx context.Context, request *CreateConta
return nil, errors.New(string(bytes))
}
- response := new(CreateContainerResponse)
+ response := new(RunPodSandboxResponse)
if err = response.UnmarshalVT(bytes); err != nil {
return nil, err
}
return response, nil
}
-func (p *pluginPlugin) UpdateContainer(ctx context.Context, request *UpdateContainerRequest) (*UpdateContainerResponse, error) {
+func (p *pluginPlugin) UpdatePodSandbox(ctx context.Context, request *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
data, err := request.MarshalVT()
if err != nil {
return nil, err
@@ -519,7 +573,7 @@ func (p *pluginPlugin) UpdateContainer(ctx context.Context, request *UpdateConta
}
}
- ptrSize, err := p.updatecontainer.Call(ctx, dataPtr, dataSize)
+ ptrSize, err := p.updatepodsandbox.Call(ctx, dataPtr, dataSize)
if err != nil {
return nil, err
}
@@ -548,14 +602,14 @@ func (p *pluginPlugin) UpdateContainer(ctx context.Context, request *UpdateConta
return nil, errors.New(string(bytes))
}
- response := new(UpdateContainerResponse)
+ response := new(UpdatePodSandboxResponse)
if err = response.UnmarshalVT(bytes); err != nil {
return nil, err
}
return response, nil
}
-func (p *pluginPlugin) StopContainer(ctx context.Context, request *StopContainerRequest) (*StopContainerResponse, error) {
+func (p *pluginPlugin) PostUpdatePodSandbox(ctx context.Context, request *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error) {
data, err := request.MarshalVT()
if err != nil {
return nil, err
@@ -580,7 +634,7 @@ func (p *pluginPlugin) StopContainer(ctx context.Context, request *StopContainer
}
}
- ptrSize, err := p.stopcontainer.Call(ctx, dataPtr, dataSize)
+ ptrSize, err := p.postupdatepodsandbox.Call(ctx, dataPtr, dataSize)
if err != nil {
return nil, err
}
@@ -609,14 +663,14 @@ func (p *pluginPlugin) StopContainer(ctx context.Context, request *StopContainer
return nil, errors.New(string(bytes))
}
- response := new(StopContainerResponse)
+ response := new(PostUpdatePodSandboxResponse)
if err = response.UnmarshalVT(bytes); err != nil {
return nil, err
}
return response, nil
}
-func (p *pluginPlugin) UpdatePodSandbox(ctx context.Context, request *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
+func (p *pluginPlugin) StopPodSandbox(ctx context.Context, request *StopPodSandboxRequest) (*StopPodSandboxResponse, error) {
data, err := request.MarshalVT()
if err != nil {
return nil, err
@@ -641,7 +695,7 @@ func (p *pluginPlugin) UpdatePodSandbox(ctx context.Context, request *UpdatePodS
}
}
- ptrSize, err := p.updatepodsandbox.Call(ctx, dataPtr, dataSize)
+ ptrSize, err := p.stoppodsandbox.Call(ctx, dataPtr, dataSize)
if err != nil {
return nil, err
}
@@ -670,7 +724,556 @@ func (p *pluginPlugin) UpdatePodSandbox(ctx context.Context, request *UpdatePodS
return nil, errors.New(string(bytes))
}
- response := new(UpdatePodSandboxResponse)
+ response := new(StopPodSandboxResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) RemovePodSandbox(ctx context.Context, request *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.removepodsandbox.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(RemovePodSandboxResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) CreateContainer(ctx context.Context, request *CreateContainerRequest) (*CreateContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.createcontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(CreateContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) PostCreateContainer(ctx context.Context, request *PostCreateContainerRequest) (*PostCreateContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.postcreatecontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(PostCreateContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) StartContainer(ctx context.Context, request *StartContainerRequest) (*StartContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.startcontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(StartContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) PostStartContainer(ctx context.Context, request *PostStartContainerRequest) (*PostStartContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.poststartcontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(PostStartContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) UpdateContainer(ctx context.Context, request *UpdateContainerRequest) (*UpdateContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.updatecontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(UpdateContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) PostUpdateContainer(ctx context.Context, request *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.postupdatecontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(PostUpdateContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) StopContainer(ctx context.Context, request *StopContainerRequest) (*StopContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.stopcontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(StopContainerResponse)
+ if err = response.UnmarshalVT(bytes); err != nil {
+ return nil, err
+ }
+
+ return response, nil
+}
+func (p *pluginPlugin) RemoveContainer(ctx context.Context, request *RemoveContainerRequest) (*RemoveContainerResponse, error) {
+ data, err := request.MarshalVT()
+ if err != nil {
+ return nil, err
+ }
+ dataSize := uint64(len(data))
+
+ var dataPtr uint64
+ // If the input data is not empty, we must allocate the in-Wasm memory to store it, and pass to the plugin.
+ if dataSize != 0 {
+ results, err := p.malloc.Call(ctx, dataSize)
+ if err != nil {
+ return nil, err
+ }
+ dataPtr = results[0]
+ // This pointer is managed by the Wasm module, which is unaware of external usage.
+ // So, we have to free it when finished
+ defer p.free.Call(ctx, dataPtr)
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ if !p.module.Memory().Write(uint32(dataPtr), data) {
+ return nil, fmt.Errorf("Memory.Write(%d, %d) out of range of memory size %d", dataPtr, dataSize, p.module.Memory().Size())
+ }
+ }
+
+ ptrSize, err := p.removecontainer.Call(ctx, dataPtr, dataSize)
+ if err != nil {
+ return nil, err
+ }
+
+ resPtr := uint32(ptrSize[0] >> 32)
+ resSize := uint32(ptrSize[0])
+ var isErrResponse bool
+ if (resSize & (1 << 31)) > 0 {
+ isErrResponse = true
+ resSize &^= (1 << 31)
+ }
+
+ // We don't need the memory after deserialization: make sure it is freed.
+ if resPtr != 0 {
+ defer p.free.Call(ctx, uint64(resPtr))
+ }
+
+ // The pointer is a linear memory offset, which is where we write the name.
+ bytes, ok := p.module.Memory().Read(resPtr, resSize)
+ if !ok {
+ return nil, fmt.Errorf("Memory.Read(%d, %d) out of range of memory size %d",
+ resPtr, resSize, p.module.Memory().Size())
+ }
+
+ if isErrResponse {
+ return nil, errors.New(string(bytes))
+ }
+
+ response := new(RemoveContainerResponse)
if err = response.UnmarshalVT(bytes); err != nil {
return nil, err
}
diff --git a/pkg/api/api_plugin.pb.go b/pkg/api/api_plugin.pb.go
index ebc93eb3..8d8e7c06 100644
--- a/pkg/api/api_plugin.pb.go
+++ b/pkg/api/api_plugin.pb.go
@@ -114,6 +114,126 @@ func _plugin_shutdown(ptr, size uint32) uint64 {
return (uint64(ptr) << uint64(32)) | uint64(size)
}
+//go:wasmexport plugin_run_pod_sandbox
+func _plugin_run_pod_sandbox(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(RunPodSandboxRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.RunPodSandbox(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
+//go:wasmexport plugin_update_pod_sandbox
+func _plugin_update_pod_sandbox(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(UpdatePodSandboxRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.UpdatePodSandbox(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
+//go:wasmexport plugin_post_update_pod_sandbox
+func _plugin_post_update_pod_sandbox(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(PostUpdatePodSandboxRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.PostUpdatePodSandbox(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
+//go:wasmexport plugin_stop_pod_sandbox
+func _plugin_stop_pod_sandbox(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(StopPodSandboxRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.StopPodSandbox(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
+//go:wasmexport plugin_remove_pod_sandbox
+func _plugin_remove_pod_sandbox(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(RemovePodSandboxRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.RemovePodSandbox(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
//go:wasmexport plugin_create_container
func _plugin_create_container(ptr, size uint32) uint64 {
b := wasm.PtrToByte(ptr, size)
@@ -138,6 +258,78 @@ func _plugin_create_container(ptr, size uint32) uint64 {
return (uint64(ptr) << uint64(32)) | uint64(size)
}
+//go:wasmexport plugin_post_create_container
+func _plugin_post_create_container(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(PostCreateContainerRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.PostCreateContainer(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
+//go:wasmexport plugin_start_container
+func _plugin_start_container(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(StartContainerRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.StartContainer(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
+//go:wasmexport plugin_post_start_container
+func _plugin_post_start_container(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(PostStartContainerRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.PostStartContainer(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
//go:wasmexport plugin_update_container
func _plugin_update_container(ptr, size uint32) uint64 {
b := wasm.PtrToByte(ptr, size)
@@ -162,6 +354,30 @@ func _plugin_update_container(ptr, size uint32) uint64 {
return (uint64(ptr) << uint64(32)) | uint64(size)
}
+//go:wasmexport plugin_post_update_container
+func _plugin_post_update_container(ptr, size uint32) uint64 {
+ b := wasm.PtrToByte(ptr, size)
+ req := new(PostUpdateContainerRequest)
+ if err := req.UnmarshalVT(b); err != nil {
+ return 0
+ }
+ response, err := plugin.PostUpdateContainer(context.Background(), req)
+ if err != nil {
+ ptr, size = wasm.ByteToPtr([]byte(err.Error()))
+ return (uint64(ptr) << uint64(32)) | uint64(size) |
+ // Indicate that this is the error string by setting the 32-th bit, assuming that
+ // no data exceeds 31-bit size (2 GiB).
+ (1 << 31)
+ }
+
+ b, err = response.MarshalVT()
+ if err != nil {
+ return 0
+ }
+ ptr, size = wasm.ByteToPtr(b)
+ return (uint64(ptr) << uint64(32)) | uint64(size)
+}
+
//go:wasmexport plugin_stop_container
func _plugin_stop_container(ptr, size uint32) uint64 {
b := wasm.PtrToByte(ptr, size)
@@ -186,14 +402,14 @@ func _plugin_stop_container(ptr, size uint32) uint64 {
return (uint64(ptr) << uint64(32)) | uint64(size)
}
-//go:wasmexport plugin_update_pod_sandbox
-func _plugin_update_pod_sandbox(ptr, size uint32) uint64 {
+//go:wasmexport plugin_remove_container
+func _plugin_remove_container(ptr, size uint32) uint64 {
b := wasm.PtrToByte(ptr, size)
- req := new(UpdatePodSandboxRequest)
+ req := new(RemoveContainerRequest)
if err := req.UnmarshalVT(b); err != nil {
return 0
}
- response, err := plugin.UpdatePodSandbox(context.Background(), req)
+ response, err := plugin.RemoveContainer(context.Background(), req)
if err != nil {
ptr, size = wasm.ByteToPtr([]byte(err.Error()))
return (uint64(ptr) << uint64(32)) | uint64(size) |
diff --git a/pkg/api/api_service.pb.go b/pkg/api/api_service.pb.go
index df50eeb5..61902422 100644
--- a/pkg/api/api_service.pb.go
+++ b/pkg/api/api_service.pb.go
@@ -62,6 +62,16 @@ type Plugin interface {
Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
// Shutdown a plugin (let it know the runtime is going down).
Shutdown(context.Context, *Empty) (*Empty, error)
+ // RunPodSandbox relays the corresponding request to the plugin.
+ RunPodSandbox(context.Context, *RunPodSandboxRequest) (*RunPodSandboxResponse, error)
+ // UpdatePodSandbox relays the corresponding request to the plugin.
+ UpdatePodSandbox(context.Context, *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error)
+ // PostUpdatePodSandbox relays the corresponding request to the plugin.
+ PostUpdatePodSandbox(context.Context, *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error)
+ // StopPodSandbox relays the corresponding request to the plugin.
+ StopPodSandbox(context.Context, *StopPodSandboxRequest) (*StopPodSandboxResponse, error)
+ // RemovePodSandbox relays the corresponding request to the plugin.
+ RemovePodSandbox(context.Context, *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error)
// CreateContainer relays the corresponding request to the plugin. In
// response, the plugin can adjust the container being created, and
// update other containers in the runtime. Container adjustment can
@@ -69,15 +79,23 @@ type Plugin interface {
// OCI hooks, and assigned container resources. Updates can alter
// assigned container resources.
CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
+ // PostCreateContainer relays the corresponding container request to the plugin.
+ PostCreateContainer(context.Context, *PostCreateContainerRequest) (*PostCreateContainerResponse, error)
+ // StartContainer relays the corresponding container request to the plugin.
+ StartContainer(context.Context, *StartContainerRequest) (*StartContainerResponse, error)
+ // PostStartContainer relays the corresponding container request to the plugin.
+ PostStartContainer(context.Context, *PostStartContainerRequest) (*PostStartContainerResponse, error)
// UpdateContainer relays the corresponding request to the plugin.
// The plugin can alter how the container is updated and request updates
// to additional containers in the runtime.
UpdateContainer(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error)
+ // PostUpdateContainer relays the corresponding container request to the plugin.
+ PostUpdateContainer(context.Context, *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error)
// StopContainer relays the corresponding request to the plugin. The plugin
// can update any of the remaining containers in the runtime in response.
StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error)
- // UpdatePodSandbox relays the corresponding request to the plugin.
- UpdatePodSandbox(context.Context, *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error)
+ // RemoveContainer relays the corresponding container request to the plugin.
+ RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error)
// StateChange relays any remaining pod or container lifecycle/state change
// events the plugin has subscribed for. These can be used to trigger any
// plugin-specific processing which needs to occur in connection with any of
diff --git a/pkg/api/api_ttrpc.pb.go b/pkg/api/api_ttrpc.pb.go
index 94cb404b..7b34b192 100644
--- a/pkg/api/api_ttrpc.pb.go
+++ b/pkg/api/api_ttrpc.pb.go
@@ -65,10 +65,19 @@ type PluginService interface {
Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
Shutdown(context.Context, *Empty) (*Empty, error)
+ RunPodSandbox(context.Context, *RunPodSandboxRequest) (*RunPodSandboxResponse, error)
+ UpdatePodSandbox(context.Context, *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error)
+ PostUpdatePodSandbox(context.Context, *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error)
+ StopPodSandbox(context.Context, *StopPodSandboxRequest) (*StopPodSandboxResponse, error)
+ RemovePodSandbox(context.Context, *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error)
CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
+ PostCreateContainer(context.Context, *PostCreateContainerRequest) (*PostCreateContainerResponse, error)
+ StartContainer(context.Context, *StartContainerRequest) (*StartContainerResponse, error)
+ PostStartContainer(context.Context, *PostStartContainerRequest) (*PostStartContainerResponse, error)
UpdateContainer(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error)
+ PostUpdateContainer(context.Context, *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error)
StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error)
- UpdatePodSandbox(context.Context, *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error)
+ RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error)
StateChange(context.Context, *StateChangeEvent) (*Empty, error)
ValidateContainerAdjustment(context.Context, *ValidateContainerAdjustmentRequest) (*ValidateContainerAdjustmentResponse, error)
}
@@ -97,6 +106,41 @@ func RegisterPluginService(srv *ttrpc.Server, svc PluginService) {
}
return svc.Shutdown(ctx, &req)
},
+ "RunPodSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req RunPodSandboxRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.RunPodSandbox(ctx, &req)
+ },
+ "UpdatePodSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req UpdatePodSandboxRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.UpdatePodSandbox(ctx, &req)
+ },
+ "PostUpdatePodSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req PostUpdatePodSandboxRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.PostUpdatePodSandbox(ctx, &req)
+ },
+ "StopPodSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req StopPodSandboxRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.StopPodSandbox(ctx, &req)
+ },
+ "RemovePodSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req RemovePodSandboxRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.RemovePodSandbox(ctx, &req)
+ },
"CreateContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
var req CreateContainerRequest
if err := unmarshal(&req); err != nil {
@@ -104,6 +148,27 @@ func RegisterPluginService(srv *ttrpc.Server, svc PluginService) {
}
return svc.CreateContainer(ctx, &req)
},
+ "PostCreateContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req PostCreateContainerRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.PostCreateContainer(ctx, &req)
+ },
+ "StartContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req StartContainerRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.StartContainer(ctx, &req)
+ },
+ "PostStartContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req PostStartContainerRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.PostStartContainer(ctx, &req)
+ },
"UpdateContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
var req UpdateContainerRequest
if err := unmarshal(&req); err != nil {
@@ -111,6 +176,13 @@ func RegisterPluginService(srv *ttrpc.Server, svc PluginService) {
}
return svc.UpdateContainer(ctx, &req)
},
+ "PostUpdateContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req PostUpdateContainerRequest
+ if err := unmarshal(&req); err != nil {
+ return nil, err
+ }
+ return svc.PostUpdateContainer(ctx, &req)
+ },
"StopContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
var req StopContainerRequest
if err := unmarshal(&req); err != nil {
@@ -118,12 +190,12 @@ func RegisterPluginService(srv *ttrpc.Server, svc PluginService) {
}
return svc.StopContainer(ctx, &req)
},
- "UpdatePodSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
- var req UpdatePodSandboxRequest
+ "RemoveContainer": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
+ var req RemoveContainerRequest
if err := unmarshal(&req); err != nil {
return nil, err
}
- return svc.UpdatePodSandbox(ctx, &req)
+ return svc.RemoveContainer(ctx, &req)
},
"StateChange": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
var req StateChangeEvent
@@ -177,6 +249,46 @@ func (c *pluginClient) Shutdown(ctx context.Context, req *Empty) (*Empty, error)
return &resp, nil
}
+func (c *pluginClient) RunPodSandbox(ctx context.Context, req *RunPodSandboxRequest) (*RunPodSandboxResponse, error) {
+ var resp RunPodSandboxResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "RunPodSandbox", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+func (c *pluginClient) UpdatePodSandbox(ctx context.Context, req *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
+ var resp UpdatePodSandboxResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "UpdatePodSandbox", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+func (c *pluginClient) PostUpdatePodSandbox(ctx context.Context, req *PostUpdatePodSandboxRequest) (*PostUpdatePodSandboxResponse, error) {
+ var resp PostUpdatePodSandboxResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "PostUpdatePodSandbox", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+func (c *pluginClient) StopPodSandbox(ctx context.Context, req *StopPodSandboxRequest) (*StopPodSandboxResponse, error) {
+ var resp StopPodSandboxResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "StopPodSandbox", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+func (c *pluginClient) RemovePodSandbox(ctx context.Context, req *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error) {
+ var resp RemovePodSandboxResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "RemovePodSandbox", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
func (c *pluginClient) CreateContainer(ctx context.Context, req *CreateContainerRequest) (*CreateContainerResponse, error) {
var resp CreateContainerResponse
if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "CreateContainer", req, &resp); err != nil {
@@ -185,6 +297,30 @@ func (c *pluginClient) CreateContainer(ctx context.Context, req *CreateContainer
return &resp, nil
}
+func (c *pluginClient) PostCreateContainer(ctx context.Context, req *PostCreateContainerRequest) (*PostCreateContainerResponse, error) {
+ var resp PostCreateContainerResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "PostCreateContainer", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+func (c *pluginClient) StartContainer(ctx context.Context, req *StartContainerRequest) (*StartContainerResponse, error) {
+ var resp StartContainerResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "StartContainer", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+func (c *pluginClient) PostStartContainer(ctx context.Context, req *PostStartContainerRequest) (*PostStartContainerResponse, error) {
+ var resp PostStartContainerResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "PostStartContainer", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
func (c *pluginClient) UpdateContainer(ctx context.Context, req *UpdateContainerRequest) (*UpdateContainerResponse, error) {
var resp UpdateContainerResponse
if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "UpdateContainer", req, &resp); err != nil {
@@ -193,6 +329,14 @@ func (c *pluginClient) UpdateContainer(ctx context.Context, req *UpdateContainer
return &resp, nil
}
+func (c *pluginClient) PostUpdateContainer(ctx context.Context, req *PostUpdateContainerRequest) (*PostUpdateContainerResponse, error) {
+ var resp PostUpdateContainerResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "PostUpdateContainer", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
func (c *pluginClient) StopContainer(ctx context.Context, req *StopContainerRequest) (*StopContainerResponse, error) {
var resp StopContainerResponse
if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "StopContainer", req, &resp); err != nil {
@@ -201,9 +345,9 @@ func (c *pluginClient) StopContainer(ctx context.Context, req *StopContainerRequ
return &resp, nil
}
-func (c *pluginClient) UpdatePodSandbox(ctx context.Context, req *UpdatePodSandboxRequest) (*UpdatePodSandboxResponse, error) {
- var resp UpdatePodSandboxResponse
- if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "UpdatePodSandbox", req, &resp); err != nil {
+func (c *pluginClient) RemoveContainer(ctx context.Context, req *RemoveContainerRequest) (*RemoveContainerResponse, error) {
+ var resp RemoveContainerResponse
+ if err := c.client.Call(ctx, "nri.pkg.api.v1alpha1.Plugin", "RemoveContainer", req, &resp); err != nil {
return nil, err
}
return &resp, nil
diff --git a/pkg/api/api_vtproto.pb.go b/pkg/api/api_vtproto.pb.go
index ddb107aa..a647e32a 100644
--- a/pkg/api/api_vtproto.pb.go
+++ b/pkg/api/api_vtproto.pb.go
@@ -467,7 +467,7 @@ func (m *SynchronizeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *CreateContainerRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *RunPodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -480,12 +480,12 @@ func (m *CreateContainerRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *CreateContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *RunPodSandboxRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *CreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *RunPodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -497,16 +497,6 @@ func (m *CreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Container != nil {
- size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
if m.Pod != nil {
size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
@@ -520,7 +510,7 @@ func (m *CreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error
return len(dAtA) - i, nil
}
-func (m *CreateContainerResponse) MarshalVT() (dAtA []byte, err error) {
+func (m *RunPodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -533,12 +523,12 @@ func (m *CreateContainerResponse) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *CreateContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
+func (m *RunPodSandboxResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *CreateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *RunPodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -550,44 +540,10 @@ func (m *CreateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Evict) > 0 {
- for iNdEx := len(m.Evict) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Evict[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
- }
- if len(m.Update) > 0 {
- for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
- }
- if m.Adjust != nil {
- size, err := m.Adjust.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *UpdateContainerRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *UpdatePodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -600,12 +556,12 @@ func (m *UpdateContainerRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *UpdateContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *UpdatePodSandboxRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *UpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *UpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -627,8 +583,8 @@ func (m *UpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error
i--
dAtA[i] = 0x1a
}
- if m.Container != nil {
- size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
+ if m.OverheadLinuxResources != nil {
+ size, err := m.OverheadLinuxResources.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -650,7 +606,7 @@ func (m *UpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error
return len(dAtA) - i, nil
}
-func (m *UpdateContainerResponse) MarshalVT() (dAtA []byte, err error) {
+func (m *UpdatePodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -663,12 +619,12 @@ func (m *UpdateContainerResponse) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *UpdateContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
+func (m *UpdatePodSandboxResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *UpdateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *UpdatePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -680,34 +636,10 @@ func (m *UpdateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Evict) > 0 {
- for iNdEx := len(m.Evict) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Evict[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
- }
- if len(m.Update) > 0 {
- for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
- }
return len(dAtA) - i, nil
}
-func (m *StopContainerRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *PostUpdatePodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -720,12 +652,12 @@ func (m *StopContainerRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *StopContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PostUpdatePodSandboxRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *StopContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PostUpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -737,16 +669,6 @@ func (m *StopContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Container != nil {
- size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
if m.Pod != nil {
size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
@@ -760,7 +682,7 @@ func (m *StopContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
-func (m *StopContainerResponse) MarshalVT() (dAtA []byte, err error) {
+func (m *PostUpdatePodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -773,12 +695,12 @@ func (m *StopContainerResponse) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *StopContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PostUpdatePodSandboxResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *StopContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PostUpdatePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -790,22 +712,10 @@ func (m *StopContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Update) > 0 {
- for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
- }
return len(dAtA) - i, nil
}
-func (m *UpdatePodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *StopPodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -818,12 +728,12 @@ func (m *UpdatePodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *UpdatePodSandboxRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StopPodSandboxRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *UpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StopPodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -835,26 +745,6 @@ func (m *UpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.LinuxResources != nil {
- size, err := m.LinuxResources.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
- if m.OverheadLinuxResources != nil {
- size, err := m.OverheadLinuxResources.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
if m.Pod != nil {
size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
@@ -868,7 +758,7 @@ func (m *UpdatePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro
return len(dAtA) - i, nil
}
-func (m *UpdatePodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
+func (m *StopPodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -881,12 +771,12 @@ func (m *UpdatePodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *UpdatePodSandboxResponse) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StopPodSandboxResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *UpdatePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StopPodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -901,7 +791,7 @@ func (m *UpdatePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, err
return len(dAtA) - i, nil
}
-func (m *StateChangeEvent) MarshalVT() (dAtA []byte, err error) {
+func (m *RemovePodSandboxRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -914,12 +804,12 @@ func (m *StateChangeEvent) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *StateChangeEvent) MarshalToVT(dAtA []byte) (int, error) {
+func (m *RemovePodSandboxRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *StateChangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *RemovePodSandboxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -931,16 +821,6 @@ func (m *StateChangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Container != nil {
- size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
if m.Pod != nil {
size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
@@ -949,17 +829,12 @@ func (m *StateChangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x12
- }
- if m.Event != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Event))
- i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *ValidateContainerAdjustmentRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *RemovePodSandboxResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -972,12 +847,12 @@ func (m *ValidateContainerAdjustmentRequest) MarshalVT() (dAtA []byte, err error
return dAtA[:n], nil
}
-func (m *ValidateContainerAdjustmentRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *RemovePodSandboxResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *RemovePodSandboxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -989,49 +864,38 @@ func (m *ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT(dAtA []byte)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Plugins) > 0 {
- for iNdEx := len(m.Plugins) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Plugins[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x32
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *CreateContainerRequest) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.Owners != nil {
- size, err := m.Owners.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.Update) > 0 {
- for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x22
- }
+ return dAtA[:n], nil
+}
+
+func (m *CreateContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *CreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.Adjust != nil {
- size, err := m.Adjust.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
if m.Container != nil {
size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
@@ -1056,7 +920,7 @@ func (m *ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT(dAtA []byte)
return len(dAtA) - i, nil
}
-func (m *PluginInstance) MarshalVT() (dAtA []byte, err error) {
+func (m *CreateContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1069,12 +933,12 @@ func (m *PluginInstance) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *PluginInstance) MarshalToVT(dAtA []byte) (int, error) {
+func (m *CreateContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *PluginInstance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *CreateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1086,24 +950,44 @@ func (m *PluginInstance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Index) > 0 {
- i -= len(m.Index)
- copy(dAtA[i:], m.Index)
- i = encodeVarint(dAtA, i, uint64(len(m.Index)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = encodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
- dAtA[i] = 0xa
- }
+ if len(m.Evict) > 0 {
+ for iNdEx := len(m.Evict) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Evict[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Update) > 0 {
+ for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if m.Adjust != nil {
+ size, err := m.Adjust.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
return len(dAtA) - i, nil
}
-func (m *ValidateContainerAdjustmentResponse) MarshalVT() (dAtA []byte, err error) {
+func (m *PostCreateContainerRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1116,12 +1000,12 @@ func (m *ValidateContainerAdjustmentResponse) MarshalVT() (dAtA []byte, err erro
return dAtA[:n], nil
}
-func (m *ValidateContainerAdjustmentResponse) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PostCreateContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *ValidateContainerAdjustmentResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PostCreateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1133,27 +1017,30 @@ func (m *ValidateContainerAdjustmentResponse) MarshalToSizedBufferVT(dAtA []byte
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Reason) > 0 {
- i -= len(m.Reason)
- copy(dAtA[i:], m.Reason)
- i = encodeVarint(dAtA, i, uint64(len(m.Reason)))
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0x12
}
- if m.Reject {
- i--
- if m.Reject {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Empty) MarshalVT() (dAtA []byte, err error) {
+func (m *PostCreateContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1166,12 +1053,12 @@ func (m *Empty) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Empty) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PostCreateContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PostCreateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1186,7 +1073,7 @@ func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *PodSandbox) MarshalVT() (dAtA []byte, err error) {
+func (m *StartContainerRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1199,12 +1086,12 @@ func (m *PodSandbox) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *PodSandbox) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StartContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *PodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StartContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1216,107 +1103,30 @@ func (m *PodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Ips) > 0 {
- for iNdEx := len(m.Ips) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Ips[iNdEx])
- copy(dAtA[i:], m.Ips[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Ips[iNdEx])))
- i--
- dAtA[i] = 0x52
- }
- }
- if m.Pid != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Pid))
- i--
- dAtA[i] = 0x48
- }
- if m.Linux != nil {
- size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x42
- }
- if len(m.RuntimeHandler) > 0 {
- i -= len(m.RuntimeHandler)
- copy(dAtA[i:], m.RuntimeHandler)
- i = encodeVarint(dAtA, i, uint64(len(m.RuntimeHandler)))
- i--
- dAtA[i] = 0x3a
- }
- if len(m.Annotations) > 0 {
- for k := range m.Annotations {
- v := m.Annotations[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = encodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x32
- }
- }
- if len(m.Labels) > 0 {
- for k := range m.Labels {
- v := m.Labels[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = encodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x2a
- }
- }
- if len(m.Namespace) > 0 {
- i -= len(m.Namespace)
- copy(dAtA[i:], m.Namespace)
- i = encodeVarint(dAtA, i, uint64(len(m.Namespace)))
- i--
- dAtA[i] = 0x22
- }
- if len(m.Uid) > 0 {
- i -= len(m.Uid)
- copy(dAtA[i:], m.Uid)
- i = encodeVarint(dAtA, i, uint64(len(m.Uid)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = encodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
dAtA[i] = 0x12
}
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = encodeVarint(dAtA, i, uint64(len(m.Id)))
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxPodSandbox) MarshalVT() (dAtA []byte, err error) {
+func (m *StartContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1329,12 +1139,12 @@ func (m *LinuxPodSandbox) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxPodSandbox) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StartContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StartContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1346,44 +1156,41 @@ func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Resources != nil {
- size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x32
+ return len(dAtA) - i, nil
+}
+
+func (m *PostStartContainerRequest) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Namespaces) > 0 {
- for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Namespaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.CgroupsPath) > 0 {
- i -= len(m.CgroupsPath)
- copy(dAtA[i:], m.CgroupsPath)
- i = encodeVarint(dAtA, i, uint64(len(m.CgroupsPath)))
- i--
- dAtA[i] = 0x22
+ return dAtA[:n], nil
+}
+
+func (m *PostStartContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *PostStartContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if len(m.CgroupParent) > 0 {
- i -= len(m.CgroupParent)
- copy(dAtA[i:], m.CgroupParent)
- i = encodeVarint(dAtA, i, uint64(len(m.CgroupParent)))
- i--
- dAtA[i] = 0x1a
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.PodResources != nil {
- size, err := m.PodResources.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -1392,8 +1199,8 @@ func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
- if m.PodOverhead != nil {
- size, err := m.PodOverhead.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -1405,7 +1212,7 @@ func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Container) MarshalVT() (dAtA []byte, err error) {
+func (m *PostStartContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1418,12 +1225,12 @@ func (m *Container) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Container) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PostStartContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Container) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PostStartContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1435,209 +1242,73 @@ func (m *Container) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.User != nil {
- size, err := m.User.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xaa
+ return len(dAtA) - i, nil
+}
+
+func (m *UpdateContainerRequest) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.CDIDevices) > 0 {
- for iNdEx := len(m.CDIDevices) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.CDIDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xa2
- }
- }
- if len(m.StatusMessage) > 0 {
- i -= len(m.StatusMessage)
- copy(dAtA[i:], m.StatusMessage)
- i = encodeVarint(dAtA, i, uint64(len(m.StatusMessage)))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x9a
- }
- if len(m.StatusReason) > 0 {
- i -= len(m.StatusReason)
- copy(dAtA[i:], m.StatusReason)
- i = encodeVarint(dAtA, i, uint64(len(m.StatusReason)))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x92
- }
- if m.ExitCode != 0 {
- i = encodeVarint(dAtA, i, uint64(m.ExitCode))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x88
- }
- if m.FinishedAt != 0 {
- i = encodeVarint(dAtA, i, uint64(m.FinishedAt))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x80
- }
- if m.StartedAt != 0 {
- i = encodeVarint(dAtA, i, uint64(m.StartedAt))
- i--
- dAtA[i] = 0x78
- }
- if m.CreatedAt != 0 {
- i = encodeVarint(dAtA, i, uint64(m.CreatedAt))
- i--
- dAtA[i] = 0x70
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.Rlimits) > 0 {
- for iNdEx := len(m.Rlimits) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Rlimits[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x6a
- }
+ return dAtA[:n], nil
+}
+
+func (m *UpdateContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *UpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.Pid != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Pid))
- i--
- dAtA[i] = 0x60
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.Linux != nil {
- size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
+ if m.LinuxResources != nil {
+ size, err := m.LinuxResources.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x5a
+ dAtA[i] = 0x1a
}
- if m.Hooks != nil {
- size, err := m.Hooks.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x52
- }
- if len(m.Mounts) > 0 {
- for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x4a
- }
- }
- if len(m.Env) > 0 {
- for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Env[iNdEx])
- copy(dAtA[i:], m.Env[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Env[iNdEx])))
- i--
- dAtA[i] = 0x42
- }
- }
- if len(m.Args) > 0 {
- for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Args[iNdEx])
- copy(dAtA[i:], m.Args[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx])))
- i--
- dAtA[i] = 0x3a
- }
- }
- if len(m.Annotations) > 0 {
- for k := range m.Annotations {
- v := m.Annotations[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = encodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x32
- }
- }
- if len(m.Labels) > 0 {
- for k := range m.Labels {
- v := m.Labels[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = encodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x2a
- }
- }
- if m.State != 0 {
- i = encodeVarint(dAtA, i, uint64(m.State))
- i--
- dAtA[i] = 0x20
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = encodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.PodSandboxId) > 0 {
- i -= len(m.PodSandboxId)
- copy(dAtA[i:], m.PodSandboxId)
- i = encodeVarint(dAtA, i, uint64(len(m.PodSandboxId)))
- i--
dAtA[i] = 0x12
}
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = encodeVarint(dAtA, i, uint64(len(m.Id)))
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Mount) MarshalVT() (dAtA []byte, err error) {
+func (m *UpdateContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1650,12 +1321,12 @@ func (m *Mount) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Mount) MarshalToVT(dAtA []byte) (int, error) {
+func (m *UpdateContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Mount) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *UpdateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1667,40 +1338,34 @@ func (m *Mount) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Options) > 0 {
- for iNdEx := len(m.Options) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Options[iNdEx])
- copy(dAtA[i:], m.Options[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Options[iNdEx])))
+ if len(m.Evict) > 0 {
+ for iNdEx := len(m.Evict) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Evict[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x22
+ dAtA[i] = 0x12
}
}
- if len(m.Source) > 0 {
- i -= len(m.Source)
- copy(dAtA[i:], m.Source)
- i = encodeVarint(dAtA, i, uint64(len(m.Source)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Type) > 0 {
- i -= len(m.Type)
- copy(dAtA[i:], m.Type)
- i = encodeVarint(dAtA, i, uint64(len(m.Type)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Destination) > 0 {
- i -= len(m.Destination)
- copy(dAtA[i:], m.Destination)
- i = encodeVarint(dAtA, i, uint64(len(m.Destination)))
- i--
- dAtA[i] = 0xa
+ if len(m.Update) > 0 {
+ for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
}
return len(dAtA) - i, nil
}
-func (m *Hooks) MarshalVT() (dAtA []byte, err error) {
+func (m *PostUpdateContainerRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1713,12 +1378,12 @@ func (m *Hooks) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Hooks) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PostUpdateContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Hooks) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PostUpdateContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1730,82 +1395,63 @@ func (m *Hooks) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Poststop) > 0 {
- for iNdEx := len(m.Poststop) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Poststop[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x32
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
}
- if len(m.Poststart) > 0 {
- for iNdEx := len(m.Poststart) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Poststart[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
}
- if len(m.StartContainer) > 0 {
- for iNdEx := len(m.StartContainer) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.StartContainer[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x22
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *PostUpdateContainerResponse) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.CreateContainer) > 0 {
- for iNdEx := len(m.CreateContainer) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.CreateContainer[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.CreateRuntime) > 0 {
- for iNdEx := len(m.CreateRuntime) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.CreateRuntime[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
+ return dAtA[:n], nil
+}
+
+func (m *PostUpdateContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *PostUpdateContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if len(m.Prestart) > 0 {
- for iNdEx := len(m.Prestart) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Prestart[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
return len(dAtA) - i, nil
}
-func (m *Hook) MarshalVT() (dAtA []byte, err error) {
+func (m *StopContainerRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1818,12 +1464,12 @@ func (m *Hook) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Hook) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StopContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Hook) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StopContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1835,45 +1481,30 @@ func (m *Hook) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Timeout != nil {
- size, err := m.Timeout.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x22
- }
- if len(m.Env) > 0 {
- for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Env[iNdEx])
- copy(dAtA[i:], m.Env[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Env[iNdEx])))
- i--
- dAtA[i] = 0x1a
- }
+ dAtA[i] = 0x12
}
- if len(m.Args) > 0 {
- for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Args[iNdEx])
- copy(dAtA[i:], m.Args[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx])))
- i--
- dAtA[i] = 0x12
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
- }
- if len(m.Path) > 0 {
- i -= len(m.Path)
- copy(dAtA[i:], m.Path)
- i = encodeVarint(dAtA, i, uint64(len(m.Path)))
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxContainer) MarshalVT() (dAtA []byte, err error) {
+func (m *StopContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -1886,12 +1517,12 @@ func (m *LinuxContainer) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxContainer) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StopContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StopContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -1903,152 +1534,75 @@ func (m *LinuxContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Rdt != nil {
- size, err := m.Rdt.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x62
- }
- if m.Scheduler != nil {
- size, err := m.Scheduler.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x5a
- }
- if len(m.NetDevices) > 0 {
- for k := range m.NetDevices {
- v := m.NetDevices[k]
- baseI := i
- size, err := v.MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Update) > 0 {
+ for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x52
}
}
- if len(m.Sysctl) > 0 {
- for k := range m.Sysctl {
- v := m.Sysctl[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = encodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x4a
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *RemoveContainerRequest) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.SeccompPolicy != nil {
- size, err := m.SeccompPolicy.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x42
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.SeccompProfile != nil {
- size, err := m.SeccompProfile.MarshalToSizedBufferVT(dAtA[:i])
+ return dAtA[:n], nil
+}
+
+func (m *RemoveContainerRequest) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *RemoveContainerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x3a
+ dAtA[i] = 0x12
}
- if m.IoPriority != nil {
- size, err := m.IoPriority.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x32
- }
- if len(m.CgroupsPath) > 0 {
- i -= len(m.CgroupsPath)
- copy(dAtA[i:], m.CgroupsPath)
- i = encodeVarint(dAtA, i, uint64(len(m.CgroupsPath)))
- i--
- dAtA[i] = 0x2a
- }
- if m.OomScoreAdj != nil {
- size, err := m.OomScoreAdj.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x22
- }
- if m.Resources != nil {
- size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Devices) > 0 {
- for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Devices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
- }
- if len(m.Namespaces) > 0 {
- for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Namespaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxNamespace) MarshalVT() (dAtA []byte, err error) {
+func (m *RemoveContainerResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2061,12 +1615,12 @@ func (m *LinuxNamespace) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxNamespace) MarshalToVT(dAtA []byte) (int, error) {
+func (m *RemoveContainerResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxNamespace) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *RemoveContainerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2078,24 +1632,10 @@ func (m *LinuxNamespace) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Path) > 0 {
- i -= len(m.Path)
- copy(dAtA[i:], m.Path)
- i = encodeVarint(dAtA, i, uint64(len(m.Path)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Type) > 0 {
- i -= len(m.Type)
- copy(dAtA[i:], m.Type)
- i = encodeVarint(dAtA, i, uint64(len(m.Type)))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *LinuxDevice) MarshalVT() (dAtA []byte, err error) {
+func (m *StateChangeEvent) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2108,12 +1648,12 @@ func (m *LinuxDevice) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxDevice) MarshalToVT(dAtA []byte) (int, error) {
+func (m *StateChangeEvent) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *StateChangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2125,64 +1665,35 @@ func (m *LinuxDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Gid != nil {
- size, err := m.Gid.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x3a
- }
- if m.Uid != nil {
- size, err := m.Uid.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x32
+ dAtA[i] = 0x1a
}
- if m.FileMode != nil {
- size, err := m.FileMode.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x2a
- }
- if m.Minor != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Minor))
- i--
- dAtA[i] = 0x20
- }
- if m.Major != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Major))
- i--
- dAtA[i] = 0x18
- }
- if len(m.Type) > 0 {
- i -= len(m.Type)
- copy(dAtA[i:], m.Type)
- i = encodeVarint(dAtA, i, uint64(len(m.Type)))
- i--
dAtA[i] = 0x12
}
- if len(m.Path) > 0 {
- i -= len(m.Path)
- copy(dAtA[i:], m.Path)
- i = encodeVarint(dAtA, i, uint64(len(m.Path)))
+ if m.Event != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Event))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *LinuxDeviceCgroup) MarshalVT() (dAtA []byte, err error) {
+func (m *ValidateContainerAdjustmentRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2195,12 +1706,12 @@ func (m *LinuxDeviceCgroup) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxDeviceCgroup) MarshalToVT(dAtA []byte) (int, error) {
+func (m *ValidateContainerAdjustmentRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxDeviceCgroup) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *ValidateContainerAdjustmentRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2212,25 +1723,42 @@ func (m *LinuxDeviceCgroup) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Access) > 0 {
- i -= len(m.Access)
- copy(dAtA[i:], m.Access)
- i = encodeVarint(dAtA, i, uint64(len(m.Access)))
- i--
- dAtA[i] = 0x2a
+ if len(m.Plugins) > 0 {
+ for iNdEx := len(m.Plugins) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Plugins[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
+ }
}
- if m.Minor != nil {
- size, err := m.Minor.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Owners != nil {
+ size, err := m.Owners.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x22
+ dAtA[i] = 0x2a
}
- if m.Major != nil {
- size, err := m.Major.MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Update) > 0 {
+ for iNdEx := len(m.Update) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Update[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.Adjust != nil {
+ size, err := m.Adjust.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -2239,27 +1767,30 @@ func (m *LinuxDeviceCgroup) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x1a
}
- if len(m.Type) > 0 {
- i -= len(m.Type)
- copy(dAtA[i:], m.Type)
- i = encodeVarint(dAtA, i, uint64(len(m.Type)))
+ if m.Container != nil {
+ size, err := m.Container.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0x12
}
- if m.Allow {
- i--
- if m.Allow {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
+ if m.Pod != nil {
+ size, err := m.Pod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *CDIDevice) MarshalVT() (dAtA []byte, err error) {
+func (m *PluginInstance) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2272,12 +1803,12 @@ func (m *CDIDevice) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *CDIDevice) MarshalToVT(dAtA []byte) (int, error) {
+func (m *PluginInstance) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *CDIDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *PluginInstance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2289,6 +1820,13 @@ func (m *CDIDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if len(m.Index) > 0 {
+ i -= len(m.Index)
+ copy(dAtA[i:], m.Index)
+ i = encodeVarint(dAtA, i, uint64(len(m.Index)))
+ i--
+ dAtA[i] = 0x12
+ }
if len(m.Name) > 0 {
i -= len(m.Name)
copy(dAtA[i:], m.Name)
@@ -2299,7 +1837,7 @@ func (m *CDIDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *User) MarshalVT() (dAtA []byte, err error) {
+func (m *ValidateContainerAdjustmentResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2312,12 +1850,12 @@ func (m *User) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *User) MarshalToVT(dAtA []byte) (int, error) {
+func (m *ValidateContainerAdjustmentResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *User) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *ValidateContainerAdjustmentResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2329,40 +1867,27 @@ func (m *User) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.AdditionalGids) > 0 {
- var pksize2 int
- for _, num := range m.AdditionalGids {
- pksize2 += sov(uint64(num))
- }
- i -= pksize2
- j1 := i
- for _, num := range m.AdditionalGids {
- for num >= 1<<7 {
- dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j1++
- }
- dAtA[j1] = uint8(num)
- j1++
- }
- i = encodeVarint(dAtA, i, uint64(pksize2))
+ if len(m.Reason) > 0 {
+ i -= len(m.Reason)
+ copy(dAtA[i:], m.Reason)
+ i = encodeVarint(dAtA, i, uint64(len(m.Reason)))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0x12
}
- if m.Gid != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Gid))
+ if m.Reject {
i--
- dAtA[i] = 0x10
- }
- if m.Uid != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Uid))
+ if m.Reject {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *LinuxResources) MarshalVT() (dAtA []byte, err error) {
+func (m *Empty) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2375,12 +1900,12 @@ func (m *LinuxResources) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxResources) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Empty) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxResources) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2392,31 +1917,73 @@ func (m *LinuxResources) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Pids != nil {
- size, err := m.Pids.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x42
- }
- if len(m.Devices) > 0 {
- for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Devices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ return len(dAtA) - i, nil
+}
+
+func (m *PodSandbox) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *PodSandbox) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *PodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if len(m.Ips) > 0 {
+ for iNdEx := len(m.Ips) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Ips[iNdEx])
+ copy(dAtA[i:], m.Ips[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Ips[iNdEx])))
i--
- dAtA[i] = 0x3a
+ dAtA[i] = 0x52
}
}
- if len(m.Unified) > 0 {
- for k := range m.Unified {
- v := m.Unified[k]
+ if m.Pid != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Pid))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.Linux != nil {
+ size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x42
+ }
+ if len(m.RuntimeHandler) > 0 {
+ i -= len(m.RuntimeHandler)
+ copy(dAtA[i:], m.RuntimeHandler)
+ i = encodeVarint(dAtA, i, uint64(len(m.RuntimeHandler)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.Annotations) > 0 {
+ for k := range m.Annotations {
+ v := m.Annotations[k]
baseI := i
i -= len(v)
copy(dAtA[i:], v)
@@ -2433,62 +2000,57 @@ func (m *LinuxResources) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
dAtA[i] = 0x32
}
}
- if m.RdtClass != nil {
- size, err := m.RdtClass.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.Labels) > 0 {
+ for k := range m.Labels {
+ v := m.Labels[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = encodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0x2a
}
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
}
- if m.BlockioClass != nil {
- size, err := m.BlockioClass.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ if len(m.Namespace) > 0 {
+ i -= len(m.Namespace)
+ copy(dAtA[i:], m.Namespace)
+ i = encodeVarint(dAtA, i, uint64(len(m.Namespace)))
i--
dAtA[i] = 0x22
}
- if len(m.HugepageLimits) > 0 {
- for iNdEx := len(m.HugepageLimits) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.HugepageLimits[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
+ if len(m.Uid) > 0 {
+ i -= len(m.Uid)
+ copy(dAtA[i:], m.Uid)
+ i = encodeVarint(dAtA, i, uint64(len(m.Uid)))
+ i--
+ dAtA[i] = 0x1a
}
- if m.Cpu != nil {
- size, err := m.Cpu.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarint(dAtA, i, uint64(len(m.Name)))
i--
dAtA[i] = 0x12
}
- if m.Memory != nil {
- size, err := m.Memory.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarint(dAtA, i, uint64(len(m.Id)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxMemory) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxPodSandbox) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2501,12 +2063,12 @@ func (m *LinuxMemory) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxMemory) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxPodSandbox) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxPodSandbox) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2518,28 +2080,8 @@ func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.UseHierarchy != nil {
- size, err := m.UseHierarchy.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x42
- }
- if m.DisableOomKiller != nil {
- size, err := m.DisableOomKiller.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x3a
- }
- if m.Swappiness != nil {
- size, err := m.Swappiness.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Resources != nil {
+ size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -2548,38 +2090,34 @@ func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x32
}
- if m.KernelTcp != nil {
- size, err := m.KernelTcp.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.Namespaces) > 0 {
+ for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Namespaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
}
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
}
- if m.Kernel != nil {
- size, err := m.Kernel.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ if len(m.CgroupsPath) > 0 {
+ i -= len(m.CgroupsPath)
+ copy(dAtA[i:], m.CgroupsPath)
+ i = encodeVarint(dAtA, i, uint64(len(m.CgroupsPath)))
i--
dAtA[i] = 0x22
}
- if m.Swap != nil {
- size, err := m.Swap.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ if len(m.CgroupParent) > 0 {
+ i -= len(m.CgroupParent)
+ copy(dAtA[i:], m.CgroupParent)
+ i = encodeVarint(dAtA, i, uint64(len(m.CgroupParent)))
i--
dAtA[i] = 0x1a
}
- if m.Reservation != nil {
- size, err := m.Reservation.MarshalToSizedBufferVT(dAtA[:i])
+ if m.PodResources != nil {
+ size, err := m.PodResources.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -2588,8 +2126,8 @@ func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
- if m.Limit != nil {
- size, err := m.Limit.MarshalToSizedBufferVT(dAtA[:i])
+ if m.PodOverhead != nil {
+ size, err := m.PodOverhead.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -2601,7 +2139,7 @@ func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *LinuxCPU) MarshalVT() (dAtA []byte, err error) {
+func (m *Container) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2614,12 +2152,12 @@ func (m *LinuxCPU) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxCPU) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Container) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxCPU) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Container) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2631,119 +2169,209 @@ func (m *LinuxCPU) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Mems) > 0 {
- i -= len(m.Mems)
- copy(dAtA[i:], m.Mems)
- i = encodeVarint(dAtA, i, uint64(len(m.Mems)))
- i--
- dAtA[i] = 0x3a
- }
- if len(m.Cpus) > 0 {
- i -= len(m.Cpus)
- copy(dAtA[i:], m.Cpus)
- i = encodeVarint(dAtA, i, uint64(len(m.Cpus)))
- i--
- dAtA[i] = 0x32
- }
- if m.RealtimePeriod != nil {
- size, err := m.RealtimePeriod.MarshalToSizedBufferVT(dAtA[:i])
+ if m.User != nil {
+ size, err := m.User.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x2a
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xaa
}
- if m.RealtimeRuntime != nil {
- size, err := m.RealtimeRuntime.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.CDIDevices) > 0 {
+ for iNdEx := len(m.CDIDevices) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.CDIDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xa2
}
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ }
+ if len(m.StatusMessage) > 0 {
+ i -= len(m.StatusMessage)
+ copy(dAtA[i:], m.StatusMessage)
+ i = encodeVarint(dAtA, i, uint64(len(m.StatusMessage)))
i--
- dAtA[i] = 0x22
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x9a
}
- if m.Period != nil {
- size, err := m.Period.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.StatusReason) > 0 {
+ i -= len(m.StatusReason)
+ copy(dAtA[i:], m.StatusReason)
+ i = encodeVarint(dAtA, i, uint64(len(m.StatusReason)))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x92
+ }
+ if m.ExitCode != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.ExitCode))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x88
+ }
+ if m.FinishedAt != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.FinishedAt))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x80
+ }
+ if m.StartedAt != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.StartedAt))
+ i--
+ dAtA[i] = 0x78
+ }
+ if m.CreatedAt != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.CreatedAt))
+ i--
+ dAtA[i] = 0x70
+ }
+ if len(m.Rlimits) > 0 {
+ for iNdEx := len(m.Rlimits) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Rlimits[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x6a
}
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
+ }
+ if m.Pid != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Pid))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0x60
}
- if m.Quota != nil {
- size, err := m.Quota.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Linux != nil {
+ size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x5a
}
- if m.Shares != nil {
- size, err := m.Shares.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Hooks != nil {
+ size, err := m.Hooks.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x52
}
- return len(dAtA) - i, nil
-}
-
-func (m *HugepageLimit) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ if len(m.Mounts) > 0 {
+ for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x4a
+ }
}
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if len(m.Env) > 0 {
+ for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Env[iNdEx])
+ copy(dAtA[i:], m.Env[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Env[iNdEx])))
+ i--
+ dAtA[i] = 0x42
+ }
}
- return dAtA[:n], nil
-}
-
-func (m *HugepageLimit) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *HugepageLimit) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if len(m.Args) > 0 {
+ for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Args[iNdEx])
+ copy(dAtA[i:], m.Args[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx])))
+ i--
+ dAtA[i] = 0x3a
+ }
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if len(m.Annotations) > 0 {
+ for k := range m.Annotations {
+ v := m.Annotations[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = encodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0x32
+ }
}
- if m.Limit != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Limit))
+ if len(m.Labels) > 0 {
+ for k := range m.Labels {
+ v := m.Labels[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = encodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if m.State != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.State))
i--
- dAtA[i] = 0x10
+ dAtA[i] = 0x20
}
- if len(m.PageSize) > 0 {
- i -= len(m.PageSize)
- copy(dAtA[i:], m.PageSize)
- i = encodeVarint(dAtA, i, uint64(len(m.PageSize)))
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarint(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.PodSandboxId) > 0 {
+ i -= len(m.PodSandboxId)
+ copy(dAtA[i:], m.PodSandboxId)
+ i = encodeVarint(dAtA, i, uint64(len(m.PodSandboxId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarint(dAtA, i, uint64(len(m.Id)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error) {
+func (m *Mount) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2756,12 +2384,12 @@ func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *SecurityProfile) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Mount) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Mount) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2773,22 +2401,40 @@ func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.LocalhostRef) > 0 {
- i -= len(m.LocalhostRef)
- copy(dAtA[i:], m.LocalhostRef)
- i = encodeVarint(dAtA, i, uint64(len(m.LocalhostRef)))
+ if len(m.Options) > 0 {
+ for iNdEx := len(m.Options) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Options[iNdEx])
+ copy(dAtA[i:], m.Options[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Options[iNdEx])))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.Source) > 0 {
+ i -= len(m.Source)
+ copy(dAtA[i:], m.Source)
+ i = encodeVarint(dAtA, i, uint64(len(m.Source)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarint(dAtA, i, uint64(len(m.Type)))
i--
dAtA[i] = 0x12
}
- if m.ProfileType != 0 {
- i = encodeVarint(dAtA, i, uint64(m.ProfileType))
+ if len(m.Destination) > 0 {
+ i -= len(m.Destination)
+ copy(dAtA[i:], m.Destination)
+ i = encodeVarint(dAtA, i, uint64(len(m.Destination)))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *POSIXRlimit) MarshalVT() (dAtA []byte, err error) {
+func (m *Hooks) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2801,12 +2447,12 @@ func (m *POSIXRlimit) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *POSIXRlimit) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Hooks) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *POSIXRlimit) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Hooks) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2818,65 +2464,82 @@ func (m *POSIXRlimit) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Soft != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Soft))
- i--
- dAtA[i] = 0x18
- }
- if m.Hard != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Hard))
- i--
- dAtA[i] = 0x10
- }
- if len(m.Type) > 0 {
- i -= len(m.Type)
- copy(dAtA[i:], m.Type)
- i = encodeVarint(dAtA, i, uint64(len(m.Type)))
- i--
- dAtA[i] = 0xa
+ if len(m.Poststop) > 0 {
+ for iNdEx := len(m.Poststop) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Poststop[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
+ }
}
- return len(dAtA) - i, nil
-}
-
-func (m *LinuxPids) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ if len(m.Poststart) > 0 {
+ for iNdEx := len(m.Poststart) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Poststart[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
+ }
}
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if len(m.StartContainer) > 0 {
+ for iNdEx := len(m.StartContainer) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.StartContainer[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
}
- return dAtA[:n], nil
-}
-
-func (m *LinuxPids) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *LinuxPids) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if len(m.CreateContainer) > 0 {
+ for iNdEx := len(m.CreateContainer) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.CreateContainer[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if len(m.CreateRuntime) > 0 {
+ for iNdEx := len(m.CreateRuntime) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.CreateRuntime[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
}
- if m.Limit != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Limit))
- i--
- dAtA[i] = 0x8
+ if len(m.Prestart) > 0 {
+ for iNdEx := len(m.Prestart) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Prestart[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
}
return len(dAtA) - i, nil
}
-func (m *LinuxIOPriority) MarshalVT() (dAtA []byte, err error) {
+func (m *Hook) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2889,12 +2552,12 @@ func (m *LinuxIOPriority) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxIOPriority) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Hook) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxIOPriority) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Hook) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2906,60 +2569,45 @@ func (m *LinuxIOPriority) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Priority != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Priority))
- i--
- dAtA[i] = 0x10
- }
- if m.Class != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Class))
+ if m.Timeout != nil {
+ size, err := m.Timeout.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x8
- }
- return len(dAtA) - i, nil
-}
-
-func (m *LinuxNetDevice) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ dAtA[i] = 0x22
}
- return dAtA[:n], nil
-}
-
-func (m *LinuxNetDevice) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *LinuxNetDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if len(m.Env) > 0 {
+ for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Env[iNdEx])
+ copy(dAtA[i:], m.Env[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Env[iNdEx])))
+ i--
+ dAtA[i] = 0x1a
+ }
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if len(m.Args) > 0 {
+ for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Args[iNdEx])
+ copy(dAtA[i:], m.Args[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx])))
+ i--
+ dAtA[i] = 0x12
+ }
}
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = encodeVarint(dAtA, i, uint64(len(m.Name)))
+ if len(m.Path) > 0 {
+ i -= len(m.Path)
+ copy(dAtA[i:], m.Path)
+ i = encodeVarint(dAtA, i, uint64(len(m.Path)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxScheduler) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxContainer) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -2972,12 +2620,12 @@ func (m *LinuxScheduler) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxScheduler) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxContainer) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -2989,248 +2637,25 @@ func (m *LinuxScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Period != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Period))
- i--
- dAtA[i] = 0x38
- }
- if m.Deadline != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Deadline))
- i--
- dAtA[i] = 0x30
- }
- if m.Runtime != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Runtime))
- i--
- dAtA[i] = 0x28
- }
- if len(m.Flags) > 0 {
- var pksize2 int
- for _, num := range m.Flags {
- pksize2 += sov(uint64(num))
- }
- i -= pksize2
- j1 := i
- for _, num1 := range m.Flags {
- num := uint64(num1)
- for num >= 1<<7 {
- dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j1++
- }
- dAtA[j1] = uint8(num)
- j1++
+ if m.Rdt != nil {
+ size, err := m.Rdt.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
- i = encodeVarint(dAtA, i, uint64(pksize2))
- i--
- dAtA[i] = 0x22
- }
- if m.Priority != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Priority))
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x18
+ dAtA[i] = 0x62
}
- if m.Nice != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Nice))
+ if m.Scheduler != nil {
+ size, err := m.Scheduler.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x10
- }
- if m.Policy != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Policy))
- i--
- dAtA[i] = 0x8
- }
- return len(dAtA) - i, nil
-}
-
-func (m *ContainerAdjustment) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *ContainerAdjustment) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *ContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
- }
- if len(m.Args) > 0 {
- for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Args[iNdEx])
- copy(dAtA[i:], m.Args[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx])))
- i--
- dAtA[i] = 0x4a
- }
- }
- if len(m.CDIDevices) > 0 {
- for iNdEx := len(m.CDIDevices) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.CDIDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x42
- }
- }
- if len(m.Rlimits) > 0 {
- for iNdEx := len(m.Rlimits) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Rlimits[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x3a
- }
- }
- if m.Linux != nil {
- size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x32
- }
- if m.Hooks != nil {
- size, err := m.Hooks.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
- }
- if len(m.Env) > 0 {
- for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Env[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x22
- }
- }
- if len(m.Mounts) > 0 {
- for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
- }
- if len(m.Annotations) > 0 {
- for k := range m.Annotations {
- v := m.Annotations[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = encodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0x12
- }
- }
- return len(dAtA) - i, nil
-}
-
-func (m *LinuxContainerAdjustment) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *LinuxContainerAdjustment) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
- }
- if m.MemoryPolicy != nil {
- size, err := m.MemoryPolicy.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x62
- }
- if m.Rdt != nil {
- size, err := m.Rdt.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x5a
- }
- if m.Scheduler != nil {
- size, err := m.Scheduler.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x52
+ dAtA[i] = 0x5a
}
if len(m.NetDevices) > 0 {
for k := range m.NetDevices {
@@ -3251,7 +2676,7 @@ func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, err
dAtA[i] = 0xa
i = encodeVarint(dAtA, i, uint64(baseI-i))
i--
- dAtA[i] = 0x4a
+ dAtA[i] = 0x52
}
}
if len(m.Sysctl) > 0 {
@@ -3270,19 +2695,7 @@ func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, err
dAtA[i] = 0xa
i = encodeVarint(dAtA, i, uint64(baseI-i))
i--
- dAtA[i] = 0x42
- }
- }
- if len(m.Namespaces) > 0 {
- for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Namespaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x3a
+ dAtA[i] = 0x4a
}
}
if m.SeccompPolicy != nil {
@@ -3293,34 +2706,44 @@ func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, err
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x32
+ dAtA[i] = 0x42
}
- if m.IoPriority != nil {
- size, err := m.IoPriority.MarshalToSizedBufferVT(dAtA[:i])
+ if m.SeccompProfile != nil {
+ size, err := m.SeccompProfile.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x2a
+ dAtA[i] = 0x3a
}
- if m.OomScoreAdj != nil {
- size, err := m.OomScoreAdj.MarshalToSizedBufferVT(dAtA[:i])
+ if m.IoPriority != nil {
+ size, err := m.IoPriority.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x22
+ dAtA[i] = 0x32
}
if len(m.CgroupsPath) > 0 {
i -= len(m.CgroupsPath)
copy(dAtA[i:], m.CgroupsPath)
i = encodeVarint(dAtA, i, uint64(len(m.CgroupsPath)))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0x2a
+ }
+ if m.OomScoreAdj != nil {
+ size, err := m.OomScoreAdj.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
}
if m.Resources != nil {
size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
@@ -3330,7 +2753,7 @@ func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, err
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x1a
}
if len(m.Devices) > 0 {
for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
@@ -3341,13 +2764,25 @@ func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, err
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.Namespaces) > 0 {
+ for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Namespaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
-func (m *LinuxSeccomp) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxNamespace) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3360,12 +2795,12 @@ func (m *LinuxSeccomp) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxSeccomp) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxNamespace) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxSeccomp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxNamespace) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3377,71 +2812,111 @@ func (m *LinuxSeccomp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Syscalls) > 0 {
- for iNdEx := len(m.Syscalls) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Syscalls[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x3a
- }
- }
- if len(m.ListenerMetadata) > 0 {
- i -= len(m.ListenerMetadata)
- copy(dAtA[i:], m.ListenerMetadata)
- i = encodeVarint(dAtA, i, uint64(len(m.ListenerMetadata)))
+ if len(m.Path) > 0 {
+ i -= len(m.Path)
+ copy(dAtA[i:], m.Path)
+ i = encodeVarint(dAtA, i, uint64(len(m.Path)))
i--
- dAtA[i] = 0x32
+ dAtA[i] = 0x12
}
- if len(m.ListenerPath) > 0 {
- i -= len(m.ListenerPath)
- copy(dAtA[i:], m.ListenerPath)
- i = encodeVarint(dAtA, i, uint64(len(m.ListenerPath)))
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarint(dAtA, i, uint64(len(m.Type)))
i--
- dAtA[i] = 0x2a
+ dAtA[i] = 0xa
}
- if len(m.Flags) > 0 {
- for iNdEx := len(m.Flags) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Flags[iNdEx])
- copy(dAtA[i:], m.Flags[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Flags[iNdEx])))
- i--
- dAtA[i] = 0x22
+ return len(dAtA) - i, nil
+}
+
+func (m *LinuxDevice) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *LinuxDevice) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *LinuxDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Gid != nil {
+ size, err := m.Gid.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
}
- if len(m.Architectures) > 0 {
- for iNdEx := len(m.Architectures) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Architectures[iNdEx])
- copy(dAtA[i:], m.Architectures[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Architectures[iNdEx])))
- i--
- dAtA[i] = 0x1a
+ if m.Uid != nil {
+ size, err := m.Uid.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
}
- if m.DefaultErrno != nil {
- size, err := m.DefaultErrno.MarshalToSizedBufferVT(dAtA[:i])
+ if m.FileMode != nil {
+ size, err := m.FileMode.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
+ dAtA[i] = 0x2a
+ }
+ if m.Minor != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Minor))
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.Major != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Major))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarint(dAtA, i, uint64(len(m.Type)))
+ i--
dAtA[i] = 0x12
}
- if len(m.DefaultAction) > 0 {
- i -= len(m.DefaultAction)
- copy(dAtA[i:], m.DefaultAction)
- i = encodeVarint(dAtA, i, uint64(len(m.DefaultAction)))
+ if len(m.Path) > 0 {
+ i -= len(m.Path)
+ copy(dAtA[i:], m.Path)
+ i = encodeVarint(dAtA, i, uint64(len(m.Path)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxSyscall) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxDeviceCgroup) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3454,12 +2929,12 @@ func (m *LinuxSyscall) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxSyscall) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxDeviceCgroup) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxSyscall) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxDeviceCgroup) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3471,20 +2946,25 @@ func (m *LinuxSyscall) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Args) > 0 {
- for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Args[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x22
+ if len(m.Access) > 0 {
+ i -= len(m.Access)
+ copy(dAtA[i:], m.Access)
+ i = encodeVarint(dAtA, i, uint64(len(m.Access)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.Minor != nil {
+ size, err := m.Minor.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
}
- if m.ErrnoRet != nil {
- size, err := m.ErrnoRet.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Major != nil {
+ size, err := m.Major.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -3493,26 +2973,27 @@ func (m *LinuxSyscall) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x1a
}
- if len(m.Action) > 0 {
- i -= len(m.Action)
- copy(dAtA[i:], m.Action)
- i = encodeVarint(dAtA, i, uint64(len(m.Action)))
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarint(dAtA, i, uint64(len(m.Type)))
i--
dAtA[i] = 0x12
}
- if len(m.Names) > 0 {
- for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Names[iNdEx])
- copy(dAtA[i:], m.Names[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx])))
- i--
- dAtA[i] = 0xa
+ if m.Allow {
+ i--
+ if m.Allow {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
}
+ i--
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *LinuxSeccompArg) MarshalVT() (dAtA []byte, err error) {
+func (m *CDIDevice) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3525,12 +3006,12 @@ func (m *LinuxSeccompArg) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxSeccompArg) MarshalToVT(dAtA []byte) (int, error) {
+func (m *CDIDevice) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxSeccompArg) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *CDIDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3542,32 +3023,17 @@ func (m *LinuxSeccompArg) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Op) > 0 {
- i -= len(m.Op)
- copy(dAtA[i:], m.Op)
- i = encodeVarint(dAtA, i, uint64(len(m.Op)))
- i--
- dAtA[i] = 0x22
- }
- if m.ValueTwo != 0 {
- i = encodeVarint(dAtA, i, uint64(m.ValueTwo))
- i--
- dAtA[i] = 0x18
- }
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
- i--
- dAtA[i] = 0x10
- }
- if m.Index != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Index))
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarint(dAtA, i, uint64(len(m.Name)))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxMemoryPolicy) MarshalVT() (dAtA []byte, err error) {
+func (m *User) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3580,12 +3046,12 @@ func (m *LinuxMemoryPolicy) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxMemoryPolicy) MarshalToVT(dAtA []byte) (int, error) {
+func (m *User) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxMemoryPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *User) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3597,15 +3063,14 @@ func (m *LinuxMemoryPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Flags) > 0 {
+ if len(m.AdditionalGids) > 0 {
var pksize2 int
- for _, num := range m.Flags {
+ for _, num := range m.AdditionalGids {
pksize2 += sov(uint64(num))
}
i -= pksize2
j1 := i
- for _, num1 := range m.Flags {
- num := uint64(num1)
+ for _, num := range m.AdditionalGids {
for num >= 1<<7 {
dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
num >>= 7
@@ -3618,22 +3083,20 @@ func (m *LinuxMemoryPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x1a
}
- if len(m.Nodes) > 0 {
- i -= len(m.Nodes)
- copy(dAtA[i:], m.Nodes)
- i = encodeVarint(dAtA, i, uint64(len(m.Nodes)))
+ if m.Gid != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Gid))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x10
}
- if m.Mode != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Mode))
+ if m.Uid != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Uid))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *ContainerUpdate) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxResources) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3646,12 +3109,12 @@ func (m *ContainerUpdate) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *ContainerUpdate) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxResources) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *ContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxResources) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3663,18 +3126,81 @@ func (m *ContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.IgnoreFailure {
- i--
- if m.IgnoreFailure {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
+ if m.Pids != nil {
+ size, err := m.Pids.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
- i--
- dAtA[i] = 0x18
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x42
}
- if m.Linux != nil {
- size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Devices) > 0 {
+ for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Devices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
+ }
+ }
+ if len(m.Unified) > 0 {
+ for k := range m.Unified {
+ v := m.Unified[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = encodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if m.RdtClass != nil {
+ size, err := m.RdtClass.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.BlockioClass != nil {
+ size, err := m.BlockioClass.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.HugepageLimits) > 0 {
+ for iNdEx := len(m.HugepageLimits) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.HugepageLimits[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.Cpu != nil {
+ size, err := m.Cpu.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -3683,17 +3209,20 @@ func (m *ContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
- if len(m.ContainerId) > 0 {
- i -= len(m.ContainerId)
- copy(dAtA[i:], m.ContainerId)
- i = encodeVarint(dAtA, i, uint64(len(m.ContainerId)))
+ if m.Memory != nil {
+ size, err := m.Memory.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxContainerUpdate) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxMemory) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3706,12 +3235,12 @@ func (m *LinuxContainerUpdate) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxContainerUpdate) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxMemory) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxMemory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3723,67 +3252,90 @@ func (m *LinuxContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Resources != nil {
- size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
+ if m.UseHierarchy != nil {
+ size, err := m.UseHierarchy.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x42
}
- return len(dAtA) - i, nil
-}
-
-func (m *ContainerEviction) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ if m.DisableOomKiller != nil {
+ size, err := m.DisableOomKiller.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
}
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if m.Swappiness != nil {
+ size, err := m.Swappiness.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
}
- return dAtA[:n], nil
-}
-
-func (m *ContainerEviction) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *ContainerEviction) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if m.KernelTcp != nil {
+ size, err := m.KernelTcp.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.Kernel != nil {
+ size, err := m.Kernel.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
}
- if len(m.Reason) > 0 {
- i -= len(m.Reason)
- copy(dAtA[i:], m.Reason)
- i = encodeVarint(dAtA, i, uint64(len(m.Reason)))
+ if m.Swap != nil {
+ size, err := m.Swap.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.Reservation != nil {
+ size, err := m.Reservation.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0x12
}
- if len(m.ContainerId) > 0 {
- i -= len(m.ContainerId)
- copy(dAtA[i:], m.ContainerId)
- i = encodeVarint(dAtA, i, uint64(len(m.ContainerId)))
+ if m.Limit != nil {
+ size, err := m.Limit.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *LinuxRdt) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxCPU) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3796,12 +3348,12 @@ func (m *LinuxRdt) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *LinuxRdt) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxCPU) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *LinuxRdt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxCPU) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3813,18 +3365,42 @@ func (m *LinuxRdt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Remove {
+ if len(m.Mems) > 0 {
+ i -= len(m.Mems)
+ copy(dAtA[i:], m.Mems)
+ i = encodeVarint(dAtA, i, uint64(len(m.Mems)))
i--
- if m.Remove {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
+ dAtA[i] = 0x3a
+ }
+ if len(m.Cpus) > 0 {
+ i -= len(m.Cpus)
+ copy(dAtA[i:], m.Cpus)
+ i = encodeVarint(dAtA, i, uint64(len(m.Cpus)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.RealtimePeriod != nil {
+ size, err := m.RealtimePeriod.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x20
+ dAtA[i] = 0x2a
}
- if m.EnableMonitoring != nil {
- size, err := m.EnableMonitoring.MarshalToSizedBufferVT(dAtA[:i])
+ if m.RealtimeRuntime != nil {
+ size, err := m.RealtimeRuntime.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ if m.Period != nil {
+ size, err := m.Period.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -3833,8 +3409,8 @@ func (m *LinuxRdt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x1a
}
- if m.Schemata != nil {
- size, err := m.Schemata.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Quota != nil {
+ size, err := m.Quota.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -3843,8 +3419,8 @@ func (m *LinuxRdt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
- if m.ClosId != nil {
- size, err := m.ClosId.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Shares != nil {
+ size, err := m.Shares.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -3856,7 +3432,7 @@ func (m *LinuxRdt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *KeyValue) MarshalVT() (dAtA []byte, err error) {
+func (m *HugepageLimit) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3869,12 +3445,12 @@ func (m *KeyValue) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *KeyValue) MarshalToVT(dAtA []byte) (int, error) {
+func (m *HugepageLimit) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *KeyValue) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *HugepageLimit) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3886,24 +3462,22 @@ func (m *KeyValue) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Value) > 0 {
- i -= len(m.Value)
- copy(dAtA[i:], m.Value)
- i = encodeVarint(dAtA, i, uint64(len(m.Value)))
+ if m.Limit != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Limit))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x10
}
- if len(m.Key) > 0 {
- i -= len(m.Key)
- copy(dAtA[i:], m.Key)
- i = encodeVarint(dAtA, i, uint64(len(m.Key)))
+ if len(m.PageSize) > 0 {
+ i -= len(m.PageSize)
+ copy(dAtA[i:], m.PageSize)
+ i = encodeVarint(dAtA, i, uint64(len(m.PageSize)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *OptionalString) MarshalVT() (dAtA []byte, err error) {
+func (m *SecurityProfile) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3916,12 +3490,12 @@ func (m *OptionalString) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalString) MarshalToVT(dAtA []byte) (int, error) {
+func (m *SecurityProfile) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalString) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *SecurityProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3933,17 +3507,22 @@ func (m *OptionalString) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Value) > 0 {
- i -= len(m.Value)
- copy(dAtA[i:], m.Value)
- i = encodeVarint(dAtA, i, uint64(len(m.Value)))
+ if len(m.LocalhostRef) > 0 {
+ i -= len(m.LocalhostRef)
+ copy(dAtA[i:], m.LocalhostRef)
+ i = encodeVarint(dAtA, i, uint64(len(m.LocalhostRef)))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x12
+ }
+ if m.ProfileType != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.ProfileType))
+ i--
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *OptionalRepeatedString) MarshalVT() (dAtA []byte, err error) {
+func (m *POSIXRlimit) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -3956,12 +3535,12 @@ func (m *OptionalRepeatedString) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalRepeatedString) MarshalToVT(dAtA []byte) (int, error) {
+func (m *POSIXRlimit) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalRepeatedString) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *POSIXRlimit) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -3973,57 +3552,27 @@ func (m *OptionalRepeatedString) MarshalToSizedBufferVT(dAtA []byte) (int, error
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Value) > 0 {
- for iNdEx := len(m.Value) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Value[iNdEx])
- copy(dAtA[i:], m.Value[iNdEx])
- i = encodeVarint(dAtA, i, uint64(len(m.Value[iNdEx])))
- i--
- dAtA[i] = 0xa
- }
- }
- return len(dAtA) - i, nil
-}
-
-func (m *OptionalInt) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *OptionalInt) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *OptionalInt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if m.Soft != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Soft))
+ i--
+ dAtA[i] = 0x18
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.Hard != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Hard))
+ i--
+ dAtA[i] = 0x10
}
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarint(dAtA, i, uint64(len(m.Type)))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *OptionalInt32) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxPids) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4036,12 +3585,12 @@ func (m *OptionalInt32) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalInt32) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxPids) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxPids) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4053,15 +3602,15 @@ func (m *OptionalInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
+ if m.Limit != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Limit))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *OptionalUInt32) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxIOPriority) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4074,12 +3623,12 @@ func (m *OptionalUInt32) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalUInt32) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxIOPriority) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalUInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxIOPriority) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4091,15 +3640,20 @@ func (m *OptionalUInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
+ if m.Priority != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Priority))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.Class != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Class))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *OptionalInt64) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxNetDevice) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4112,12 +3666,12 @@ func (m *OptionalInt64) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalInt64) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxNetDevice) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxNetDevice) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4129,15 +3683,17 @@ func (m *OptionalInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarint(dAtA, i, uint64(len(m.Name)))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *OptionalUInt64) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxScheduler) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4150,12 +3706,12 @@ func (m *OptionalUInt64) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalUInt64) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxScheduler) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalUInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4167,58 +3723,61 @@ func (m *OptionalUInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
+ if m.Period != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Period))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0x38
}
- return len(dAtA) - i, nil
-}
-
-func (m *OptionalBool) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ if m.Deadline != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Deadline))
+ i--
+ dAtA[i] = 0x30
}
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if m.Runtime != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Runtime))
+ i--
+ dAtA[i] = 0x28
}
- return dAtA[:n], nil
-}
-
-func (m *OptionalBool) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *OptionalBool) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if len(m.Flags) > 0 {
+ var pksize2 int
+ for _, num := range m.Flags {
+ pksize2 += sov(uint64(num))
+ }
+ i -= pksize2
+ j1 := i
+ for _, num1 := range m.Flags {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j1++
+ }
+ dAtA[j1] = uint8(num)
+ j1++
+ }
+ i = encodeVarint(dAtA, i, uint64(pksize2))
+ i--
+ dAtA[i] = 0x22
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.Priority != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Priority))
+ i--
+ dAtA[i] = 0x18
}
- if m.Value {
+ if m.Nice != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Nice))
i--
- if m.Value {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
+ dAtA[i] = 0x10
+ }
+ if m.Policy != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Policy))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *OptionalFileMode) MarshalVT() (dAtA []byte, err error) {
+func (m *ContainerAdjustment) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4231,12 +3790,12 @@ func (m *OptionalFileMode) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OptionalFileMode) MarshalToVT(dAtA []byte) (int, error) {
+func (m *ContainerAdjustment) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OptionalFileMode) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *ContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4248,47 +3807,86 @@ func (m *OptionalFileMode) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Value != 0 {
- i = encodeVarint(dAtA, i, uint64(m.Value))
- i--
- dAtA[i] = 0x8
+ if len(m.Args) > 0 {
+ for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Args[iNdEx])
+ copy(dAtA[i:], m.Args[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx])))
+ i--
+ dAtA[i] = 0x4a
+ }
}
- return len(dAtA) - i, nil
-}
-
-func (m *CompoundFieldOwners) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ if len(m.CDIDevices) > 0 {
+ for iNdEx := len(m.CDIDevices) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.CDIDevices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x42
+ }
}
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if len(m.Rlimits) > 0 {
+ for iNdEx := len(m.Rlimits) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Rlimits[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
+ }
}
- return dAtA[:n], nil
-}
-
-func (m *CompoundFieldOwners) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *CompoundFieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if m.Linux != nil {
+ size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.Hooks != nil {
+ size, err := m.Hooks.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
}
- if len(m.Owners) > 0 {
- for k := range m.Owners {
- v := m.Owners[k]
+ if len(m.Env) > 0 {
+ for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Env[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.Mounts) > 0 {
+ for iNdEx := len(m.Mounts) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Mounts[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Annotations) > 0 {
+ for k := range m.Annotations {
+ v := m.Annotations[k]
baseI := i
i -= len(v)
copy(dAtA[i:], v)
@@ -4302,13 +3900,13 @@ func (m *CompoundFieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
dAtA[i] = 0xa
i = encodeVarint(dAtA, i, uint64(baseI-i))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x12
}
}
return len(dAtA) - i, nil
}
-func (m *FieldOwners) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxContainerAdjustment) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4321,12 +3919,12 @@ func (m *FieldOwners) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *FieldOwners) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxContainerAdjustment) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *FieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxContainerAdjustment) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4338,9 +3936,39 @@ func (m *FieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Compound) > 0 {
- for k := range m.Compound {
- v := m.Compound[k]
+ if m.MemoryPolicy != nil {
+ size, err := m.MemoryPolicy.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x62
+ }
+ if m.Rdt != nil {
+ size, err := m.Rdt.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x5a
+ }
+ if m.Scheduler != nil {
+ size, err := m.Scheduler.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x52
+ }
+ if len(m.NetDevices) > 0 {
+ for k := range m.NetDevices {
+ v := m.NetDevices[k]
baseI := i
size, err := v.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
@@ -4350,35 +3978,110 @@ func (m *FieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i = encodeVarint(dAtA, i, uint64(size))
i--
dAtA[i] = 0x12
- i = encodeVarint(dAtA, i, uint64(k))
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
i = encodeVarint(dAtA, i, uint64(baseI-i))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x4a
}
}
- if len(m.Simple) > 0 {
- for k := range m.Simple {
- v := m.Simple[k]
+ if len(m.Sysctl) > 0 {
+ for k := range m.Sysctl {
+ v := m.Sysctl[k]
baseI := i
i -= len(v)
copy(dAtA[i:], v)
i = encodeVarint(dAtA, i, uint64(len(v)))
i--
dAtA[i] = 0x12
- i = encodeVarint(dAtA, i, uint64(k))
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
i = encodeVarint(dAtA, i, uint64(baseI-i))
i--
+ dAtA[i] = 0x42
+ }
+ }
+ if len(m.Namespaces) > 0 {
+ for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Namespaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
+ }
+ }
+ if m.SeccompPolicy != nil {
+ size, err := m.SeccompPolicy.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.IoPriority != nil {
+ size, err := m.IoPriority.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.OomScoreAdj != nil {
+ size, err := m.OomScoreAdj.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.CgroupsPath) > 0 {
+ i -= len(m.CgroupsPath)
+ copy(dAtA[i:], m.CgroupsPath)
+ i = encodeVarint(dAtA, i, uint64(len(m.CgroupsPath)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.Resources != nil {
+ size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Devices) > 0 {
+ for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Devices[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
-func (m *OwningPlugins) MarshalVT() (dAtA []byte, err error) {
+func (m *LinuxSeccomp) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -4391,12 +4094,12 @@ func (m *OwningPlugins) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *OwningPlugins) MarshalToVT(dAtA []byte) (int, error) {
+func (m *LinuxSeccomp) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *OwningPlugins) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *LinuxSeccomp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -4408,922 +4111,1175 @@ func (m *OwningPlugins) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Owners) > 0 {
- for k := range m.Owners {
- v := m.Owners[k]
- baseI := i
- size, err := v.MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Syscalls) > 0 {
+ for iNdEx := len(m.Syscalls) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Syscalls[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = encodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = encodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x3a
}
}
- return len(dAtA) - i, nil
-}
-
-func encodeVarint(dAtA []byte, offset int, v uint64) int {
- offset -= sov(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
+ if len(m.ListenerMetadata) > 0 {
+ i -= len(m.ListenerMetadata)
+ copy(dAtA[i:], m.ListenerMetadata)
+ i = encodeVarint(dAtA, i, uint64(len(m.ListenerMetadata)))
+ i--
+ dAtA[i] = 0x32
}
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *RegisterPluginRequest) SizeVT() (n int) {
- if m == nil {
- return 0
+ if len(m.ListenerPath) > 0 {
+ i -= len(m.ListenerPath)
+ copy(dAtA[i:], m.ListenerPath)
+ i = encodeVarint(dAtA, i, uint64(len(m.ListenerPath)))
+ i--
+ dAtA[i] = 0x2a
}
- var l int
- _ = l
- l = len(m.PluginName)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if len(m.Flags) > 0 {
+ for iNdEx := len(m.Flags) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Flags[iNdEx])
+ copy(dAtA[i:], m.Flags[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Flags[iNdEx])))
+ i--
+ dAtA[i] = 0x22
+ }
}
- l = len(m.PluginIdx)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if len(m.Architectures) > 0 {
+ for iNdEx := len(m.Architectures) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Architectures[iNdEx])
+ copy(dAtA[i:], m.Architectures[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Architectures[iNdEx])))
+ i--
+ dAtA[i] = 0x1a
+ }
}
- l = len(m.NRIVersion)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.DefaultErrno != nil {
+ size, err := m.DefaultErrno.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
}
- n += len(m.unknownFields)
- return n
+ if len(m.DefaultAction) > 0 {
+ i -= len(m.DefaultAction)
+ copy(dAtA[i:], m.DefaultAction)
+ i = encodeVarint(dAtA, i, uint64(len(m.DefaultAction)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
-func (m *UpdateContainersRequest) SizeVT() (n int) {
+func (m *LinuxSyscall) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Update) > 0 {
- for _, e := range m.Update {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ return nil, nil
}
- if len(m.Evict) > 0 {
- for _, e := range m.Evict {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *UpdateContainersResponse) SizeVT() (n int) {
+func (m *LinuxSyscall) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *LinuxSyscall) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if len(m.Failed) > 0 {
- for _, e := range m.Failed {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if len(m.Args) > 0 {
+ for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Args[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
}
}
- n += len(m.unknownFields)
- return n
+ if m.ErrnoRet != nil {
+ size, err := m.ErrnoRet.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Action) > 0 {
+ i -= len(m.Action)
+ copy(dAtA[i:], m.Action)
+ i = encodeVarint(dAtA, i, uint64(len(m.Action)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Names) > 0 {
+ for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Names[iNdEx])
+ copy(dAtA[i:], m.Names[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
}
-func (m *LogRequest) SizeVT() (n int) {
+func (m *LinuxSeccompArg) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Msg)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ return nil, nil
}
- if m.Level != 0 {
- n += 1 + sov(uint64(m.Level))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *ConfigureRequest) SizeVT() (n int) {
+func (m *LinuxSeccompArg) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *LinuxSeccompArg) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- l = len(m.Config)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- l = len(m.RuntimeName)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.RuntimeVersion)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if len(m.Op) > 0 {
+ i -= len(m.Op)
+ copy(dAtA[i:], m.Op)
+ i = encodeVarint(dAtA, i, uint64(len(m.Op)))
+ i--
+ dAtA[i] = 0x22
}
- if m.RegistrationTimeout != 0 {
- n += 1 + sov(uint64(m.RegistrationTimeout))
+ if m.ValueTwo != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.ValueTwo))
+ i--
+ dAtA[i] = 0x18
}
- if m.RequestTimeout != 0 {
- n += 1 + sov(uint64(m.RequestTimeout))
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x10
}
- l = len(m.NRIVersion)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.Index != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Index))
+ i--
+ dAtA[i] = 0x8
}
- n += len(m.unknownFields)
- return n
+ return len(dAtA) - i, nil
}
-func (m *ConfigureResponse) SizeVT() (n int) {
+func (m *LinuxMemoryPolicy) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
+ return nil, nil
}
- var l int
- _ = l
- if m.Events != 0 {
- n += 1 + sov(uint64(m.Events))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *SynchronizeRequest) SizeVT() (n int) {
+func (m *LinuxMemoryPolicy) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *LinuxMemoryPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if len(m.Pods) > 0 {
- for _, e := range m.Pods {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Containers) > 0 {
- for _, e := range m.Containers {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if len(m.Flags) > 0 {
+ var pksize2 int
+ for _, num := range m.Flags {
+ pksize2 += sov(uint64(num))
}
- }
- if m.More {
- n += 2
- }
- n += len(m.unknownFields)
- return n
-}
-
-func (m *SynchronizeResponse) SizeVT() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Update) > 0 {
- for _, e := range m.Update {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ i -= pksize2
+ j1 := i
+ for _, num1 := range m.Flags {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j1++
+ }
+ dAtA[j1] = uint8(num)
+ j1++
}
+ i = encodeVarint(dAtA, i, uint64(pksize2))
+ i--
+ dAtA[i] = 0x1a
}
- if m.More {
- n += 2
+ if len(m.Nodes) > 0 {
+ i -= len(m.Nodes)
+ copy(dAtA[i:], m.Nodes)
+ i = encodeVarint(dAtA, i, uint64(len(m.Nodes)))
+ i--
+ dAtA[i] = 0x12
}
- n += len(m.unknownFields)
- return n
+ if m.Mode != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Mode))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
}
-func (m *CreateContainerRequest) SizeVT() (n int) {
+func (m *ContainerUpdate) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Pod != nil {
- l = m.Pod.SizeVT()
- n += 1 + l + sov(uint64(l))
+ return nil, nil
}
- if m.Container != nil {
- l = m.Container.SizeVT()
- n += 1 + l + sov(uint64(l))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *CreateContainerResponse) SizeVT() (n int) {
+func (m *ContainerUpdate) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *ContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if m.Adjust != nil {
- l = m.Adjust.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Update) > 0 {
- for _, e := range m.Update {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.IgnoreFailure {
+ i--
+ if m.IgnoreFailure {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
}
+ i--
+ dAtA[i] = 0x18
}
- if len(m.Evict) > 0 {
- for _, e := range m.Evict {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.Linux != nil {
+ size, err := m.Linux.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
}
- n += len(m.unknownFields)
- return n
+ if len(m.ContainerId) > 0 {
+ i -= len(m.ContainerId)
+ copy(dAtA[i:], m.ContainerId)
+ i = encodeVarint(dAtA, i, uint64(len(m.ContainerId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
-func (m *UpdateContainerRequest) SizeVT() (n int) {
+func (m *LinuxContainerUpdate) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Pod != nil {
- l = m.Pod.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Container != nil {
- l = m.Container.SizeVT()
- n += 1 + l + sov(uint64(l))
+ return nil, nil
}
- if m.LinuxResources != nil {
- l = m.LinuxResources.SizeVT()
- n += 1 + l + sov(uint64(l))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *UpdateContainerResponse) SizeVT() (n int) {
+func (m *LinuxContainerUpdate) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *LinuxContainerUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if len(m.Update) > 0 {
- for _, e := range m.Update {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Evict) > 0 {
- for _, e := range m.Evict {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.Resources != nil {
+ size, err := m.Resources.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
}
- n += len(m.unknownFields)
- return n
+ return len(dAtA) - i, nil
}
-func (m *StopContainerRequest) SizeVT() (n int) {
+func (m *ContainerEviction) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Pod != nil {
- l = m.Pod.SizeVT()
- n += 1 + l + sov(uint64(l))
+ return nil, nil
}
- if m.Container != nil {
- l = m.Container.SizeVT()
- n += 1 + l + sov(uint64(l))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *StopContainerResponse) SizeVT() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Update) > 0 {
- for _, e := range m.Update {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- n += len(m.unknownFields)
- return n
+func (m *ContainerEviction) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *UpdatePodSandboxRequest) SizeVT() (n int) {
+func (m *ContainerEviction) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if m.Pod != nil {
- l = m.Pod.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.OverheadLinuxResources != nil {
- l = m.OverheadLinuxResources.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if len(m.Reason) > 0 {
+ i -= len(m.Reason)
+ copy(dAtA[i:], m.Reason)
+ i = encodeVarint(dAtA, i, uint64(len(m.Reason)))
+ i--
+ dAtA[i] = 0x12
}
- if m.LinuxResources != nil {
- l = m.LinuxResources.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if len(m.ContainerId) > 0 {
+ i -= len(m.ContainerId)
+ copy(dAtA[i:], m.ContainerId)
+ i = encodeVarint(dAtA, i, uint64(len(m.ContainerId)))
+ i--
+ dAtA[i] = 0xa
}
- n += len(m.unknownFields)
- return n
+ return len(dAtA) - i, nil
}
-func (m *UpdatePodSandboxResponse) SizeVT() (n int) {
+func (m *LinuxRdt) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
+ return nil, nil
}
- var l int
- _ = l
- n += len(m.unknownFields)
- return n
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
}
-func (m *StateChangeEvent) SizeVT() (n int) {
+func (m *LinuxRdt) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *LinuxRdt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if m.Event != 0 {
- n += 1 + sov(uint64(m.Event))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.Pod != nil {
- l = m.Pod.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.Remove {
+ i--
+ if m.Remove {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x20
}
- if m.Container != nil {
- l = m.Container.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.EnableMonitoring != nil {
+ size, err := m.EnableMonitoring.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
}
- n += len(m.unknownFields)
- return n
+ if m.Schemata != nil {
+ size, err := m.Schemata.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.ClosId != nil {
+ size, err := m.ClosId.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
-func (m *ValidateContainerAdjustmentRequest) SizeVT() (n int) {
+func (m *KeyValue) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *KeyValue) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *KeyValue) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if m.Pod != nil {
- l = m.Pod.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Container != nil {
- l = m.Container.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.Adjust != nil {
- l = m.Adjust.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if len(m.Value) > 0 {
+ i -= len(m.Value)
+ copy(dAtA[i:], m.Value)
+ i = encodeVarint(dAtA, i, uint64(len(m.Value)))
+ i--
+ dAtA[i] = 0x12
}
- if len(m.Update) > 0 {
- for _, e := range m.Update {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ if len(m.Key) > 0 {
+ i -= len(m.Key)
+ copy(dAtA[i:], m.Key)
+ i = encodeVarint(dAtA, i, uint64(len(m.Key)))
+ i--
+ dAtA[i] = 0xa
}
- if m.Owners != nil {
- l = m.Owners.SizeVT()
- n += 1 + l + sov(uint64(l))
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalString) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Plugins) > 0 {
- for _, e := range m.Plugins {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *PluginInstance) SizeVT() (n int) {
+func (m *OptionalString) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalString) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.Index)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if len(m.Value) > 0 {
+ i -= len(m.Value)
+ copy(dAtA[i:], m.Value)
+ i = encodeVarint(dAtA, i, uint64(len(m.Value)))
+ i--
+ dAtA[i] = 0xa
}
- n += len(m.unknownFields)
- return n
+ return len(dAtA) - i, nil
}
-func (m *ValidateContainerAdjustmentResponse) SizeVT() (n int) {
+func (m *OptionalRepeatedString) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OptionalRepeatedString) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalRepeatedString) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if m.Reject {
- n += 2
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.Reason)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if len(m.Value) > 0 {
+ for iNdEx := len(m.Value) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Value[iNdEx])
+ copy(dAtA[i:], m.Value[iNdEx])
+ i = encodeVarint(dAtA, i, uint64(len(m.Value[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
}
- n += len(m.unknownFields)
- return n
+ return len(dAtA) - i, nil
}
-func (m *Empty) SizeVT() (n int) {
+func (m *OptionalInt) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
+ return nil, nil
}
- var l int
- _ = l
- n += len(m.unknownFields)
- return n
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
}
-func (m *PodSandbox) SizeVT() (n int) {
+func (m *OptionalInt) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalInt) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- l = len(m.Id)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.Uid)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x8
}
- l = len(m.Namespace)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalInt32) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Labels) > 0 {
- for k, v := range m.Labels {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.Annotations) > 0 {
- for k, v := range m.Annotations {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ return dAtA[:n], nil
+}
+
+func (m *OptionalInt32) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- l = len(m.RuntimeHandler)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.Linux != nil {
- l = m.Linux.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x8
}
- if m.Pid != 0 {
- n += 1 + sov(uint64(m.Pid))
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalUInt32) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Ips) > 0 {
- for _, s := range m.Ips {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *LinuxPodSandbox) SizeVT() (n int) {
+func (m *OptionalUInt32) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalUInt32) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if m.PodOverhead != nil {
- l = m.PodOverhead.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.PodResources != nil {
- l = m.PodResources.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- l = len(m.CgroupParent)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.CgroupsPath)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x8
}
- if len(m.Namespaces) > 0 {
- for _, e := range m.Namespaces {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalInt64) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.Resources != nil {
- l = m.Resources.SizeVT()
- n += 1 + l + sov(uint64(l))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *Container) SizeVT() (n int) {
+func (m *OptionalInt64) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- l = len(m.Id)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.PodSandboxId)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x8
}
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalUInt64) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.State != 0 {
- n += 1 + sov(uint64(m.State))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.Labels) > 0 {
- for k, v := range m.Labels {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ return dAtA[:n], nil
+}
+
+func (m *OptionalUInt64) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalUInt64) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if len(m.Annotations) > 0 {
- for k, v := range m.Annotations {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Args) > 0 {
- for _, s := range m.Args {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x8
}
- if len(m.Env) > 0 {
- for _, s := range m.Env {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalBool) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Mounts) > 0 {
- for _, e := range m.Mounts {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.Hooks != nil {
- l = m.Hooks.SizeVT()
- n += 1 + l + sov(uint64(l))
+ return dAtA[:n], nil
+}
+
+func (m *OptionalBool) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalBool) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.Linux != nil {
- l = m.Linux.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Pid != 0 {
- n += 1 + sov(uint64(m.Pid))
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Rlimits) > 0 {
- for _, e := range m.Rlimits {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.Value {
+ i--
+ if m.Value {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
}
+ i--
+ dAtA[i] = 0x8
}
- if m.CreatedAt != 0 {
- n += 1 + sov(uint64(m.CreatedAt))
- }
- if m.StartedAt != 0 {
- n += 1 + sov(uint64(m.StartedAt))
- }
- if m.FinishedAt != 0 {
- n += 2 + sov(uint64(m.FinishedAt))
- }
- if m.ExitCode != 0 {
- n += 2 + sov(uint64(m.ExitCode))
- }
- l = len(m.StatusReason)
- if l > 0 {
- n += 2 + l + sov(uint64(l))
- }
- l = len(m.StatusMessage)
- if l > 0 {
- n += 2 + l + sov(uint64(l))
- }
- if len(m.CDIDevices) > 0 {
- for _, e := range m.CDIDevices {
- l = e.SizeVT()
- n += 2 + l + sov(uint64(l))
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *OptionalFileMode) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.User != nil {
- l = m.User.SizeVT()
- n += 2 + l + sov(uint64(l))
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *Mount) SizeVT() (n int) {
+func (m *OptionalFileMode) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OptionalFileMode) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- l = len(m.Destination)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- l = len(m.Type)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.Value != 0 {
+ i = encodeVarint(dAtA, i, uint64(m.Value))
+ i--
+ dAtA[i] = 0x8
}
- l = len(m.Source)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ return len(dAtA) - i, nil
+}
+
+func (m *CompoundFieldOwners) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Options) > 0 {
- for _, s := range m.Options {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *Hooks) SizeVT() (n int) {
+func (m *CompoundFieldOwners) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *CompoundFieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- if len(m.Prestart) > 0 {
- for _, e := range m.Prestart {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- if len(m.CreateRuntime) > 0 {
- for _, e := range m.CreateRuntime {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- if len(m.CreateContainer) > 0 {
- for _, e := range m.CreateContainer {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.StartContainer) > 0 {
- for _, e := range m.StartContainer {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if len(m.Owners) > 0 {
+ for k := range m.Owners {
+ v := m.Owners[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = encodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0xa
}
}
- if len(m.Poststart) > 0 {
- for _, e := range m.Poststart {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ return len(dAtA) - i, nil
+}
+
+func (m *FieldOwners) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if len(m.Poststop) > 0 {
- for _, e := range m.Poststop {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- n += len(m.unknownFields)
- return n
+ return dAtA[:n], nil
}
-func (m *Hook) SizeVT() (n int) {
+func (m *FieldOwners) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *FieldOwners) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
- return 0
+ return 0, nil
}
+ i := len(dAtA)
+ _ = i
var l int
_ = l
- l = len(m.Path)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Args) > 0 {
- for _, s := range m.Args {
- l = len(s)
- n += 1 + l + sov(uint64(l))
+ if len(m.Compound) > 0 {
+ for k := range m.Compound {
+ v := m.Compound[k]
+ baseI := i
+ size, err := v.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ i = encodeVarint(dAtA, i, uint64(k))
+ i--
+ dAtA[i] = 0x8
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0x12
}
}
- if len(m.Env) > 0 {
- for _, s := range m.Env {
- l = len(s)
- n += 1 + l + sov(uint64(l))
+ if len(m.Simple) > 0 {
+ for k := range m.Simple {
+ v := m.Simple[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = encodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i = encodeVarint(dAtA, i, uint64(k))
+ i--
+ dAtA[i] = 0x8
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0xa
}
}
- if m.Timeout != nil {
- l = m.Timeout.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- n += len(m.unknownFields)
- return n
+ return len(dAtA) - i, nil
}
-func (m *LinuxContainer) SizeVT() (n int) {
+func (m *OwningPlugins) MarshalVT() (dAtA []byte, err error) {
if m == nil {
- return 0
+ return nil, nil
}
- var l int
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OwningPlugins) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *OwningPlugins) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
_ = l
- if len(m.Namespaces) > 0 {
- for _, e := range m.Namespaces {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.Devices) > 0 {
- for _, e := range m.Devices {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if len(m.Owners) > 0 {
+ for k := range m.Owners {
+ v := m.Owners[k]
+ baseI := i
+ size, err := v.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = encodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = encodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0xa
}
}
- if m.Resources != nil {
- l = m.Resources.SizeVT()
- n += 1 + l + sov(uint64(l))
+ return len(dAtA) - i, nil
+}
+
+func encodeVarint(dAtA []byte, offset int, v uint64) int {
+ offset -= sov(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
}
- if m.OomScoreAdj != nil {
- l = m.OomScoreAdj.SizeVT()
- n += 1 + l + sov(uint64(l))
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *RegisterPluginRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- l = len(m.CgroupsPath)
+ var l int
+ _ = l
+ l = len(m.PluginName)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
- if m.IoPriority != nil {
- l = m.IoPriority.SizeVT()
+ l = len(m.PluginIdx)
+ if l > 0 {
n += 1 + l + sov(uint64(l))
}
- if m.SeccompProfile != nil {
- l = m.SeccompProfile.SizeVT()
+ l = len(m.NRIVersion)
+ if l > 0 {
n += 1 + l + sov(uint64(l))
}
- if m.SeccompPolicy != nil {
- l = m.SeccompPolicy.SizeVT()
- n += 1 + l + sov(uint64(l))
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *UpdateContainersRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Sysctl) > 0 {
- for k, v := range m.Sysctl {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ var l int
+ _ = l
+ if len(m.Update) > 0 {
+ for _, e := range m.Update {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
}
- if len(m.NetDevices) > 0 {
- for k, v := range m.NetDevices {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.SizeVT()
- }
- l += 1 + sov(uint64(l))
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ if len(m.Evict) > 0 {
+ for _, e := range m.Evict {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
}
- if m.Scheduler != nil {
- l = m.Scheduler.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Rdt != nil {
- l = m.Rdt.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxNamespace) SizeVT() (n int) {
+func (m *UpdateContainersResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Type)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- l = len(m.Path)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if len(m.Failed) > 0 {
+ for _, e := range m.Failed {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxDevice) SizeVT() (n int) {
+func (m *LogRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Path)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- l = len(m.Type)
+ l = len(m.Msg)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
- if m.Major != 0 {
- n += 1 + sov(uint64(m.Major))
- }
- if m.Minor != 0 {
- n += 1 + sov(uint64(m.Minor))
- }
- if m.FileMode != nil {
- l = m.FileMode.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Uid != nil {
- l = m.Uid.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Gid != nil {
- l = m.Gid.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.Level != 0 {
+ n += 1 + sov(uint64(m.Level))
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxDeviceCgroup) SizeVT() (n int) {
+func (m *ConfigureRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Allow {
- n += 2
- }
- l = len(m.Type)
+ l = len(m.Config)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
- if m.Major != nil {
- l = m.Major.SizeVT()
+ l = len(m.RuntimeName)
+ if l > 0 {
n += 1 + l + sov(uint64(l))
}
- if m.Minor != nil {
- l = m.Minor.SizeVT()
+ l = len(m.RuntimeVersion)
+ if l > 0 {
n += 1 + l + sov(uint64(l))
}
- l = len(m.Access)
+ if m.RegistrationTimeout != 0 {
+ n += 1 + sov(uint64(m.RegistrationTimeout))
+ }
+ if m.RequestTimeout != 0 {
+ n += 1 + sov(uint64(m.RequestTimeout))
+ }
+ l = len(m.NRIVersion)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
@@ -5331,472 +5287,355 @@ func (m *LinuxDeviceCgroup) SizeVT() (n int) {
return n
}
-func (m *CDIDevice) SizeVT() (n int) {
+func (m *ConfigureResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
+ if m.Events != 0 {
+ n += 1 + sov(uint64(m.Events))
}
n += len(m.unknownFields)
return n
}
-func (m *User) SizeVT() (n int) {
+func (m *SynchronizeRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Uid != 0 {
- n += 1 + sov(uint64(m.Uid))
- }
- if m.Gid != 0 {
- n += 1 + sov(uint64(m.Gid))
+ if len(m.Pods) > 0 {
+ for _, e := range m.Pods {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
}
- if len(m.AdditionalGids) > 0 {
- l = 0
- for _, e := range m.AdditionalGids {
- l += sov(uint64(e))
+ if len(m.Containers) > 0 {
+ for _, e := range m.Containers {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- n += 1 + sov(uint64(l)) + l
+ }
+ if m.More {
+ n += 2
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxResources) SizeVT() (n int) {
+func (m *SynchronizeResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Memory != nil {
- l = m.Memory.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Cpu != nil {
- l = m.Cpu.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if len(m.HugepageLimits) > 0 {
- for _, e := range m.HugepageLimits {
+ if len(m.Update) > 0 {
+ for _, e := range m.Update {
l = e.SizeVT()
n += 1 + l + sov(uint64(l))
}
}
- if m.BlockioClass != nil {
- l = m.BlockioClass.SizeVT()
- n += 1 + l + sov(uint64(l))
+ if m.More {
+ n += 2
}
- if m.RdtClass != nil {
- l = m.RdtClass.SizeVT()
- n += 1 + l + sov(uint64(l))
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *RunPodSandboxRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Unified) > 0 {
- for k, v := range m.Unified {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
- }
- if len(m.Devices) > 0 {
- for _, e := range m.Devices {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- if m.Pids != nil {
- l = m.Pids.SizeVT()
+ var l int
+ _ = l
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxMemory) SizeVT() (n int) {
+func (m *RunPodSandboxResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Limit != nil {
- l = m.Limit.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Reservation != nil {
- l = m.Reservation.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Swap != nil {
- l = m.Swap.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Kernel != nil {
- l = m.Kernel.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.KernelTcp != nil {
- l = m.KernelTcp.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Swappiness != nil {
- l = m.Swappiness.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.DisableOomKiller != nil {
- l = m.DisableOomKiller.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.UseHierarchy != nil {
- l = m.UseHierarchy.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxCPU) SizeVT() (n int) {
+func (m *UpdatePodSandboxRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Shares != nil {
- l = m.Shares.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Quota != nil {
- l = m.Quota.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.Period != nil {
- l = m.Period.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.RealtimeRuntime != nil {
- l = m.RealtimeRuntime.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- if m.RealtimePeriod != nil {
- l = m.RealtimePeriod.SizeVT()
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- l = len(m.Cpus)
- if l > 0 {
+ if m.OverheadLinuxResources != nil {
+ l = m.OverheadLinuxResources.SizeVT()
n += 1 + l + sov(uint64(l))
}
- l = len(m.Mems)
- if l > 0 {
+ if m.LinuxResources != nil {
+ l = m.LinuxResources.SizeVT()
n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *HugepageLimit) SizeVT() (n int) {
+func (m *UpdatePodSandboxResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.PageSize)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- if m.Limit != 0 {
- n += 1 + sov(uint64(m.Limit))
- }
n += len(m.unknownFields)
return n
}
-func (m *SecurityProfile) SizeVT() (n int) {
+func (m *PostUpdatePodSandboxRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.ProfileType != 0 {
- n += 1 + sov(uint64(m.ProfileType))
- }
- l = len(m.LocalhostRef)
- if l > 0 {
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *POSIXRlimit) SizeVT() (n int) {
+func (m *PostUpdatePodSandboxResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Type)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- if m.Hard != 0 {
- n += 1 + sov(uint64(m.Hard))
- }
- if m.Soft != 0 {
- n += 1 + sov(uint64(m.Soft))
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxPids) SizeVT() (n int) {
+func (m *StopPodSandboxRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Limit != 0 {
- n += 1 + sov(uint64(m.Limit))
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxIOPriority) SizeVT() (n int) {
+func (m *StopPodSandboxResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Class != 0 {
- n += 1 + sov(uint64(m.Class))
- }
- if m.Priority != 0 {
- n += 1 + sov(uint64(m.Priority))
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxNetDevice) SizeVT() (n int) {
+func (m *RemovePodSandboxRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Name)
- if l > 0 {
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxScheduler) SizeVT() (n int) {
+func (m *RemovePodSandboxResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Policy != 0 {
- n += 1 + sov(uint64(m.Policy))
- }
- if m.Nice != 0 {
- n += 1 + sov(uint64(m.Nice))
- }
- if m.Priority != 0 {
- n += 1 + sov(uint64(m.Priority))
- }
- if len(m.Flags) > 0 {
- l = 0
- for _, e := range m.Flags {
- l += sov(uint64(e))
- }
- n += 1 + sov(uint64(l)) + l
- }
- if m.Runtime != 0 {
- n += 1 + sov(uint64(m.Runtime))
- }
- if m.Deadline != 0 {
- n += 1 + sov(uint64(m.Deadline))
- }
- if m.Period != 0 {
- n += 1 + sov(uint64(m.Period))
- }
n += len(m.unknownFields)
return n
}
-func (m *ContainerAdjustment) SizeVT() (n int) {
+func (m *CreateContainerRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Annotations) > 0 {
- for k, v := range m.Annotations {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
- }
- if len(m.Mounts) > 0 {
- for _, e := range m.Mounts {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- if len(m.Env) > 0 {
- for _, e := range m.Env {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- if m.Hooks != nil {
- l = m.Hooks.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.Linux != nil {
- l = m.Linux.SizeVT()
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *CreateContainerResponse) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Adjust != nil {
+ l = m.Adjust.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if len(m.Rlimits) > 0 {
- for _, e := range m.Rlimits {
+ if len(m.Update) > 0 {
+ for _, e := range m.Update {
l = e.SizeVT()
n += 1 + l + sov(uint64(l))
}
}
- if len(m.CDIDevices) > 0 {
- for _, e := range m.CDIDevices {
+ if len(m.Evict) > 0 {
+ for _, e := range m.Evict {
l = e.SizeVT()
n += 1 + l + sov(uint64(l))
}
}
- if len(m.Args) > 0 {
- for _, s := range m.Args {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxContainerAdjustment) SizeVT() (n int) {
+func (m *PostCreateContainerRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Devices) > 0 {
- for _, e := range m.Devices {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- if m.Resources != nil {
- l = m.Resources.SizeVT()
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- l = len(m.CgroupsPath)
- if l > 0 {
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.OomScoreAdj != nil {
- l = m.OomScoreAdj.SizeVT()
- n += 1 + l + sov(uint64(l))
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *PostCreateContainerResponse) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- if m.IoPriority != nil {
- l = m.IoPriority.SizeVT()
+ var l int
+ _ = l
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *StartContainerRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.SeccompPolicy != nil {
- l = m.SeccompPolicy.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if len(m.Namespaces) > 0 {
- for _, e := range m.Namespaces {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
- if len(m.Sysctl) > 0 {
- for k, v := range m.Sysctl {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *StartContainerResponse) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.NetDevices) > 0 {
- for k, v := range m.NetDevices {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.SizeVT()
- }
- l += 1 + sov(uint64(l))
- mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ var l int
+ _ = l
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *PostStartContainerRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- if m.Scheduler != nil {
- l = m.Scheduler.SizeVT()
+ var l int
+ _ = l
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.Rdt != nil {
- l = m.Rdt.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.MemoryPolicy != nil {
- l = m.MemoryPolicy.SizeVT()
- n += 1 + l + sov(uint64(l))
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *PostStartContainerResponse) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
+ var l int
+ _ = l
n += len(m.unknownFields)
return n
}
-func (m *LinuxSeccomp) SizeVT() (n int) {
+func (m *UpdateContainerRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.DefaultAction)
- if l > 0 {
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.DefaultErrno != nil {
- l = m.DefaultErrno.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if len(m.Architectures) > 0 {
- for _, s := range m.Architectures {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
+ if m.LinuxResources != nil {
+ l = m.LinuxResources.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- if len(m.Flags) > 0 {
- for _, s := range m.Flags {
- l = len(s)
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *UpdateContainerResponse) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Update) > 0 {
+ for _, e := range m.Update {
+ l = e.SizeVT()
n += 1 + l + sov(uint64(l))
}
}
- l = len(m.ListenerPath)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- l = len(m.ListenerMetadata)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- if len(m.Syscalls) > 0 {
- for _, e := range m.Syscalls {
+ if len(m.Evict) > 0 {
+ for _, e := range m.Evict {
l = e.SizeVT()
n += 1 + l + sov(uint64(l))
}
@@ -5805,172 +5644,166 @@ func (m *LinuxSeccomp) SizeVT() (n int) {
return n
}
-func (m *LinuxSyscall) SizeVT() (n int) {
+func (m *PostUpdateContainerRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Names) > 0 {
- for _, s := range m.Names {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
- }
- l = len(m.Action)
- if l > 0 {
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.ErrnoRet != nil {
- l = m.ErrnoRet.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if len(m.Args) > 0 {
- for _, e := range m.Args {
- l = e.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxSeccompArg) SizeVT() (n int) {
+func (m *PostUpdateContainerResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Index != 0 {
- n += 1 + sov(uint64(m.Index))
- }
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *StopContainerRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
}
- if m.ValueTwo != 0 {
- n += 1 + sov(uint64(m.ValueTwo))
+ var l int
+ _ = l
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- l = len(m.Op)
- if l > 0 {
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxMemoryPolicy) SizeVT() (n int) {
+func (m *StopContainerResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Mode != 0 {
- n += 1 + sov(uint64(m.Mode))
- }
- l = len(m.Nodes)
- if l > 0 {
- n += 1 + l + sov(uint64(l))
- }
- if len(m.Flags) > 0 {
- l = 0
- for _, e := range m.Flags {
- l += sov(uint64(e))
+ if len(m.Update) > 0 {
+ for _, e := range m.Update {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- n += 1 + sov(uint64(l)) + l
}
n += len(m.unknownFields)
return n
}
-func (m *ContainerUpdate) SizeVT() (n int) {
+func (m *RemoveContainerRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.ContainerId)
- if l > 0 {
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.Linux != nil {
- l = m.Linux.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.IgnoreFailure {
- n += 2
- }
n += len(m.unknownFields)
return n
}
-func (m *LinuxContainerUpdate) SizeVT() (n int) {
+func (m *RemoveContainerResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Resources != nil {
- l = m.Resources.SizeVT()
- n += 1 + l + sov(uint64(l))
- }
n += len(m.unknownFields)
return n
}
-func (m *ContainerEviction) SizeVT() (n int) {
+func (m *StateChangeEvent) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.ContainerId)
- if l > 0 {
+ if m.Event != 0 {
+ n += 1 + sov(uint64(m.Event))
+ }
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- l = len(m.Reason)
- if l > 0 {
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *LinuxRdt) SizeVT() (n int) {
+func (m *ValidateContainerAdjustmentRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.ClosId != nil {
- l = m.ClosId.SizeVT()
+ if m.Pod != nil {
+ l = m.Pod.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.Schemata != nil {
- l = m.Schemata.SizeVT()
+ if m.Container != nil {
+ l = m.Container.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.EnableMonitoring != nil {
- l = m.EnableMonitoring.SizeVT()
+ if m.Adjust != nil {
+ l = m.Adjust.SizeVT()
n += 1 + l + sov(uint64(l))
}
- if m.Remove {
- n += 2
+ if len(m.Update) > 0 {
+ for _, e := range m.Update {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Owners != nil {
+ l = m.Owners.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Plugins) > 0 {
+ for _, e := range m.Plugins {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
}
n += len(m.unknownFields)
return n
}
-func (m *KeyValue) SizeVT() (n int) {
+func (m *PluginInstance) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Key)
+ l = len(m.Name)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
- l = len(m.Value)
+ l = len(m.Index)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
@@ -5978,13 +5811,16 @@ func (m *KeyValue) SizeVT() (n int) {
return n
}
-func (m *OptionalString) SizeVT() (n int) {
+func (m *ValidateContainerAdjustmentResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- l = len(m.Value)
+ if m.Reject {
+ n += 2
+ }
+ l = len(m.Reason)
if l > 0 {
n += 1 + l + sov(uint64(l))
}
@@ -5992,192 +5828,2934 @@ func (m *OptionalString) SizeVT() (n int) {
return n
}
-func (m *OptionalRepeatedString) SizeVT() (n int) {
+func (m *Empty) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Value) > 0 {
- for _, s := range m.Value {
- l = len(s)
- n += 1 + l + sov(uint64(l))
- }
- }
n += len(m.unknownFields)
return n
}
-func (m *OptionalInt) SizeVT() (n int) {
+func (m *PodSandbox) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ l = len(m.Id)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
}
- n += len(m.unknownFields)
- return n
-}
-
-func (m *OptionalInt32) SizeVT() (n int) {
- if m == nil {
- return 0
+ l = len(m.Name)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
}
- var l int
- _ = l
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ l = len(m.Uid)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
}
- n += len(m.unknownFields)
- return n
-}
-
-func (m *OptionalUInt32) SizeVT() (n int) {
- if m == nil {
- return 0
+ l = len(m.Namespace)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
}
- var l int
- _ = l
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ if len(m.Labels) > 0 {
+ for k, v := range m.Labels {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
}
- n += len(m.unknownFields)
- return n
-}
-
-func (m *OptionalInt64) SizeVT() (n int) {
- if m == nil {
- return 0
+ if len(m.Annotations) > 0 {
+ for k, v := range m.Annotations {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
}
- var l int
- _ = l
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ l = len(m.RuntimeHandler)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
}
- n += len(m.unknownFields)
- return n
-}
-
-func (m *OptionalUInt64) SizeVT() (n int) {
- if m == nil {
- return 0
+ if m.Linux != nil {
+ l = m.Linux.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- var l int
- _ = l
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ if m.Pid != 0 {
+ n += 1 + sov(uint64(m.Pid))
+ }
+ if len(m.Ips) > 0 {
+ for _, s := range m.Ips {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
}
n += len(m.unknownFields)
return n
}
-func (m *OptionalBool) SizeVT() (n int) {
+func (m *LinuxPodSandbox) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Value {
- n += 2
+ if m.PodOverhead != nil {
+ l = m.PodOverhead.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- n += len(m.unknownFields)
- return n
-}
-
-func (m *OptionalFileMode) SizeVT() (n int) {
- if m == nil {
- return 0
+ if m.PodResources != nil {
+ l = m.PodResources.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
- var l int
- _ = l
- if m.Value != 0 {
- n += 1 + sov(uint64(m.Value))
+ l = len(m.CgroupParent)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.CgroupsPath)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Namespaces) > 0 {
+ for _, e := range m.Namespaces {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Resources != nil {
+ l = m.Resources.SizeVT()
+ n += 1 + l + sov(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *CompoundFieldOwners) SizeVT() (n int) {
+func (m *Container) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Owners) > 0 {
- for k, v := range m.Owners {
+ l = len(m.Id)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.PodSandboxId)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Name)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.State != 0 {
+ n += 1 + sov(uint64(m.State))
+ }
+ if len(m.Labels) > 0 {
+ for k, v := range m.Labels {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Annotations) > 0 {
+ for k, v := range m.Annotations {
_ = k
_ = v
mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
}
}
+ if len(m.Args) > 0 {
+ for _, s := range m.Args {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Env) > 0 {
+ for _, s := range m.Env {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Mounts) > 0 {
+ for _, e := range m.Mounts {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Hooks != nil {
+ l = m.Hooks.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Linux != nil {
+ l = m.Linux.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Pid != 0 {
+ n += 1 + sov(uint64(m.Pid))
+ }
+ if len(m.Rlimits) > 0 {
+ for _, e := range m.Rlimits {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.CreatedAt != 0 {
+ n += 1 + sov(uint64(m.CreatedAt))
+ }
+ if m.StartedAt != 0 {
+ n += 1 + sov(uint64(m.StartedAt))
+ }
+ if m.FinishedAt != 0 {
+ n += 2 + sov(uint64(m.FinishedAt))
+ }
+ if m.ExitCode != 0 {
+ n += 2 + sov(uint64(m.ExitCode))
+ }
+ l = len(m.StatusReason)
+ if l > 0 {
+ n += 2 + l + sov(uint64(l))
+ }
+ l = len(m.StatusMessage)
+ if l > 0 {
+ n += 2 + l + sov(uint64(l))
+ }
+ if len(m.CDIDevices) > 0 {
+ for _, e := range m.CDIDevices {
+ l = e.SizeVT()
+ n += 2 + l + sov(uint64(l))
+ }
+ }
+ if m.User != nil {
+ l = m.User.SizeVT()
+ n += 2 + l + sov(uint64(l))
+ }
n += len(m.unknownFields)
return n
}
-func (m *FieldOwners) SizeVT() (n int) {
+func (m *Mount) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Simple) > 0 {
- for k, v := range m.Simple {
- _ = k
- _ = v
- mapEntrySize := 1 + sov(uint64(k)) + 1 + len(v) + sov(uint64(len(v)))
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
- }
+ l = len(m.Destination)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
}
- if len(m.Compound) > 0 {
- for k, v := range m.Compound {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.SizeVT()
- }
- l += 1 + sov(uint64(l))
- mapEntrySize := 1 + sov(uint64(k)) + l
- n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ l = len(m.Type)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Source)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Options) > 0 {
+ for _, s := range m.Options {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
}
}
n += len(m.unknownFields)
return n
}
-func (m *OwningPlugins) SizeVT() (n int) {
+func (m *Hooks) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Owners) > 0 {
- for k, v := range m.Owners {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.SizeVT()
+ if len(m.Prestart) > 0 {
+ for _, e := range m.Prestart {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.CreateRuntime) > 0 {
+ for _, e := range m.CreateRuntime {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.CreateContainer) > 0 {
+ for _, e := range m.CreateContainer {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.StartContainer) > 0 {
+ for _, e := range m.StartContainer {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Poststart) > 0 {
+ for _, e := range m.Poststart {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Poststop) > 0 {
+ for _, e := range m.Poststop {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Hook) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Path)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Args) > 0 {
+ for _, s := range m.Args {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Env) > 0 {
+ for _, s := range m.Env {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Timeout != nil {
+ l = m.Timeout.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxContainer) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Namespaces) > 0 {
+ for _, e := range m.Namespaces {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Devices) > 0 {
+ for _, e := range m.Devices {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Resources != nil {
+ l = m.Resources.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.OomScoreAdj != nil {
+ l = m.OomScoreAdj.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.CgroupsPath)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.IoPriority != nil {
+ l = m.IoPriority.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.SeccompProfile != nil {
+ l = m.SeccompProfile.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.SeccompPolicy != nil {
+ l = m.SeccompPolicy.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Sysctl) > 0 {
+ for k, v := range m.Sysctl {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if len(m.NetDevices) > 0 {
+ for k, v := range m.NetDevices {
+ _ = k
+ _ = v
+ l = 0
+ if v != nil {
+ l = v.SizeVT()
}
l += 1 + sov(uint64(l))
mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l
n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
}
}
- n += len(m.unknownFields)
- return n
-}
+ if m.Scheduler != nil {
+ l = m.Scheduler.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Rdt != nil {
+ l = m.Rdt.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxNamespace) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Type)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Path)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxDevice) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Path)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Type)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Major != 0 {
+ n += 1 + sov(uint64(m.Major))
+ }
+ if m.Minor != 0 {
+ n += 1 + sov(uint64(m.Minor))
+ }
+ if m.FileMode != nil {
+ l = m.FileMode.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Uid != nil {
+ l = m.Uid.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Gid != nil {
+ l = m.Gid.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxDeviceCgroup) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Allow {
+ n += 2
+ }
+ l = len(m.Type)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Major != nil {
+ l = m.Major.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Minor != nil {
+ l = m.Minor.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Access)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *CDIDevice) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *User) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Uid != 0 {
+ n += 1 + sov(uint64(m.Uid))
+ }
+ if m.Gid != 0 {
+ n += 1 + sov(uint64(m.Gid))
+ }
+ if len(m.AdditionalGids) > 0 {
+ l = 0
+ for _, e := range m.AdditionalGids {
+ l += sov(uint64(e))
+ }
+ n += 1 + sov(uint64(l)) + l
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxResources) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Memory != nil {
+ l = m.Memory.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Cpu != nil {
+ l = m.Cpu.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.HugepageLimits) > 0 {
+ for _, e := range m.HugepageLimits {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.BlockioClass != nil {
+ l = m.BlockioClass.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.RdtClass != nil {
+ l = m.RdtClass.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Unified) > 0 {
+ for k, v := range m.Unified {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Devices) > 0 {
+ for _, e := range m.Devices {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Pids != nil {
+ l = m.Pids.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxMemory) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Limit != nil {
+ l = m.Limit.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Reservation != nil {
+ l = m.Reservation.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Swap != nil {
+ l = m.Swap.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Kernel != nil {
+ l = m.Kernel.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.KernelTcp != nil {
+ l = m.KernelTcp.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Swappiness != nil {
+ l = m.Swappiness.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.DisableOomKiller != nil {
+ l = m.DisableOomKiller.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.UseHierarchy != nil {
+ l = m.UseHierarchy.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxCPU) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Shares != nil {
+ l = m.Shares.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Quota != nil {
+ l = m.Quota.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Period != nil {
+ l = m.Period.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.RealtimeRuntime != nil {
+ l = m.RealtimeRuntime.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.RealtimePeriod != nil {
+ l = m.RealtimePeriod.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Cpus)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Mems)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *HugepageLimit) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.PageSize)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Limit != 0 {
+ n += 1 + sov(uint64(m.Limit))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *SecurityProfile) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.ProfileType != 0 {
+ n += 1 + sov(uint64(m.ProfileType))
+ }
+ l = len(m.LocalhostRef)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *POSIXRlimit) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Type)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Hard != 0 {
+ n += 1 + sov(uint64(m.Hard))
+ }
+ if m.Soft != 0 {
+ n += 1 + sov(uint64(m.Soft))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxPids) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Limit != 0 {
+ n += 1 + sov(uint64(m.Limit))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxIOPriority) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Class != 0 {
+ n += 1 + sov(uint64(m.Class))
+ }
+ if m.Priority != 0 {
+ n += 1 + sov(uint64(m.Priority))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxNetDevice) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxScheduler) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Policy != 0 {
+ n += 1 + sov(uint64(m.Policy))
+ }
+ if m.Nice != 0 {
+ n += 1 + sov(uint64(m.Nice))
+ }
+ if m.Priority != 0 {
+ n += 1 + sov(uint64(m.Priority))
+ }
+ if len(m.Flags) > 0 {
+ l = 0
+ for _, e := range m.Flags {
+ l += sov(uint64(e))
+ }
+ n += 1 + sov(uint64(l)) + l
+ }
+ if m.Runtime != 0 {
+ n += 1 + sov(uint64(m.Runtime))
+ }
+ if m.Deadline != 0 {
+ n += 1 + sov(uint64(m.Deadline))
+ }
+ if m.Period != 0 {
+ n += 1 + sov(uint64(m.Period))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *ContainerAdjustment) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Annotations) > 0 {
+ for k, v := range m.Annotations {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Mounts) > 0 {
+ for _, e := range m.Mounts {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Env) > 0 {
+ for _, e := range m.Env {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Hooks != nil {
+ l = m.Hooks.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Linux != nil {
+ l = m.Linux.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Rlimits) > 0 {
+ for _, e := range m.Rlimits {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.CDIDevices) > 0 {
+ for _, e := range m.CDIDevices {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Args) > 0 {
+ for _, s := range m.Args {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxContainerAdjustment) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Devices) > 0 {
+ for _, e := range m.Devices {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if m.Resources != nil {
+ l = m.Resources.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.CgroupsPath)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.OomScoreAdj != nil {
+ l = m.OomScoreAdj.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.IoPriority != nil {
+ l = m.IoPriority.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.SeccompPolicy != nil {
+ l = m.SeccompPolicy.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Namespaces) > 0 {
+ for _, e := range m.Namespaces {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Sysctl) > 0 {
+ for k, v := range m.Sysctl {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if len(m.NetDevices) > 0 {
+ for k, v := range m.NetDevices {
+ _ = k
+ _ = v
+ l = 0
+ if v != nil {
+ l = v.SizeVT()
+ }
+ l += 1 + sov(uint64(l))
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if m.Scheduler != nil {
+ l = m.Scheduler.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Rdt != nil {
+ l = m.Rdt.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.MemoryPolicy != nil {
+ l = m.MemoryPolicy.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxSeccomp) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.DefaultAction)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.DefaultErrno != nil {
+ l = m.DefaultErrno.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Architectures) > 0 {
+ for _, s := range m.Architectures {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ if len(m.Flags) > 0 {
+ for _, s := range m.Flags {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ l = len(m.ListenerPath)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.ListenerMetadata)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Syscalls) > 0 {
+ for _, e := range m.Syscalls {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxSyscall) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Names) > 0 {
+ for _, s := range m.Names {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ l = len(m.Action)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.ErrnoRet != nil {
+ l = m.ErrnoRet.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Args) > 0 {
+ for _, e := range m.Args {
+ l = e.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxSeccompArg) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Index != 0 {
+ n += 1 + sov(uint64(m.Index))
+ }
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ if m.ValueTwo != 0 {
+ n += 1 + sov(uint64(m.ValueTwo))
+ }
+ l = len(m.Op)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxMemoryPolicy) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Mode != 0 {
+ n += 1 + sov(uint64(m.Mode))
+ }
+ l = len(m.Nodes)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if len(m.Flags) > 0 {
+ l = 0
+ for _, e := range m.Flags {
+ l += sov(uint64(e))
+ }
+ n += 1 + sov(uint64(l)) + l
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *ContainerUpdate) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ContainerId)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Linux != nil {
+ l = m.Linux.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.IgnoreFailure {
+ n += 2
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxContainerUpdate) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Resources != nil {
+ l = m.Resources.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *ContainerEviction) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ContainerId)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Reason)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *LinuxRdt) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.ClosId != nil {
+ l = m.ClosId.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Schemata != nil {
+ l = m.Schemata.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.EnableMonitoring != nil {
+ l = m.EnableMonitoring.SizeVT()
+ n += 1 + l + sov(uint64(l))
+ }
+ if m.Remove {
+ n += 2
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *KeyValue) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Key)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ l = len(m.Value)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalString) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Value)
+ if l > 0 {
+ n += 1 + l + sov(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalRepeatedString) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Value) > 0 {
+ for _, s := range m.Value {
+ l = len(s)
+ n += 1 + l + sov(uint64(l))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalInt) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalInt32) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalUInt32) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalInt64) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalUInt64) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalBool) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value {
+ n += 2
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OptionalFileMode) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Value != 0 {
+ n += 1 + sov(uint64(m.Value))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *CompoundFieldOwners) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Owners) > 0 {
+ for k, v := range m.Owners {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *FieldOwners) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Simple) > 0 {
+ for k, v := range m.Simple {
+ _ = k
+ _ = v
+ mapEntrySize := 1 + sov(uint64(k)) + 1 + len(v) + sov(uint64(len(v)))
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ if len(m.Compound) > 0 {
+ for k, v := range m.Compound {
+ _ = k
+ _ = v
+ l = 0
+ if v != nil {
+ l = v.SizeVT()
+ }
+ l += 1 + sov(uint64(l))
+ mapEntrySize := 1 + sov(uint64(k)) + l
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *OwningPlugins) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Owners) > 0 {
+ for k, v := range m.Owners {
+ _ = k
+ _ = v
+ l = 0
+ if v != nil {
+ l = v.SizeVT()
+ }
+ l += 1 + sov(uint64(l))
+ mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l
+ n += mapEntrySize + 1 + sov(uint64(mapEntrySize))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func sov(x uint64) (n int) {
+ return (bits.Len64(x|1) + 6) / 7
+}
+func soz(x uint64) (n int) {
+ return sov(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: RegisterPluginRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: RegisterPluginRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PluginName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.PluginName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PluginIdx", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.PluginIdx = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NRIVersion", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.NRIVersion = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: UpdateContainersRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: UpdateContainersRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Update = append(m.Update, &ContainerUpdate{})
+ if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Evict", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Evict = append(m.Evict, &ContainerEviction{})
+ if err := m.Evict[len(m.Evict)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *UpdateContainersResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: UpdateContainersResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: UpdateContainersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Failed = append(m.Failed, &ContainerUpdate{})
+ if err := m.Failed[len(m.Failed)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *LogRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: LogRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: LogRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Msg = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
+ }
+ m.Level = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Level |= LogRequest_Level(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ConfigureRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ConfigureRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Config = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RuntimeName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.RuntimeName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RuntimeVersion", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.RuntimeVersion = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RegistrationTimeout", wireType)
+ }
+ m.RegistrationTimeout = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.RegistrationTimeout |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType)
+ }
+ m.RequestTimeout = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.RequestTimeout |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NRIVersion", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.NRIVersion = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ConfigureResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ConfigureResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ConfigureResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
+ }
+ m.Events = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Events |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SynchronizeRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SynchronizeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Pods = append(m.Pods, &PodSandbox{})
+ if err := m.Pods[len(m.Pods)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Containers = append(m.Containers, &Container{})
+ if err := m.Containers[len(m.Containers)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field More", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.More = bool(v != 0)
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SynchronizeResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SynchronizeResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SynchronizeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Update = append(m.Update, &ContainerUpdate{})
+ if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field More", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.More = bool(v != 0)
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *RunPodSandboxRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: RunPodSandboxRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: RunPodSandboxRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *RunPodSandboxResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: RunPodSandboxResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: RunPodSandboxResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: UpdatePodSandboxRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: UpdatePodSandboxRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OverheadLinuxResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.OverheadLinuxResources == nil {
+ m.OverheadLinuxResources = &LinuxResources{}
+ }
+ if err := m.OverheadLinuxResources.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LinuxResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.LinuxResources == nil {
+ m.LinuxResources = &LinuxResources{}
+ }
+ if err := m.LinuxResources.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *UpdatePodSandboxResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: UpdatePodSandboxResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: UpdatePodSandboxResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PostUpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: PostUpdatePodSandboxRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PostUpdatePodSandboxRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PostUpdatePodSandboxResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: PostUpdatePodSandboxResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PostUpdatePodSandboxResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StopPodSandboxRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StopPodSandboxRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StopPodSandboxRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StopPodSandboxResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StopPodSandboxResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StopPodSandboxResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
-func sov(x uint64) (n int) {
- return (bits.Len64(x|1) + 6) / 7
-}
-func soz(x uint64) (n int) {
- return sov(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
-func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error {
+func (m *RemovePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6200,17 +8778,17 @@ func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: RegisterPluginRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: RemovePodSandboxRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: RegisterPluginRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: RemovePodSandboxRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PluginName", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflow
@@ -6220,88 +8798,79 @@ func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.PluginName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PluginIdx", wireType)
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
}
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLength
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLength
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.PluginIdx = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field NRIVersion", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLength
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLength
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *RemovePodSandboxResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
}
- if postIndex > l {
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.NRIVersion = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: RemovePodSandboxResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: RemovePodSandboxResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
default:
iNdEx = preIndex
skippy, err := skip(dAtA[iNdEx:])
@@ -6324,7 +8893,7 @@ func (m *RegisterPluginRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error {
+func (m *CreateContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6347,15 +8916,15 @@ func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdateContainersRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: CreateContainerRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdateContainersRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: CreateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6382,14 +8951,16 @@ func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Update = append(m.Update, &ContainerUpdate{})
- if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Evict", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6416,8 +8987,10 @@ func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Evict = append(m.Evict, &ContainerEviction{})
- if err := m.Evict[len(m.Evict)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Container == nil {
+ m.Container = &Container{}
+ }
+ if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -6443,7 +9016,7 @@ func (m *UpdateContainersRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *UpdateContainersResponse) UnmarshalVT(dAtA []byte) error {
+func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6466,15 +9039,15 @@ func (m *UpdateContainersResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdateContainersResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: CreateContainerResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdateContainersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: CreateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Adjust", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6501,67 +9074,18 @@ func (m *UpdateContainersResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Failed = append(m.Failed, &ContainerUpdate{})
- if err := m.Failed[len(m.Failed)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ if m.Adjust == nil {
+ m.Adjust = &ContainerAdjustment{}
}
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skip(dAtA[iNdEx:])
- if err != nil {
+ if err := m.Adjust.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLength
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *LogRequest) UnmarshalVT(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: LogRequest: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: LogRequest: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ iNdEx = postIndex
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflow
@@ -6571,29 +9095,31 @@ func (m *LogRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Msg = string(dAtA[iNdEx:postIndex])
+ m.Update = append(m.Update, &ContainerUpdate{})
+ if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Evict", wireType)
}
- m.Level = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflow
@@ -6603,11 +9129,26 @@ func (m *LogRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.Level |= LogRequest_Level(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Evict = append(m.Evict, &ContainerEviction{})
+ if err := m.Evict[len(m.Evict)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skip(dAtA[iNdEx:])
@@ -6630,7 +9171,7 @@ func (m *LogRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error {
+func (m *PostCreateContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6653,17 +9194,17 @@ func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: ConfigureRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: PostCreateContainerRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: ConfigureRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: PostCreateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflow
@@ -6673,61 +9214,33 @@ func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Config = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RuntimeName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLength
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLength
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
}
- if postIndex > l {
- return io.ErrUnexpectedEOF
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- m.RuntimeName = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 3:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RuntimeVersion", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflow
@@ -6737,93 +9250,27 @@ func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.RuntimeVersion = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RegistrationTimeout", wireType)
- }
- m.RegistrationTimeout = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RegistrationTimeout |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType)
- }
- m.RequestTimeout = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RequestTimeout |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field NRIVersion", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLength
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLength
+ if m.Container == nil {
+ m.Container = &Container{}
}
- if postIndex > l {
- return io.ErrUnexpectedEOF
+ if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- m.NRIVersion = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -6847,7 +9294,7 @@ func (m *ConfigureRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *ConfigureResponse) UnmarshalVT(dAtA []byte) error {
+func (m *PostCreateContainerResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6870,31 +9317,12 @@ func (m *ConfigureResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: ConfigureResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: PostCreateContainerResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: ConfigureResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: PostCreateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
- }
- m.Events = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Events |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
default:
iNdEx = preIndex
skippy, err := skip(dAtA[iNdEx:])
@@ -6917,7 +9345,7 @@ func (m *ConfigureResponse) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error {
+func (m *StartContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6940,15 +9368,15 @@ func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: SynchronizeRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: StartContainerRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: SynchronizeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: StartContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6975,14 +9403,16 @@ func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Pods = append(m.Pods, &PodSandbox{})
- if err := m.Pods[len(m.Pods)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7009,31 +9439,13 @@ func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Containers = append(m.Containers, &Container{})
- if err := m.Containers[len(m.Containers)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Container == nil {
+ m.Container = &Container{}
+ }
+ if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field More", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.More = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skip(dAtA[iNdEx:])
@@ -7056,7 +9468,7 @@ func (m *SynchronizeRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *SynchronizeResponse) UnmarshalVT(dAtA []byte) error {
+func (m *StartContainerResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -7079,66 +9491,12 @@ func (m *SynchronizeResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: SynchronizeResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: StartContainerResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: SynchronizeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: StartContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLength
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLength
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Update = append(m.Update, &ContainerUpdate{})
- if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field More", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.More = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skip(dAtA[iNdEx:])
@@ -7161,7 +9519,7 @@ func (m *SynchronizeResponse) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *CreateContainerRequest) UnmarshalVT(dAtA []byte) error {
+func (m *PostStartContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -7184,10 +9542,10 @@ func (m *CreateContainerRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: CreateContainerRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: PostStartContainerRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: CreateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: PostStartContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -7284,7 +9642,7 @@ func (m *CreateContainerRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
+func (m *PostStartContainerResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -7307,15 +9665,66 @@ func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: CreateContainerResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: PostStartContainerResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: CreateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: PostStartContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: UpdateContainerRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: UpdateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Adjust", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7342,16 +9751,16 @@ func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Adjust == nil {
- m.Adjust = &ContainerAdjustment{}
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
}
- if err := m.Adjust.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7378,14 +9787,16 @@ func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Update = append(m.Update, &ContainerUpdate{})
- if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Container == nil {
+ m.Container = &Container{}
+ }
+ if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Evict", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field LinuxResources", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7412,8 +9823,10 @@ func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Evict = append(m.Evict, &ContainerEviction{})
- if err := m.Evict[len(m.Evict)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.LinuxResources == nil {
+ m.LinuxResources = &LinuxResources{}
+ }
+ if err := m.LinuxResources.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -7439,7 +9852,7 @@ func (m *CreateContainerResponse) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
+func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -7462,15 +9875,15 @@ func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdateContainerRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: UpdateContainerResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: UpdateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7497,52 +9910,14 @@ func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Pod == nil {
- m.Pod = &PodSandbox{}
- }
- if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Update = append(m.Update, &ContainerUpdate{})
+ if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLength
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLength
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Container == nil {
- m.Container = &Container{}
- }
- if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field LinuxResources", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Evict", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7569,10 +9944,8 @@ func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.LinuxResources == nil {
- m.LinuxResources = &LinuxResources{}
- }
- if err := m.LinuxResources.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Evict = append(m.Evict, &ContainerEviction{})
+ if err := m.Evict[len(m.Evict)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -7598,7 +9971,7 @@ func (m *UpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
+func (m *PostUpdateContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -7621,15 +9994,15 @@ func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdateContainerResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: PostUpdateContainerRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: PostUpdateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Update", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Pod", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7656,14 +10029,16 @@ func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Update = append(m.Update, &ContainerUpdate{})
- if err := m.Update[len(m.Update)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Pod == nil {
+ m.Pod = &PodSandbox{}
+ }
+ if err := m.Pod.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Evict", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7690,8 +10065,10 @@ func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Evict = append(m.Evict, &ContainerEviction{})
- if err := m.Evict[len(m.Evict)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Container == nil {
+ m.Container = &Container{}
+ }
+ if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -7717,6 +10094,57 @@ func (m *UpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+func (m *PostUpdateContainerResponse) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: PostUpdateContainerResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PostUpdateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *StopContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -7925,7 +10353,7 @@ func (m *StopContainerResponse) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
+func (m *RemoveContainerRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -7948,10 +10376,10 @@ func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdatePodSandboxRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: RemoveContainerRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdatePodSandboxRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: RemoveContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -7992,43 +10420,7 @@ func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OverheadLinuxResources", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLength
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLength
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.OverheadLinuxResources == nil {
- m.OverheadLinuxResources = &LinuxResources{}
- }
- if err := m.OverheadLinuxResources.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field LinuxResources", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8055,10 +10447,10 @@ func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.LinuxResources == nil {
- m.LinuxResources = &LinuxResources{}
+ if m.Container == nil {
+ m.Container = &Container{}
}
- if err := m.LinuxResources.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Container.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -8084,7 +10476,7 @@ func (m *UpdatePodSandboxRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
-func (m *UpdatePodSandboxResponse) UnmarshalVT(dAtA []byte) error {
+func (m *RemoveContainerResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -8107,10 +10499,10 @@ func (m *UpdatePodSandboxResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdatePodSandboxResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: RemoveContainerResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdatePodSandboxResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: RemoveContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
diff --git a/pkg/api/event.go b/pkg/api/event.go
index 05720184..e52ebc58 100644
--- a/pkg/api/event.go
+++ b/pkg/api/event.go
@@ -21,6 +21,34 @@ import (
"strings"
)
+var (
+ // EventPrettyNames are human-friendly names for Events.
+ EventPrettyNames = map[Event]string{
+ Event_RUN_POD_SANDBOX: "RunPodSandbox",
+ Event_UPDATE_POD_SANDBOX: "UpdatePodSandbox",
+ Event_POST_UPDATE_POD_SANDBOX: "PostUpdatePodSandbox",
+ Event_STOP_POD_SANDBOX: "StopPodSandbox",
+ Event_REMOVE_POD_SANDBOX: "RemovePodSandbox",
+ Event_CREATE_CONTAINER: "CreateContainer",
+ Event_POST_CREATE_CONTAINER: "PostCreateContainer",
+ Event_START_CONTAINER: "StartContainer",
+ Event_POST_START_CONTAINER: "PostStartContainer",
+ Event_UPDATE_CONTAINER: "UpdateContainer",
+ Event_POST_UPDATE_CONTAINER: "PostUpdateContainer",
+ Event_STOP_CONTAINER: "StopContainer",
+ Event_REMOVE_CONTAINER: "RemoveContainer",
+ Event_VALIDATE_CONTAINER_ADJUSTMENT: "ValidateContainerAdjustment",
+ }
+)
+
+// PrettyName returns a human-friendly name for the Event.
+func (e Event) PrettyName() string {
+ if name, ok := EventPrettyNames[e]; ok {
+ return name
+ }
+ return fmt.Sprintf("unknown(%d)", e)
+}
+
const (
// ValidEvents is the event mask of all valid events.
ValidEvents = EventMask((1 << (Event_LAST - 1)) - 1)
@@ -30,25 +58,7 @@ const (
type (
// Define *Request/*Response type aliases for *Event/Empty pairs.
- StateChangeResponse = Empty
- RunPodSandboxRequest = StateChangeEvent
- RunPodSandboxResponse = Empty
- StopPodSandboxRequest = StateChangeEvent
- StopPodSandboxResponse = Empty
- RemovePodSandboxRequest = StateChangeEvent
- RemovePodSandboxResponse = Empty
- PostUpdatePodSandboxRequest = StateChangeEvent
- PostUpdatePodSandboxResponse = Empty
- StartContainerRequest = StateChangeEvent
- StartContainerResponse = Empty
- RemoveContainerRequest = StateChangeEvent
- RemoveContainerResponse = Empty
- PostCreateContainerRequest = StateChangeEvent
- PostCreateContainerResponse = Empty
- PostStartContainerRequest = StateChangeEvent
- PostStartContainerResponse = Empty
- PostUpdateContainerRequest = StateChangeEvent
- PostUpdateContainerResponse = Empty
+ StateChangeResponse = Empty
ShutdownRequest = Empty
ShutdownResponse = Empty
@@ -123,31 +133,14 @@ func MustParseEventMask(events ...string) EventMask {
// PrettyString returns a human-readable string representation of an EventMask.
func (m *EventMask) PrettyString() string {
- names := map[Event]string{
- Event_RUN_POD_SANDBOX: "RunPodSandbox",
- Event_UPDATE_POD_SANDBOX: "UpdatePodSandbox",
- Event_POST_UPDATE_POD_SANDBOX: "PostUpdatePodSandbox",
- Event_STOP_POD_SANDBOX: "StopPodSandbox",
- Event_REMOVE_POD_SANDBOX: "RemovePodSandbox",
- Event_CREATE_CONTAINER: "CreateContainer",
- Event_POST_CREATE_CONTAINER: "PostCreateContainer",
- Event_START_CONTAINER: "StartContainer",
- Event_POST_START_CONTAINER: "PostStartContainer",
- Event_UPDATE_CONTAINER: "UpdateContainer",
- Event_POST_UPDATE_CONTAINER: "PostUpdateContainer",
- Event_STOP_CONTAINER: "StopContainer",
- Event_REMOVE_CONTAINER: "RemoveContainer",
- Event_VALIDATE_CONTAINER_ADJUSTMENT: "ValidateContainerAdjustment",
- }
-
mask := *m
events, sep := "", ""
- for bit := Event_UNKNOWN + 1; bit <= Event_LAST; bit++ {
- if mask.IsSet(bit) {
- events += sep + names[bit]
+ for evt := Event_UNKNOWN + 1; evt <= Event_LAST; evt++ {
+ if mask.IsSet(evt) {
+ events += sep + evt.PrettyName()
sep = ","
- mask.Clear(bit)
+ mask.Clear(evt)
}
}
diff --git a/pkg/stub/stub.go b/pkg/stub/stub.go
index 6f11b884..b0288bd6 100644
--- a/pkg/stub/stub.go
+++ b/pkg/stub/stub.go
@@ -773,51 +773,141 @@ func (stub *stub) Shutdown(ctx context.Context, _ *api.ShutdownRequest) (*api.Sh
return &api.ShutdownResponse{}, nil
}
+// RunPodSandbox request handler.
+func (stub *stub) RunPodSandbox(ctx context.Context, req *api.RunPodSandboxRequest) (*api.RunPodSandboxResponse, error) {
+ handler := stub.handlers.RunPodSandbox
+ if handler == nil {
+ return &api.RunPodSandboxResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod())
+ return &api.RunPodSandboxResponse{}, err
+}
+
+// UpdatePodSandbox request handler.
+func (stub *stub) UpdatePodSandbox(ctx context.Context, req *api.UpdatePodSandboxRequest) (*api.UpdatePodSandboxResponse, error) {
+ handler := stub.handlers.UpdatePodSandbox
+ if handler == nil {
+ return &api.UpdatePodSandboxResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod(), req.GetOverheadLinuxResources(), req.GetLinuxResources())
+ return &api.UpdatePodSandboxResponse{}, err
+}
+
+// PostUpdatePodSandbox request handler.
+func (stub *stub) PostUpdatePodSandbox(ctx context.Context, req *api.PostUpdatePodSandboxRequest) (*api.PostUpdatePodSandboxResponse, error) {
+ handler := stub.handlers.PostUpdatePodSandbox
+ if handler == nil {
+ return &api.PostUpdatePodSandboxResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod())
+ return &api.PostUpdatePodSandboxResponse{}, err
+}
+
+// StopPodSandbox request handler.
+func (stub *stub) StopPodSandbox(ctx context.Context, req *api.StopPodSandboxRequest) (*api.StopPodSandboxResponse, error) {
+ handler := stub.handlers.StopPodSandbox
+ if handler == nil {
+ return &api.StopPodSandboxResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod())
+ return &api.StopPodSandboxResponse{}, err
+}
+
+// RemovePodSandbox request handler.
+func (stub *stub) RemovePodSandbox(ctx context.Context, req *api.RemovePodSandboxRequest) (*api.RemovePodSandboxResponse, error) {
+ handler := stub.handlers.RemovePodSandbox
+ if handler == nil {
+ return &api.RemovePodSandboxResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod())
+ return &api.RemovePodSandboxResponse{}, err
+}
+
// CreateContainer request handler.
func (stub *stub) CreateContainer(ctx context.Context, req *api.CreateContainerRequest) (*api.CreateContainerResponse, error) {
handler := stub.handlers.CreateContainer
if handler == nil {
return &api.CreateContainerResponse{}, nil
}
- adjust, update, err := handler(ctx, req.Pod, req.Container)
+ adjust, update, err := handler(ctx, req.GetPod(), req.GetContainer())
return &api.CreateContainerResponse{
Adjust: adjust,
Update: update,
}, err
}
+// PostCreateContainer request handler.
+func (stub *stub) PostCreateContainer(ctx context.Context, req *api.PostCreateContainerRequest) (*api.PostCreateContainerResponse, error) {
+ handler := stub.handlers.PostCreateContainer
+ if handler == nil {
+ return &api.PostCreateContainerResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod(), req.GetContainer())
+ return &api.PostCreateContainerResponse{}, err
+}
+
+// StartContainer request handler.
+func (stub *stub) StartContainer(ctx context.Context, req *api.StartContainerRequest) (*api.StartContainerResponse, error) {
+ handler := stub.handlers.StartContainer
+ if handler == nil {
+ return &api.StartContainerResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod(), req.GetContainer())
+ return &api.StartContainerResponse{}, err
+}
+
+// PostStartContainer request handler.
+func (stub *stub) PostStartContainer(ctx context.Context, req *api.PostStartContainerRequest) (*api.PostStartContainerResponse, error) {
+ handler := stub.handlers.PostStartContainer
+ if handler == nil {
+ return &api.PostStartContainerResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod(), req.GetContainer())
+ return &api.PostStartContainerResponse{}, err
+}
+
// UpdateContainer request handler.
func (stub *stub) UpdateContainer(ctx context.Context, req *api.UpdateContainerRequest) (*api.UpdateContainerResponse, error) {
handler := stub.handlers.UpdateContainer
if handler == nil {
return &api.UpdateContainerResponse{}, nil
}
- update, err := handler(ctx, req.Pod, req.Container, req.LinuxResources)
+ update, err := handler(ctx, req.GetPod(), req.GetContainer(), req.GetLinuxResources())
return &api.UpdateContainerResponse{
Update: update,
}, err
}
+// PostUpdateContainer request handler.
+func (stub *stub) PostUpdateContainer(ctx context.Context, req *api.PostUpdateContainerRequest) (*api.PostUpdateContainerResponse, error) {
+ handler := stub.handlers.PostUpdateContainer
+ if handler == nil {
+ return &api.PostUpdateContainerResponse{}, nil
+ }
+ err := handler(ctx, req.GetPod(), req.GetContainer())
+ return &api.PostUpdateContainerResponse{}, err
+}
+
// StopContainer request handler.
func (stub *stub) StopContainer(ctx context.Context, req *api.StopContainerRequest) (*api.StopContainerResponse, error) {
handler := stub.handlers.StopContainer
if handler == nil {
return &api.StopContainerResponse{}, nil
}
- update, err := handler(ctx, req.Pod, req.Container)
+ update, err := handler(ctx, req.GetPod(), req.GetContainer())
return &api.StopContainerResponse{
Update: update,
}, err
}
-// UpdatePodSandbox request handler.
-func (stub *stub) UpdatePodSandbox(ctx context.Context, req *api.UpdatePodSandboxRequest) (*api.UpdatePodSandboxResponse, error) {
- handler := stub.handlers.UpdatePodSandbox
+// RemoveContainer request handler.
+func (stub *stub) RemoveContainer(ctx context.Context, req *api.RemoveContainerRequest) (*api.RemoveContainerResponse, error) {
+ handler := stub.handlers.RemoveContainer
if handler == nil {
- return &api.UpdatePodSandboxResponse{}, nil
+ return &api.RemoveContainerResponse{}, nil
}
- err := handler(ctx, req.Pod, req.OverheadLinuxResources, req.LinuxResources)
- return &api.UpdatePodSandboxResponse{}, err
+ err := handler(ctx, req.GetPod(), req.GetContainer())
+ return &api.RemoveContainerResponse{}, err
}
// StateChange event handler.
@@ -826,39 +916,39 @@ func (stub *stub) StateChange(ctx context.Context, evt *api.StateChangeEvent) (*
switch evt.Event {
case api.Event_RUN_POD_SANDBOX:
if handler := stub.handlers.RunPodSandbox; handler != nil {
- err = handler(ctx, evt.Pod)
+ err = handler(ctx, evt.GetPod())
}
case api.Event_POST_UPDATE_POD_SANDBOX:
if handler := stub.handlers.PostUpdatePodSandbox; handler != nil {
- err = handler(ctx, evt.Pod)
+ err = handler(ctx, evt.GetPod())
}
case api.Event_STOP_POD_SANDBOX:
if handler := stub.handlers.StopPodSandbox; handler != nil {
- err = handler(ctx, evt.Pod)
+ err = handler(ctx, evt.GetPod())
}
case api.Event_REMOVE_POD_SANDBOX:
if handler := stub.handlers.RemovePodSandbox; handler != nil {
- err = handler(ctx, evt.Pod)
+ err = handler(ctx, evt.GetPod())
}
case api.Event_POST_CREATE_CONTAINER:
if handler := stub.handlers.PostCreateContainer; handler != nil {
- err = handler(ctx, evt.Pod, evt.Container)
+ err = handler(ctx, evt.GetPod(), evt.GetContainer())
}
case api.Event_START_CONTAINER:
if handler := stub.handlers.StartContainer; handler != nil {
- err = handler(ctx, evt.Pod, evt.Container)
+ err = handler(ctx, evt.GetPod(), evt.GetContainer())
}
case api.Event_POST_START_CONTAINER:
if handler := stub.handlers.PostStartContainer; handler != nil {
- err = handler(ctx, evt.Pod, evt.Container)
+ err = handler(ctx, evt.GetPod(), evt.GetContainer())
}
case api.Event_POST_UPDATE_CONTAINER:
if handler := stub.handlers.PostUpdateContainer; handler != nil {
- err = handler(ctx, evt.Pod, evt.Container)
+ err = handler(ctx, evt.GetPod(), evt.GetContainer())
}
case api.Event_REMOVE_CONTAINER:
if handler := stub.handlers.RemoveContainer; handler != nil {
- err = handler(ctx, evt.Pod, evt.Container)
+ err = handler(ctx, evt.GetPod(), evt.GetContainer())
}
}
@@ -923,6 +1013,10 @@ func (stub *stub) setupHandlers() error {
stub.handlers.UpdatePodSandbox = plugin.UpdatePodSandbox
stub.events.Set(api.Event_UPDATE_POD_SANDBOX)
}
+ if plugin, ok := stub.plugin.(PostUpdatePodInterface); ok {
+ stub.handlers.PostUpdatePodSandbox = plugin.PostUpdatePodSandbox
+ stub.events.Set(api.Event_POST_UPDATE_POD_SANDBOX)
+ }
if plugin, ok := stub.plugin.(StopPodInterface); ok {
stub.handlers.StopPodSandbox = plugin.StopPodSandbox
stub.events.Set(api.Event_STOP_POD_SANDBOX)
@@ -931,10 +1025,6 @@ func (stub *stub) setupHandlers() error {
stub.handlers.RemovePodSandbox = plugin.RemovePodSandbox
stub.events.Set(api.Event_REMOVE_POD_SANDBOX)
}
- if plugin, ok := stub.plugin.(PostUpdatePodInterface); ok {
- stub.handlers.PostUpdatePodSandbox = plugin.PostUpdatePodSandbox
- stub.events.Set(api.Event_POST_UPDATE_POD_SANDBOX)
- }
if plugin, ok := stub.plugin.(CreateContainerInterface); ok {
stub.handlers.CreateContainer = plugin.CreateContainer
stub.events.Set(api.Event_CREATE_CONTAINER)
diff --git a/plugins/logger/nri-logger.go b/plugins/logger/nri-logger.go
index a24b3d13..54f180fb 100644
--- a/plugins/logger/nri-logger.go
+++ b/plugins/logger/nri-logger.go
@@ -84,7 +84,7 @@ func (p *plugin) Synchronize(_ context.Context, pods []*api.PodSandbox, containe
return nil, nil
}
-func (p *plugin) Shutdown() {
+func (p *plugin) Shutdown(_ context.Context) {
dump("Shutdown")
}
diff --git a/plugins/wasm/plugin.go b/plugins/wasm/plugin.go
index 1d339d41..2ebfcfa7 100644
--- a/plugins/wasm/plugin.go
+++ b/plugins/wasm/plugin.go
@@ -60,29 +60,61 @@ func (p *plugin) StateChange(ctx context.Context, req *api.StateChangeEvent) (*a
// called directly.
switch req.GetEvent() {
case api.Event_RUN_POD_SANDBOX:
- return p.RunPodSandbox(ctx, req.GetPod())
+ _, err := p.RunPodSandbox(ctx, &api.RunPodSandboxRequest{
+ Pod: req.GetPod(),
+ })
+ return &api.Empty{}, err
case api.Event_POST_UPDATE_POD_SANDBOX:
- return p.PostUpdatePodSandbox(ctx, req.GetPod())
+ _, err := p.PostUpdatePodSandbox(ctx, &api.PostUpdatePodSandboxRequest{
+ Pod: req.GetPod(),
+ })
+ return &api.Empty{}, err
case api.Event_STOP_POD_SANDBOX:
- return p.StopPodSandbox(ctx, req.GetPod())
+ _, err := p.StopPodSandbox(ctx, &api.StopPodSandboxRequest{
+ Pod: req.GetPod(),
+ })
+ return &api.Empty{}, err
case api.Event_REMOVE_POD_SANDBOX:
- return p.RemovePodSandbox(ctx, req.GetPod())
+ _, err := p.RemovePodSandbox(ctx, &api.RemovePodSandboxRequest{
+ Pod: req.GetPod(),
+ })
+ return &api.Empty{}, err
case api.Event_POST_CREATE_CONTAINER:
- return p.PostCreateContainer(ctx, req.GetPod(), req.GetContainer())
+ _, err := p.PostCreateContainer(ctx, &api.PostCreateContainerRequest{
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.Empty{}, err
case api.Event_START_CONTAINER:
- return p.StartContainer(ctx, req.GetPod(), req.GetContainer())
+ _, err := p.StartContainer(ctx, &api.StartContainerRequest{
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.Empty{}, err
case api.Event_POST_START_CONTAINER:
- return p.PostStartContainer(ctx, req.GetPod(), req.GetContainer())
+ _, err := p.PostStartContainer(ctx, &api.PostStartContainerRequest{
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.Empty{}, err
case api.Event_POST_UPDATE_CONTAINER:
- return p.PostUpdateContainer(ctx, req.GetPod(), req.GetContainer())
+ _, err := p.PostUpdateContainer(ctx, &api.PostUpdateContainerRequest{
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.Empty{}, err
case api.Event_REMOVE_CONTAINER:
- return p.RemoveContainer(ctx, req.GetPod(), req.GetContainer())
+ _, err := p.RemoveContainer(ctx, &api.RemoveContainerRequest{
+ Pod: req.GetPod(),
+ Container: req.GetContainer(),
+ })
+ return &api.Empty{}, err
}
return &api.Empty{}, nil
}
-func (p *plugin) RunPodSandbox(ctx context.Context, pod *api.PodSandbox) (*api.Empty, error) {
+func (p *plugin) RunPodSandbox(ctx context.Context, req *api.RunPodSandboxRequest) (*api.RunPodSandboxResponse, error) {
log(ctx, "Got run pod sandbox request")
return nil, nil
}
@@ -92,17 +124,17 @@ func (p *plugin) UpdatePodSandbox(ctx context.Context, req *api.UpdatePodSandbox
return nil, nil
}
-func (p *plugin) PostUpdatePodSandbox(ctx context.Context, pod *api.PodSandbox) (*api.Empty, error) {
+func (p *plugin) PostUpdatePodSandbox(ctx context.Context, req *api.PostUpdatePodSandboxRequest) (*api.PostUpdatePodSandboxResponse, error) {
log(ctx, "Got post update pod sandbox request")
return nil, nil
}
-func (p *plugin) StopPodSandbox(ctx context.Context, pod *api.PodSandbox) (*api.Empty, error) {
+func (p *plugin) StopPodSandbox(ctx context.Context, req *api.StopPodSandboxRequest) (*api.StopPodSandboxResponse, error) {
log(ctx, "Got stop pod sandbox request")
return nil, nil
}
-func (p *plugin) RemovePodSandbox(ctx context.Context, pod *api.PodSandbox) (*api.Empty, error) {
+func (p *plugin) RemovePodSandbox(ctx context.Context, req *api.RemovePodSandboxRequest) (*api.RemovePodSandboxResponse, error) {
log(ctx, "Got remove pod sandbox request")
return nil, nil
}
@@ -112,17 +144,17 @@ func (p *plugin) CreateContainer(ctx context.Context, req *api.CreateContainerRe
return nil, nil
}
-func (p *plugin) PostCreateContainer(ctx context.Context, pod *api.PodSandbox, container *api.Container) (*api.Empty, error) {
+func (p *plugin) PostCreateContainer(ctx context.Context, req *api.PostCreateContainerRequest) (*api.PostCreateContainerResponse, error) {
log(ctx, "Got post create container request")
return nil, nil
}
-func (p *plugin) StartContainer(ctx context.Context, pod *api.PodSandbox, container *api.Container) (*api.Empty, error) {
+func (p *plugin) StartContainer(ctx context.Context, req *api.StartContainerRequest) (*api.StartContainerResponse, error) {
log(ctx, "Got start container request")
return nil, nil
}
-func (p *plugin) PostStartContainer(ctx context.Context, pod *api.PodSandbox, container *api.Container) (*api.Empty, error) {
+func (p *plugin) PostStartContainer(ctx context.Context, req *api.PostStartContainerRequest) (*api.PostStartContainerResponse, error) {
log(ctx, "Got post start container request")
return nil, nil
}
@@ -132,7 +164,7 @@ func (p *plugin) UpdateContainer(ctx context.Context, req *api.UpdateContainerRe
return nil, nil
}
-func (p *plugin) PostUpdateContainer(ctx context.Context, pod *api.PodSandbox, container *api.Container) (*api.Empty, error) {
+func (p *plugin) PostUpdateContainer(ctx context.Context, req *api.PostUpdateContainerRequest) (*api.PostUpdateContainerResponse, error) {
log(ctx, "Got post update container request")
return nil, nil
}
@@ -142,7 +174,7 @@ func (p *plugin) StopContainer(ctx context.Context, req *api.StopContainerReques
return nil, nil
}
-func (p *plugin) RemoveContainer(ctx context.Context, pod *api.PodSandbox, container *api.Container) (*api.Empty, error) {
+func (p *plugin) RemoveContainer(ctx context.Context, req *api.RemoveContainerRequest) (*api.RemoveContainerResponse, error) {
log(ctx, "Got remove container request")
return nil, nil
}