services

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApplication = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApplication   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterApplicationServiceServer

func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer)

Types

type ApplicationServiceClient

type ApplicationServiceClient interface {
	ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ResourceTreeResponse, error)
	ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error)
}

func NewApplicationServiceClient

func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient

type ApplicationServiceServer

type ApplicationServiceServer interface {
	ResourceTree(context.Context, *ResourcesQuery) (*ResourceTreeResponse, error)
	ManagedResources(context.Context, *ResourcesQuery) (*ManagedResourcesResponse, error)
}

type ManagedResourcesResponse

type ManagedResourcesResponse struct {
	Items                []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ManagedResourcesResponse) Descriptor

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

func (*ManagedResourcesResponse) GetItems

func (*ManagedResourcesResponse) Marshal

func (m *ManagedResourcesResponse) Marshal() (dAtA []byte, err error)

func (*ManagedResourcesResponse) MarshalTo

func (m *ManagedResourcesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ManagedResourcesResponse) ProtoMessage

func (*ManagedResourcesResponse) ProtoMessage()

func (*ManagedResourcesResponse) Reset

func (m *ManagedResourcesResponse) Reset()

func (*ManagedResourcesResponse) Size

func (m *ManagedResourcesResponse) Size() (n int)

func (*ManagedResourcesResponse) String

func (m *ManagedResourcesResponse) String() string

func (*ManagedResourcesResponse) Unmarshal

func (m *ManagedResourcesResponse) Unmarshal(dAtA []byte) error

func (*ManagedResourcesResponse) XXX_DiscardUnknown

func (m *ManagedResourcesResponse) XXX_DiscardUnknown()

func (*ManagedResourcesResponse) XXX_Marshal

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

func (*ManagedResourcesResponse) XXX_Merge

func (dst *ManagedResourcesResponse) XXX_Merge(src proto.Message)

func (*ManagedResourcesResponse) XXX_Size

func (m *ManagedResourcesResponse) XXX_Size() int

func (*ManagedResourcesResponse) XXX_Unmarshal

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

type ResourceTreeResponse

type ResourceTreeResponse struct {
	Items                []*v1alpha1.ResourceNode `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ResourceTreeResponse) Descriptor

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

func (*ResourceTreeResponse) GetItems

func (m *ResourceTreeResponse) GetItems() []*v1alpha1.ResourceNode

func (*ResourceTreeResponse) Marshal

func (m *ResourceTreeResponse) Marshal() (dAtA []byte, err error)

func (*ResourceTreeResponse) MarshalTo

func (m *ResourceTreeResponse) MarshalTo(dAtA []byte) (int, error)

func (*ResourceTreeResponse) ProtoMessage

func (*ResourceTreeResponse) ProtoMessage()

func (*ResourceTreeResponse) Reset

func (m *ResourceTreeResponse) Reset()

func (*ResourceTreeResponse) Size

func (m *ResourceTreeResponse) Size() (n int)

func (*ResourceTreeResponse) String

func (m *ResourceTreeResponse) String() string

func (*ResourceTreeResponse) Unmarshal

func (m *ResourceTreeResponse) Unmarshal(dAtA []byte) error

func (*ResourceTreeResponse) XXX_DiscardUnknown

func (m *ResourceTreeResponse) XXX_DiscardUnknown()

func (*ResourceTreeResponse) XXX_Marshal

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

func (*ResourceTreeResponse) XXX_Merge

func (dst *ResourceTreeResponse) XXX_Merge(src proto.Message)

func (*ResourceTreeResponse) XXX_Size

func (m *ResourceTreeResponse) XXX_Size() int

func (*ResourceTreeResponse) XXX_Unmarshal

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

type ResourcesQuery

type ResourcesQuery struct {
	ApplicationName      string   `protobuf:"bytes,1,opt,name=applicationName,proto3" json:"applicationName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResourcesQuery) Descriptor

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

func (*ResourcesQuery) GetApplicationName

func (m *ResourcesQuery) GetApplicationName() string

func (*ResourcesQuery) Marshal

func (m *ResourcesQuery) Marshal() (dAtA []byte, err error)

func (*ResourcesQuery) MarshalTo

func (m *ResourcesQuery) MarshalTo(dAtA []byte) (int, error)

func (*ResourcesQuery) ProtoMessage

func (*ResourcesQuery) ProtoMessage()

func (*ResourcesQuery) Reset

func (m *ResourcesQuery) Reset()

func (*ResourcesQuery) Size

func (m *ResourcesQuery) Size() (n int)

func (*ResourcesQuery) String

func (m *ResourcesQuery) String() string

func (*ResourcesQuery) Unmarshal

func (m *ResourcesQuery) Unmarshal(dAtA []byte) error

func (*ResourcesQuery) XXX_DiscardUnknown

func (m *ResourcesQuery) XXX_DiscardUnknown()

func (*ResourcesQuery) XXX_Marshal

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

func (*ResourcesQuery) XXX_Merge

func (dst *ResourcesQuery) XXX_Merge(src proto.Message)

func (*ResourcesQuery) XXX_Size

func (m *ResourcesQuery) XXX_Size() int

func (*ResourcesQuery) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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