http

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 20 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsServiceClient added in v0.11.0

type AnalyticsServiceClient struct {
	// contains filtered or unexported fields
}

func (*AnalyticsServiceClient) GetFlagEvaluationsCount added in v0.11.0

type EvaluationServiceClient added in v0.4.0

type EvaluationServiceClient struct {
	// contains filtered or unexported fields
}

func (*EvaluationServiceClient) Batch added in v0.4.0

func (*EvaluationServiceClient) Boolean added in v0.4.0

func (*EvaluationServiceClient) Variant added in v0.4.0

type FliptClient

type FliptClient struct {
	// contains filtered or unexported fields
}

func (*FliptClient) BatchEvaluate

func (*FliptClient) CreateConstraint

func (*FliptClient) CreateDistribution

func (*FliptClient) CreateFlag

func (x *FliptClient) CreateFlag(ctx context.Context, v *flipt.CreateFlagRequest, _ ...grpc.CallOption) (*flipt.Flag, error)

func (*FliptClient) CreateNamespace added in v0.2.0

func (*FliptClient) CreateRollout added in v0.4.0

func (x *FliptClient) CreateRollout(ctx context.Context, v *flipt.CreateRolloutRequest, _ ...grpc.CallOption) (*flipt.Rollout, error)

func (*FliptClient) CreateRule

func (x *FliptClient) CreateRule(ctx context.Context, v *flipt.CreateRuleRequest, _ ...grpc.CallOption) (*flipt.Rule, error)

func (*FliptClient) CreateSegment

func (x *FliptClient) CreateSegment(ctx context.Context, v *flipt.CreateSegmentRequest, _ ...grpc.CallOption) (*flipt.Segment, error)

func (*FliptClient) CreateVariant

func (x *FliptClient) CreateVariant(ctx context.Context, v *flipt.CreateVariantRequest, _ ...grpc.CallOption) (*flipt.Variant, error)

func (*FliptClient) DeleteConstraint

func (x *FliptClient) DeleteConstraint(ctx context.Context, v *flipt.DeleteConstraintRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) DeleteDistribution

func (x *FliptClient) DeleteDistribution(ctx context.Context, v *flipt.DeleteDistributionRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) DeleteFlag

func (*FliptClient) DeleteNamespace added in v0.2.0

func (x *FliptClient) DeleteNamespace(ctx context.Context, v *flipt.DeleteNamespaceRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) DeleteRollout added in v0.4.0

func (x *FliptClient) DeleteRollout(ctx context.Context, v *flipt.DeleteRolloutRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) DeleteRule

func (*FliptClient) DeleteSegment

func (x *FliptClient) DeleteSegment(ctx context.Context, v *flipt.DeleteSegmentRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) DeleteVariant

func (x *FliptClient) DeleteVariant(ctx context.Context, v *flipt.DeleteVariantRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) Evaluate

func (*FliptClient) GetFlag

func (x *FliptClient) GetFlag(ctx context.Context, v *flipt.GetFlagRequest, _ ...grpc.CallOption) (*flipt.Flag, error)

func (*FliptClient) GetNamespace added in v0.2.0

func (*FliptClient) GetRollout added in v0.4.0

func (*FliptClient) GetRule

func (x *FliptClient) GetRule(ctx context.Context, v *flipt.GetRuleRequest, _ ...grpc.CallOption) (*flipt.Rule, error)

func (*FliptClient) GetSegment

func (*FliptClient) ListFlags

func (*FliptClient) ListNamespaces added in v0.2.0

func (*FliptClient) ListRollouts added in v0.4.0

func (*FliptClient) ListRules

func (*FliptClient) ListSegments

func (*FliptClient) OrderRollouts added in v0.4.0

func (x *FliptClient) OrderRollouts(ctx context.Context, v *flipt.OrderRolloutsRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)

func (*FliptClient) OrderRules

func (*FliptClient) UpdateConstraint

func (*FliptClient) UpdateDistribution

func (*FliptClient) UpdateFlag

func (x *FliptClient) UpdateFlag(ctx context.Context, v *flipt.UpdateFlagRequest, _ ...grpc.CallOption) (*flipt.Flag, error)

func (*FliptClient) UpdateNamespace added in v0.2.0

func (*FliptClient) UpdateRollout added in v0.4.0

func (x *FliptClient) UpdateRollout(ctx context.Context, v *flipt.UpdateRolloutRequest, _ ...grpc.CallOption) (*flipt.Rollout, error)

func (*FliptClient) UpdateRule

func (x *FliptClient) UpdateRule(ctx context.Context, v *flipt.UpdateRuleRequest, _ ...grpc.CallOption) (*flipt.Rule, error)

func (*FliptClient) UpdateSegment

func (x *FliptClient) UpdateSegment(ctx context.Context, v *flipt.UpdateSegmentRequest, _ ...grpc.CallOption) (*flipt.Segment, error)

func (*FliptClient) UpdateVariant

func (x *FliptClient) UpdateVariant(ctx context.Context, v *flipt.UpdateVariantRequest, _ ...grpc.CallOption) (*flipt.Variant, error)

type MetadataServiceClient

type MetadataServiceClient struct {
	// contains filtered or unexported fields
}

func (*MetadataServiceClient) GetConfiguration

func (x *MetadataServiceClient) GetConfiguration(ctx context.Context, v *emptypb.Empty, _ ...grpc.CallOption) (*httpbody.HttpBody, error)

func (*MetadataServiceClient) GetInfo

type Option

type Option func(*Transport)

func WithHTTPClient

func WithHTTPClient(client *http.Client) Option

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(addr string, opts ...Option) Transport

func (Transport) AnalyticsClient added in v0.11.0

func (t Transport) AnalyticsClient() analytics.AnalyticsServiceClient

func (Transport) AuthClient

func (t Transport) AuthClient() _go.AuthClient

func (Transport) EvaluationClient added in v0.4.0

func (t Transport) EvaluationClient() evaluation.EvaluationServiceClient

func (Transport) FliptClient

func (t Transport) FliptClient() flipt.FliptClient

func (Transport) MetaClient

func (t Transport) MetaClient() meta.MetadataServiceClient

Jump to

Keyboard shortcuts

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