bootconfig

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BootConfig_GetBootConfig_FullMethodName = "/gnoi.bootconfig.BootConfig/GetBootConfig"
	BootConfig_SetBootConfig_FullMethodName = "/gnoi.bootconfig.BootConfig/SetBootConfig"
)

Variables

View Source
var BootConfig_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gnoi.bootconfig.BootConfig",
	HandlerType: (*BootConfigServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBootConfig",
			Handler:    _BootConfig_GetBootConfig_Handler,
		},
		{
			MethodName: "SetBootConfig",
			Handler:    _BootConfig_SetBootConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/openconfig/gnoi/bootconfig/bootconfig.proto",
}

BootConfig_ServiceDesc is the grpc.ServiceDesc for BootConfig service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_github_com_openconfig_gnoi_bootconfig_bootconfig_proto protoreflect.FileDescriptor

Functions

func RegisterBootConfigServer

func RegisterBootConfigServer(s grpc.ServiceRegistrar, srv BootConfigServer)

Types

type BootConfigClient

type BootConfigClient interface {
	GetBootConfig(ctx context.Context, in *GetBootConfigRequest, opts ...grpc.CallOption) (*GetBootConfigResponse, error)
	SetBootConfig(ctx context.Context, in *SetBootConfigRequest, opts ...grpc.CallOption) (*SetBootConfigResponse, error)
}

BootConfigClient is the client API for BootConfig 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 NewBootConfigClient

func NewBootConfigClient(cc grpc.ClientConnInterface) BootConfigClient

type BootConfigServer

type BootConfigServer interface {
	GetBootConfig(context.Context, *GetBootConfigRequest) (*GetBootConfigResponse, error)
	SetBootConfig(context.Context, *SetBootConfigRequest) (*SetBootConfigResponse, error)
}

BootConfigServer is the server API for BootConfig service. All implementations should embed UnimplementedBootConfigServer for forward compatibility.

type GetBootConfigRequest

type GetBootConfigRequest struct {
	// contains filtered or unexported fields
}

func (*GetBootConfigRequest) Descriptor deprecated

func (*GetBootConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBootConfigRequest.ProtoReflect.Descriptor instead.

func (*GetBootConfigRequest) ProtoMessage

func (*GetBootConfigRequest) ProtoMessage()

func (*GetBootConfigRequest) ProtoReflect

func (x *GetBootConfigRequest) ProtoReflect() protoreflect.Message

func (*GetBootConfigRequest) Reset

func (x *GetBootConfigRequest) Reset()

func (*GetBootConfigRequest) String

func (x *GetBootConfigRequest) String() string

type GetBootConfigResponse

type GetBootConfigResponse struct {
	BootConfig *bootz.BootConfig `protobuf:"bytes,1,opt,name=boot_config,json=bootConfig,proto3" json:"boot_config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBootConfigResponse) Descriptor deprecated

func (*GetBootConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBootConfigResponse.ProtoReflect.Descriptor instead.

func (*GetBootConfigResponse) GetBootConfig

func (x *GetBootConfigResponse) GetBootConfig() *bootz.BootConfig

func (*GetBootConfigResponse) ProtoMessage

func (*GetBootConfigResponse) ProtoMessage()

func (*GetBootConfigResponse) ProtoReflect

func (x *GetBootConfigResponse) ProtoReflect() protoreflect.Message

func (*GetBootConfigResponse) Reset

func (x *GetBootConfigResponse) Reset()

func (*GetBootConfigResponse) String

func (x *GetBootConfigResponse) String() string

type SetBootConfigRequest

type SetBootConfigRequest struct {
	BootConfig  *bootz.BootConfig    `protobuf:"bytes,1,opt,name=boot_config,json=bootConfig,proto3" json:"boot_config,omitempty"`
	Credentials *bootz.Credentials   `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
	Pathz       *pathz.UploadRequest `protobuf:"bytes,3,opt,name=pathz,proto3" json:"pathz,omitempty"`
	Authz       *authz.UploadRequest `protobuf:"bytes,4,opt,name=authz,proto3" json:"authz,omitempty"`
	// Deprecated: Marked as deprecated in github.com/openconfig/gnoi/bootconfig/bootconfig.proto.
	Certificates *certz.UploadRequest `protobuf:"bytes,5,opt,name=certificates,proto3" json:"certificates,omitempty"`
	Certz        *bootz.CertzProfiles `protobuf:"bytes,6,opt,name=certz,proto3" json:"certz,omitempty"`
	// contains filtered or unexported fields
}

func (*SetBootConfigRequest) Descriptor deprecated

func (*SetBootConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetBootConfigRequest.ProtoReflect.Descriptor instead.

func (*SetBootConfigRequest) GetAuthz added in v0.4.1

func (x *SetBootConfigRequest) GetAuthz() *authz.UploadRequest

func (*SetBootConfigRequest) GetBootConfig

func (x *SetBootConfigRequest) GetBootConfig() *bootz.BootConfig

func (*SetBootConfigRequest) GetCertificates deprecated added in v0.4.1

func (x *SetBootConfigRequest) GetCertificates() *certz.UploadRequest

Deprecated: Marked as deprecated in github.com/openconfig/gnoi/bootconfig/bootconfig.proto.

func (*SetBootConfigRequest) GetCertz added in v0.4.1

func (x *SetBootConfigRequest) GetCertz() *bootz.CertzProfiles

func (*SetBootConfigRequest) GetCredentials added in v0.4.1

func (x *SetBootConfigRequest) GetCredentials() *bootz.Credentials

func (*SetBootConfigRequest) GetPathz added in v0.4.1

func (x *SetBootConfigRequest) GetPathz() *pathz.UploadRequest

func (*SetBootConfigRequest) ProtoMessage

func (*SetBootConfigRequest) ProtoMessage()

func (*SetBootConfigRequest) ProtoReflect

func (x *SetBootConfigRequest) ProtoReflect() protoreflect.Message

func (*SetBootConfigRequest) Reset

func (x *SetBootConfigRequest) Reset()

func (*SetBootConfigRequest) String

func (x *SetBootConfigRequest) String() string

type SetBootConfigResponse

type SetBootConfigResponse struct {
	// contains filtered or unexported fields
}

func (*SetBootConfigResponse) Descriptor deprecated

func (*SetBootConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetBootConfigResponse.ProtoReflect.Descriptor instead.

func (*SetBootConfigResponse) ProtoMessage

func (*SetBootConfigResponse) ProtoMessage()

func (*SetBootConfigResponse) ProtoReflect

func (x *SetBootConfigResponse) ProtoReflect() protoreflect.Message

func (*SetBootConfigResponse) Reset

func (x *SetBootConfigResponse) Reset()

func (*SetBootConfigResponse) String

func (x *SetBootConfigResponse) String() string

type UnimplementedBootConfigServer

type UnimplementedBootConfigServer struct{}

UnimplementedBootConfigServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBootConfigServer) GetBootConfig

func (UnimplementedBootConfigServer) SetBootConfig

type UnsafeBootConfigServer added in v0.4.1

type UnsafeBootConfigServer interface {
	// contains filtered or unexported methods
}

UnsafeBootConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BootConfigServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL