v.io: v.io/v23/services/tidyable Index | Files

package tidyable

import "v.io/v23/services/tidyable"

Package tidyable defines an interface for services that can be requested to clean up transient resource use (such as logs or caches.) nolint:golint

Index

Package Files

tidyable.vdl.go

Variables

var TidyableDesc rpc.InterfaceDesc = descTidyable

TidyableDesc describes the Tidyable interface.

type TidyableClientMethods Uses

type TidyableClientMethods interface {
    // Request the implementing service to perform regularly scheduled cleanup
    //  actions such as shrinking caches or rolling logs immediately.
    TidyNow(*context.T, ...rpc.CallOpt) error
}

TidyableClientMethods is the client interface containing Tidyable methods.

Tidyable specifies that a service can be tidied.

type TidyableClientStub Uses

type TidyableClientStub interface {
    TidyableClientMethods
}

TidyableClientStub embeds TidyableClientMethods and is a placeholder for additional management operations.

func TidyableClient Uses

func TidyableClient(name string) TidyableClientStub

TidyableClient returns a client stub for Tidyable.

type TidyableServerMethods Uses

type TidyableServerMethods interface {
    // Request the implementing service to perform regularly scheduled cleanup
    //  actions such as shrinking caches or rolling logs immediately.
    TidyNow(*context.T, rpc.ServerCall) error
}

TidyableServerMethods is the interface a server writer implements for Tidyable.

Tidyable specifies that a service can be tidied.

type TidyableServerStub Uses

type TidyableServerStub interface {
    TidyableServerStubMethods
    // DescribeInterfaces the Tidyable interfaces.
    Describe__() []rpc.InterfaceDesc
}

TidyableServerStub adds universal methods to TidyableServerStubMethods.

func TidyableServer Uses

func TidyableServer(impl TidyableServerMethods) TidyableServerStub

TidyableServer returns a server stub for Tidyable. It converts an implementation of TidyableServerMethods into an object that may be used by rpc.Server.

type TidyableServerStubMethods Uses

type TidyableServerStubMethods TidyableServerMethods

TidyableServerStubMethods is the server interface containing Tidyable methods, as expected by rpc.Server. There is no difference between this interface and TidyableServerMethods since there are no streaming methods.

Package tidyable imports 5 packages (graph) and is imported by 3 packages. Updated 2020-10-12. Refresh now. Tools for package owners.