Documentation ¶
Index ¶
- Constants
- Variables
- func BuildConfigCmd() *cobra.Command
- func BuildConfigGetCmd() *cobra.Command
- func BuildConfigGetDefaultCmd() *cobra.Command
- func BuildConfigHistoryCmd() *cobra.Command
- func BuildConfigResetCmd() *cobra.Command
- func BuildConfigResetDefaultCmd() *cobra.Command
- func BuildConfigSetCmd() *cobra.Command
- func BuildConfigSetDefaultCmd() *cobra.Command
- func BuildExt2Cmd() *cobra.Command
- func BuildExt2FooCmd() *cobra.Command
- func BuildExtBarCmd() *cobra.Command
- func BuildExtBazCmd() *cobra.Command
- func BuildExtCmd() *cobra.Command
- func BuildExtFooCmd() *cobra.Command
- func BuildExtSetCmd() *cobra.Command
- func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)
- func RegisterExt2Server(s grpc.ServiceRegistrar, srv Ext2Server)
- func RegisterExtServer(s grpc.ServiceRegistrar, srv ExtServer)
- type BarRequest
- func (*BarRequest) Descriptor() ([]byte, []int)deprecated
- func (in *BarRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *BarRequest) GetParam1() string
- func (x *BarRequest) GetParam2() string
- func (x *BarRequest) GetParam3() string
- func (*BarRequest) ProtoMessage()
- func (*BarRequest) ProtoPath() barRequestPathBuilder
- func (x *BarRequest) ProtoReflect() protoreflect.Message
- func (x *BarRequest) Reset()
- func (x *BarRequest) String() string
- type BarResponse
- func (*BarResponse) Descriptor() ([]byte, []int)deprecated
- func (in *BarResponse) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *BarResponse) GetParam1() string
- func (x *BarResponse) GetParam2() string
- func (x *BarResponse) GetParam3() string
- func (*BarResponse) ProtoMessage()
- func (*BarResponse) ProtoPath() barResponsePathBuilder
- func (x *BarResponse) ProtoReflect() protoreflect.Message
- func (x *BarResponse) Reset()
- func (x *BarResponse) String() string
- type BazRequest
- func (*BazRequest) Descriptor() ([]byte, []int)deprecated
- func (in *BazRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *BazRequest) GetParamBool() bool
- func (x *BazRequest) GetParamBytes() []byte
- func (x *BazRequest) GetParamDuration() *durationpb.Duration
- func (x *BazRequest) GetParamEnum() BazRequest_BazEnum
- func (x *BazRequest) GetParamFloat64() float64
- func (x *BazRequest) GetParamInt64() int64
- func (x *BazRequest) GetParamMsg() *BazRequest
- func (x *BazRequest) GetParamRepeatedString() []string
- func (x *BazRequest) GetParamString() string
- func (*BazRequest) ProtoMessage()
- func (*BazRequest) ProtoPath() bazRequestPathBuilder
- func (x *BazRequest) ProtoReflect() protoreflect.Message
- func (x *BazRequest) Reset()
- func (x *BazRequest) String() string
- type BazRequest_BazEnum
- func (BazRequest_BazEnum) Descriptor() protoreflect.EnumDescriptor
- func (x BazRequest_BazEnum) Enum() *BazRequest_BazEnum
- func (BazRequest_BazEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x BazRequest_BazEnum) Number() protoreflect.EnumNumber
- func (x BazRequest_BazEnum) String() string
- func (BazRequest_BazEnum) Type() protoreflect.EnumType
- type ConfigClient
- type ConfigServer
- type ExampleValue
- func (*ExampleValue) Descriptor() ([]byte, []int)deprecated
- func (in *ExampleValue) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *ExampleValue) GetValue() string
- func (*ExampleValue) ProtoMessage()
- func (*ExampleValue) ProtoPath() exampleValuePathBuilder
- func (x *ExampleValue) ProtoReflect() protoreflect.Message
- func (x *ExampleValue) Reset()
- func (x *ExampleValue) String() string
- type Ext2Client
- type Ext2Server
- type ExtClient
- type ExtServer
- type Ext_BidirectionalStreamClient
- type Ext_BidirectionalStreamServer
- type Ext_ClientStreamClient
- type Ext_ClientStreamServer
- type Ext_ServerStreamClient
- type Ext_ServerStreamServer
- type FooRequest
- func (*FooRequest) Descriptor() ([]byte, []int)deprecated
- func (in *FooRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *FooRequest) GetRequest() string
- func (*FooRequest) ProtoMessage()
- func (*FooRequest) ProtoPath() fooRequestPathBuilder
- func (x *FooRequest) ProtoReflect() protoreflect.Message
- func (x *FooRequest) Reset()
- func (x *FooRequest) String() string
- type FooResponse
- func (*FooResponse) Descriptor() ([]byte, []int)deprecated
- func (in *FooResponse) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *FooResponse) GetResponse() string
- func (*FooResponse) ProtoMessage()
- func (*FooResponse) ProtoPath() fooResponsePathBuilder
- func (x *FooResponse) ProtoReflect() protoreflect.Message
- func (x *FooResponse) Reset()
- func (x *FooResponse) String() string
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (in *Reference) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Reference) GetId() string
- func (*Reference) ProtoMessage()
- func (*Reference) ProtoPath() referencePathBuilder
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type Sample1FieldMsg
- func (*Sample1FieldMsg) Descriptor() ([]byte, []int)deprecated
- func (in *Sample1FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Sample1FieldMsg) GetField1() int32
- func (*Sample1FieldMsg) ProtoMessage()
- func (*Sample1FieldMsg) ProtoPath() sample1FieldMsgPathBuilder
- func (x *Sample1FieldMsg) ProtoReflect() protoreflect.Message
- func (x *Sample1FieldMsg) Reset()
- func (x *Sample1FieldMsg) String() string
- type Sample2FieldMsg
- func (*Sample2FieldMsg) Descriptor() ([]byte, []int)deprecated
- func (in *Sample2FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Sample2FieldMsg) GetField1() int32
- func (x *Sample2FieldMsg) GetField2() int32
- func (*Sample2FieldMsg) ProtoMessage()
- func (*Sample2FieldMsg) ProtoPath() sample2FieldMsgPathBuilder
- func (x *Sample2FieldMsg) ProtoReflect() protoreflect.Message
- func (x *Sample2FieldMsg) Reset()
- func (x *Sample2FieldMsg) String() string
- type Sample3FieldMsg
- func (*Sample3FieldMsg) Descriptor() ([]byte, []int)deprecated
- func (in *Sample3FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Sample3FieldMsg) GetField1() int32
- func (x *Sample3FieldMsg) GetField2() int32
- func (x *Sample3FieldMsg) GetField3() int32
- func (*Sample3FieldMsg) ProtoMessage()
- func (*Sample3FieldMsg) ProtoPath() sample3FieldMsgPathBuilder
- func (x *Sample3FieldMsg) ProtoReflect() protoreflect.Message
- func (x *Sample3FieldMsg) Reset()
- func (x *Sample3FieldMsg) String() string
- type Sample4FieldMsg
- func (*Sample4FieldMsg) Descriptor() ([]byte, []int)deprecated
- func (in *Sample4FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Sample4FieldMsg) GetField1() int32
- func (x *Sample4FieldMsg) GetField2() int32
- func (x *Sample4FieldMsg) GetField3() int32
- func (x *Sample4FieldMsg) GetField4() int32
- func (*Sample4FieldMsg) ProtoMessage()
- func (*Sample4FieldMsg) ProtoPath() sample4FieldMsgPathBuilder
- func (x *Sample4FieldMsg) ProtoReflect() protoreflect.Message
- func (x *Sample4FieldMsg) Reset()
- func (x *Sample4FieldMsg) String() string
- type Sample5FieldMsg
- func (*Sample5FieldMsg) Descriptor() ([]byte, []int)deprecated
- func (in *Sample5FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Sample5FieldMsg) GetField1() int32
- func (x *Sample5FieldMsg) GetField2() int32
- func (x *Sample5FieldMsg) GetField3() int32
- func (x *Sample5FieldMsg) GetField4() int32
- func (x *Sample5FieldMsg) GetField5() int32
- func (*Sample5FieldMsg) ProtoMessage()
- func (*Sample5FieldMsg) ProtoPath() sample5FieldMsgPathBuilder
- func (x *Sample5FieldMsg) ProtoReflect() protoreflect.Message
- func (x *Sample5FieldMsg) Reset()
- func (x *Sample5FieldMsg) String() string
- type Sample6FieldMsg
- func (*Sample6FieldMsg) Descriptor() ([]byte, []int)deprecated
- func (in *Sample6FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Sample6FieldMsg) GetField1() int32
- func (x *Sample6FieldMsg) GetField2() int32
- func (x *Sample6FieldMsg) GetField3() int32
- func (x *Sample6FieldMsg) GetField4() int32
- func (x *Sample6FieldMsg) GetField5() int32
- func (x *Sample6FieldMsg) GetField6() int32
- func (*Sample6FieldMsg) ProtoMessage()
- func (*Sample6FieldMsg) ProtoPath() sample6FieldMsgPathBuilder
- func (x *Sample6FieldMsg) ProtoReflect() protoreflect.Message
- func (x *Sample6FieldMsg) Reset()
- func (x *Sample6FieldMsg) String() string
- type SampleConfiguration
- func (*SampleConfiguration) Descriptor() ([]byte, []int)deprecated
- func (in *SampleConfiguration) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleConfiguration) GetEnabled() bool
- func (x *SampleConfiguration) GetEnumField() SampleEnum
- func (x *SampleConfiguration) GetMapField() map[string]string
- func (x *SampleConfiguration) GetMessageField() *SampleMessage
- func (x *SampleConfiguration) GetRepeatedField() []string
- func (x *SampleConfiguration) GetRevision() *v1.Revision
- func (x *SampleConfiguration) GetSecretField() string
- func (x *SampleConfiguration) GetStringField() string
- func (*SampleConfiguration) ProtoMessage()
- func (*SampleConfiguration) ProtoPath() sampleConfigurationPathBuilder
- func (x *SampleConfiguration) ProtoReflect() protoreflect.Message
- func (in *SampleConfiguration) RedactSecrets()
- func (x *SampleConfiguration) Reset()
- func (x *SampleConfiguration) String() string
- func (in *SampleConfiguration) UnredactSecrets(unredacted *SampleConfiguration) error
- func (c *SampleConfiguration) WithRevision(rev int64) *SampleConfiguration
- func (c *SampleConfiguration) WithoutRevision() *SampleConfiguration
- type SampleConfigurationHistoryResponse
- func (*SampleConfigurationHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (in *SampleConfigurationHistoryResponse) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleConfigurationHistoryResponse) GetEntries() []*SampleConfiguration
- func (*SampleConfigurationHistoryResponse) ProtoMessage()
- func (*SampleConfigurationHistoryResponse) ProtoPath() sampleConfigurationHistoryResponsePathBuilder
- func (x *SampleConfigurationHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *SampleConfigurationHistoryResponse) Reset()
- func (x *SampleConfigurationHistoryResponse) String() string
- type SampleDryRunRequest
- func (g *SampleDryRunRequest) ContextKey() protoreflect.FieldDescriptor
- func (*SampleDryRunRequest) Descriptor() ([]byte, []int)deprecated
- func (in *SampleDryRunRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleDryRunRequest) GetAction() server.Action
- func (x *SampleDryRunRequest) GetKey() string
- func (x *SampleDryRunRequest) GetMask() *fieldmaskpb.FieldMask
- func (x *SampleDryRunRequest) GetPatch() *SampleConfiguration
- func (x *SampleDryRunRequest) GetRevision() *v1.Revision
- func (x *SampleDryRunRequest) GetSpec() *SampleConfiguration
- func (x *SampleDryRunRequest) GetTarget() server.Target
- func (*SampleDryRunRequest) ProtoMessage()
- func (*SampleDryRunRequest) ProtoPath() sampleDryRunRequestPathBuilder
- func (x *SampleDryRunRequest) ProtoReflect() protoreflect.Message
- func (in *SampleDryRunRequest) RedactSecrets()
- func (x *SampleDryRunRequest) Reset()
- func (x *SampleDryRunRequest) String() string
- func (in *SampleDryRunRequest) UnredactSecrets(unredacted *SampleDryRunRequest) error
- type SampleDryRunResponse
- func (*SampleDryRunResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SampleDryRunResponse) GetCurrent() *SampleConfiguration
- func (x *SampleDryRunResponse) GetModified() *SampleConfiguration
- func (x *SampleDryRunResponse) GetValidationErrors() *validate.Violations
- func (*SampleDryRunResponse) ProtoMessage()
- func (*SampleDryRunResponse) ProtoPath() sampleDryRunResponsePathBuilder
- func (x *SampleDryRunResponse) ProtoReflect() protoreflect.Message
- func (x *SampleDryRunResponse) Reset()
- func (x *SampleDryRunResponse) String() string
- type SampleEnum
- type SampleGetRequest
- func (g *SampleGetRequest) ContextKey() protoreflect.FieldDescriptor
- func (*SampleGetRequest) Descriptor() ([]byte, []int)deprecated
- func (in *SampleGetRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleGetRequest) GetKey() string
- func (x *SampleGetRequest) GetRevision() *v1.Revision
- func (*SampleGetRequest) ProtoMessage()
- func (*SampleGetRequest) ProtoPath() sampleGetRequestPathBuilder
- func (x *SampleGetRequest) ProtoReflect() protoreflect.Message
- func (x *SampleGetRequest) Reset()
- func (x *SampleGetRequest) String() string
- type SampleHistoryRequest
- func (g *SampleHistoryRequest) ContextKey() protoreflect.FieldDescriptor
- func (*SampleHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (in *SampleHistoryRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleHistoryRequest) GetIncludeValues() bool
- func (x *SampleHistoryRequest) GetKey() string
- func (x *SampleHistoryRequest) GetRevision() *v1.Revision
- func (x *SampleHistoryRequest) GetTarget() server.Target
- func (*SampleHistoryRequest) ProtoMessage()
- func (*SampleHistoryRequest) ProtoPath() sampleHistoryRequestPathBuilder
- func (x *SampleHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *SampleHistoryRequest) Reset()
- func (x *SampleHistoryRequest) String() string
- type SampleMessage
- func (*SampleMessage) Descriptor() ([]byte, []int)deprecated
- func (in *SampleMessage) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleMessage) GetField1() *Sample1FieldMsg
- func (x *SampleMessage) GetField2() *Sample2FieldMsg
- func (x *SampleMessage) GetField3() *Sample3FieldMsg
- func (x *SampleMessage) GetField4() *Sample4FieldMsg
- func (x *SampleMessage) GetField5() *Sample5FieldMsg
- func (x *SampleMessage) GetField6() *Sample6FieldMsg
- func (x *SampleMessage) GetMsg() *SampleMessage2
- func (*SampleMessage) ProtoMessage()
- func (*SampleMessage) ProtoPath() sampleMessagePathBuilder
- func (x *SampleMessage) ProtoReflect() protoreflect.Message
- func (x *SampleMessage) Reset()
- func (x *SampleMessage) String() string
- type SampleMessage2
- func (*SampleMessage2) Descriptor() ([]byte, []int)deprecated
- func (in *SampleMessage2) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleMessage2) GetField1() *Sample1FieldMsg
- func (x *SampleMessage2) GetField2() *Sample2FieldMsg
- func (x *SampleMessage2) GetField3() *Sample3FieldMsg
- func (x *SampleMessage2) GetField4() *Sample4FieldMsg
- func (x *SampleMessage2) GetField5() *Sample5FieldMsg
- func (x *SampleMessage2) GetField6() *Sample6FieldMsg
- func (*SampleMessage2) ProtoMessage()
- func (*SampleMessage2) ProtoPath() sampleMessage2PathBuilder
- func (x *SampleMessage2) ProtoReflect() protoreflect.Message
- func (x *SampleMessage2) Reset()
- func (x *SampleMessage2) String() string
- type SampleResetRequest
- func (g *SampleResetRequest) ContextKey() protoreflect.FieldDescriptor
- func (*SampleResetRequest) Descriptor() ([]byte, []int)deprecated
- func (in *SampleResetRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleResetRequest) GetKey() string
- func (x *SampleResetRequest) GetMask() *fieldmaskpb.FieldMask
- func (x *SampleResetRequest) GetPatch() *SampleConfiguration
- func (x *SampleResetRequest) GetRevision() *v1.Revision
- func (*SampleResetRequest) ProtoMessage()
- func (*SampleResetRequest) ProtoPath() sampleResetRequestPathBuilder
- func (x *SampleResetRequest) ProtoReflect() protoreflect.Message
- func (in *SampleResetRequest) RedactSecrets()
- func (x *SampleResetRequest) Reset()
- func (x *SampleResetRequest) String() string
- func (in *SampleResetRequest) UnredactSecrets(unredacted *SampleResetRequest) error
- type SampleSetRequest
- func (g *SampleSetRequest) ContextKey() protoreflect.FieldDescriptor
- func (*SampleSetRequest) Descriptor() ([]byte, []int)deprecated
- func (in *SampleSetRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SampleSetRequest) GetKey() string
- func (x *SampleSetRequest) GetSpec() *SampleConfiguration
- func (*SampleSetRequest) ProtoMessage()
- func (*SampleSetRequest) ProtoPath() sampleSetRequestPathBuilder
- func (x *SampleSetRequest) ProtoReflect() protoreflect.Message
- func (in *SampleSetRequest) RedactSecrets()
- func (x *SampleSetRequest) Reset()
- func (x *SampleSetRequest) String() string
- func (in *SampleSetRequest) UnredactSecrets(unredacted *SampleSetRequest) error
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)deprecated
- func (in *SetRequest) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *SetRequest) GetExample() *ExampleValue
- func (x *SetRequest) GetNode() *Reference
- func (x *SetRequest) GetValue() string
- func (*SetRequest) ProtoMessage()
- func (*SetRequest) ProtoPath() setRequestPathBuilder
- func (x *SetRequest) ProtoReflect() protoreflect.Message
- func (x *SetRequest) Reset()
- func (x *SetRequest) String() string
- type UnimplementedConfigServer
- func (UnimplementedConfigServer) DryRun(context.Context, *SampleDryRunRequest) (*SampleDryRunResponse, error)
- func (UnimplementedConfigServer) Get(context.Context, *SampleGetRequest) (*SampleConfiguration, error)
- func (UnimplementedConfigServer) GetDefault(context.Context, *SampleGetRequest) (*SampleConfiguration, error)
- func (UnimplementedConfigServer) History(context.Context, *SampleHistoryRequest) (*SampleConfigurationHistoryResponse, error)
- func (UnimplementedConfigServer) Reset(context.Context, *SampleResetRequest) (*emptypb.Empty, error)
- func (UnimplementedConfigServer) ResetDefault(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedConfigServer) Set(context.Context, *SampleSetRequest) (*emptypb.Empty, error)
- func (UnimplementedConfigServer) SetDefault(context.Context, *SampleSetRequest) (*emptypb.Empty, error)
- type UnimplementedExt2Server
- type UnimplementedExtServer
- func (UnimplementedExtServer) Bar(context.Context, *BarRequest) (*BarResponse, error)
- func (UnimplementedExtServer) Baz(context.Context, *BazRequest) (*BazRequest, error)
- func (UnimplementedExtServer) BidirectionalStream(Ext_BidirectionalStreamServer) error
- func (UnimplementedExtServer) ClientStream(Ext_ClientStreamServer) error
- func (UnimplementedExtServer) Foo(context.Context, *FooRequest) (*FooResponse, error)
- func (UnimplementedExtServer) ServerStream(*FooRequest, Ext_ServerStreamServer) error
- func (UnimplementedExtServer) Set(context.Context, *SetRequest) (*SetRequest, error)
- type UnsafeConfigServer
- type UnsafeExt2Server
- type UnsafeExtServer
Constants ¶
const ( Ext_Foo_FullMethodName = "/ext.Ext/Foo" Ext_Bar_FullMethodName = "/ext.Ext/Bar" Ext_Baz_FullMethodName = "/ext.Ext/Baz" Ext_Set_FullMethodName = "/ext.Ext/Set" Ext_ServerStream_FullMethodName = "/ext.Ext/ServerStream" Ext_ClientStream_FullMethodName = "/ext.Ext/ClientStream" Ext_BidirectionalStream_FullMethodName = "/ext.Ext/BidirectionalStream" )
const ( Config_GetDefault_FullMethodName = "/ext.Config/GetDefault" Config_SetDefault_FullMethodName = "/ext.Config/SetDefault" Config_Get_FullMethodName = "/ext.Config/Get" Config_Set_FullMethodName = "/ext.Config/Set" Config_ResetDefault_FullMethodName = "/ext.Config/ResetDefault" Config_Reset_FullMethodName = "/ext.Config/Reset" Config_DryRun_FullMethodName = "/ext.Config/DryRun" Config_History_FullMethodName = "/ext.Config/History" )
const (
Ext2_Foo_FullMethodName = "/ext.Ext2/Foo"
)
Variables ¶
var ( SampleEnum_name = map[int32]string{ 0: "Unknown", 1: "Foo", 2: "Bar", } SampleEnum_value = map[string]int32{ "Unknown": 0, "Foo": 1, "Bar": 2, } )
Enum value maps for SampleEnum.
var ( BazRequest_BazEnum_name = map[int32]string{ 0: "UNKNOWN", 1: "FOO", 2: "BAR", } BazRequest_BazEnum_value = map[string]int32{ "UNKNOWN": 0, "FOO": 1, "BAR": 2, } )
Enum value maps for BazRequest_BazEnum.
var (
ConfigContextInjector contextInjector_Config_type
)
var Config_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ext.Config", HandlerType: (*ConfigServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDefault", Handler: _Config_GetDefault_Handler, }, { MethodName: "SetDefault", Handler: _Config_SetDefault_Handler, }, { MethodName: "Get", Handler: _Config_Get_Handler, }, { MethodName: "Set", Handler: _Config_Set_Handler, }, { MethodName: "ResetDefault", Handler: _Config_ResetDefault_Handler, }, { MethodName: "Reset", Handler: _Config_Reset_Handler, }, { MethodName: "DryRun", Handler: _Config_DryRun_Handler, }, { MethodName: "History", Handler: _Config_History_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/kralicky/protoconfig/test/ext/ext.proto", }
Config_ServiceDesc is the grpc.ServiceDesc for Config service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
Ext2ContextInjector contextInjector_Ext2_type
)
var Ext2_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ext.Ext2", HandlerType: (*Ext2Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Foo", Handler: _Ext2_Foo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/kralicky/protoconfig/test/ext/ext.proto", }
Ext2_ServiceDesc is the grpc.ServiceDesc for Ext2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
ExtContextInjector contextInjector_Ext_type
)
var Ext_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ext.Ext", HandlerType: (*ExtServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Foo", Handler: _Ext_Foo_Handler, }, { MethodName: "Bar", Handler: _Ext_Bar_Handler, }, { MethodName: "Baz", Handler: _Ext_Baz_Handler, }, { MethodName: "Set", Handler: _Ext_Set_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ServerStream", Handler: _Ext_ServerStream_Handler, ServerStreams: true, }, { StreamName: "ClientStream", Handler: _Ext_ClientStream_Handler, ClientStreams: true, }, { StreamName: "BidirectionalStream", Handler: _Ext_BidirectionalStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "github.com/kralicky/protoconfig/test/ext/ext.proto", }
Ext_ServiceDesc is the grpc.ServiceDesc for Ext service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_kralicky_protoconfig_test_ext_ext_proto protoreflect.FileDescriptor
Functions ¶
func BuildConfigCmd ¶
func BuildConfigGetCmd ¶
func BuildConfigHistoryCmd ¶
func BuildConfigResetCmd ¶
func BuildConfigSetCmd ¶
func BuildExt2Cmd ¶
func BuildExt2FooCmd ¶
func BuildExtBarCmd ¶
func BuildExtBazCmd ¶
func BuildExtCmd ¶
func BuildExtFooCmd ¶
func BuildExtSetCmd ¶
func RegisterConfigServer ¶
func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)
func RegisterExt2Server ¶
func RegisterExt2Server(s grpc.ServiceRegistrar, srv Ext2Server)
func RegisterExtServer ¶
func RegisterExtServer(s grpc.ServiceRegistrar, srv ExtServer)
Types ¶
type BarRequest ¶
type BarRequest struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2,omitempty"` Param3 string `protobuf:"bytes,3,opt,name=param3,proto3" json:"param3,omitempty"` // contains filtered or unexported fields }
func (*BarRequest) Descriptor
deprecated
func (*BarRequest) Descriptor() ([]byte, []int)
Deprecated: Use BarRequest.ProtoReflect.Descriptor instead.
func (*BarRequest) GetParam1 ¶
func (x *BarRequest) GetParam1() string
func (*BarRequest) GetParam2 ¶
func (x *BarRequest) GetParam2() string
func (*BarRequest) GetParam3 ¶
func (x *BarRequest) GetParam3() string
func (*BarRequest) ProtoMessage ¶
func (*BarRequest) ProtoMessage()
func (*BarRequest) ProtoPath ¶
func (*BarRequest) ProtoPath() barRequestPathBuilder
func (*BarRequest) ProtoReflect ¶
func (x *BarRequest) ProtoReflect() protoreflect.Message
func (*BarRequest) Reset ¶
func (x *BarRequest) Reset()
func (*BarRequest) String ¶
func (x *BarRequest) String() string
type BarResponse ¶
type BarResponse struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2,omitempty"` Param3 string `protobuf:"bytes,3,opt,name=param3,proto3" json:"param3,omitempty"` // contains filtered or unexported fields }
func (*BarResponse) Descriptor
deprecated
func (*BarResponse) Descriptor() ([]byte, []int)
Deprecated: Use BarResponse.ProtoReflect.Descriptor instead.
func (*BarResponse) GetParam1 ¶
func (x *BarResponse) GetParam1() string
func (*BarResponse) GetParam2 ¶
func (x *BarResponse) GetParam2() string
func (*BarResponse) GetParam3 ¶
func (x *BarResponse) GetParam3() string
func (*BarResponse) ProtoMessage ¶
func (*BarResponse) ProtoMessage()
func (*BarResponse) ProtoPath ¶
func (*BarResponse) ProtoPath() barResponsePathBuilder
func (*BarResponse) ProtoReflect ¶
func (x *BarResponse) ProtoReflect() protoreflect.Message
func (*BarResponse) Reset ¶
func (x *BarResponse) Reset()
func (*BarResponse) String ¶
func (x *BarResponse) String() string
type BazRequest ¶
type BazRequest struct { ParamFloat64 float64 `protobuf:"fixed64,1,opt,name=paramFloat64,proto3" json:"paramFloat64,omitempty"` ParamInt64 int64 `protobuf:"varint,3,opt,name=paramInt64,proto3" json:"paramInt64,omitempty"` ParamBool bool `protobuf:"varint,8,opt,name=paramBool,proto3" json:"paramBool,omitempty"` ParamString string `protobuf:"bytes,9,opt,name=paramString,proto3" json:"paramString,omitempty"` ParamBytes []byte `protobuf:"bytes,10,opt,name=paramBytes,proto3" json:"paramBytes,omitempty"` ParamEnum BazRequest_BazEnum `protobuf:"varint,11,opt,name=paramEnum,proto3,enum=ext.BazRequest_BazEnum" json:"paramEnum,omitempty"` ParamDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=paramDuration,proto3" json:"paramDuration,omitempty"` ParamRepeatedString []string `protobuf:"bytes,13,rep,name=paramRepeatedString,proto3" json:"paramRepeatedString,omitempty"` ParamMsg *BazRequest `protobuf:"bytes,14,opt,name=paramMsg,proto3" json:"paramMsg,omitempty"` // contains filtered or unexported fields }
func (*BazRequest) Descriptor
deprecated
func (*BazRequest) Descriptor() ([]byte, []int)
Deprecated: Use BazRequest.ProtoReflect.Descriptor instead.
func (*BazRequest) GetParamBool ¶
func (x *BazRequest) GetParamBool() bool
func (*BazRequest) GetParamBytes ¶
func (x *BazRequest) GetParamBytes() []byte
func (*BazRequest) GetParamDuration ¶
func (x *BazRequest) GetParamDuration() *durationpb.Duration
func (*BazRequest) GetParamEnum ¶
func (x *BazRequest) GetParamEnum() BazRequest_BazEnum
func (*BazRequest) GetParamFloat64 ¶
func (x *BazRequest) GetParamFloat64() float64
func (*BazRequest) GetParamInt64 ¶
func (x *BazRequest) GetParamInt64() int64
func (*BazRequest) GetParamMsg ¶
func (x *BazRequest) GetParamMsg() *BazRequest
func (*BazRequest) GetParamRepeatedString ¶
func (x *BazRequest) GetParamRepeatedString() []string
func (*BazRequest) GetParamString ¶
func (x *BazRequest) GetParamString() string
func (*BazRequest) ProtoMessage ¶
func (*BazRequest) ProtoMessage()
func (*BazRequest) ProtoPath ¶
func (*BazRequest) ProtoPath() bazRequestPathBuilder
func (*BazRequest) ProtoReflect ¶
func (x *BazRequest) ProtoReflect() protoreflect.Message
func (*BazRequest) Reset ¶
func (x *BazRequest) Reset()
func (*BazRequest) String ¶
func (x *BazRequest) String() string
type BazRequest_BazEnum ¶
type BazRequest_BazEnum int32
const ( BazRequest_UNKNOWN BazRequest_BazEnum = 0 BazRequest_FOO BazRequest_BazEnum = 1 BazRequest_BAR BazRequest_BazEnum = 2 )
func (BazRequest_BazEnum) Descriptor ¶
func (BazRequest_BazEnum) Descriptor() protoreflect.EnumDescriptor
func (BazRequest_BazEnum) Enum ¶
func (x BazRequest_BazEnum) Enum() *BazRequest_BazEnum
func (BazRequest_BazEnum) EnumDescriptor
deprecated
func (BazRequest_BazEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use BazRequest_BazEnum.Descriptor instead.
func (BazRequest_BazEnum) Number ¶
func (x BazRequest_BazEnum) Number() protoreflect.EnumNumber
func (BazRequest_BazEnum) String ¶
func (x BazRequest_BazEnum) String() string
func (BazRequest_BazEnum) Type ¶
func (BazRequest_BazEnum) Type() protoreflect.EnumType
type ConfigClient ¶
type ConfigClient interface { GetDefault(ctx context.Context, in *SampleGetRequest, opts ...grpc.CallOption) (*SampleConfiguration, error) SetDefault(ctx context.Context, in *SampleSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Get(ctx context.Context, in *SampleGetRequest, opts ...grpc.CallOption) (*SampleConfiguration, error) Set(ctx context.Context, in *SampleSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ResetDefault(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Reset(ctx context.Context, in *SampleResetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DryRun(ctx context.Context, in *SampleDryRunRequest, opts ...grpc.CallOption) (*SampleDryRunResponse, error) History(ctx context.Context, in *SampleHistoryRequest, opts ...grpc.CallOption) (*SampleConfigurationHistoryResponse, error) }
ConfigClient is the client API for Config service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConfigClient ¶
func NewConfigClient(cc grpc.ClientConnInterface) ConfigClient
type ConfigServer ¶
type ConfigServer interface { GetDefault(context.Context, *SampleGetRequest) (*SampleConfiguration, error) SetDefault(context.Context, *SampleSetRequest) (*emptypb.Empty, error) Get(context.Context, *SampleGetRequest) (*SampleConfiguration, error) Set(context.Context, *SampleSetRequest) (*emptypb.Empty, error) ResetDefault(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Reset(context.Context, *SampleResetRequest) (*emptypb.Empty, error) DryRun(context.Context, *SampleDryRunRequest) (*SampleDryRunResponse, error) History(context.Context, *SampleHistoryRequest) (*SampleConfigurationHistoryResponse, error) }
ConfigServer is the server API for Config service. All implementations should embed UnimplementedConfigServer for forward compatibility
type ExampleValue ¶
type ExampleValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ExampleValue) Descriptor
deprecated
func (*ExampleValue) Descriptor() ([]byte, []int)
Deprecated: Use ExampleValue.ProtoReflect.Descriptor instead.
func (*ExampleValue) GetValue ¶
func (x *ExampleValue) GetValue() string
func (*ExampleValue) ProtoMessage ¶
func (*ExampleValue) ProtoMessage()
func (*ExampleValue) ProtoPath ¶
func (*ExampleValue) ProtoPath() exampleValuePathBuilder
func (*ExampleValue) ProtoReflect ¶
func (x *ExampleValue) ProtoReflect() protoreflect.Message
func (*ExampleValue) Reset ¶
func (x *ExampleValue) Reset()
func (*ExampleValue) String ¶
func (x *ExampleValue) String() string
type Ext2Client ¶
type Ext2Client interface {
Foo(ctx context.Context, in *FooRequest, opts ...grpc.CallOption) (*FooResponse, error)
}
Ext2Client is the client API for Ext2 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExt2Client ¶
func NewExt2Client(cc grpc.ClientConnInterface) Ext2Client
type Ext2Server ¶
type Ext2Server interface {
Foo(context.Context, *FooRequest) (*FooResponse, error)
}
Ext2Server is the server API for Ext2 service. All implementations should embed UnimplementedExt2Server for forward compatibility
type ExtClient ¶
type ExtClient interface { Foo(ctx context.Context, in *FooRequest, opts ...grpc.CallOption) (*FooResponse, error) Bar(ctx context.Context, in *BarRequest, opts ...grpc.CallOption) (*BarResponse, error) Baz(ctx context.Context, in *BazRequest, opts ...grpc.CallOption) (*BazRequest, error) Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetRequest, error) ServerStream(ctx context.Context, in *FooRequest, opts ...grpc.CallOption) (Ext_ServerStreamClient, error) ClientStream(ctx context.Context, opts ...grpc.CallOption) (Ext_ClientStreamClient, error) BidirectionalStream(ctx context.Context, opts ...grpc.CallOption) (Ext_BidirectionalStreamClient, error) }
ExtClient is the client API for Ext service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExtClient ¶
func NewExtClient(cc grpc.ClientConnInterface) ExtClient
type ExtServer ¶
type ExtServer interface { Foo(context.Context, *FooRequest) (*FooResponse, error) Bar(context.Context, *BarRequest) (*BarResponse, error) Baz(context.Context, *BazRequest) (*BazRequest, error) Set(context.Context, *SetRequest) (*SetRequest, error) ServerStream(*FooRequest, Ext_ServerStreamServer) error ClientStream(Ext_ClientStreamServer) error BidirectionalStream(Ext_BidirectionalStreamServer) error }
ExtServer is the server API for Ext service. All implementations should embed UnimplementedExtServer for forward compatibility
type Ext_BidirectionalStreamClient ¶
type Ext_BidirectionalStreamClient interface { Send(*FooRequest) error Recv() (*FooResponse, error) grpc.ClientStream }
type Ext_BidirectionalStreamServer ¶
type Ext_BidirectionalStreamServer interface { Send(*FooResponse) error Recv() (*FooRequest, error) grpc.ServerStream }
type Ext_ClientStreamClient ¶
type Ext_ClientStreamClient interface { Send(*FooRequest) error CloseAndRecv() (*FooResponse, error) grpc.ClientStream }
type Ext_ClientStreamServer ¶
type Ext_ClientStreamServer interface { SendAndClose(*FooResponse) error Recv() (*FooRequest, error) grpc.ServerStream }
type Ext_ServerStreamClient ¶
type Ext_ServerStreamClient interface { Recv() (*FooResponse, error) grpc.ClientStream }
type Ext_ServerStreamServer ¶
type Ext_ServerStreamServer interface { Send(*FooResponse) error grpc.ServerStream }
type FooRequest ¶
type FooRequest struct { Request string `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*FooRequest) Descriptor
deprecated
func (*FooRequest) Descriptor() ([]byte, []int)
Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.
func (*FooRequest) GetRequest ¶
func (x *FooRequest) GetRequest() string
func (*FooRequest) ProtoMessage ¶
func (*FooRequest) ProtoMessage()
func (*FooRequest) ProtoPath ¶
func (*FooRequest) ProtoPath() fooRequestPathBuilder
func (*FooRequest) ProtoReflect ¶
func (x *FooRequest) ProtoReflect() protoreflect.Message
func (*FooRequest) Reset ¶
func (x *FooRequest) Reset()
func (*FooRequest) String ¶
func (x *FooRequest) String() string
type FooResponse ¶
type FooResponse struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*FooResponse) Descriptor
deprecated
func (*FooResponse) Descriptor() ([]byte, []int)
Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.
func (*FooResponse) GetResponse ¶
func (x *FooResponse) GetResponse() string
func (*FooResponse) ProtoMessage ¶
func (*FooResponse) ProtoMessage()
func (*FooResponse) ProtoPath ¶
func (*FooResponse) ProtoPath() fooResponsePathBuilder
func (*FooResponse) ProtoReflect ¶
func (x *FooResponse) ProtoReflect() protoreflect.Message
func (*FooResponse) Reset ¶
func (x *FooResponse) Reset()
func (*FooResponse) String ¶
func (x *FooResponse) String() string
type Reference ¶
type Reference struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Reference) Descriptor
deprecated
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type Sample1FieldMsg ¶
type Sample1FieldMsg struct { Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` // contains filtered or unexported fields }
func (*Sample1FieldMsg) Descriptor
deprecated
func (*Sample1FieldMsg) Descriptor() ([]byte, []int)
Deprecated: Use Sample1FieldMsg.ProtoReflect.Descriptor instead.
func (*Sample1FieldMsg) FlagSet ¶
func (in *Sample1FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
func (*Sample1FieldMsg) GetField1 ¶
func (x *Sample1FieldMsg) GetField1() int32
func (*Sample1FieldMsg) ProtoMessage ¶
func (*Sample1FieldMsg) ProtoMessage()
func (*Sample1FieldMsg) ProtoPath ¶
func (*Sample1FieldMsg) ProtoPath() sample1FieldMsgPathBuilder
func (*Sample1FieldMsg) ProtoReflect ¶
func (x *Sample1FieldMsg) ProtoReflect() protoreflect.Message
func (*Sample1FieldMsg) Reset ¶
func (x *Sample1FieldMsg) Reset()
func (*Sample1FieldMsg) String ¶
func (x *Sample1FieldMsg) String() string
type Sample2FieldMsg ¶
type Sample2FieldMsg struct { Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` // contains filtered or unexported fields }
func (*Sample2FieldMsg) Descriptor
deprecated
func (*Sample2FieldMsg) Descriptor() ([]byte, []int)
Deprecated: Use Sample2FieldMsg.ProtoReflect.Descriptor instead.
func (*Sample2FieldMsg) FlagSet ¶
func (in *Sample2FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
func (*Sample2FieldMsg) GetField1 ¶
func (x *Sample2FieldMsg) GetField1() int32
func (*Sample2FieldMsg) GetField2 ¶
func (x *Sample2FieldMsg) GetField2() int32
func (*Sample2FieldMsg) ProtoMessage ¶
func (*Sample2FieldMsg) ProtoMessage()
func (*Sample2FieldMsg) ProtoPath ¶
func (*Sample2FieldMsg) ProtoPath() sample2FieldMsgPathBuilder
func (*Sample2FieldMsg) ProtoReflect ¶
func (x *Sample2FieldMsg) ProtoReflect() protoreflect.Message
func (*Sample2FieldMsg) Reset ¶
func (x *Sample2FieldMsg) Reset()
func (*Sample2FieldMsg) String ¶
func (x *Sample2FieldMsg) String() string
type Sample3FieldMsg ¶
type Sample3FieldMsg struct { Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` Field3 int32 `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"` // contains filtered or unexported fields }
func (*Sample3FieldMsg) Descriptor
deprecated
func (*Sample3FieldMsg) Descriptor() ([]byte, []int)
Deprecated: Use Sample3FieldMsg.ProtoReflect.Descriptor instead.
func (*Sample3FieldMsg) FlagSet ¶
func (in *Sample3FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
func (*Sample3FieldMsg) GetField1 ¶
func (x *Sample3FieldMsg) GetField1() int32
func (*Sample3FieldMsg) GetField2 ¶
func (x *Sample3FieldMsg) GetField2() int32
func (*Sample3FieldMsg) GetField3 ¶
func (x *Sample3FieldMsg) GetField3() int32
func (*Sample3FieldMsg) ProtoMessage ¶
func (*Sample3FieldMsg) ProtoMessage()
func (*Sample3FieldMsg) ProtoPath ¶
func (*Sample3FieldMsg) ProtoPath() sample3FieldMsgPathBuilder
func (*Sample3FieldMsg) ProtoReflect ¶
func (x *Sample3FieldMsg) ProtoReflect() protoreflect.Message
func (*Sample3FieldMsg) Reset ¶
func (x *Sample3FieldMsg) Reset()
func (*Sample3FieldMsg) String ¶
func (x *Sample3FieldMsg) String() string
type Sample4FieldMsg ¶
type Sample4FieldMsg struct { Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` Field3 int32 `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"` Field4 int32 `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"` // contains filtered or unexported fields }
func (*Sample4FieldMsg) Descriptor
deprecated
func (*Sample4FieldMsg) Descriptor() ([]byte, []int)
Deprecated: Use Sample4FieldMsg.ProtoReflect.Descriptor instead.
func (*Sample4FieldMsg) FlagSet ¶
func (in *Sample4FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
func (*Sample4FieldMsg) GetField1 ¶
func (x *Sample4FieldMsg) GetField1() int32
func (*Sample4FieldMsg) GetField2 ¶
func (x *Sample4FieldMsg) GetField2() int32
func (*Sample4FieldMsg) GetField3 ¶
func (x *Sample4FieldMsg) GetField3() int32
func (*Sample4FieldMsg) GetField4 ¶
func (x *Sample4FieldMsg) GetField4() int32
func (*Sample4FieldMsg) ProtoMessage ¶
func (*Sample4FieldMsg) ProtoMessage()
func (*Sample4FieldMsg) ProtoPath ¶
func (*Sample4FieldMsg) ProtoPath() sample4FieldMsgPathBuilder
func (*Sample4FieldMsg) ProtoReflect ¶
func (x *Sample4FieldMsg) ProtoReflect() protoreflect.Message
func (*Sample4FieldMsg) Reset ¶
func (x *Sample4FieldMsg) Reset()
func (*Sample4FieldMsg) String ¶
func (x *Sample4FieldMsg) String() string
type Sample5FieldMsg ¶
type Sample5FieldMsg struct { Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` Field3 int32 `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"` Field4 int32 `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"` Field5 int32 `protobuf:"varint,5,opt,name=field5,proto3" json:"field5,omitempty"` // contains filtered or unexported fields }
func (*Sample5FieldMsg) Descriptor
deprecated
func (*Sample5FieldMsg) Descriptor() ([]byte, []int)
Deprecated: Use Sample5FieldMsg.ProtoReflect.Descriptor instead.
func (*Sample5FieldMsg) FlagSet ¶
func (in *Sample5FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
func (*Sample5FieldMsg) GetField1 ¶
func (x *Sample5FieldMsg) GetField1() int32
func (*Sample5FieldMsg) GetField2 ¶
func (x *Sample5FieldMsg) GetField2() int32
func (*Sample5FieldMsg) GetField3 ¶
func (x *Sample5FieldMsg) GetField3() int32
func (*Sample5FieldMsg) GetField4 ¶
func (x *Sample5FieldMsg) GetField4() int32
func (*Sample5FieldMsg) GetField5 ¶
func (x *Sample5FieldMsg) GetField5() int32
func (*Sample5FieldMsg) ProtoMessage ¶
func (*Sample5FieldMsg) ProtoMessage()
func (*Sample5FieldMsg) ProtoPath ¶
func (*Sample5FieldMsg) ProtoPath() sample5FieldMsgPathBuilder
func (*Sample5FieldMsg) ProtoReflect ¶
func (x *Sample5FieldMsg) ProtoReflect() protoreflect.Message
func (*Sample5FieldMsg) Reset ¶
func (x *Sample5FieldMsg) Reset()
func (*Sample5FieldMsg) String ¶
func (x *Sample5FieldMsg) String() string
type Sample6FieldMsg ¶
type Sample6FieldMsg struct { Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"` Field3 int32 `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"` Field4 int32 `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"` Field5 int32 `protobuf:"varint,5,opt,name=field5,proto3" json:"field5,omitempty"` Field6 int32 `protobuf:"varint,6,opt,name=field6,proto3" json:"field6,omitempty"` // contains filtered or unexported fields }
func (*Sample6FieldMsg) Descriptor
deprecated
func (*Sample6FieldMsg) Descriptor() ([]byte, []int)
Deprecated: Use Sample6FieldMsg.ProtoReflect.Descriptor instead.
func (*Sample6FieldMsg) FlagSet ¶
func (in *Sample6FieldMsg) FlagSet(prefix ...string) *pflag.FlagSet
func (*Sample6FieldMsg) GetField1 ¶
func (x *Sample6FieldMsg) GetField1() int32
func (*Sample6FieldMsg) GetField2 ¶
func (x *Sample6FieldMsg) GetField2() int32
func (*Sample6FieldMsg) GetField3 ¶
func (x *Sample6FieldMsg) GetField3() int32
func (*Sample6FieldMsg) GetField4 ¶
func (x *Sample6FieldMsg) GetField4() int32
func (*Sample6FieldMsg) GetField5 ¶
func (x *Sample6FieldMsg) GetField5() int32
func (*Sample6FieldMsg) GetField6 ¶
func (x *Sample6FieldMsg) GetField6() int32
func (*Sample6FieldMsg) ProtoMessage ¶
func (*Sample6FieldMsg) ProtoMessage()
func (*Sample6FieldMsg) ProtoPath ¶
func (*Sample6FieldMsg) ProtoPath() sample6FieldMsgPathBuilder
func (*Sample6FieldMsg) ProtoReflect ¶
func (x *Sample6FieldMsg) ProtoReflect() protoreflect.Message
func (*Sample6FieldMsg) Reset ¶
func (x *Sample6FieldMsg) Reset()
func (*Sample6FieldMsg) String ¶
func (x *Sample6FieldMsg) String() string
type SampleConfiguration ¶
type SampleConfiguration struct { Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` Revision *v1.Revision `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` StringField *string `protobuf:"bytes,3,opt,name=stringField,proto3,oneof" json:"stringField,omitempty"` SecretField *string `protobuf:"bytes,4,opt,name=secretField,proto3,oneof" json:"secretField,omitempty"` MapField map[string]string `` /* 157-byte string literal not displayed */ RepeatedField []string `protobuf:"bytes,6,rep,name=repeatedField,proto3" json:"repeatedField,omitempty"` EnumField *SampleEnum `protobuf:"varint,7,opt,name=enumField,proto3,enum=ext.SampleEnum,oneof" json:"enumField,omitempty"` MessageField *SampleMessage `protobuf:"bytes,8,opt,name=messageField,proto3" json:"messageField,omitempty"` // contains filtered or unexported fields }
func (*SampleConfiguration) Descriptor
deprecated
func (*SampleConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use SampleConfiguration.ProtoReflect.Descriptor instead.
func (*SampleConfiguration) FlagSet ¶
func (in *SampleConfiguration) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleConfiguration) GetEnabled ¶
func (x *SampleConfiguration) GetEnabled() bool
func (*SampleConfiguration) GetEnumField ¶
func (x *SampleConfiguration) GetEnumField() SampleEnum
func (*SampleConfiguration) GetMapField ¶
func (x *SampleConfiguration) GetMapField() map[string]string
func (*SampleConfiguration) GetMessageField ¶
func (x *SampleConfiguration) GetMessageField() *SampleMessage
func (*SampleConfiguration) GetRepeatedField ¶
func (x *SampleConfiguration) GetRepeatedField() []string
func (*SampleConfiguration) GetRevision ¶
func (x *SampleConfiguration) GetRevision() *v1.Revision
func (*SampleConfiguration) GetSecretField ¶
func (x *SampleConfiguration) GetSecretField() string
func (*SampleConfiguration) GetStringField ¶
func (x *SampleConfiguration) GetStringField() string
func (*SampleConfiguration) ProtoMessage ¶
func (*SampleConfiguration) ProtoMessage()
func (*SampleConfiguration) ProtoPath ¶
func (*SampleConfiguration) ProtoPath() sampleConfigurationPathBuilder
func (*SampleConfiguration) ProtoReflect ¶
func (x *SampleConfiguration) ProtoReflect() protoreflect.Message
func (*SampleConfiguration) RedactSecrets ¶
func (in *SampleConfiguration) RedactSecrets()
func (*SampleConfiguration) Reset ¶
func (x *SampleConfiguration) Reset()
func (*SampleConfiguration) String ¶
func (x *SampleConfiguration) String() string
func (*SampleConfiguration) UnredactSecrets ¶
func (in *SampleConfiguration) UnredactSecrets(unredacted *SampleConfiguration) error
func (*SampleConfiguration) WithRevision ¶
func (c *SampleConfiguration) WithRevision(rev int64) *SampleConfiguration
func (*SampleConfiguration) WithoutRevision ¶
func (c *SampleConfiguration) WithoutRevision() *SampleConfiguration
type SampleConfigurationHistoryResponse ¶
type SampleConfigurationHistoryResponse struct { Entries []*SampleConfiguration `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*SampleConfigurationHistoryResponse) Descriptor
deprecated
func (*SampleConfigurationHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SampleConfigurationHistoryResponse.ProtoReflect.Descriptor instead.
func (*SampleConfigurationHistoryResponse) FlagSet ¶
func (in *SampleConfigurationHistoryResponse) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleConfigurationHistoryResponse) GetEntries ¶
func (x *SampleConfigurationHistoryResponse) GetEntries() []*SampleConfiguration
func (*SampleConfigurationHistoryResponse) ProtoMessage ¶
func (*SampleConfigurationHistoryResponse) ProtoMessage()
func (*SampleConfigurationHistoryResponse) ProtoPath ¶
func (*SampleConfigurationHistoryResponse) ProtoPath() sampleConfigurationHistoryResponsePathBuilder
func (*SampleConfigurationHistoryResponse) ProtoReflect ¶
func (x *SampleConfigurationHistoryResponse) ProtoReflect() protoreflect.Message
func (*SampleConfigurationHistoryResponse) Reset ¶
func (x *SampleConfigurationHistoryResponse) Reset()
func (*SampleConfigurationHistoryResponse) String ¶
func (x *SampleConfigurationHistoryResponse) String() string
type SampleDryRunRequest ¶
type SampleDryRunRequest struct { Key *string `protobuf:"bytes,10,opt,name=key,proto3,oneof" json:"key,omitempty"` // for context key tests Target server.Target `protobuf:"varint,1,opt,name=target,proto3,enum=server.Target" json:"target,omitempty"` Action server.Action `protobuf:"varint,2,opt,name=action,proto3,enum=server.Action" json:"action,omitempty"` Spec *SampleConfiguration `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // Set Revision *v1.Revision `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"` // Reset Mask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=mask,proto3" json:"mask,omitempty"` // Reset Patch *SampleConfiguration `protobuf:"bytes,6,opt,name=patch,proto3" json:"patch,omitempty"` // Reset // contains filtered or unexported fields }
func (*SampleDryRunRequest) ContextKey ¶
func (g *SampleDryRunRequest) ContextKey() protoreflect.FieldDescriptor
Implements server.ContextKeyable
func (*SampleDryRunRequest) Descriptor
deprecated
func (*SampleDryRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use SampleDryRunRequest.ProtoReflect.Descriptor instead.
func (*SampleDryRunRequest) FlagSet ¶
func (in *SampleDryRunRequest) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleDryRunRequest) GetAction ¶
func (x *SampleDryRunRequest) GetAction() server.Action
func (*SampleDryRunRequest) GetKey ¶
func (x *SampleDryRunRequest) GetKey() string
func (*SampleDryRunRequest) GetMask ¶
func (x *SampleDryRunRequest) GetMask() *fieldmaskpb.FieldMask
func (*SampleDryRunRequest) GetPatch ¶
func (x *SampleDryRunRequest) GetPatch() *SampleConfiguration
func (*SampleDryRunRequest) GetRevision ¶
func (x *SampleDryRunRequest) GetRevision() *v1.Revision
func (*SampleDryRunRequest) GetSpec ¶
func (x *SampleDryRunRequest) GetSpec() *SampleConfiguration
func (*SampleDryRunRequest) GetTarget ¶
func (x *SampleDryRunRequest) GetTarget() server.Target
func (*SampleDryRunRequest) ProtoMessage ¶
func (*SampleDryRunRequest) ProtoMessage()
func (*SampleDryRunRequest) ProtoPath ¶
func (*SampleDryRunRequest) ProtoPath() sampleDryRunRequestPathBuilder
func (*SampleDryRunRequest) ProtoReflect ¶
func (x *SampleDryRunRequest) ProtoReflect() protoreflect.Message
func (*SampleDryRunRequest) RedactSecrets ¶
func (in *SampleDryRunRequest) RedactSecrets()
func (*SampleDryRunRequest) Reset ¶
func (x *SampleDryRunRequest) Reset()
func (*SampleDryRunRequest) String ¶
func (x *SampleDryRunRequest) String() string
func (*SampleDryRunRequest) UnredactSecrets ¶
func (in *SampleDryRunRequest) UnredactSecrets(unredacted *SampleDryRunRequest) error
type SampleDryRunResponse ¶
type SampleDryRunResponse struct { Current *SampleConfiguration `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Modified *SampleConfiguration `protobuf:"bytes,2,opt,name=modified,proto3" json:"modified,omitempty"` ValidationErrors *validate.Violations `protobuf:"bytes,3,opt,name=validationErrors,proto3" json:"validationErrors,omitempty"` // contains filtered or unexported fields }
func (*SampleDryRunResponse) Descriptor
deprecated
func (*SampleDryRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use SampleDryRunResponse.ProtoReflect.Descriptor instead.
func (*SampleDryRunResponse) GetCurrent ¶
func (x *SampleDryRunResponse) GetCurrent() *SampleConfiguration
func (*SampleDryRunResponse) GetModified ¶
func (x *SampleDryRunResponse) GetModified() *SampleConfiguration
func (*SampleDryRunResponse) GetValidationErrors ¶
func (x *SampleDryRunResponse) GetValidationErrors() *validate.Violations
func (*SampleDryRunResponse) ProtoMessage ¶
func (*SampleDryRunResponse) ProtoMessage()
func (*SampleDryRunResponse) ProtoPath ¶
func (*SampleDryRunResponse) ProtoPath() sampleDryRunResponsePathBuilder
func (*SampleDryRunResponse) ProtoReflect ¶
func (x *SampleDryRunResponse) ProtoReflect() protoreflect.Message
func (*SampleDryRunResponse) Reset ¶
func (x *SampleDryRunResponse) Reset()
func (*SampleDryRunResponse) String ¶
func (x *SampleDryRunResponse) String() string
type SampleEnum ¶
type SampleEnum int32
const ( SampleEnum_Unknown SampleEnum = 0 SampleEnum_Foo SampleEnum = 1 SampleEnum_Bar SampleEnum = 2 )
func (SampleEnum) Descriptor ¶
func (SampleEnum) Descriptor() protoreflect.EnumDescriptor
func (SampleEnum) Enum ¶
func (x SampleEnum) Enum() *SampleEnum
func (SampleEnum) EnumDescriptor
deprecated
func (SampleEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use SampleEnum.Descriptor instead.
func (SampleEnum) Number ¶
func (x SampleEnum) Number() protoreflect.EnumNumber
func (SampleEnum) String ¶
func (x SampleEnum) String() string
func (SampleEnum) Type ¶
func (SampleEnum) Type() protoreflect.EnumType
type SampleGetRequest ¶
type SampleGetRequest struct { Key *string `protobuf:"bytes,10,opt,name=key,proto3,oneof" json:"key,omitempty"` // for context key tests Revision *v1.Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*SampleGetRequest) ContextKey ¶
func (g *SampleGetRequest) ContextKey() protoreflect.FieldDescriptor
Implements server.ContextKeyable
func (*SampleGetRequest) Descriptor
deprecated
func (*SampleGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SampleGetRequest.ProtoReflect.Descriptor instead.
func (*SampleGetRequest) FlagSet ¶
func (in *SampleGetRequest) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleGetRequest) GetKey ¶
func (x *SampleGetRequest) GetKey() string
func (*SampleGetRequest) GetRevision ¶
func (x *SampleGetRequest) GetRevision() *v1.Revision
func (*SampleGetRequest) ProtoMessage ¶
func (*SampleGetRequest) ProtoMessage()
func (*SampleGetRequest) ProtoPath ¶
func (*SampleGetRequest) ProtoPath() sampleGetRequestPathBuilder
func (*SampleGetRequest) ProtoReflect ¶
func (x *SampleGetRequest) ProtoReflect() protoreflect.Message
func (*SampleGetRequest) Reset ¶
func (x *SampleGetRequest) Reset()
func (*SampleGetRequest) String ¶
func (x *SampleGetRequest) String() string
type SampleHistoryRequest ¶
type SampleHistoryRequest struct { Key *string `protobuf:"bytes,10,opt,name=key,proto3,oneof" json:"key,omitempty"` // for context key tests Target server.Target `protobuf:"varint,1,opt,name=target,proto3,enum=server.Target" json:"target,omitempty"` Revision *v1.Revision `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` IncludeValues bool `protobuf:"varint,3,opt,name=includeValues,proto3" json:"includeValues,omitempty"` // contains filtered or unexported fields }
func (*SampleHistoryRequest) ContextKey ¶
func (g *SampleHistoryRequest) ContextKey() protoreflect.FieldDescriptor
Implements server.ContextKeyable
func (*SampleHistoryRequest) Descriptor
deprecated
func (*SampleHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SampleHistoryRequest.ProtoReflect.Descriptor instead.
func (*SampleHistoryRequest) FlagSet ¶
func (in *SampleHistoryRequest) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleHistoryRequest) GetIncludeValues ¶
func (x *SampleHistoryRequest) GetIncludeValues() bool
func (*SampleHistoryRequest) GetKey ¶
func (x *SampleHistoryRequest) GetKey() string
func (*SampleHistoryRequest) GetRevision ¶
func (x *SampleHistoryRequest) GetRevision() *v1.Revision
func (*SampleHistoryRequest) GetTarget ¶
func (x *SampleHistoryRequest) GetTarget() server.Target
func (*SampleHistoryRequest) ProtoMessage ¶
func (*SampleHistoryRequest) ProtoMessage()
func (*SampleHistoryRequest) ProtoPath ¶
func (*SampleHistoryRequest) ProtoPath() sampleHistoryRequestPathBuilder
func (*SampleHistoryRequest) ProtoReflect ¶
func (x *SampleHistoryRequest) ProtoReflect() protoreflect.Message
func (*SampleHistoryRequest) Reset ¶
func (x *SampleHistoryRequest) Reset()
func (*SampleHistoryRequest) String ¶
func (x *SampleHistoryRequest) String() string
type SampleMessage ¶
type SampleMessage struct { Field1 *Sample1FieldMsg `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 *Sample2FieldMsg `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"` Field3 *Sample3FieldMsg `protobuf:"bytes,3,opt,name=field3,proto3" json:"field3,omitempty"` Field4 *Sample4FieldMsg `protobuf:"bytes,4,opt,name=field4,proto3" json:"field4,omitempty"` Field5 *Sample5FieldMsg `protobuf:"bytes,5,opt,name=field5,proto3" json:"field5,omitempty"` Field6 *Sample6FieldMsg `protobuf:"bytes,6,opt,name=field6,proto3" json:"field6,omitempty"` Msg *SampleMessage2 `protobuf:"bytes,7,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*SampleMessage) Descriptor
deprecated
func (*SampleMessage) Descriptor() ([]byte, []int)
Deprecated: Use SampleMessage.ProtoReflect.Descriptor instead.
func (*SampleMessage) GetField1 ¶
func (x *SampleMessage) GetField1() *Sample1FieldMsg
func (*SampleMessage) GetField2 ¶
func (x *SampleMessage) GetField2() *Sample2FieldMsg
func (*SampleMessage) GetField3 ¶
func (x *SampleMessage) GetField3() *Sample3FieldMsg
func (*SampleMessage) GetField4 ¶
func (x *SampleMessage) GetField4() *Sample4FieldMsg
func (*SampleMessage) GetField5 ¶
func (x *SampleMessage) GetField5() *Sample5FieldMsg
func (*SampleMessage) GetField6 ¶
func (x *SampleMessage) GetField6() *Sample6FieldMsg
func (*SampleMessage) GetMsg ¶
func (x *SampleMessage) GetMsg() *SampleMessage2
func (*SampleMessage) ProtoMessage ¶
func (*SampleMessage) ProtoMessage()
func (*SampleMessage) ProtoPath ¶
func (*SampleMessage) ProtoPath() sampleMessagePathBuilder
func (*SampleMessage) ProtoReflect ¶
func (x *SampleMessage) ProtoReflect() protoreflect.Message
func (*SampleMessage) Reset ¶
func (x *SampleMessage) Reset()
func (*SampleMessage) String ¶
func (x *SampleMessage) String() string
type SampleMessage2 ¶
type SampleMessage2 struct { Field1 *Sample1FieldMsg `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 *Sample2FieldMsg `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"` Field3 *Sample3FieldMsg `protobuf:"bytes,3,opt,name=field3,proto3" json:"field3,omitempty"` Field4 *Sample4FieldMsg `protobuf:"bytes,4,opt,name=field4,proto3" json:"field4,omitempty"` Field5 *Sample5FieldMsg `protobuf:"bytes,5,opt,name=field5,proto3" json:"field5,omitempty"` Field6 *Sample6FieldMsg `protobuf:"bytes,6,opt,name=field6,proto3" json:"field6,omitempty"` // contains filtered or unexported fields }
func (*SampleMessage2) Descriptor
deprecated
func (*SampleMessage2) Descriptor() ([]byte, []int)
Deprecated: Use SampleMessage2.ProtoReflect.Descriptor instead.
func (*SampleMessage2) GetField1 ¶
func (x *SampleMessage2) GetField1() *Sample1FieldMsg
func (*SampleMessage2) GetField2 ¶
func (x *SampleMessage2) GetField2() *Sample2FieldMsg
func (*SampleMessage2) GetField3 ¶
func (x *SampleMessage2) GetField3() *Sample3FieldMsg
func (*SampleMessage2) GetField4 ¶
func (x *SampleMessage2) GetField4() *Sample4FieldMsg
func (*SampleMessage2) GetField5 ¶
func (x *SampleMessage2) GetField5() *Sample5FieldMsg
func (*SampleMessage2) GetField6 ¶
func (x *SampleMessage2) GetField6() *Sample6FieldMsg
func (*SampleMessage2) ProtoMessage ¶
func (*SampleMessage2) ProtoMessage()
func (*SampleMessage2) ProtoPath ¶
func (*SampleMessage2) ProtoPath() sampleMessage2PathBuilder
func (*SampleMessage2) ProtoReflect ¶
func (x *SampleMessage2) ProtoReflect() protoreflect.Message
func (*SampleMessage2) Reset ¶
func (x *SampleMessage2) Reset()
func (*SampleMessage2) String ¶
func (x *SampleMessage2) String() string
type SampleResetRequest ¶
type SampleResetRequest struct { Key *string `protobuf:"bytes,10,opt,name=key,proto3,oneof" json:"key,omitempty"` // for context key tests Revision *v1.Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` Mask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"` Patch *SampleConfiguration `protobuf:"bytes,3,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
func (*SampleResetRequest) ContextKey ¶
func (g *SampleResetRequest) ContextKey() protoreflect.FieldDescriptor
Implements server.ContextKeyable
func (*SampleResetRequest) Descriptor
deprecated
func (*SampleResetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SampleResetRequest.ProtoReflect.Descriptor instead.
func (*SampleResetRequest) FlagSet ¶
func (in *SampleResetRequest) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleResetRequest) GetKey ¶
func (x *SampleResetRequest) GetKey() string
func (*SampleResetRequest) GetMask ¶
func (x *SampleResetRequest) GetMask() *fieldmaskpb.FieldMask
func (*SampleResetRequest) GetPatch ¶
func (x *SampleResetRequest) GetPatch() *SampleConfiguration
func (*SampleResetRequest) GetRevision ¶
func (x *SampleResetRequest) GetRevision() *v1.Revision
func (*SampleResetRequest) ProtoMessage ¶
func (*SampleResetRequest) ProtoMessage()
func (*SampleResetRequest) ProtoPath ¶
func (*SampleResetRequest) ProtoPath() sampleResetRequestPathBuilder
func (*SampleResetRequest) ProtoReflect ¶
func (x *SampleResetRequest) ProtoReflect() protoreflect.Message
func (*SampleResetRequest) RedactSecrets ¶
func (in *SampleResetRequest) RedactSecrets()
func (*SampleResetRequest) Reset ¶
func (x *SampleResetRequest) Reset()
func (*SampleResetRequest) String ¶
func (x *SampleResetRequest) String() string
func (*SampleResetRequest) UnredactSecrets ¶
func (in *SampleResetRequest) UnredactSecrets(unredacted *SampleResetRequest) error
type SampleSetRequest ¶
type SampleSetRequest struct { Key *string `protobuf:"bytes,10,opt,name=key,proto3,oneof" json:"key,omitempty"` // for context key tests Spec *SampleConfiguration `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*SampleSetRequest) ContextKey ¶
func (g *SampleSetRequest) ContextKey() protoreflect.FieldDescriptor
Implements server.ContextKeyable
func (*SampleSetRequest) Descriptor
deprecated
func (*SampleSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SampleSetRequest.ProtoReflect.Descriptor instead.
func (*SampleSetRequest) FlagSet ¶
func (in *SampleSetRequest) FlagSet(prefix ...string) *pflag.FlagSet
func (*SampleSetRequest) GetKey ¶
func (x *SampleSetRequest) GetKey() string
func (*SampleSetRequest) GetSpec ¶
func (x *SampleSetRequest) GetSpec() *SampleConfiguration
func (*SampleSetRequest) ProtoMessage ¶
func (*SampleSetRequest) ProtoMessage()
func (*SampleSetRequest) ProtoPath ¶
func (*SampleSetRequest) ProtoPath() sampleSetRequestPathBuilder
func (*SampleSetRequest) ProtoReflect ¶
func (x *SampleSetRequest) ProtoReflect() protoreflect.Message
func (*SampleSetRequest) RedactSecrets ¶
func (in *SampleSetRequest) RedactSecrets()
func (*SampleSetRequest) Reset ¶
func (x *SampleSetRequest) Reset()
func (*SampleSetRequest) String ¶
func (x *SampleSetRequest) String() string
func (*SampleSetRequest) UnredactSecrets ¶
func (in *SampleSetRequest) UnredactSecrets(unredacted *SampleSetRequest) error
type SetRequest ¶
type SetRequest struct { Node *Reference `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Example *ExampleValue `protobuf:"bytes,3,opt,name=example,proto3" json:"example,omitempty"` // contains filtered or unexported fields }
func (*SetRequest) Descriptor
deprecated
func (*SetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.
func (*SetRequest) GetExample ¶
func (x *SetRequest) GetExample() *ExampleValue
func (*SetRequest) GetNode ¶
func (x *SetRequest) GetNode() *Reference
func (*SetRequest) GetValue ¶
func (x *SetRequest) GetValue() string
func (*SetRequest) ProtoMessage ¶
func (*SetRequest) ProtoMessage()
func (*SetRequest) ProtoPath ¶
func (*SetRequest) ProtoPath() setRequestPathBuilder
func (*SetRequest) ProtoReflect ¶
func (x *SetRequest) ProtoReflect() protoreflect.Message
func (*SetRequest) Reset ¶
func (x *SetRequest) Reset()
func (*SetRequest) String ¶
func (x *SetRequest) String() string
type UnimplementedConfigServer ¶
type UnimplementedConfigServer struct { }
UnimplementedConfigServer should be embedded to have forward compatible implementations.
func (UnimplementedConfigServer) DryRun ¶
func (UnimplementedConfigServer) DryRun(context.Context, *SampleDryRunRequest) (*SampleDryRunResponse, error)
func (UnimplementedConfigServer) Get ¶
func (UnimplementedConfigServer) Get(context.Context, *SampleGetRequest) (*SampleConfiguration, error)
func (UnimplementedConfigServer) GetDefault ¶
func (UnimplementedConfigServer) GetDefault(context.Context, *SampleGetRequest) (*SampleConfiguration, error)
func (UnimplementedConfigServer) History ¶
func (UnimplementedConfigServer) History(context.Context, *SampleHistoryRequest) (*SampleConfigurationHistoryResponse, error)
func (UnimplementedConfigServer) Reset ¶
func (UnimplementedConfigServer) Reset(context.Context, *SampleResetRequest) (*emptypb.Empty, error)
func (UnimplementedConfigServer) ResetDefault ¶
func (UnimplementedConfigServer) Set ¶
func (UnimplementedConfigServer) Set(context.Context, *SampleSetRequest) (*emptypb.Empty, error)
func (UnimplementedConfigServer) SetDefault ¶
func (UnimplementedConfigServer) SetDefault(context.Context, *SampleSetRequest) (*emptypb.Empty, error)
type UnimplementedExt2Server ¶
type UnimplementedExt2Server struct { }
UnimplementedExt2Server should be embedded to have forward compatible implementations.
func (UnimplementedExt2Server) Foo ¶
func (UnimplementedExt2Server) Foo(context.Context, *FooRequest) (*FooResponse, error)
type UnimplementedExtServer ¶
type UnimplementedExtServer struct { }
UnimplementedExtServer should be embedded to have forward compatible implementations.
func (UnimplementedExtServer) Bar ¶
func (UnimplementedExtServer) Bar(context.Context, *BarRequest) (*BarResponse, error)
func (UnimplementedExtServer) Baz ¶
func (UnimplementedExtServer) Baz(context.Context, *BazRequest) (*BazRequest, error)
func (UnimplementedExtServer) BidirectionalStream ¶
func (UnimplementedExtServer) BidirectionalStream(Ext_BidirectionalStreamServer) error
func (UnimplementedExtServer) ClientStream ¶
func (UnimplementedExtServer) ClientStream(Ext_ClientStreamServer) error
func (UnimplementedExtServer) Foo ¶
func (UnimplementedExtServer) Foo(context.Context, *FooRequest) (*FooResponse, error)
func (UnimplementedExtServer) ServerStream ¶
func (UnimplementedExtServer) ServerStream(*FooRequest, Ext_ServerStreamServer) error
func (UnimplementedExtServer) Set ¶
func (UnimplementedExtServer) Set(context.Context, *SetRequest) (*SetRequest, error)
type UnsafeConfigServer ¶
type UnsafeConfigServer interface {
// contains filtered or unexported methods
}
UnsafeConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServer will result in compilation errors.
type UnsafeExt2Server ¶
type UnsafeExt2Server interface {
// contains filtered or unexported methods
}
UnsafeExt2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Ext2Server will result in compilation errors.
type UnsafeExtServer ¶
type UnsafeExtServer interface {
// contains filtered or unexported methods
}
UnsafeExtServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExtServer will result in compilation errors.