Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInterface ¶
type ClusterInterface interface { GetClustersResources(ctx context.Context, cReq *pb.GetClustersResourcesRequest) (*pb.GetClusterResourcesResponse, error) GetNamespacesResources(ctx context.Context, nReq *pb.GetNamespacesResourcesRequest) (*pb.GetNamespacesResourcesResponse, error) }
type ClusterManagerInterface ¶
type Provider ¶
type Provider interface { SteveServer metrics.Interface ClusterInterface }
type SteveServer ¶
type SteveServer interface { GetSteveResource(context.Context, *apistructs.SteveRequest) (types.APIObject, error) ListSteveResource(context.Context, *apistructs.SteveRequest) ([]types.APIObject, error) UpdateSteveResource(context.Context, *apistructs.SteveRequest) (types.APIObject, error) CreateSteveResource(context.Context, *apistructs.SteveRequest) (types.APIObject, error) DeleteSteveResource(context.Context, *apistructs.SteveRequest) error PatchNode(context.Context, *apistructs.SteveRequest) error LabelNode(context.Context, *apistructs.SteveRequest, map[string]string) error UnlabelNode(context.Context, *apistructs.SteveRequest, []string) error CordonNode(context.Context, *apistructs.SteveRequest) error UnCordonNode(context.Context, *apistructs.SteveRequest) error DrainNode(context.Context, *apistructs.SteveRequest) error OfflineNode(context.Context, string, string, string, []string) error OnlineNode(context.Context, *apistructs.SteveRequest) error }
Click to show internal directories.
Click to hide internal directories.