Documentation
¶
Index ¶
- type Session
- func (s *Session) Destroy() error
- func (s *Session) Extend(duration time.Duration) error
- func (s *Session) GetExpiresAt() time.Time
- func (s *Session) GetId() string
- func (s *Session) GetKubeconfigPath() string
- func (s *Session) GetRcFilePath() string
- func (s *Session) GetSessionPath() string
- func (s *Session) GetSessionPropertiesPath() string
- func (s *Session) SetContext(context string)
- func (s *Session) Start() (*os.ProcessState, error)
- type SessionProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) GetExpiresAt ¶ added in v1.1.0
func (*Session) GetKubeconfigPath ¶
func (*Session) GetRcFilePath ¶
func (*Session) GetSessionPath ¶
func (*Session) GetSessionPropertiesPath ¶
func (*Session) SetContext ¶ added in v1.1.0
type SessionProperties ¶
func GetSessionProperties ¶
func GetSessionProperties(sessionPath string) (*SessionProperties, error)
Click to show internal directories.
Click to hide internal directories.