Documentation
¶
Index ¶
- Constants
- type Manager
- func (m *Manager) CreateApp(ctx context.Context, app *kdeploypb.AppConstructor) (*kdeploypb.App, error)
- func (m *Manager) DeleteApp(ctx context.Context, ref *kdeploypb.AppRef) error
- func (m *Manager) GetApp(ctx context.Context, ref *kdeploypb.AppRef) (*kdeploypb.App, error)
- func (r *Manager) GetJWTHash(hash string) (interface{}, bool)
- 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 (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.AppRef) (chan string, error)
- func (c *Manager) UnaryInterceptor() grpc.UnaryServerInterceptor
- func (m *Manager) UpdateApp(ctx context.Context, app *kdeploypb.AppUpdate) (*kdeploypb.App, error)
Constants ¶
View Source
const Always = "Always"
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) 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
Click to show internal directories.
Click to hide internal directories.