package
0.14.0
Repository: https://github.com/m3db/m3db-operator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package namespace is a generated GoMock package.
Package placement is a generated GoMock package.
Package topic is a generated GoMock package.

# Functions

JSONPBMarshal marshals a JSON protobuf message, just using defaults for the marshaller currently.
JSONPBUnmarshal unmarshals a JSON protobuf message, allowing for backwards compatible changes by allowing unknown fields to exist when unmarshalling response (new fields will get added and need to be able to be unmarshalled by an old operator calling endpoints on a new coordinator or DB node).
NewClient returns a new m3admin client.
NewMockClient creates a new mock instance.
WithEnvironment controls the Cluster-Environment-Name header to m3coordinator.
WithHeader adds a header to a request.
WithHTTPClient configures an http client for the m3admin client.
WithLogger configures a logger for the client.
WithZone controls the Cluster-Zone-Name header to m3coordinator.

# Variables

ErrMethodNotAllowed indicates that HTTP status was method not allowed.
ErrNotFound indicates that HTTP status was not found.
ErrNotOk indicates that HTTP status was not Ok.

# Structs

MockClient is a mock of Client interface.
MockClientMockRecorder is the mock recorder for MockClient.

# Interfaces

Client is an m3admin client.
Option configures an m3admin client.
RequestOption defines a per-request option.