Documentation ¶
Index ¶
- type Client
- func (oClient *Client) ApplyOperation(ctx context.Context, arReq *meshes.ApplyRuleRequest) (*meshes.ApplyRuleResponse, error)
- func (oClient *Client) CreateMeshInstance(_ context.Context, k8sReq *meshes.CreateMeshInstanceRequest) (*meshes.CreateMeshInstanceResponse, error)
- func (oClient *Client) MeshName(context.Context, *meshes.MeshNameRequest) (*meshes.MeshNameResponse, error)
- func (oClient *Client) StreamEvents(in *meshes.EventsRequest, stream meshes.MeshService_StreamEventsServer) error
- func (oClient *Client) SupportedOperations(context.Context, *meshes.SupportedOperationsRequest) (*meshes.SupportedOperationsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an Octarine client in Meshery
func (*Client) ApplyOperation ¶
func (oClient *Client) ApplyOperation(ctx context.Context, arReq *meshes.ApplyRuleRequest) (*meshes.ApplyRuleResponse, error)
ApplyOperation is a method invoked to apply a particular operation on the mesh in a namespace
func (*Client) CreateMeshInstance ¶
func (oClient *Client) CreateMeshInstance(_ context.Context, k8sReq *meshes.CreateMeshInstanceRequest) (*meshes.CreateMeshInstanceResponse, error)
CreateMeshInstance instantiates a client instance to interface with the Octarine Service Mesh
func (*Client) MeshName ¶
func (oClient *Client) MeshName(context.Context, *meshes.MeshNameRequest) (*meshes.MeshNameResponse, error)
MeshName just returns the name of the mesh the client is representing
func (*Client) StreamEvents ¶
func (oClient *Client) StreamEvents(in *meshes.EventsRequest, stream meshes.MeshService_StreamEventsServer) error
StreamEvents - streams generated/collected events to the client
func (*Client) SupportedOperations ¶
func (oClient *Client) SupportedOperations(context.Context, *meshes.SupportedOperationsRequest) (*meshes.SupportedOperationsResponse, error)
SupportedOperations - returns a list of supported operations on the mesh
Click to show internal directories.
Click to hide internal directories.