Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
KubeVersion1_27 = versionutil.MustParseSemantic("1.27.0")
)
Functions ¶
func FetchServerVersion ¶ added in v0.6.0
func FetchServerVersion(d discovery.DiscoveryInterface) (*versionutil.Version, error)
Types ¶
type ServerVersionFetcher ¶
type ServerVersionFetcher struct {
// contains filtered or unexported fields
}
func NewServerVersionFetcher ¶
func NewServerVersionFetcher(dc discovery.DiscoveryInterface, opts ...Option) *ServerVersionFetcher
func (*ServerVersionFetcher) FetchServerVersion ¶
func (s *ServerVersionFetcher) FetchServerVersion() error
FetchServerVersion gets API server version
func (*ServerVersionFetcher) GetServerVersion ¶
func (s *ServerVersionFetcher) GetServerVersion() versionutil.Version
Click to show internal directories.
Click to hide internal directories.