Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ericchiang/5667fdab28a8d6c01d0a656fad34f88c to your computer and use it in GitHub Desktop.
Save ericchiang/5667fdab28a8d6c01d0a656fad34f88c to your computer and use it in GitHub Desktop.
k8s.io/client-go/rest API
pkg k8s.io/client-go/rest, const DefaultBurst int
pkg k8s.io/client-go/rest, const DefaultQPS float
pkg k8s.io/client-go/rest, func AddUserAgent(*Config, string) *Config
pkg k8s.io/client-go/rest, func AnonymousClientConfig(*Config) *Config
pkg k8s.io/client-go/rest, func DefaultKubernetesUserAgent() string
pkg k8s.io/client-go/rest, func DefaultServerURL(string, string, k8s.io/apimachinery/pkg/runtime/schema.GroupVersion, bool) (*net/url.URL, string, error)
pkg k8s.io/client-go/rest, func GetAuthProvider(string, *k8s.io/client-go/tools/clientcmd/api.AuthProviderConfig, AuthProviderConfigPersister) (AuthProvider, error)
pkg k8s.io/client-go/rest, func HTTPWrappersForConfig(*Config, net/http.RoundTripper) (net/http.RoundTripper, error)
pkg k8s.io/client-go/rest, func InClusterConfig() (*Config, error)
pkg k8s.io/client-go/rest, func IsConfigTransportTLS(Config) bool
pkg k8s.io/client-go/rest, func IsValidPathSegmentName(string) []string
pkg k8s.io/client-go/rest, func IsValidPathSegmentPrefix(string) []string
pkg k8s.io/client-go/rest, func LoadTLSFiles(*Config) error
pkg k8s.io/client-go/rest, func NewRESTClient(*net/url.URL, string, ContentConfig, float32, int, k8s.io/client-go/util/flowcontrol.RateLimiter, *net/http.Client) (*RESTClient, error)
pkg k8s.io/client-go/rest, func NewRequest(HTTPClient, string, *net/url.URL, string, ContentConfig, Serializers, BackoffManager, k8s.io/client-go/util/flowcontrol.RateLimiter) *Request
pkg k8s.io/client-go/rest, func RESTClientFor(*Config) (*RESTClient, error)
pkg k8s.io/client-go/rest, func RegisterAuthProviderPlugin(string, Factory) error
pkg k8s.io/client-go/rest, func ServerAPIVersions(*Config) ([]string, error)
pkg k8s.io/client-go/rest, func SetKubernetesDefaults(*Config) error
pkg k8s.io/client-go/rest, func TLSConfigFor(*Config) (*crypto/tls.Config, error)
pkg k8s.io/client-go/rest, func TransportFor(*Config) (net/http.RoundTripper, error)
pkg k8s.io/client-go/rest, func UnversionedRESTClientFor(*Config) (*RESTClient, error)
pkg k8s.io/client-go/rest, func ValidatePathSegmentName(string, bool) []string
pkg k8s.io/client-go/rest, method (*Config) TransportConfig() (*k8s.io/client-go/transport.Config, error)
pkg k8s.io/client-go/rest, method (*NoBackoff) CalculateBackoff(*net/url.URL) time.Duration
pkg k8s.io/client-go/rest, method (*NoBackoff) Sleep(time.Duration)
pkg k8s.io/client-go/rest, method (*NoBackoff) UpdateBackoff(*net/url.URL, error, int)
pkg k8s.io/client-go/rest, method (*RESTClient) APIVersion() k8s.io/apimachinery/pkg/runtime/schema.GroupVersion
pkg k8s.io/client-go/rest, method (*RESTClient) Delete() *Request
pkg k8s.io/client-go/rest, method (*RESTClient) Get() *Request
pkg k8s.io/client-go/rest, method (*RESTClient) GetRateLimiter() k8s.io/client-go/util/flowcontrol.RateLimiter
pkg k8s.io/client-go/rest, method (*RESTClient) Patch(k8s.io/apimachinery/pkg/types.PatchType) *Request
pkg k8s.io/client-go/rest, method (*RESTClient) Post() *Request
pkg k8s.io/client-go/rest, method (*RESTClient) Put() *Request
pkg k8s.io/client-go/rest, method (*RESTClient) Verb(string) *Request
pkg k8s.io/client-go/rest, method (*Request) AbsPath(...string) *Request
pkg k8s.io/client-go/rest, method (*Request) Body(interface{}) *Request
pkg k8s.io/client-go/rest, method (*Request) Context(context.Context) *Request
pkg k8s.io/client-go/rest, method (*Request) Do() Result
pkg k8s.io/client-go/rest, method (*Request) DoRaw() ([]byte, error)
pkg k8s.io/client-go/rest, method (*Request) FieldsSelectorParam(k8s.io/apimachinery/pkg/fields.Selector) *Request
pkg k8s.io/client-go/rest, method (*Request) LabelsSelectorParam(k8s.io/apimachinery/pkg/labels.Selector) *Request
pkg k8s.io/client-go/rest, method (*Request) Name(string) *Request
pkg k8s.io/client-go/rest, method (*Request) Namespace(string) *Request
pkg k8s.io/client-go/rest, method (*Request) NamespaceIfScoped(string, bool) *Request
pkg k8s.io/client-go/rest, method (*Request) Param(string, string) *Request
pkg k8s.io/client-go/rest, method (*Request) Prefix(...string) *Request
pkg k8s.io/client-go/rest, method (*Request) RequestURI(string) *Request
pkg k8s.io/client-go/rest, method (*Request) Resource(string) *Request
pkg k8s.io/client-go/rest, method (*Request) SetHeader(string, string) *Request
pkg k8s.io/client-go/rest, method (*Request) Stream() (io.ReadCloser, error)
pkg k8s.io/client-go/rest, method (*Request) SubResource(...string) *Request
pkg k8s.io/client-go/rest, method (*Request) Suffix(...string) *Request
pkg k8s.io/client-go/rest, method (*Request) Timeout(time.Duration) *Request
pkg k8s.io/client-go/rest, method (*Request) URL() *net/url.URL
pkg k8s.io/client-go/rest, method (*Request) UintParam(string, uint64) *Request
pkg k8s.io/client-go/rest, method (*Request) VersionedParams(k8s.io/apimachinery/pkg/runtime.Object, k8s.io/apimachinery/pkg/runtime.ParameterCodec) *Request
pkg k8s.io/client-go/rest, method (*Request) Watch() (k8s.io/apimachinery/pkg/watch.Interface, error)
pkg k8s.io/client-go/rest, method (*RequestConstructionError) Error() string
pkg k8s.io/client-go/rest, method (*URLBackoff) CalculateBackoff(*net/url.URL) time.Duration
pkg k8s.io/client-go/rest, method (*URLBackoff) Disable()
pkg k8s.io/client-go/rest, method (*URLBackoff) Sleep(time.Duration)
pkg k8s.io/client-go/rest, method (*URLBackoff) UpdateBackoff(*net/url.URL, error, int)
pkg k8s.io/client-go/rest, method (Result) Error() error
pkg k8s.io/client-go/rest, method (Result) Get() (k8s.io/apimachinery/pkg/runtime.Object, error)
pkg k8s.io/client-go/rest, method (Result) Into(k8s.io/apimachinery/pkg/runtime.Object) error
pkg k8s.io/client-go/rest, method (Result) Raw() ([]byte, error)
pkg k8s.io/client-go/rest, method (Result) StatusCode(*int) Result
pkg k8s.io/client-go/rest, method (Result) WasCreated(*bool) Result
pkg k8s.io/client-go/rest, type AuthProvider interface { Login, WrapTransport }
pkg k8s.io/client-go/rest, type AuthProvider interface, Login() error
pkg k8s.io/client-go/rest, type AuthProvider interface, WrapTransport(net/http.RoundTripper) net/http.RoundTripper
pkg k8s.io/client-go/rest, type AuthProviderConfigPersister interface { Persist }
pkg k8s.io/client-go/rest, type AuthProviderConfigPersister interface, Persist(map[string]string) error
pkg k8s.io/client-go/rest, type BackoffManager interface { CalculateBackoff, Sleep, UpdateBackoff }
pkg k8s.io/client-go/rest, type BackoffManager interface, CalculateBackoff(*net/url.URL) time.Duration
pkg k8s.io/client-go/rest, type BackoffManager interface, Sleep(time.Duration)
pkg k8s.io/client-go/rest, type BackoffManager interface, UpdateBackoff(*net/url.URL, error, int)
pkg k8s.io/client-go/rest, type Config struct
pkg k8s.io/client-go/rest, type Config struct, APIPath string
pkg k8s.io/client-go/rest, type Config struct, AuthConfigPersister AuthProviderConfigPersister
pkg k8s.io/client-go/rest, type Config struct, AuthProvider *k8s.io/client-go/tools/clientcmd/api.AuthProviderConfig
pkg k8s.io/client-go/rest, type Config struct, BearerToken string
pkg k8s.io/client-go/rest, type Config struct, Burst int
pkg k8s.io/client-go/rest, type Config struct, ContentConfig ContentConfig
pkg k8s.io/client-go/rest, type Config struct, Host string
pkg k8s.io/client-go/rest, type Config struct, Impersonate ImpersonationConfig
pkg k8s.io/client-go/rest, type Config struct, Password string
pkg k8s.io/client-go/rest, type Config struct, Prefix string
pkg k8s.io/client-go/rest, type Config struct, QPS float32
pkg k8s.io/client-go/rest, type Config struct, RateLimiter k8s.io/client-go/util/flowcontrol.RateLimiter
pkg k8s.io/client-go/rest, type Config struct, TLSClientConfig TLSClientConfig
pkg k8s.io/client-go/rest, type Config struct, Timeout time.Duration
pkg k8s.io/client-go/rest, type Config struct, Transport net/http.RoundTripper
pkg k8s.io/client-go/rest, type Config struct, UserAgent string
pkg k8s.io/client-go/rest, type Config struct, Username string
pkg k8s.io/client-go/rest, type Config struct, WrapTransport func(net/http.RoundTripper) net/http.RoundTripper
pkg k8s.io/client-go/rest, type ContentConfig struct
pkg k8s.io/client-go/rest, type ContentConfig struct, AcceptContentTypes string
pkg k8s.io/client-go/rest, type ContentConfig struct, ContentType string
pkg k8s.io/client-go/rest, type ContentConfig struct, GroupVersion *k8s.io/apimachinery/pkg/runtime/schema.GroupVersion
pkg k8s.io/client-go/rest, type ContentConfig struct, NegotiatedSerializer k8s.io/apimachinery/pkg/runtime.NegotiatedSerializer
pkg k8s.io/client-go/rest, type Factory func(string, map[string]string, AuthProviderConfigPersister) (AuthProvider, error)
pkg k8s.io/client-go/rest, type HTTPClient interface { Do }
pkg k8s.io/client-go/rest, type HTTPClient interface, Do(*net/http.Request) (*net/http.Response, error)
pkg k8s.io/client-go/rest, type ImpersonationConfig struct
pkg k8s.io/client-go/rest, type ImpersonationConfig struct, Extra map[string][]string
pkg k8s.io/client-go/rest, type ImpersonationConfig struct, Groups []string
pkg k8s.io/client-go/rest, type ImpersonationConfig struct, UserName string
pkg k8s.io/client-go/rest, type Interface interface { APIVersion, Delete, Get, GetRateLimiter, Patch, Post, Put, Verb }
pkg k8s.io/client-go/rest, type Interface interface, APIVersion() k8s.io/apimachinery/pkg/runtime/schema.GroupVersion
pkg k8s.io/client-go/rest, type Interface interface, Delete() *Request
pkg k8s.io/client-go/rest, type Interface interface, Get() *Request
pkg k8s.io/client-go/rest, type Interface interface, GetRateLimiter() k8s.io/client-go/util/flowcontrol.RateLimiter
pkg k8s.io/client-go/rest, type Interface interface, Patch(k8s.io/apimachinery/pkg/types.PatchType) *Request
pkg k8s.io/client-go/rest, type Interface interface, Post() *Request
pkg k8s.io/client-go/rest, type Interface interface, Put() *Request
pkg k8s.io/client-go/rest, type Interface interface, Verb(string) *Request
pkg k8s.io/client-go/rest, type NoBackoff struct
pkg k8s.io/client-go/rest, type RESTClient struct
pkg k8s.io/client-go/rest, type RESTClient struct, Client *net/http.Client
pkg k8s.io/client-go/rest, type RESTClient struct, Throttle k8s.io/client-go/util/flowcontrol.RateLimiter
pkg k8s.io/client-go/rest, type Request struct
pkg k8s.io/client-go/rest, type RequestConstructionError struct
pkg k8s.io/client-go/rest, type RequestConstructionError struct, Err error
pkg k8s.io/client-go/rest, type ResponseWrapper interface { DoRaw, Stream }
pkg k8s.io/client-go/rest, type ResponseWrapper interface, DoRaw() ([]byte, error)
pkg k8s.io/client-go/rest, type ResponseWrapper interface, Stream() (io.ReadCloser, error)
pkg k8s.io/client-go/rest, type Result struct
pkg k8s.io/client-go/rest, type Serializers struct
pkg k8s.io/client-go/rest, type Serializers struct, Decoder k8s.io/apimachinery/pkg/runtime.Decoder
pkg k8s.io/client-go/rest, type Serializers struct, Encoder k8s.io/apimachinery/pkg/runtime.Encoder
pkg k8s.io/client-go/rest, type Serializers struct, Framer k8s.io/apimachinery/pkg/runtime.Framer
pkg k8s.io/client-go/rest, type Serializers struct, RenegotiatedDecoder func(string, map[string]string) (k8s.io/apimachinery/pkg/runtime.Decoder, error)
pkg k8s.io/client-go/rest, type Serializers struct, StreamingSerializer k8s.io/apimachinery/pkg/runtime.Serializer
pkg k8s.io/client-go/rest, type TLSClientConfig struct
pkg k8s.io/client-go/rest, type TLSClientConfig struct, CAData []byte
pkg k8s.io/client-go/rest, type TLSClientConfig struct, CAFile string
pkg k8s.io/client-go/rest, type TLSClientConfig struct, CertData []byte
pkg k8s.io/client-go/rest, type TLSClientConfig struct, CertFile string
pkg k8s.io/client-go/rest, type TLSClientConfig struct, Insecure bool
pkg k8s.io/client-go/rest, type TLSClientConfig struct, KeyData []byte
pkg k8s.io/client-go/rest, type TLSClientConfig struct, KeyFile string
pkg k8s.io/client-go/rest, type TLSClientConfig struct, ServerName string
pkg k8s.io/client-go/rest, type URLBackoff struct
pkg k8s.io/client-go/rest, type URLBackoff struct, Backoff *k8s.io/client-go/util/flowcontrol.Backoff
pkg k8s.io/client-go/rest, var NameMayNotBe []string
pkg k8s.io/client-go/rest, var NameMayNotContain []string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment