Documentation ¶
Index ¶
- Constants
- type Manager
- func (m *Manager) CreateApp(ctx context.Context, app *kdeploypb.AppConstructor) (*kdeploypb.App, error)
- func (m *Manager) CreateTask(ctx context.Context, task *kdeploypb.TaskConstructor) (*kdeploypb.Task, error)
- func (m *Manager) DeleteAll(ctx context.Context, ref *kdeploypb.Namespace) error
- func (m *Manager) DeleteApp(ctx context.Context, ref *kdeploypb.Ref) error
- func (m *Manager) DeleteTask(ctx context.Context, ref *kdeploypb.Ref) error
- func (m *Manager) GetApp(ctx context.Context, ref *kdeploypb.Ref) (*kdeploypb.App, error)
- func (r *Manager) GetJWTHash(hash string) (interface{}, bool)
- func (m *Manager) GetTask(ctx context.Context, ref *kdeploypb.Ref) (*kdeploypb.Task, error)
- func (r *Manager) GetUserInfo(ctx context.Context) map[string]interface{}
- func (m *Manager) L() *logger.Logger
- func (m *Manager) ListApps(ctx context.Context, namespace *kdeploypb.Namespace) (*kdeploypb.Apps, error)
- func (m *Manager) ListNamespaces(ctx context.Context) (*kdeploypb.Namespaces, error)
- func (m *Manager) ListTasks(ctx context.Context, namespace *kdeploypb.Namespace) (*kdeploypb.Tasks, error)
- func (r *Manager) SetJWTHash(hash string, userInfo map[string]interface{})
- func (r *Manager) SetUserInfo(ctx context.Context, userInfoData map[string]interface{}) context.Context
- func (c *Manager) StreamInterceptor() grpc.StreamServerInterceptor
- func (m *Manager) StreamLogs(ctx context.Context, ref *kdeploypb.Ref) (chan string, error)
- func (c *Manager) UnaryInterceptor() grpc.UnaryServerInterceptor
- func (m *Manager) UpdateApp(ctx context.Context, app *kdeploypb.AppUpdate) (*kdeploypb.App, error)
- func (m *Manager) UpdateTask(ctx context.Context, task *kdeploypb.TaskUpdate) (*kdeploypb.Task, error)
Constants ¶
View Source
const Always = "Always"
View Source
const OnFailure = "OnFailure"
View Source
const RWO = "ReadWriteOnce"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) CreateTask ¶ added in v0.0.1
func (*Manager) DeleteTask ¶ added in v0.0.1
func (*Manager) GetJWTHash ¶
func (*Manager) GetUserInfo ¶
func (*Manager) ListNamespaces ¶
func (*Manager) SetJWTHash ¶
func (*Manager) SetUserInfo ¶
func (*Manager) StreamInterceptor ¶
func (c *Manager) StreamInterceptor() grpc.StreamServerInterceptor
func (*Manager) StreamLogs ¶
func (*Manager) UnaryInterceptor ¶
func (c *Manager) UnaryInterceptor() grpc.UnaryServerInterceptor
func (*Manager) UpdateTask ¶ added in v0.0.1
Click to show internal directories.
Click to hide internal directories.