meshes

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMeshServiceServer added in v0.0.4

func RegisterMeshServiceServer(s *grpc.Server, srv MeshServiceServer)

Types

type ApplyRuleRequest added in v0.0.4

type ApplyRuleRequest struct {
	OpName               string   `protobuf:"bytes,1,opt,name=opName,proto3" json:"opName,omitempty"`
	Namespace            string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	CustomBody           string   `protobuf:"bytes,4,opt,name=custom_body,json=customBody,proto3" json:"custom_body,omitempty"`
	DeleteOp             bool     `protobuf:"varint,5,opt,name=delete_op,json=deleteOp,proto3" json:"delete_op,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ApplyRuleRequest) Descriptor added in v0.0.4

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

func (*ApplyRuleRequest) GetCustomBody added in v0.0.4

func (m *ApplyRuleRequest) GetCustomBody() string

func (*ApplyRuleRequest) GetDeleteOp added in v0.0.4

func (m *ApplyRuleRequest) GetDeleteOp() bool

func (*ApplyRuleRequest) GetNamespace added in v0.0.4

func (m *ApplyRuleRequest) GetNamespace() string

func (*ApplyRuleRequest) GetOpName added in v0.0.4

func (m *ApplyRuleRequest) GetOpName() string

func (*ApplyRuleRequest) GetUsername added in v0.0.4

func (m *ApplyRuleRequest) GetUsername() string

func (*ApplyRuleRequest) ProtoMessage added in v0.0.4

func (*ApplyRuleRequest) ProtoMessage()

func (*ApplyRuleRequest) Reset added in v0.0.4

func (m *ApplyRuleRequest) Reset()

func (*ApplyRuleRequest) String added in v0.0.4

func (m *ApplyRuleRequest) String() string

func (*ApplyRuleRequest) XXX_DiscardUnknown added in v0.0.4

func (m *ApplyRuleRequest) XXX_DiscardUnknown()

func (*ApplyRuleRequest) XXX_Marshal added in v0.0.4

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

func (*ApplyRuleRequest) XXX_Merge added in v0.0.4

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

func (*ApplyRuleRequest) XXX_Size added in v0.0.4

func (m *ApplyRuleRequest) XXX_Size() int

func (*ApplyRuleRequest) XXX_Unmarshal added in v0.0.4

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

type ApplyRuleResponse added in v0.0.4

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

func (*ApplyRuleResponse) Descriptor added in v0.0.4

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

func (*ApplyRuleResponse) GetError added in v0.0.4

func (m *ApplyRuleResponse) GetError() string

func (*ApplyRuleResponse) ProtoMessage added in v0.0.4

func (*ApplyRuleResponse) ProtoMessage()

func (*ApplyRuleResponse) Reset added in v0.0.4

func (m *ApplyRuleResponse) Reset()

func (*ApplyRuleResponse) String added in v0.0.4

func (m *ApplyRuleResponse) String() string

func (*ApplyRuleResponse) XXX_DiscardUnknown added in v0.0.4

func (m *ApplyRuleResponse) XXX_DiscardUnknown()

func (*ApplyRuleResponse) XXX_Marshal added in v0.0.4

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

func (*ApplyRuleResponse) XXX_Merge added in v0.0.4

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

func (*ApplyRuleResponse) XXX_Size added in v0.0.4

func (m *ApplyRuleResponse) XXX_Size() int

func (*ApplyRuleResponse) XXX_Unmarshal added in v0.0.4

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

type CreateMeshInstanceRequest added in v0.0.4

type CreateMeshInstanceRequest struct {
	K8SConfig            []byte   `protobuf:"bytes,1,opt,name=k8sConfig,proto3" json:"k8sConfig,omitempty"`
	ContextName          string   `protobuf:"bytes,2,opt,name=contextName,proto3" json:"contextName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateMeshInstanceRequest) Descriptor added in v0.0.4

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

func (*CreateMeshInstanceRequest) GetContextName added in v0.0.4

func (m *CreateMeshInstanceRequest) GetContextName() string

func (*CreateMeshInstanceRequest) GetK8SConfig added in v0.0.4

func (m *CreateMeshInstanceRequest) GetK8SConfig() []byte

func (*CreateMeshInstanceRequest) ProtoMessage added in v0.0.4

func (*CreateMeshInstanceRequest) ProtoMessage()

func (*CreateMeshInstanceRequest) Reset added in v0.0.4

func (m *CreateMeshInstanceRequest) Reset()

func (*CreateMeshInstanceRequest) String added in v0.0.4

func (m *CreateMeshInstanceRequest) String() string

func (*CreateMeshInstanceRequest) XXX_DiscardUnknown added in v0.0.4

func (m *CreateMeshInstanceRequest) XXX_DiscardUnknown()

func (*CreateMeshInstanceRequest) XXX_Marshal added in v0.0.4

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

func (*CreateMeshInstanceRequest) XXX_Merge added in v0.0.4

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

func (*CreateMeshInstanceRequest) XXX_Size added in v0.0.4

func (m *CreateMeshInstanceRequest) XXX_Size() int

func (*CreateMeshInstanceRequest) XXX_Unmarshal added in v0.0.4

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

type CreateMeshInstanceResponse added in v0.0.4

type CreateMeshInstanceResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateMeshInstanceResponse) Descriptor added in v0.0.4

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

func (*CreateMeshInstanceResponse) ProtoMessage added in v0.0.4

func (*CreateMeshInstanceResponse) ProtoMessage()

func (*CreateMeshInstanceResponse) Reset added in v0.0.4

func (m *CreateMeshInstanceResponse) Reset()

func (*CreateMeshInstanceResponse) String added in v0.0.4

func (m *CreateMeshInstanceResponse) String() string

func (*CreateMeshInstanceResponse) XXX_DiscardUnknown added in v0.0.4

func (m *CreateMeshInstanceResponse) XXX_DiscardUnknown()

func (*CreateMeshInstanceResponse) XXX_Marshal added in v0.0.4

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

func (*CreateMeshInstanceResponse) XXX_Merge added in v0.0.4

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

func (*CreateMeshInstanceResponse) XXX_Size added in v0.0.4

func (m *CreateMeshInstanceResponse) XXX_Size() int

func (*CreateMeshInstanceResponse) XXX_Unmarshal added in v0.0.4

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

type MeshClient

type MeshClient struct {
	MClient MeshServiceClient
	// contains filtered or unexported fields
}

func CreateClient added in v0.0.4

func CreateClient(ctx context.Context, k8sConfigBytes []byte, contextName, meshLocationURL string) (*MeshClient, error)

func (*MeshClient) Close added in v0.0.4

func (m *MeshClient) Close() error

type MeshNameRequest added in v0.0.4

type MeshNameRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MeshNameRequest) Descriptor added in v0.0.4

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

func (*MeshNameRequest) ProtoMessage added in v0.0.4

func (*MeshNameRequest) ProtoMessage()

func (*MeshNameRequest) Reset added in v0.0.4

func (m *MeshNameRequest) Reset()

func (*MeshNameRequest) String added in v0.0.4

func (m *MeshNameRequest) String() string

func (*MeshNameRequest) XXX_DiscardUnknown added in v0.0.4

func (m *MeshNameRequest) XXX_DiscardUnknown()

func (*MeshNameRequest) XXX_Marshal added in v0.0.4

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

func (*MeshNameRequest) XXX_Merge added in v0.0.4

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

func (*MeshNameRequest) XXX_Size added in v0.0.4

func (m *MeshNameRequest) XXX_Size() int

func (*MeshNameRequest) XXX_Unmarshal added in v0.0.4

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

type MeshNameResponse added in v0.0.4

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

func (*MeshNameResponse) Descriptor added in v0.0.4

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

func (*MeshNameResponse) GetName added in v0.0.4

func (m *MeshNameResponse) GetName() string

func (*MeshNameResponse) ProtoMessage added in v0.0.4

func (*MeshNameResponse) ProtoMessage()

func (*MeshNameResponse) Reset added in v0.0.4

func (m *MeshNameResponse) Reset()

func (*MeshNameResponse) String added in v0.0.4

func (m *MeshNameResponse) String() string

func (*MeshNameResponse) XXX_DiscardUnknown added in v0.0.4

func (m *MeshNameResponse) XXX_DiscardUnknown()

func (*MeshNameResponse) XXX_Marshal added in v0.0.4

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

func (*MeshNameResponse) XXX_Merge added in v0.0.4

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

func (*MeshNameResponse) XXX_Size added in v0.0.4

func (m *MeshNameResponse) XXX_Size() int

func (*MeshNameResponse) XXX_Unmarshal added in v0.0.4

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

type MeshServiceClient added in v0.0.4

type MeshServiceClient interface {
	CreateMeshInstance(ctx context.Context, in *CreateMeshInstanceRequest, opts ...grpc.CallOption) (*CreateMeshInstanceResponse, error)
	MeshName(ctx context.Context, in *MeshNameRequest, opts ...grpc.CallOption) (*MeshNameResponse, error)
	ApplyOperation(ctx context.Context, in *ApplyRuleRequest, opts ...grpc.CallOption) (*ApplyRuleResponse, error)
	SupportedOperations(ctx context.Context, in *SupportedOperationsRequest, opts ...grpc.CallOption) (*SupportedOperationsResponse, error)
}

MeshServiceClient is the client API for MeshService service.

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

func NewMeshServiceClient added in v0.0.4

func NewMeshServiceClient(cc *grpc.ClientConn) MeshServiceClient

type MeshServiceServer added in v0.0.4

MeshServiceServer is the server API for MeshService service.

type SupportedOperation added in v0.0.4

type SupportedOperation struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SupportedOperation) Descriptor added in v0.0.4

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

func (*SupportedOperation) GetKey added in v0.0.4

func (m *SupportedOperation) GetKey() string

func (*SupportedOperation) GetValue added in v0.0.4

func (m *SupportedOperation) GetValue() string

func (*SupportedOperation) ProtoMessage added in v0.0.4

func (*SupportedOperation) ProtoMessage()

func (*SupportedOperation) Reset added in v0.0.4

func (m *SupportedOperation) Reset()

func (*SupportedOperation) String added in v0.0.4

func (m *SupportedOperation) String() string

func (*SupportedOperation) XXX_DiscardUnknown added in v0.0.4

func (m *SupportedOperation) XXX_DiscardUnknown()

func (*SupportedOperation) XXX_Marshal added in v0.0.4

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

func (*SupportedOperation) XXX_Merge added in v0.0.4

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

func (*SupportedOperation) XXX_Size added in v0.0.4

func (m *SupportedOperation) XXX_Size() int

func (*SupportedOperation) XXX_Unmarshal added in v0.0.4

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

type SupportedOperationsRequest added in v0.0.4

type SupportedOperationsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SupportedOperationsRequest) Descriptor added in v0.0.4

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

func (*SupportedOperationsRequest) ProtoMessage added in v0.0.4

func (*SupportedOperationsRequest) ProtoMessage()

func (*SupportedOperationsRequest) Reset added in v0.0.4

func (m *SupportedOperationsRequest) Reset()

func (*SupportedOperationsRequest) String added in v0.0.4

func (m *SupportedOperationsRequest) String() string

func (*SupportedOperationsRequest) XXX_DiscardUnknown added in v0.0.4

func (m *SupportedOperationsRequest) XXX_DiscardUnknown()

func (*SupportedOperationsRequest) XXX_Marshal added in v0.0.4

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

func (*SupportedOperationsRequest) XXX_Merge added in v0.0.4

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

func (*SupportedOperationsRequest) XXX_Size added in v0.0.4

func (m *SupportedOperationsRequest) XXX_Size() int

func (*SupportedOperationsRequest) XXX_Unmarshal added in v0.0.4

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

type SupportedOperationsResponse added in v0.0.4

type SupportedOperationsResponse struct {
	Ops                  map[string]string `` /* 147-byte string literal not displayed */
	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 (*SupportedOperationsResponse) Descriptor added in v0.0.4

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

func (*SupportedOperationsResponse) GetError added in v0.0.4

func (m *SupportedOperationsResponse) GetError() string

func (*SupportedOperationsResponse) GetOps added in v0.0.4

func (m *SupportedOperationsResponse) GetOps() map[string]string

func (*SupportedOperationsResponse) ProtoMessage added in v0.0.4

func (*SupportedOperationsResponse) ProtoMessage()

func (*SupportedOperationsResponse) Reset added in v0.0.4

func (m *SupportedOperationsResponse) Reset()

func (*SupportedOperationsResponse) String added in v0.0.4

func (m *SupportedOperationsResponse) String() string

func (*SupportedOperationsResponse) XXX_DiscardUnknown added in v0.0.4

func (m *SupportedOperationsResponse) XXX_DiscardUnknown()

func (*SupportedOperationsResponse) XXX_Marshal added in v0.0.4

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

func (*SupportedOperationsResponse) XXX_Merge added in v0.0.4

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

func (*SupportedOperationsResponse) XXX_Size added in v0.0.4

func (m *SupportedOperationsResponse) XXX_Size() int

func (*SupportedOperationsResponse) XXX_Unmarshal added in v0.0.4

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

Jump to

Keyboard shortcuts

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