Documentation ¶
Index ¶
- Variables
- func ClusterLatestSupportedURL() string
- func ClusterOperatorLastVersion() string
- func ClusterUrlByVersion(operatorVersion string) (string, error)
- func EtcdClusterLatestSupportedURL() string
- func EtcdOperatorLatestSupportedImageURL() string
- func EtcdOperatorLatestSupportedURL() string
- func EtcdOperatorLatestSupportedVersion() string
- func EtcdOperatorReleasesURL() string
- func GetExistingEtcdOperatorVersion(namespace string) (string, error)
- func GetExistingOperatorVersion(namespace string) (string, error)
- func GetExistingPortalManagerVersion() (string, error)
- func IsDevelop(version string) bool
- func IsSupported(haveVersion, wantVersion string) (bool, error)
- func LocalPathProvisionerLatestSupportVersion() string
- func OperatorImageUrlByVersion(operatorVersion string) (string, error)
- func OperatorLatestSupportedImageURL() string
- func OperatorLatestSupportedURL() string
- func OperatorLatestSupportedVersion() string
- func OperatorReleasesURL() string
- func PortalClientLatestSupportedURL() string
- func PortalConfigLatestSupportedURL() string
- func PortalManagerLatestSupportedImageURL() string
- func PortalManagerLatestSupportedVersion() string
- func PortalManagerReleasesURL() string
- func PortalSecretLatestSupportedURL() string
- func ResourceQuotaLatestSupportedURL() string
- func ResourceQuotaUrlByVersion(operatorVersion string) (string, error)
- func SecretUrlByVersion(operatorVersion string) (string, error)
- func SetEtcdOperatorLatestSupportedVersion(version string)
- func SetOperatorLatestSupportedVersion(version string)
- func SetPortalManagerLatestSupportedVersion(version string)
- func VersionIsEqualTo(version, marker string) (bool, error)
- func VersionIsLessThan(version, marker string) (bool, error)
- func VersionIsLessThanOrEqual(version, marker string) (bool, error)
- type GithubRelease
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EnablePreReleases allows the installer to install pre-release versions of the operator. // This setting is defined at build time // -X github.com/storageos/kubectl-storageos/pkg/version.EnablePreReleases=true EnablePreReleases string PluginVersion string )
Functions ¶
func ClusterLatestSupportedURL ¶
func ClusterLatestSupportedURL() string
func ClusterOperatorLastVersion ¶
func ClusterOperatorLastVersion() string
func ClusterUrlByVersion ¶
func EtcdClusterLatestSupportedURL ¶
func EtcdClusterLatestSupportedURL() string
func EtcdOperatorLatestSupportedImageURL ¶ added in v1.1.0
func EtcdOperatorLatestSupportedImageURL() string
func EtcdOperatorLatestSupportedURL ¶
func EtcdOperatorLatestSupportedURL() string
func EtcdOperatorLatestSupportedVersion ¶ added in v1.1.0
func EtcdOperatorLatestSupportedVersion() string
func EtcdOperatorReleasesURL ¶ added in v1.4.0
func EtcdOperatorReleasesURL() string
func GetExistingEtcdOperatorVersion ¶ added in v1.2.0
func GetExistingPortalManagerVersion ¶ added in v1.4.0
func IsSupported ¶
IsSupported takes two versions, current version (haveVersion) and a minimum requirement version (wantVersion) and checks if the current version is supported by comparing it with the minimum requirement.
func LocalPathProvisionerLatestSupportVersion ¶ added in v1.2.1
func LocalPathProvisionerLatestSupportVersion() string
func OperatorImageUrlByVersion ¶ added in v1.1.0
func OperatorLatestSupportedImageURL ¶ added in v1.1.0
func OperatorLatestSupportedImageURL() string
func OperatorLatestSupportedURL ¶
func OperatorLatestSupportedURL() string
func OperatorLatestSupportedVersion ¶
func OperatorLatestSupportedVersion() string
func OperatorReleasesURL ¶ added in v1.4.0
func OperatorReleasesURL() string
func PortalClientLatestSupportedURL ¶
func PortalClientLatestSupportedURL() string
func PortalConfigLatestSupportedURL ¶
func PortalConfigLatestSupportedURL() string
func PortalManagerLatestSupportedImageURL ¶ added in v1.1.0
func PortalManagerLatestSupportedImageURL() string
func PortalManagerLatestSupportedVersion ¶ added in v1.1.0
func PortalManagerLatestSupportedVersion() string
func PortalManagerReleasesURL ¶ added in v1.4.0
func PortalManagerReleasesURL() string
func PortalSecretLatestSupportedURL ¶
func PortalSecretLatestSupportedURL() string
func ResourceQuotaLatestSupportedURL ¶
func ResourceQuotaLatestSupportedURL() string
func SecretUrlByVersion ¶
func SetEtcdOperatorLatestSupportedVersion ¶ added in v1.1.0
func SetEtcdOperatorLatestSupportedVersion(version string)
func SetOperatorLatestSupportedVersion ¶
func SetOperatorLatestSupportedVersion(version string)
func SetPortalManagerLatestSupportedVersion ¶ added in v1.1.0
func SetPortalManagerLatestSupportedVersion(version string)
func VersionIsEqualTo ¶
func VersionIsLessThan ¶
Types ¶
type GithubRelease ¶
type GithubRelease struct { URL string `json:"url,omitempty"` AssetsURL string `json:"assets_url,omitempty"` UploadURL string `json:"upload_url,omitempty"` HTMLURL string `json:"html_url,omitempty"` ID int `json:"id,omitempty"` Author struct { Login string `json:"login,omitempty"` ID int `json:"id,omitempty"` NodeID string `json:"node_id,omitempty"` AvatarURL string `json:"avatar_url,omitempty"` GravatarID string `json:"gravatar_id,omitempty"` URL string `json:"url,omitempty"` HTMLURL string `json:"html_url,omitempty"` FollowersURL string `json:"followers_url,omitempty"` FollowingURL string `json:"following_url,omitempty"` GistsURL string `json:"gists_url,omitempty"` StarredURL string `json:"starred_url,omitempty"` SubscriptionsURL string `json:"subscriptions_url,omitempty"` OrganizationsURL string `json:"organizations_url,omitempty"` ReposURL string `json:"repos_url,omitempty"` EventsURL string `json:"events_url,omitempty"` ReceivedEventsURL string `json:"received_events_url,omitempty"` Type string `json:"type,omitempty"` SiteAdmin bool `json:"site_admin,omitempty"` } `json:"author,omitempty"` NodeID string `json:"node_id,omitempty"` TagName string `json:"tag_name,omitempty"` TargetCommitish string `json:"target_commitish,omitempty"` Name string `json:"name,omitempty"` Draft bool `json:"draft,omitempty"` Prerelease bool `json:"prerelease,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` PublishedAt time.Time `json:"published_at,omitempty"` Assets []interface{} `json:"assets,omitempty"` TarballURL string `json:"tarball_url,omitempty"` ZipballURL string `json:"zipball_url,omitempty"` Body string `json:"body,omitempty"` }
Click to show internal directories.
Click to hide internal directories.