Documentation ¶
Index ¶
- Variables
- func RegisterKobeApiServer(s *grpc.Server, srv KobeApiServer)
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetName() string
- func (x *CreateProjectRequest) GetSource() string
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type CreateProjectResponse
- func (*CreateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectResponse) GetItem() *Project
- func (*CreateProjectResponse) ProtoMessage()
- func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProjectResponse) Reset()
- func (x *CreateProjectResponse) String() string
- type GetInventoryRequest
- func (*GetInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInventoryRequest) GetId() string
- func (*GetInventoryRequest) ProtoMessage()
- func (x *GetInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetInventoryRequest) Reset()
- func (x *GetInventoryRequest) String() string
- type GetInventoryResponse
- func (*GetInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInventoryResponse) GetItem() *Inventory
- func (*GetInventoryResponse) ProtoMessage()
- func (x *GetInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetInventoryResponse) Reset()
- func (x *GetInventoryResponse) String() string
- type GetResultRequest
- type GetResultResponse
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetChildren() []string
- func (x *Group) GetHosts() []string
- func (x *Group) GetName() string
- func (x *Group) GetVars() map[string]string
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetIp() string
- func (x *Host) GetName() string
- func (x *Host) GetPassword() string
- func (x *Host) GetPort() int32
- func (x *Host) GetPrivateKey() string
- func (x *Host) GetProxyConfig() *ProxyConfig
- func (x *Host) GetUser() string
- func (x *Host) GetVars() map[string]string
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (x *Host) String() string
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory) GetGroups() []*Group
- func (x *Inventory) GetHosts() []*Host
- func (x *Inventory) GetVars() map[string]string
- func (*Inventory) ProtoMessage()
- func (x *Inventory) ProtoReflect() protoreflect.Message
- func (x *Inventory) Reset()
- func (x *Inventory) String() string
- type KobeApiClient
- type KobeApiServer
- type KobeApi_WatchResultClient
- type KobeApi_WatchResultServer
- type ListProjectRequest
- type ListProjectResponse
- func (*ListProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectResponse) GetItems() []*Project
- func (*ListProjectResponse) ProtoMessage()
- func (x *ListProjectResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectResponse) Reset()
- func (x *ListProjectResponse) String() string
- type ListResultRequest
- type ListResultResponse
- func (*ListResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResultResponse) GetItems() []*Result
- func (*ListResultResponse) ProtoMessage()
- func (x *ListResultResponse) ProtoReflect() protoreflect.Message
- func (x *ListResultResponse) Reset()
- func (x *ListResultResponse) String() string
- type Project
- type ProxyConfig
- func (*ProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConfig) GetEnable() bool
- func (x *ProxyConfig) GetIp() string
- func (x *ProxyConfig) GetPassword() string
- func (x *ProxyConfig) GetPort() int32
- func (x *ProxyConfig) GetUser() string
- func (*ProxyConfig) ProtoMessage()
- func (x *ProxyConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConfig) Reset()
- func (x *ProxyConfig) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetContent() string
- func (x *Result) GetEndTime() string
- func (x *Result) GetFinished() bool
- func (x *Result) GetId() string
- func (x *Result) GetMessage() string
- func (x *Result) GetProject() string
- func (x *Result) GetStartTime() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type RunAdhocRequest
- func (*RunAdhocRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunAdhocRequest) GetInventory() *Inventory
- func (x *RunAdhocRequest) GetModule() string
- func (x *RunAdhocRequest) GetParam() string
- func (x *RunAdhocRequest) GetPattern() string
- func (*RunAdhocRequest) ProtoMessage()
- func (x *RunAdhocRequest) ProtoReflect() protoreflect.Message
- func (x *RunAdhocRequest) Reset()
- func (x *RunAdhocRequest) String() string
- type RunAdhocResult
- type RunPlaybookRequest
- func (*RunPlaybookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPlaybookRequest) GetInventory() *Inventory
- func (x *RunPlaybookRequest) GetPlaybook() string
- func (x *RunPlaybookRequest) GetProject() string
- func (x *RunPlaybookRequest) GetTag() string
- func (*RunPlaybookRequest) ProtoMessage()
- func (x *RunPlaybookRequest) ProtoReflect() protoreflect.Message
- func (x *RunPlaybookRequest) Reset()
- func (x *RunPlaybookRequest) String() string
- type RunPlaybookResult
- type UnimplementedKobeApiServer
- func (*UnimplementedKobeApiServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
- func (*UnimplementedKobeApiServer) GetInventory(context.Context, *GetInventoryRequest) (*GetInventoryResponse, error)
- func (*UnimplementedKobeApiServer) GetResult(context.Context, *GetResultRequest) (*GetResultResponse, error)
- func (*UnimplementedKobeApiServer) ListProject(context.Context, *ListProjectRequest) (*ListProjectResponse, error)
- func (*UnimplementedKobeApiServer) ListResult(context.Context, *ListResultRequest) (*ListResultResponse, error)
- func (*UnimplementedKobeApiServer) RunAdhoc(context.Context, *RunAdhocRequest) (*RunAdhocResult, error)
- func (*UnimplementedKobeApiServer) RunPlaybook(context.Context, *RunPlaybookRequest) (*RunPlaybookResult, error)
- func (*UnimplementedKobeApiServer) WatchResult(*WatchRequest, KobeApi_WatchResultServer) error
- type WatchRequest
- type WatchStream
Constants ¶
This section is empty.
Variables ¶
var File_api_kobe_proto protoreflect.FileDescriptor
Functions ¶
func RegisterKobeApiServer ¶
func RegisterKobeApiServer(s *grpc.Server, srv KobeApiServer)
Types ¶
type CreateProjectRequest ¶
type CreateProjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetName ¶
func (x *CreateProjectRequest) GetName() string
func (*CreateProjectRequest) GetSource ¶
func (x *CreateProjectRequest) GetSource() string
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { Item *Project `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectResponse) Descriptor
deprecated
func (*CreateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.
func (*CreateProjectResponse) GetItem ¶
func (x *CreateProjectResponse) GetItem() *Project
func (*CreateProjectResponse) ProtoMessage ¶
func (*CreateProjectResponse) ProtoMessage()
func (*CreateProjectResponse) ProtoReflect ¶
func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
func (*CreateProjectResponse) Reset ¶
func (x *CreateProjectResponse) Reset()
func (*CreateProjectResponse) String ¶
func (x *CreateProjectResponse) String() string
type GetInventoryRequest ¶
type GetInventoryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetInventoryRequest) Descriptor
deprecated
func (*GetInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInventoryRequest.ProtoReflect.Descriptor instead.
func (*GetInventoryRequest) GetId ¶
func (x *GetInventoryRequest) GetId() string
func (*GetInventoryRequest) ProtoMessage ¶
func (*GetInventoryRequest) ProtoMessage()
func (*GetInventoryRequest) ProtoReflect ¶
func (x *GetInventoryRequest) ProtoReflect() protoreflect.Message
func (*GetInventoryRequest) Reset ¶
func (x *GetInventoryRequest) Reset()
func (*GetInventoryRequest) String ¶
func (x *GetInventoryRequest) String() string
type GetInventoryResponse ¶
type GetInventoryResponse struct { Item *Inventory `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*GetInventoryResponse) Descriptor
deprecated
func (*GetInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInventoryResponse.ProtoReflect.Descriptor instead.
func (*GetInventoryResponse) GetItem ¶
func (x *GetInventoryResponse) GetItem() *Inventory
func (*GetInventoryResponse) ProtoMessage ¶
func (*GetInventoryResponse) ProtoMessage()
func (*GetInventoryResponse) ProtoReflect ¶
func (x *GetInventoryResponse) ProtoReflect() protoreflect.Message
func (*GetInventoryResponse) Reset ¶
func (x *GetInventoryResponse) Reset()
func (*GetInventoryResponse) String ¶
func (x *GetInventoryResponse) String() string
type GetResultRequest ¶
type GetResultRequest struct { TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"` // contains filtered or unexported fields }
func (*GetResultRequest) Descriptor
deprecated
func (*GetResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResultRequest.ProtoReflect.Descriptor instead.
func (*GetResultRequest) GetTaskId ¶
func (x *GetResultRequest) GetTaskId() string
func (*GetResultRequest) ProtoMessage ¶
func (*GetResultRequest) ProtoMessage()
func (*GetResultRequest) ProtoReflect ¶
func (x *GetResultRequest) ProtoReflect() protoreflect.Message
func (*GetResultRequest) Reset ¶
func (x *GetResultRequest) Reset()
func (*GetResultRequest) String ¶
func (x *GetResultRequest) String() string
type GetResultResponse ¶
type GetResultResponse struct { Item *Result `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*GetResultResponse) Descriptor
deprecated
func (*GetResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResultResponse.ProtoReflect.Descriptor instead.
func (*GetResultResponse) GetItem ¶
func (x *GetResultResponse) GetItem() *Result
func (*GetResultResponse) ProtoMessage ¶
func (*GetResultResponse) ProtoMessage()
func (*GetResultResponse) ProtoReflect ¶
func (x *GetResultResponse) ProtoReflect() protoreflect.Message
func (*GetResultResponse) Reset ¶
func (x *GetResultResponse) Reset()
func (*GetResultResponse) String ¶
func (x *GetResultResponse) String() string
type Group ¶
type Group struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Hosts []string `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts,omitempty"` Children []string `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetChildren ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type Host ¶
type Host struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` PrivateKey string `protobuf:"bytes,6,opt,name=privateKey,proto3" json:"privateKey,omitempty"` ProxyConfig *ProxyConfig `protobuf:"bytes,7,opt,name=proxyConfig,proto3" json:"proxyConfig,omitempty"` Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) GetPassword ¶
func (*Host) GetPrivateKey ¶
func (*Host) GetProxyConfig ¶
func (x *Host) GetProxyConfig() *ProxyConfig
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type Inventory ¶
type Inventory struct { Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` Groups []*Group `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Inventory) Descriptor
deprecated
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type KobeApiClient ¶
type KobeApiClient interface { CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) ListProject(ctx context.Context, in *ListProjectRequest, opts ...grpc.CallOption) (*ListProjectResponse, error) GetInventory(ctx context.Context, in *GetInventoryRequest, opts ...grpc.CallOption) (*GetInventoryResponse, error) RunPlaybook(ctx context.Context, in *RunPlaybookRequest, opts ...grpc.CallOption) (*RunPlaybookResult, error) RunAdhoc(ctx context.Context, in *RunAdhocRequest, opts ...grpc.CallOption) (*RunAdhocResult, error) WatchResult(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (KobeApi_WatchResultClient, error) GetResult(ctx context.Context, in *GetResultRequest, opts ...grpc.CallOption) (*GetResultResponse, error) ListResult(ctx context.Context, in *ListResultRequest, opts ...grpc.CallOption) (*ListResultResponse, error) }
KobeApiClient is the client API for KobeApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKobeApiClient ¶
func NewKobeApiClient(cc grpc.ClientConnInterface) KobeApiClient
type KobeApiServer ¶
type KobeApiServer interface { CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) ListProject(context.Context, *ListProjectRequest) (*ListProjectResponse, error) GetInventory(context.Context, *GetInventoryRequest) (*GetInventoryResponse, error) RunPlaybook(context.Context, *RunPlaybookRequest) (*RunPlaybookResult, error) RunAdhoc(context.Context, *RunAdhocRequest) (*RunAdhocResult, error) WatchResult(*WatchRequest, KobeApi_WatchResultServer) error GetResult(context.Context, *GetResultRequest) (*GetResultResponse, error) ListResult(context.Context, *ListResultRequest) (*ListResultResponse, error) }
KobeApiServer is the server API for KobeApi service.
type KobeApi_WatchResultClient ¶
type KobeApi_WatchResultClient interface { Recv() (*WatchStream, error) grpc.ClientStream }
type KobeApi_WatchResultServer ¶
type KobeApi_WatchResultServer interface { Send(*WatchStream) error grpc.ServerStream }
type ListProjectRequest ¶
type ListProjectRequest struct {
// contains filtered or unexported fields
}
func (*ListProjectRequest) Descriptor
deprecated
func (*ListProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectRequest.ProtoReflect.Descriptor instead.
func (*ListProjectRequest) ProtoMessage ¶
func (*ListProjectRequest) ProtoMessage()
func (*ListProjectRequest) ProtoReflect ¶
func (x *ListProjectRequest) ProtoReflect() protoreflect.Message
func (*ListProjectRequest) Reset ¶
func (x *ListProjectRequest) Reset()
func (*ListProjectRequest) String ¶
func (x *ListProjectRequest) String() string
type ListProjectResponse ¶
type ListProjectResponse struct { Items []*Project `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListProjectResponse) Descriptor
deprecated
func (*ListProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectResponse.ProtoReflect.Descriptor instead.
func (*ListProjectResponse) GetItems ¶
func (x *ListProjectResponse) GetItems() []*Project
func (*ListProjectResponse) ProtoMessage ¶
func (*ListProjectResponse) ProtoMessage()
func (*ListProjectResponse) ProtoReflect ¶
func (x *ListProjectResponse) ProtoReflect() protoreflect.Message
func (*ListProjectResponse) Reset ¶
func (x *ListProjectResponse) Reset()
func (*ListProjectResponse) String ¶
func (x *ListProjectResponse) String() string
type ListResultRequest ¶
type ListResultRequest struct {
// contains filtered or unexported fields
}
func (*ListResultRequest) Descriptor
deprecated
func (*ListResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResultRequest.ProtoReflect.Descriptor instead.
func (*ListResultRequest) ProtoMessage ¶
func (*ListResultRequest) ProtoMessage()
func (*ListResultRequest) ProtoReflect ¶
func (x *ListResultRequest) ProtoReflect() protoreflect.Message
func (*ListResultRequest) Reset ¶
func (x *ListResultRequest) Reset()
func (*ListResultRequest) String ¶
func (x *ListResultRequest) String() string
type ListResultResponse ¶
type ListResultResponse struct { Items []*Result `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListResultResponse) Descriptor
deprecated
func (*ListResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResultResponse.ProtoReflect.Descriptor instead.
func (*ListResultResponse) GetItems ¶
func (x *ListResultResponse) GetItems() []*Result
func (*ListResultResponse) ProtoMessage ¶
func (*ListResultResponse) ProtoMessage()
func (*ListResultResponse) ProtoReflect ¶
func (x *ListResultResponse) ProtoReflect() protoreflect.Message
func (*ListResultResponse) Reset ¶
func (x *ListResultResponse) Reset()
func (*ListResultResponse) String ¶
func (x *ListResultResponse) String() string
type Project ¶
type Project struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Playbooks []string `protobuf:"bytes,2,rep,name=playbooks,proto3" json:"playbooks,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetPlaybooks ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProxyConfig ¶
type ProxyConfig struct { Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*ProxyConfig) Descriptor
deprecated
func (*ProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.
func (*ProxyConfig) GetEnable ¶
func (x *ProxyConfig) GetEnable() bool
func (*ProxyConfig) GetIp ¶
func (x *ProxyConfig) GetIp() string
func (*ProxyConfig) GetPassword ¶
func (x *ProxyConfig) GetPassword() string
func (*ProxyConfig) GetPort ¶
func (x *ProxyConfig) GetPort() int32
func (*ProxyConfig) GetUser ¶
func (x *ProxyConfig) GetUser() string
func (*ProxyConfig) ProtoMessage ¶
func (*ProxyConfig) ProtoMessage()
func (*ProxyConfig) ProtoReflect ¶
func (x *ProxyConfig) ProtoReflect() protoreflect.Message
func (*ProxyConfig) Reset ¶
func (x *ProxyConfig) Reset()
func (*ProxyConfig) String ¶
func (x *ProxyConfig) String() string
type Result ¶
type Result struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StartTime string `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Success bool `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"` Finished bool `protobuf:"varint,6,opt,name=finished,proto3" json:"finished,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` Project string `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetContent ¶
func (*Result) GetEndTime ¶
func (*Result) GetFinished ¶
func (*Result) GetMessage ¶
func (*Result) GetProject ¶
func (*Result) GetStartTime ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type RunAdhocRequest ¶
type RunAdhocRequest struct { Inventory *Inventory `protobuf:"bytes,1,opt,name=inventory,proto3" json:"inventory,omitempty"` Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` Module string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"` Param string `protobuf:"bytes,4,opt,name=param,proto3" json:"param,omitempty"` // contains filtered or unexported fields }
func (*RunAdhocRequest) Descriptor
deprecated
func (*RunAdhocRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunAdhocRequest.ProtoReflect.Descriptor instead.
func (*RunAdhocRequest) GetInventory ¶
func (x *RunAdhocRequest) GetInventory() *Inventory
func (*RunAdhocRequest) GetModule ¶
func (x *RunAdhocRequest) GetModule() string
func (*RunAdhocRequest) GetParam ¶
func (x *RunAdhocRequest) GetParam() string
func (*RunAdhocRequest) GetPattern ¶
func (x *RunAdhocRequest) GetPattern() string
func (*RunAdhocRequest) ProtoMessage ¶
func (*RunAdhocRequest) ProtoMessage()
func (*RunAdhocRequest) ProtoReflect ¶
func (x *RunAdhocRequest) ProtoReflect() protoreflect.Message
func (*RunAdhocRequest) Reset ¶
func (x *RunAdhocRequest) Reset()
func (*RunAdhocRequest) String ¶
func (x *RunAdhocRequest) String() string
type RunAdhocResult ¶
type RunAdhocResult struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RunAdhocResult) Descriptor
deprecated
func (*RunAdhocResult) Descriptor() ([]byte, []int)
Deprecated: Use RunAdhocResult.ProtoReflect.Descriptor instead.
func (*RunAdhocResult) GetResult ¶
func (x *RunAdhocResult) GetResult() *Result
func (*RunAdhocResult) ProtoMessage ¶
func (*RunAdhocResult) ProtoMessage()
func (*RunAdhocResult) ProtoReflect ¶
func (x *RunAdhocResult) ProtoReflect() protoreflect.Message
func (*RunAdhocResult) Reset ¶
func (x *RunAdhocResult) Reset()
func (*RunAdhocResult) String ¶
func (x *RunAdhocResult) String() string
type RunPlaybookRequest ¶
type RunPlaybookRequest struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` Playbook string `protobuf:"bytes,2,opt,name=playbook,proto3" json:"playbook,omitempty"` Inventory *Inventory `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*RunPlaybookRequest) Descriptor
deprecated
func (*RunPlaybookRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunPlaybookRequest.ProtoReflect.Descriptor instead.
func (*RunPlaybookRequest) GetInventory ¶
func (x *RunPlaybookRequest) GetInventory() *Inventory
func (*RunPlaybookRequest) GetPlaybook ¶
func (x *RunPlaybookRequest) GetPlaybook() string
func (*RunPlaybookRequest) GetProject ¶
func (x *RunPlaybookRequest) GetProject() string
func (*RunPlaybookRequest) GetTag ¶
func (x *RunPlaybookRequest) GetTag() string
func (*RunPlaybookRequest) ProtoMessage ¶
func (*RunPlaybookRequest) ProtoMessage()
func (*RunPlaybookRequest) ProtoReflect ¶
func (x *RunPlaybookRequest) ProtoReflect() protoreflect.Message
func (*RunPlaybookRequest) Reset ¶
func (x *RunPlaybookRequest) Reset()
func (*RunPlaybookRequest) String ¶
func (x *RunPlaybookRequest) String() string
type RunPlaybookResult ¶
type RunPlaybookResult struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RunPlaybookResult) Descriptor
deprecated
func (*RunPlaybookResult) Descriptor() ([]byte, []int)
Deprecated: Use RunPlaybookResult.ProtoReflect.Descriptor instead.
func (*RunPlaybookResult) GetResult ¶
func (x *RunPlaybookResult) GetResult() *Result
func (*RunPlaybookResult) ProtoMessage ¶
func (*RunPlaybookResult) ProtoMessage()
func (*RunPlaybookResult) ProtoReflect ¶
func (x *RunPlaybookResult) ProtoReflect() protoreflect.Message
func (*RunPlaybookResult) Reset ¶
func (x *RunPlaybookResult) Reset()
func (*RunPlaybookResult) String ¶
func (x *RunPlaybookResult) String() string
type UnimplementedKobeApiServer ¶
type UnimplementedKobeApiServer struct { }
UnimplementedKobeApiServer can be embedded to have forward compatible implementations.
func (*UnimplementedKobeApiServer) CreateProject ¶
func (*UnimplementedKobeApiServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
func (*UnimplementedKobeApiServer) GetInventory ¶
func (*UnimplementedKobeApiServer) GetInventory(context.Context, *GetInventoryRequest) (*GetInventoryResponse, error)
func (*UnimplementedKobeApiServer) GetResult ¶
func (*UnimplementedKobeApiServer) GetResult(context.Context, *GetResultRequest) (*GetResultResponse, error)
func (*UnimplementedKobeApiServer) ListProject ¶
func (*UnimplementedKobeApiServer) ListProject(context.Context, *ListProjectRequest) (*ListProjectResponse, error)
func (*UnimplementedKobeApiServer) ListResult ¶
func (*UnimplementedKobeApiServer) ListResult(context.Context, *ListResultRequest) (*ListResultResponse, error)
func (*UnimplementedKobeApiServer) RunAdhoc ¶
func (*UnimplementedKobeApiServer) RunAdhoc(context.Context, *RunAdhocRequest) (*RunAdhocResult, error)
func (*UnimplementedKobeApiServer) RunPlaybook ¶
func (*UnimplementedKobeApiServer) RunPlaybook(context.Context, *RunPlaybookRequest) (*RunPlaybookResult, error)
func (*UnimplementedKobeApiServer) WatchResult ¶
func (*UnimplementedKobeApiServer) WatchResult(*WatchRequest, KobeApi_WatchResultServer) error
type WatchRequest ¶
type WatchRequest struct { TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"` // contains filtered or unexported fields }
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) GetTaskId ¶
func (x *WatchRequest) GetTaskId() string
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
type WatchStream ¶
type WatchStream struct { Stream []byte `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // contains filtered or unexported fields }
func (*WatchStream) Descriptor
deprecated
func (*WatchStream) Descriptor() ([]byte, []int)
Deprecated: Use WatchStream.ProtoReflect.Descriptor instead.
func (*WatchStream) GetStream ¶
func (x *WatchStream) GetStream() []byte
func (*WatchStream) ProtoMessage ¶
func (*WatchStream) ProtoMessage()
func (*WatchStream) ProtoReflect ¶
func (x *WatchStream) ProtoReflect() protoreflect.Message
func (*WatchStream) Reset ¶
func (x *WatchStream) Reset()
func (*WatchStream) String ¶
func (x *WatchStream) String() string