github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/selection/selection.proto (about)

     1  syntax = "proto3";
     2  
     3  package selection;
     4  
     5  option go_package = "github.com/mutagen-io/mutagen/pkg/selection";
     6  
     7  // Selection encodes a selection mechanism that can be used to select a
     8  // collection of sessions. It should have exactly one member set.
     9  message Selection {
    10      // All, if true, indicates that all sessions should be selected.
    11      bool all = 1;
    12      // Specifications is a list of session specifications. Each element may be
    13      // either a session identifier or name (or a prefix thereof). If non-empty,
    14      // it indicates that these specifications should be used to select sessions.
    15      repeated string specifications = 2;
    16      // LabelSelector is a label selector specification. If present (non-empty),
    17      // it indicates that this selector should be used to select sessions.
    18      string labelSelector = 3;
    19  }