nodes

package
v0.0.0-...-5a7b0e6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package nodes is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var (
	Query_OrderType_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	Query_OrderType_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for Query_OrderType.

View Source
var (
	LastContactData_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "PASSED",
		2: "FAILED",
		3: "SKIPPED",
	}
	LastContactData_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"PASSED":  1,
		"FAILED":  2,
		"SKIPPED": 3,
	}
)

Enum value maps for LastContactData_Status.

View Source
var File_interservice_nodemanager_nodes_nodes_proto protoreflect.FileDescriptor

Functions

func RegisterNodesServiceServer

func RegisterNodesServiceServer(s *grpc.Server, srv NodesServiceServer)

Types

type BulkDeleteResponse

type BulkDeleteResponse struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty" toml:"names,omitempty" mapstructure:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*BulkDeleteResponse) Descriptor deprecated

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

Deprecated: Use BulkDeleteResponse.ProtoReflect.Descriptor instead.

func (*BulkDeleteResponse) GetNames

func (x *BulkDeleteResponse) GetNames() []string

func (*BulkDeleteResponse) ProtoMessage

func (*BulkDeleteResponse) ProtoMessage()

func (*BulkDeleteResponse) ProtoReflect

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

func (*BulkDeleteResponse) Reset

func (x *BulkDeleteResponse) Reset()

func (*BulkDeleteResponse) String

func (x *BulkDeleteResponse) String() string

type CloudInfo

type CloudInfo struct {
	SourceId        string `` /* 147-byte string literal not displayed */
	SourceRegion    string `` /* 167-byte string literal not displayed */
	SourceAccountId string `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CloudInfo) Descriptor deprecated

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

Deprecated: Use CloudInfo.ProtoReflect.Descriptor instead.

func (*CloudInfo) GetSourceAccountId

func (x *CloudInfo) GetSourceAccountId() string

func (*CloudInfo) GetSourceId

func (x *CloudInfo) GetSourceId() string

func (*CloudInfo) GetSourceRegion

func (x *CloudInfo) GetSourceRegion() string

func (*CloudInfo) ProtoMessage

func (*CloudInfo) ProtoMessage()

func (*CloudInfo) ProtoReflect

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

func (*CloudInfo) Reset

func (x *CloudInfo) Reset()

func (*CloudInfo) String

func (x *CloudInfo) String() string

type Id

type Id struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Id) Descriptor deprecated

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

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

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

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

type Ids

type Ids struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Ids) Descriptor deprecated

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

Deprecated: Use Ids.ProtoReflect.Descriptor instead.

func (*Ids) GetIds

func (x *Ids) GetIds() []string

func (*Ids) ProtoMessage

func (*Ids) ProtoMessage()

func (*Ids) ProtoReflect

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

func (*Ids) Reset

func (x *Ids) Reset()

func (*Ids) String

func (x *Ids) String() string

type LastContactData

type LastContactData struct {
	Id                string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // run id or report id
	Status            LastContactData_Status ``                                                                                                          /* 189-byte string literal not displayed */
	PenultimateStatus LastContactData_Status ``                                                                                                          /* 260-byte string literal not displayed */
	EndTime           *timestamppb.Timestamp ``                                                                                                          /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LastContactData) Descriptor deprecated

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

Deprecated: Use LastContactData.ProtoReflect.Descriptor instead.

func (*LastContactData) GetEndTime

func (x *LastContactData) GetEndTime() *timestamppb.Timestamp

func (*LastContactData) GetId

func (x *LastContactData) GetId() string

func (*LastContactData) GetPenultimateStatus

func (x *LastContactData) GetPenultimateStatus() LastContactData_Status

func (*LastContactData) GetStatus

func (x *LastContactData) GetStatus() LastContactData_Status

func (*LastContactData) ProtoMessage

func (*LastContactData) ProtoMessage()

func (*LastContactData) ProtoReflect

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

func (*LastContactData) Reset

func (x *LastContactData) Reset()

func (*LastContactData) String

func (x *LastContactData) String() string

type LastContactData_Status

type LastContactData_Status int32
const (
	LastContactData_UNKNOWN LastContactData_Status = 0
	LastContactData_PASSED  LastContactData_Status = 1
	LastContactData_FAILED  LastContactData_Status = 2
	LastContactData_SKIPPED LastContactData_Status = 3
)

func (LastContactData_Status) Descriptor

func (LastContactData_Status) Enum

func (LastContactData_Status) EnumDescriptor deprecated

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

Deprecated: Use LastContactData_Status.Descriptor instead.

func (LastContactData_Status) Number

func (LastContactData_Status) String

func (x LastContactData_Status) String() string

func (LastContactData_Status) Type

type MockNodesServiceClient

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

MockNodesServiceClient is a mock of NodesServiceClient interface.

func NewMockNodesServiceClient

func NewMockNodesServiceClient(ctrl *gomock.Controller) *MockNodesServiceClient

NewMockNodesServiceClient creates a new mock instance.

func (*MockNodesServiceClient) BulkCreate

func (m *MockNodesServiceClient) BulkCreate(ctx context.Context, in *Nodes, opts ...grpc.CallOption) (*Ids, error)

BulkCreate mocks base method.

func (*MockNodesServiceClient) BulkDelete

func (m *MockNodesServiceClient) BulkDelete(ctx context.Context, in *Query, opts ...grpc.CallOption) (*BulkDeleteResponse, error)

BulkDelete mocks base method.

func (*MockNodesServiceClient) BulkDeleteById

func (m *MockNodesServiceClient) BulkDeleteById(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*BulkDeleteResponse, error)

BulkDeleteById mocks base method.

func (*MockNodesServiceClient) Create

func (m *MockNodesServiceClient) Create(ctx context.Context, in *Node, opts ...grpc.CallOption) (*Id, error)

Create mocks base method.

func (*MockNodesServiceClient) Delete

func (m *MockNodesServiceClient) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)

Delete mocks base method.

func (*MockNodesServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNodesServiceClient) List

func (m *MockNodesServiceClient) List(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Nodes, error)

List mocks base method.

func (*MockNodesServiceClient) Read

func (m *MockNodesServiceClient) Read(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Node, error)

Read mocks base method.

func (*MockNodesServiceClient) Update

func (m *MockNodesServiceClient) Update(ctx context.Context, in *Node, opts ...grpc.CallOption) (*emptypb.Empty, error)

Update mocks base method.

func (*MockNodesServiceClient) UpdateNodeConnectionError

func (m *MockNodesServiceClient) UpdateNodeConnectionError(ctx context.Context, in *NodeError, opts ...grpc.CallOption) (*emptypb.Empty, error)

UpdateNodeConnectionError mocks base method.

func (*MockNodesServiceClient) UpdateNodeDetectInfo

func (m *MockNodesServiceClient) UpdateNodeDetectInfo(ctx context.Context, in *NodeDetectJobInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)

UpdateNodeDetectInfo mocks base method.

type MockNodesServiceClientMockRecorder

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

MockNodesServiceClientMockRecorder is the mock recorder for MockNodesServiceClient.

func (*MockNodesServiceClientMockRecorder) BulkCreate

func (mr *MockNodesServiceClientMockRecorder) BulkCreate(ctx, in interface{}, opts ...interface{}) *gomock.Call

BulkCreate indicates an expected call of BulkCreate.

func (*MockNodesServiceClientMockRecorder) BulkDelete

func (mr *MockNodesServiceClientMockRecorder) BulkDelete(ctx, in interface{}, opts ...interface{}) *gomock.Call

BulkDelete indicates an expected call of BulkDelete.

func (*MockNodesServiceClientMockRecorder) BulkDeleteById

func (mr *MockNodesServiceClientMockRecorder) BulkDeleteById(ctx, in interface{}, opts ...interface{}) *gomock.Call

BulkDeleteById indicates an expected call of BulkDeleteById.

func (*MockNodesServiceClientMockRecorder) Create

func (mr *MockNodesServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNodesServiceClientMockRecorder) Delete

func (mr *MockNodesServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNodesServiceClientMockRecorder) List

func (mr *MockNodesServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNodesServiceClientMockRecorder) Read

func (mr *MockNodesServiceClientMockRecorder) Read(ctx, in interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockNodesServiceClientMockRecorder) Update

func (mr *MockNodesServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNodesServiceClientMockRecorder) UpdateNodeConnectionError

func (mr *MockNodesServiceClientMockRecorder) UpdateNodeConnectionError(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateNodeConnectionError indicates an expected call of UpdateNodeConnectionError.

func (*MockNodesServiceClientMockRecorder) UpdateNodeDetectInfo

func (mr *MockNodesServiceClientMockRecorder) UpdateNodeDetectInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateNodeDetectInfo indicates an expected call of UpdateNodeDetectInfo.

type MockNodesServiceServer

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

MockNodesServiceServer is a mock of NodesServiceServer interface.

func NewMockNodesServiceServer

func NewMockNodesServiceServer(ctrl *gomock.Controller) *MockNodesServiceServer

NewMockNodesServiceServer creates a new mock instance.

func (*MockNodesServiceServer) BulkCreate

func (m *MockNodesServiceServer) BulkCreate(arg0 context.Context, arg1 *Nodes) (*Ids, error)

BulkCreate mocks base method.

func (*MockNodesServiceServer) BulkDelete

func (m *MockNodesServiceServer) BulkDelete(arg0 context.Context, arg1 *Query) (*BulkDeleteResponse, error)

BulkDelete mocks base method.

func (*MockNodesServiceServer) BulkDeleteById

func (m *MockNodesServiceServer) BulkDeleteById(arg0 context.Context, arg1 *Ids) (*BulkDeleteResponse, error)

BulkDeleteById mocks base method.

func (*MockNodesServiceServer) Create

func (m *MockNodesServiceServer) Create(arg0 context.Context, arg1 *Node) (*Id, error)

Create mocks base method.

func (*MockNodesServiceServer) Delete

func (m *MockNodesServiceServer) Delete(arg0 context.Context, arg1 *Id) (*emptypb.Empty, error)

Delete mocks base method.

func (*MockNodesServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNodesServiceServer) List

func (m *MockNodesServiceServer) List(arg0 context.Context, arg1 *Query) (*Nodes, error)

List mocks base method.

func (*MockNodesServiceServer) Read

func (m *MockNodesServiceServer) Read(arg0 context.Context, arg1 *Id) (*Node, error)

Read mocks base method.

func (*MockNodesServiceServer) Update

func (m *MockNodesServiceServer) Update(arg0 context.Context, arg1 *Node) (*emptypb.Empty, error)

Update mocks base method.

func (*MockNodesServiceServer) UpdateNodeConnectionError

func (m *MockNodesServiceServer) UpdateNodeConnectionError(arg0 context.Context, arg1 *NodeError) (*emptypb.Empty, error)

UpdateNodeConnectionError mocks base method.

func (*MockNodesServiceServer) UpdateNodeDetectInfo

func (m *MockNodesServiceServer) UpdateNodeDetectInfo(arg0 context.Context, arg1 *NodeDetectJobInfo) (*emptypb.Empty, error)

UpdateNodeDetectInfo mocks base method.

type MockNodesServiceServerMockRecorder

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

MockNodesServiceServerMockRecorder is the mock recorder for MockNodesServiceServer.

func (*MockNodesServiceServerMockRecorder) BulkCreate

func (mr *MockNodesServiceServerMockRecorder) BulkCreate(arg0, arg1 interface{}) *gomock.Call

BulkCreate indicates an expected call of BulkCreate.

func (*MockNodesServiceServerMockRecorder) BulkDelete

func (mr *MockNodesServiceServerMockRecorder) BulkDelete(arg0, arg1 interface{}) *gomock.Call

BulkDelete indicates an expected call of BulkDelete.

func (*MockNodesServiceServerMockRecorder) BulkDeleteById

func (mr *MockNodesServiceServerMockRecorder) BulkDeleteById(arg0, arg1 interface{}) *gomock.Call

BulkDeleteById indicates an expected call of BulkDeleteById.

func (*MockNodesServiceServerMockRecorder) Create

func (mr *MockNodesServiceServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNodesServiceServerMockRecorder) Delete

func (mr *MockNodesServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNodesServiceServerMockRecorder) List

func (mr *MockNodesServiceServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNodesServiceServerMockRecorder) Read

func (mr *MockNodesServiceServerMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockNodesServiceServerMockRecorder) Update

func (mr *MockNodesServiceServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNodesServiceServerMockRecorder) UpdateNodeConnectionError

func (mr *MockNodesServiceServerMockRecorder) UpdateNodeConnectionError(arg0, arg1 interface{}) *gomock.Call

UpdateNodeConnectionError indicates an expected call of UpdateNodeConnectionError.

func (*MockNodesServiceServerMockRecorder) UpdateNodeDetectInfo

func (mr *MockNodesServiceServerMockRecorder) UpdateNodeDetectInfo(arg0, arg1 interface{}) *gomock.Call

UpdateNodeDetectInfo indicates an expected call of UpdateNodeDetectInfo.

type Node

type Node struct {
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Name            string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Platform        string                 `` /* 129-byte string literal not displayed */
	PlatformVersion string                 `` /* 182-byte string literal not displayed */
	Manager         string                 `protobuf:"bytes,5,opt,name=manager,proto3" json:"manager,omitempty" toml:"manager,omitempty" mapstructure:"manager,omitempty"`
	Tags            []*common.Kv           `protobuf:"bytes,20,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"`
	LastContact     *timestamppb.Timestamp `` /* 163-byte string literal not displayed */
	Status          string                 `protobuf:"bytes,22,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"`
	LastJob         *ResultsRow            `` /* 143-byte string literal not displayed */
	TargetConfig    *TargetConfig          `` /* 168-byte string literal not displayed */
	ManagerIds      []string               `` /* 158-byte string literal not displayed */
	ConnectionError string                 `` /* 183-byte string literal not displayed */
	State           string                 `protobuf:"bytes,26,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"`
	NamePrefix      string                 `` /* 158-byte string literal not displayed */
	Projects        []string               `` /* 130-byte string literal not displayed */
	RunData         *LastContactData       `` /* 143-byte string literal not displayed */
	ScanData        *LastContactData       `` /* 148-byte string literal not displayed */
	ProjectsData    []*ProjectsData        `` /* 168-byte string literal not displayed */
	CloudInfo       *CloudInfo             `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetCloudInfo

func (x *Node) GetCloudInfo() *CloudInfo

func (*Node) GetConnectionError

func (x *Node) GetConnectionError() string

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetLastContact

func (x *Node) GetLastContact() *timestamppb.Timestamp

func (*Node) GetLastJob

func (x *Node) GetLastJob() *ResultsRow

func (*Node) GetManager

func (x *Node) GetManager() string

func (*Node) GetManagerIds

func (x *Node) GetManagerIds() []string

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetNamePrefix

func (x *Node) GetNamePrefix() string

func (*Node) GetPlatform

func (x *Node) GetPlatform() string

func (*Node) GetPlatformVersion

func (x *Node) GetPlatformVersion() string

func (*Node) GetProjects

func (x *Node) GetProjects() []string

func (*Node) GetProjectsData

func (x *Node) GetProjectsData() []*ProjectsData

func (*Node) GetRunData

func (x *Node) GetRunData() *LastContactData

func (*Node) GetScanData

func (x *Node) GetScanData() *LastContactData

func (*Node) GetState

func (x *Node) GetState() string

func (*Node) GetStatus

func (x *Node) GetStatus() string

func (*Node) GetTags

func (x *Node) GetTags() []*common.Kv

func (*Node) GetTargetConfig

func (x *Node) GetTargetConfig() *TargetConfig

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeDetectJobInfo

type NodeDetectJobInfo struct {
	NodeId          string                 `` /* 137-byte string literal not displayed */
	PlatformName    string                 `` /* 167-byte string literal not displayed */
	PlatformRelease string                 `` /* 182-byte string literal not displayed */
	NodeStatus      string                 `` /* 157-byte string literal not displayed */
	JobEndTime      *timestamppb.Timestamp `` /* 161-byte string literal not displayed */
	JobId           string                 `` /* 132-byte string literal not displayed */
	NodeState       string                 `` /* 152-byte string literal not displayed */
	JobType         string                 `` /* 142-byte string literal not displayed */
	NodeName        string                 `` /* 147-byte string literal not displayed */
	ManagerId       string                 `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeDetectJobInfo) Descriptor deprecated

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

Deprecated: Use NodeDetectJobInfo.ProtoReflect.Descriptor instead.

func (*NodeDetectJobInfo) GetJobEndTime

func (x *NodeDetectJobInfo) GetJobEndTime() *timestamppb.Timestamp

func (*NodeDetectJobInfo) GetJobId

func (x *NodeDetectJobInfo) GetJobId() string

func (*NodeDetectJobInfo) GetJobType

func (x *NodeDetectJobInfo) GetJobType() string

func (*NodeDetectJobInfo) GetManagerId

func (x *NodeDetectJobInfo) GetManagerId() string

func (*NodeDetectJobInfo) GetNodeId

func (x *NodeDetectJobInfo) GetNodeId() string

func (*NodeDetectJobInfo) GetNodeName

func (x *NodeDetectJobInfo) GetNodeName() string

func (*NodeDetectJobInfo) GetNodeState

func (x *NodeDetectJobInfo) GetNodeState() string

func (*NodeDetectJobInfo) GetNodeStatus

func (x *NodeDetectJobInfo) GetNodeStatus() string

func (*NodeDetectJobInfo) GetPlatformName

func (x *NodeDetectJobInfo) GetPlatformName() string

func (*NodeDetectJobInfo) GetPlatformRelease

func (x *NodeDetectJobInfo) GetPlatformRelease() string

func (*NodeDetectJobInfo) ProtoMessage

func (*NodeDetectJobInfo) ProtoMessage()

func (*NodeDetectJobInfo) ProtoReflect

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

func (*NodeDetectJobInfo) Reset

func (x *NodeDetectJobInfo) Reset()

func (*NodeDetectJobInfo) String

func (x *NodeDetectJobInfo) String() string

type NodeError

type NodeError struct {
	NodeId          string `` /* 137-byte string literal not displayed */
	ConnectionError string `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeError) Descriptor deprecated

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

Deprecated: Use NodeError.ProtoReflect.Descriptor instead.

func (*NodeError) GetConnectionError

func (x *NodeError) GetConnectionError() string

func (*NodeError) GetNodeId

func (x *NodeError) GetNodeId() string

func (*NodeError) ProtoMessage

func (*NodeError) ProtoMessage()

func (*NodeError) ProtoReflect

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

func (*NodeError) Reset

func (x *NodeError) Reset()

func (*NodeError) String

func (x *NodeError) String() string

type NodeSecrets

type NodeSecrets struct {
	User              string   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	Password          string   `` /* 129-byte string literal not displayed */
	KeyFiles          []string `` /* 147-byte string literal not displayed */
	SudoPassword      string   `` /* 167-byte string literal not displayed */
	SudoOptions       string   `` /* 162-byte string literal not displayed */
	AwsUser           string   `` /* 142-byte string literal not displayed */
	AwsPassword       string   `` /* 162-byte string literal not displayed */
	AzureClientId     string   `` /* 176-byte string literal not displayed */
	AzureClientSecret string   `` /* 196-byte string literal not displayed */
	AzureTenantId     string   `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

TODO: there is clearly some repetition between these two msg types that needs to be addressed; it will involve some refactoring that i'm afraid will bloat the current change i am working on, so leaving that for another day

func (*NodeSecrets) Descriptor deprecated

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

Deprecated: Use NodeSecrets.ProtoReflect.Descriptor instead.

func (*NodeSecrets) GetAwsPassword

func (x *NodeSecrets) GetAwsPassword() string

func (*NodeSecrets) GetAwsUser

func (x *NodeSecrets) GetAwsUser() string

func (*NodeSecrets) GetAzureClientId

func (x *NodeSecrets) GetAzureClientId() string

func (*NodeSecrets) GetAzureClientSecret

func (x *NodeSecrets) GetAzureClientSecret() string

func (*NodeSecrets) GetAzureTenantId

func (x *NodeSecrets) GetAzureTenantId() string

func (*NodeSecrets) GetKeyFiles

func (x *NodeSecrets) GetKeyFiles() []string

func (*NodeSecrets) GetPassword

func (x *NodeSecrets) GetPassword() string

func (*NodeSecrets) GetSudoOptions

func (x *NodeSecrets) GetSudoOptions() string

func (*NodeSecrets) GetSudoPassword

func (x *NodeSecrets) GetSudoPassword() string

func (*NodeSecrets) GetUser

func (x *NodeSecrets) GetUser() string

func (*NodeSecrets) ProtoMessage

func (*NodeSecrets) ProtoMessage()

func (*NodeSecrets) ProtoReflect

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

func (*NodeSecrets) Reset

func (x *NodeSecrets) Reset()

func (*NodeSecrets) String

func (x *NodeSecrets) String() string

type Nodes

type Nodes struct {
	Nodes            []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"`
	Total            int32   `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"`
	TotalUnreachable int32   `` /* 189-byte string literal not displayed */
	TotalReachable   int32   `` /* 179-byte string literal not displayed */
	TotalUnknown     int32   `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Nodes) Descriptor deprecated

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

Deprecated: Use Nodes.ProtoReflect.Descriptor instead.

func (*Nodes) GetNodes

func (x *Nodes) GetNodes() []*Node

func (*Nodes) GetTotal

func (x *Nodes) GetTotal() int32

func (*Nodes) GetTotalReachable

func (x *Nodes) GetTotalReachable() int32

func (*Nodes) GetTotalUnknown

func (x *Nodes) GetTotalUnknown() int32

func (*Nodes) GetTotalUnreachable

func (x *Nodes) GetTotalUnreachable() int32

func (*Nodes) ProtoMessage

func (*Nodes) ProtoMessage()

func (*Nodes) ProtoReflect

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

func (*Nodes) Reset

func (x *Nodes) Reset()

func (*Nodes) String

func (x *Nodes) String() string

type NodesServiceClient

type NodesServiceClient interface {
	Create(ctx context.Context, in *Node, opts ...grpc.CallOption) (*Id, error)
	Read(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Node, error)
	Update(ctx context.Context, in *Node, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	List(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Nodes, error)
	BulkDelete(ctx context.Context, in *Query, opts ...grpc.CallOption) (*BulkDeleteResponse, error)
	BulkCreate(ctx context.Context, in *Nodes, opts ...grpc.CallOption) (*Ids, error)
	UpdateNodeDetectInfo(ctx context.Context, in *NodeDetectJobInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateNodeConnectionError(ctx context.Context, in *NodeError, opts ...grpc.CallOption) (*emptypb.Empty, error)
	BulkDeleteById(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*BulkDeleteResponse, error)
}

NodesServiceClient is the client API for NodesService service.

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

type NodesServiceServer

type NodesServiceServer interface {
	Create(context.Context, *Node) (*Id, error)
	Read(context.Context, *Id) (*Node, error)
	Update(context.Context, *Node) (*emptypb.Empty, error)
	Delete(context.Context, *Id) (*emptypb.Empty, error)
	List(context.Context, *Query) (*Nodes, error)
	BulkDelete(context.Context, *Query) (*BulkDeleteResponse, error)
	BulkCreate(context.Context, *Nodes) (*Ids, error)
	UpdateNodeDetectInfo(context.Context, *NodeDetectJobInfo) (*emptypb.Empty, error)
	UpdateNodeConnectionError(context.Context, *NodeError) (*emptypb.Empty, error)
	BulkDeleteById(context.Context, *Ids) (*BulkDeleteResponse, error)
}

NodesServiceServer is the server API for NodesService service.

type ProjectsData

type ProjectsData struct {
	Key    string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"`
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectsData) Descriptor deprecated

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

Deprecated: Use ProjectsData.ProtoReflect.Descriptor instead.

func (*ProjectsData) GetKey

func (x *ProjectsData) GetKey() string

func (*ProjectsData) GetValues

func (x *ProjectsData) GetValues() []string

func (*ProjectsData) ProtoMessage

func (*ProjectsData) ProtoMessage()

func (*ProjectsData) ProtoReflect

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

func (*ProjectsData) Reset

func (x *ProjectsData) Reset()

func (*ProjectsData) String

func (x *ProjectsData) String() string

type Query

type Query struct {
	Filters []*common.Filter `` /* 126-byte string literal not displayed */
	Order   Query_OrderType  `` /* 179-byte string literal not displayed */
	Sort    string           `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"`
	Page    int32            `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"`
	PerPage int32            `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Query) Descriptor deprecated

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetFilters

func (x *Query) GetFilters() []*common.Filter

func (*Query) GetOrder

func (x *Query) GetOrder() Query_OrderType

func (*Query) GetPage

func (x *Query) GetPage() int32

func (*Query) GetPerPage

func (x *Query) GetPerPage() int32

func (*Query) GetSort

func (x *Query) GetSort() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type Query_OrderType

type Query_OrderType int32
const (
	Query_ASC  Query_OrderType = 0
	Query_DESC Query_OrderType = 1
)

func (Query_OrderType) Descriptor

func (Query_OrderType) Enum

func (x Query_OrderType) Enum() *Query_OrderType

func (Query_OrderType) EnumDescriptor deprecated

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

Deprecated: Use Query_OrderType.Descriptor instead.

func (Query_OrderType) Number

func (Query_OrderType) String

func (x Query_OrderType) String() string

func (Query_OrderType) Type

type RerunResponse

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

func (*RerunResponse) Descriptor deprecated

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

Deprecated: Use RerunResponse.ProtoReflect.Descriptor instead.

func (*RerunResponse) ProtoMessage

func (*RerunResponse) ProtoMessage()

func (*RerunResponse) ProtoReflect

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

func (*RerunResponse) Reset

func (x *RerunResponse) Reset()

func (*RerunResponse) String

func (x *RerunResponse) String() string

type ResultsRow

type ResultsRow struct {
	NodeId    string                 `` /* 137-byte string literal not displayed */
	ReportId  string                 `` /* 147-byte string literal not displayed */
	Status    string                 `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"`
	Result    string                 `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"`
	JobId     string                 `` /* 132-byte string literal not displayed */
	StartTime *timestamppb.Timestamp `` /* 153-byte string literal not displayed */
	EndTime   *timestamppb.Timestamp `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResultsRow) Descriptor deprecated

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

Deprecated: Use ResultsRow.ProtoReflect.Descriptor instead.

func (*ResultsRow) GetEndTime

func (x *ResultsRow) GetEndTime() *timestamppb.Timestamp

func (*ResultsRow) GetJobId

func (x *ResultsRow) GetJobId() string

func (*ResultsRow) GetNodeId

func (x *ResultsRow) GetNodeId() string

func (*ResultsRow) GetReportId

func (x *ResultsRow) GetReportId() string

func (*ResultsRow) GetResult

func (x *ResultsRow) GetResult() string

func (*ResultsRow) GetStartTime

func (x *ResultsRow) GetStartTime() *timestamppb.Timestamp

func (*ResultsRow) GetStatus

func (x *ResultsRow) GetStatus() string

func (*ResultsRow) ProtoMessage

func (*ResultsRow) ProtoMessage()

func (*ResultsRow) ProtoReflect

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

func (*ResultsRow) Reset

func (x *ResultsRow) Reset()

func (*ResultsRow) String

func (x *ResultsRow) String() string

type TargetConfig

type TargetConfig struct {
	Secrets        []string       `` /* 126-byte string literal not displayed */
	Format         string         `protobuf:"bytes,21,opt,name=format,proto3" json:"format,omitempty" toml:"format,omitempty" mapstructure:"format,omitempty"`
	Backend        string         `` /* 126-byte string literal not displayed */
	Host           string         `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"`
	Port           int32          `protobuf:"varint,24,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"`
	Path           string         `protobuf:"bytes,25,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"`
	Sudo           bool           `protobuf:"varint,26,opt,name=sudo,proto3" json:"sudo,omitempty" toml:"sudo,omitempty" mapstructure:"sudo,omitempty"`
	Ssl            bool           `protobuf:"varint,27,opt,name=ssl,proto3" json:"ssl,omitempty" toml:"ssl,omitempty" mapstructure:"ssl,omitempty"`
	SelfSigned     bool           `` /* 159-byte string literal not displayed */
	User           string         `protobuf:"bytes,29,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	Password       string         `` /* 130-byte string literal not displayed */
	KeyFiles       []string       `` /* 148-byte string literal not displayed */
	SudoPassword   string         `` /* 168-byte string literal not displayed */
	SudoOptions    string         `` /* 163-byte string literal not displayed */
	Region         string         `protobuf:"bytes,34,opt,name=region,proto3" json:"region,omitempty" toml:"region,omitempty" mapstructure:"region,omitempty"`
	SubscriptionId string         `` /* 178-byte string literal not displayed */
	AwsUser        string         `` /* 143-byte string literal not displayed */
	AwsPassword    string         `` /* 163-byte string literal not displayed */
	SecretsArr     []*NodeSecrets `` /* 158-byte string literal not displayed */
	GcpCredsJson   string         `` /* 172-byte string literal not displayed */
	Hosts          []string       `protobuf:"bytes,40,rep,name=hosts,proto3" json:"hosts,omitempty" toml:"hosts,omitempty" mapstructure:"hosts,omitempty"`
	// contains filtered or unexported fields
}

func (*TargetConfig) Descriptor deprecated

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

Deprecated: Use TargetConfig.ProtoReflect.Descriptor instead.

func (*TargetConfig) GetAwsPassword

func (x *TargetConfig) GetAwsPassword() string

func (*TargetConfig) GetAwsUser

func (x *TargetConfig) GetAwsUser() string

func (*TargetConfig) GetBackend

func (x *TargetConfig) GetBackend() string

func (*TargetConfig) GetFormat

func (x *TargetConfig) GetFormat() string

func (*TargetConfig) GetGcpCredsJson

func (x *TargetConfig) GetGcpCredsJson() string

func (*TargetConfig) GetHost

func (x *TargetConfig) GetHost() string

func (*TargetConfig) GetHosts

func (x *TargetConfig) GetHosts() []string

func (*TargetConfig) GetKeyFiles

func (x *TargetConfig) GetKeyFiles() []string

func (*TargetConfig) GetPassword

func (x *TargetConfig) GetPassword() string

func (*TargetConfig) GetPath

func (x *TargetConfig) GetPath() string

func (*TargetConfig) GetPort

func (x *TargetConfig) GetPort() int32

func (*TargetConfig) GetRegion

func (x *TargetConfig) GetRegion() string

func (*TargetConfig) GetSecrets

func (x *TargetConfig) GetSecrets() []string

func (*TargetConfig) GetSecretsArr

func (x *TargetConfig) GetSecretsArr() []*NodeSecrets

func (*TargetConfig) GetSelfSigned

func (x *TargetConfig) GetSelfSigned() bool

func (*TargetConfig) GetSsl

func (x *TargetConfig) GetSsl() bool

func (*TargetConfig) GetSubscriptionId

func (x *TargetConfig) GetSubscriptionId() string

func (*TargetConfig) GetSudo

func (x *TargetConfig) GetSudo() bool

func (*TargetConfig) GetSudoOptions

func (x *TargetConfig) GetSudoOptions() string

func (*TargetConfig) GetSudoPassword

func (x *TargetConfig) GetSudoPassword() string

func (*TargetConfig) GetUser

func (x *TargetConfig) GetUser() string

func (*TargetConfig) ProtoMessage

func (*TargetConfig) ProtoMessage()

func (*TargetConfig) ProtoReflect

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

func (*TargetConfig) Reset

func (x *TargetConfig) Reset()

func (*TargetConfig) String

func (x *TargetConfig) String() string

type UnimplementedNodesServiceServer

type UnimplementedNodesServiceServer struct {
}

UnimplementedNodesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNodesServiceServer) BulkCreate

func (*UnimplementedNodesServiceServer) BulkDelete

func (*UnimplementedNodesServiceServer) BulkDeleteById

func (*UnimplementedNodesServiceServer) Create

func (*UnimplementedNodesServiceServer) Delete

func (*UnimplementedNodesServiceServer) List

func (*UnimplementedNodesServiceServer) Read

func (*UnimplementedNodesServiceServer) Update

func (*UnimplementedNodesServiceServer) UpdateNodeConnectionError

func (*UnimplementedNodesServiceServer) UpdateNodeConnectionError(context.Context, *NodeError) (*emptypb.Empty, error)

func (*UnimplementedNodesServiceServer) UpdateNodeDetectInfo

Jump to

Keyboard shortcuts

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