admin

package
v0.10.7-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CertificateStatus_name = map[int32]string{
	0: "Single",
	1: "Overlap",
}
View Source
var CertificateStatus_value = map[string]int32{
	"Single":  0,
	"Overlap": 1,
}

Functions

func RegisterCredentialMonitorAgentServer

func RegisterCredentialMonitorAgentServer(s *grpc.Server, srv CredentialMonitorAgentServer)

Types

type CertificateStatus

type CertificateStatus int32
const (
	CertificateStatus_Single  CertificateStatus = 0
	CertificateStatus_Overlap CertificateStatus = 1
)

func (CertificateStatus) EnumDescriptor

func (CertificateStatus) EnumDescriptor() ([]byte, []int)

func (CertificateStatus) String

func (x CertificateStatus) String() string

type CredentialMonitor

type CredentialMonitor struct {
	Certificate          []byte            `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // Deprecated: Do not use.
	Status               CertificateStatus `protobuf:"varint,2,opt,name=status,proto3,enum=moc.nodeagent.admin.CertificateStatus" json:"status,omitempty"`
	NewCertificate       string            `protobuf:"bytes,3,opt,name=newCertificate,proto3" json:"newCertificate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*CredentialMonitor) Descriptor

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

func (*CredentialMonitor) GetCertificate deprecated

func (m *CredentialMonitor) GetCertificate() []byte

Deprecated: Do not use.

func (*CredentialMonitor) GetNewCertificate added in v0.10.6

func (m *CredentialMonitor) GetNewCertificate() string

func (*CredentialMonitor) GetStatus

func (m *CredentialMonitor) GetStatus() CertificateStatus

func (*CredentialMonitor) ProtoMessage

func (*CredentialMonitor) ProtoMessage()

func (*CredentialMonitor) Reset

func (m *CredentialMonitor) Reset()

func (*CredentialMonitor) String

func (m *CredentialMonitor) String() string

func (*CredentialMonitor) XXX_DiscardUnknown

func (m *CredentialMonitor) XXX_DiscardUnknown()

func (*CredentialMonitor) XXX_Marshal

func (m *CredentialMonitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialMonitor) XXX_Merge

func (m *CredentialMonitor) XXX_Merge(src proto.Message)

func (*CredentialMonitor) XXX_Size

func (m *CredentialMonitor) XXX_Size() int

func (*CredentialMonitor) XXX_Unmarshal

func (m *CredentialMonitor) XXX_Unmarshal(b []byte) error

type CredentialMonitorAgentClient

type CredentialMonitorAgentClient interface {
	Get(ctx context.Context, in *CredentialMonitorRequest, opts ...grpc.CallOption) (*CredentialMonitorResponse, error)
}

CredentialMonitorAgentClient is the client API for CredentialMonitorAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCredentialMonitorAgentClient

func NewCredentialMonitorAgentClient(cc *grpc.ClientConn) CredentialMonitorAgentClient

type CredentialMonitorAgentServer

type CredentialMonitorAgentServer interface {
	Get(context.Context, *CredentialMonitorRequest) (*CredentialMonitorResponse, error)
}

CredentialMonitorAgentServer is the server API for CredentialMonitorAgent service.

type CredentialMonitorRequest

type CredentialMonitorRequest struct {
	CredentialMonitor    *CredentialMonitor `protobuf:"bytes,1,opt,name=CredentialMonitor,proto3" json:"CredentialMonitor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*CredentialMonitorRequest) Descriptor

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

func (*CredentialMonitorRequest) GetCredentialMonitor

func (m *CredentialMonitorRequest) GetCredentialMonitor() *CredentialMonitor

func (*CredentialMonitorRequest) ProtoMessage

func (*CredentialMonitorRequest) ProtoMessage()

func (*CredentialMonitorRequest) Reset

func (m *CredentialMonitorRequest) Reset()

func (*CredentialMonitorRequest) String

func (m *CredentialMonitorRequest) String() string

func (*CredentialMonitorRequest) XXX_DiscardUnknown

func (m *CredentialMonitorRequest) XXX_DiscardUnknown()

func (*CredentialMonitorRequest) XXX_Marshal

func (m *CredentialMonitorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialMonitorRequest) XXX_Merge

func (m *CredentialMonitorRequest) XXX_Merge(src proto.Message)

func (*CredentialMonitorRequest) XXX_Size

func (m *CredentialMonitorRequest) XXX_Size() int

func (*CredentialMonitorRequest) XXX_Unmarshal

func (m *CredentialMonitorRequest) XXX_Unmarshal(b []byte) error

type CredentialMonitorResponse

type CredentialMonitorResponse struct {
	CredentialMonitor    *CredentialMonitor `protobuf:"bytes,1,opt,name=CredentialMonitor,proto3" json:"CredentialMonitor,omitempty"`
	Error                string             `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*CredentialMonitorResponse) Descriptor

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

func (*CredentialMonitorResponse) GetCredentialMonitor

func (m *CredentialMonitorResponse) GetCredentialMonitor() *CredentialMonitor

func (*CredentialMonitorResponse) GetError

func (m *CredentialMonitorResponse) GetError() string

func (*CredentialMonitorResponse) ProtoMessage

func (*CredentialMonitorResponse) ProtoMessage()

func (*CredentialMonitorResponse) Reset

func (m *CredentialMonitorResponse) Reset()

func (*CredentialMonitorResponse) String

func (m *CredentialMonitorResponse) String() string

func (*CredentialMonitorResponse) XXX_DiscardUnknown

func (m *CredentialMonitorResponse) XXX_DiscardUnknown()

func (*CredentialMonitorResponse) XXX_Marshal

func (m *CredentialMonitorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialMonitorResponse) XXX_Merge

func (m *CredentialMonitorResponse) XXX_Merge(src proto.Message)

func (*CredentialMonitorResponse) XXX_Size

func (m *CredentialMonitorResponse) XXX_Size() int

func (*CredentialMonitorResponse) XXX_Unmarshal

func (m *CredentialMonitorResponse) XXX_Unmarshal(b []byte) error

type UnimplementedCredentialMonitorAgentServer

type UnimplementedCredentialMonitorAgentServer struct {
}

UnimplementedCredentialMonitorAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedCredentialMonitorAgentServer) Get

Jump to

Keyboard shortcuts

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